Skip to main content

POST /v1/images/generations

Generate an image from a text prompt using an image-capable model, with the standard OpenAI images request shape.
Response:

Parameters

Daily limit

Image generation is limited to 10 images per account per day (resets at 00:00 UTC). Exceeding it returns HTTP 429 with code image_daily_limit_exceeded and a Retry-After header.

Notes

  • Generated image URLs are hosted by Openference and remain valid — you can hot-link or download them.
  • Image models cannot be used on the chat, responses, or embeddings endpoints (you’ll get HTTP 400 model_not_supported_on_endpoint), and chat models cannot be used here.
  • Image requests consume your plan’s request quota like any other API call.