Generate an image
Compatible with the OpenAI Images protocol. Text-to-image when no image is provided; image editing when an image is provided.
post/v1/images/generations
Request
- Base URL: https://api.octen.ai
- URL: https://api.octen.ai/v1/images/generations
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Request body
Response
Successful image response. When stream=false, returns a single object. When stream=true (GPT only), returns an SSE stream of image_generation.partial_image / image_edit.partial_image preview events followed by a image_generation.completed / image_edit.completed event.
Changes
No recorded changes to this operation across all 1 revision of this API.