cURL
curl --request POST \ --url https://open.skills.video/api/v1/generation/vidu/q2/text-to-image \ --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 image you want to generate
Number of results to generate (1-4)
1 <= x <= 4
Reference images
Aspect ratio of the generated image
1:1
9:16
16:9
Format of the output image
jpg
png
Generation status
Generation id.
starting
processing
succeeded
failed
canceled
Credit usage breakdown for the request
Show child attributes