curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-2.1/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "a woman takes her hands out her pockets and gestures to the words with both hands, she is excited, behind her it is raining",
"duration": 5,
"start_image_url": "https://cdn.vidgo.ai/temp/kling-2.1/start-image.png?v=20260310-2040"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}Kling
Kling 2.1
Standard and Pro image-to-video generation
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-2.1/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "a woman takes her hands out her pockets and gestures to the words with both hands, she is excited, behind her it is raining",
"duration": 5,
"start_image_url": "https://cdn.vidgo.ai/temp/kling-2.1/start-image.png?v=20260310-2040"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the result through the unified Query Task Status endpoint.
Kling 2.1
Kling 2.1 provides two public models under the same request format:kling-2.1/standard and kling-2.1/pro.
Available Models
- kling-2.1/standard - Start-frame guided image-to-video
- kling-2.1/pro - Start-frame guided image-to-video with optional end frame
Required Parameters
- prompt: Text prompt for generation
- start_image_url: Required first frame image
Optional Parameters
- duration:
5or10. Default is5 - end_image_url: Optional, only supported by
kling-2.1/pro - negative_prompt: Optional negative prompt
Notes
kling-2.1/standarddoes not supportend_image_urlkling-2.1/prosupports both start image and optional end image
Workflow IDs
Existing IDs remain available. New integrations can select a dedicated workflow:Authorizations
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEY
Body
application/json