Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Image generation and editing through native and external routes.
POST
/v1/images/generations
/v1/images/edits
/external/v1/images/generations
curl https://api.compose.market/v1/images/generations \ -H "Authorization: Bearer $COMPOSE_MARKET_API_KEY" \ -H "Content-Type: application/json" \ -H "x-chain-id: 43113" \ -d '{ "model": "nano-banana", "prompt": "A product diagram of an HTTP payment flow", "size": "1024x1024", "n": 1 }'
data[]
b64_json
url
{ "model": "gpt-image-2", "image": "data:image/png;base64,...", "prompt": "Make the labels easier to read.", "size": "1024x1024" }