cURL
curl --request POST \ --url https://api.smartlyq.com/v1/videos/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "<string>", "model": "<string>", "duration": 123 } '
{ "success": true, "data": { "job_id": "<string>" }, "usage": { "units": 123, "cost": "<string>", "balance_remaining": "<string>" }, "meta": { "request_id": "<string>", "timestamp": "2023-11-07T05:31:56Z" } }
Returns 202 with job_id; poll GET /jobs/ for result.
API key from Developer dashboard (Bearer token).
Accepted; poll job for result
true
Show child attributes