Media

Serves a hosted image by ID. Images are created when:

  • The model generates an image via create_image tool
  • A base64 image is uploaded through /v1/chat/completions

Images have a 7-day TTL and are cleaned up automatically. No auth required.

get/api/image/{image_id}

Request

Path parameters

image_idstring required

Image identifier (UUID)

Response

Image file

Changes

    • info

      api operation id getGeneratedImage removed and replaced with getImage

    • info

      api tag Media added

    • info

      api tag Images removed

    • info

      for the path request parameter image_id, the format was generalized from uuid to no format

    • breaking

      for the path request parameter image_id, the format changed from no format to uuid

    • info

      api operation id getImage removed and replaced with getGeneratedImage

    • info

      api tag Images added

    • info

      api tag Media removed