cURL
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 } }
API Key for API endpoints
A text description of the desired image
Number of results to generate (1-4)
1 <= x <= 4
The style of the generated images
vivid
natural
The aspect ratio of the generated image
1:1
3:2
2:3
Generation status
Generation id.
starting
processing
succeeded
failed
canceled
Credit usage breakdown for the request
Show child attributes