The Files API matches OpenAI’s. Upload an image once and use its file_id as a reference in image edits or as a video frame or reference.
  • Only images are accepted for now: PNG, JPEG, WebP or GIF, up to 20 MB.
  • Files belong to the API key’s project. Other projects get 404 file_not_found.
  • Images you send inline in a request (data URLs or multipart uploads) are also stored as files and kept for 30 days.