Skip to main content
POST
/
generation
/
openai
/
dall-e-3
DALL·E 3
curl --request POST \
  --url https://open.ppt.video/api/v1/generation/openai/dall-e-3 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "id": "<string>",
  "status": "starting",
  "usage": {
    "total": 0,
    "subscription": 0,
    "permanent": 0
  }
}
OpenAI DALL·E 3 image generation model

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

application/json
prompt
string
required

A text description of the desired image

n
integer
default:1

Number of results to generate (1-4)

Required range: 1 <= x <= 4
style
enum<string>
default:vivid

The style of the generated images

Available options:
vivid,
natural
aspect_ratio
enum<string>
default:1:1

The aspect ratio of the generated image

Available options:
1:1,
3:2,
2:3

Response

Generation status

id
string
required

Generation id.

status
enum<string>
required

Generation status

Available options:
starting,
processing,
succeeded,
failed,
canceled
usage
object
required

Credit usage breakdown for the request