Chat Completions in API reference will show you exactly how to send the BASE64 string, when you click ‘vision’ and ‘python’ on the example code window.
Assistants has no method to send base64 with a message - you either provide a URL, or you upload a file with purpose vision to storage and then use the correct file attachement method for vision.