gpt-image-1.5Generation type:
text_to_imageEndpoint:
POST /api/asset_generator/
Pricing
Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.
Quick start
Input parameters
Send these fields ininput_params.
Background for the generated imageAllowed values:
"auto", "transparent", "opaque".Aspect ratio for the generated imageAllowed values:
"1024x1024", "1536x1024", "1024x1536".Complete JSON schema
Complete JSON schema
Response
The request returns the task withstatus: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.
