Video
POST /v1/videos/generations
Video generation is async. Successful submissions return HTTP 202 with a task ID.
Text to video
Section titled “Text to video”{ "model": "kling-3-t2v", "prompt": "a cinematic shot of a glass cube floating over water", "duration": 5, "aspect_ratio": "16:9"}Image to video
Section titled “Image to video”{ "model": "kling-3-i2v", "prompt": "slow dolly-in camera movement", "image_url": "https://example.com/start-frame.png", "duration": 5}Poll the task
Section titled “Poll the task”curl https://api.parel.cloud/v1/tasks/TASK_ID \ -H "Authorization: Bearer pk-dev-YOUR_KEY"Response
Section titled “Response”{ "task_id": "task_...", "status": "pending", "poll_url": "/v1/tasks/task_..."}