Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
GPT Image 1: Generate images from prompts or edit an existing image. Generation and editing use separate endpoints.
POST /v1/images/generations
MIXROUTE_API_KEY
curl --request POST 'https://api.mixroute.ai/v1/images/generations' \ --header "Authorization: Bearer $MIXROUTE_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "model": "gpt-image-1", "prompt": "A red ceramic mug on a white table.", "size": "1024x1024", "n": 1 }'
data[].b64_json
model
gpt-image-1
prompt
size
1024x1024
auto
n