Assistants API accepts image inputs
Messages in the Assistants API can carry images, either as uploaded file IDs or URLs, so assistants can reason over screenshots and documents instead of text alone.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact No impactNo decision needed — this closes a gap so vision work no longer has to bypass threads.
Engineer
What to change, what breaks, what to test Worth knowingAssistants messages can now include image parts by uploaded file ID or URL, so screenshot and document workloads no longer need a side call to Chat Completions. A delete-message endpoint for threads also landed on 2 May 2024.
General consumer
Using ChatGPT, not the API No impactNothing to do — this is an API-only change.
Image inputs became available in the Assistants API. Message content can include image parts referencing an uploaded file or a URL, matching what Chat Completions already supported for vision-capable models.
Until this change, an assistant could only receive text, which meant vision workloads had to bypass threads and call Chat Completions directly.
A week earlier, on May 2, 2024, an endpoint for deleting an individual message from a thread was also added.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
image_file | added | no | |
image_url | added | no |
Topics: Images, audio and video