OpenAI DALL-E 3 text-to-image (executor coded; not enabled on this account).
Authenticate with the X-API-Key request header.
List price. Volume / bulk customers get a discounted rate — contact us for account pricing.
| Name | Type | Required | Description | Default / options |
|---|---|---|---|---|
| prompt | string | required | Text prompt describing the desired output. | — |
| aspect_ratio | string | optional | Output aspect ratio. | default: 1:1 |
| quality | string | optional | Render quality. | default: standardstandardhd |
Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.
{
"job_id": "job_dalle3_a1b2c3",
"status": "queued"
}{
"id": "job_dalle3_a1b2c3",
"model": "dall-e-3",
"status": "succeeded",
"output": {
"outputs": [
{
"url": "https://cdn.trinetra.ai/out/dall-e-3/a1b2c3.png",
"type": "image"
}
]
},
"credits_charged": 10
}Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.