cURL
curl --request POST \ --url https://open.ppt.video/api/v1/generation/kling-ai/kling-v2.6 \ --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
Text prompt for video generation
Number of results to generate (1-4)
1 <= x <= 4
Optional reference image
Video duration in seconds
1 <= x <= 30
Generation status
Generation id.
starting
processing
succeeded
failed
canceled
Credit usage breakdown for the request
Show child attributes