Text to Video
curl --request POST \
--url https://api.modelhunter.ai/api/v1/kling/text-to-video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"input": {
"prompt": "<string>",
"negative_prompt": "<string>",
"duration": 123,
"aspect_ratio": "<string>",
"mode": "<string>",
"sound": "<string>",
"multi_shot": "<string>",
"multi_prompt": [
{}
],
"element_list": [
{}
],
"voice_list": [
{}
]
},
"webhookUrl": "<string>",
"metadata": {}
}
'{
"success": true,
"data": {
"id": "task_ghi789",
"status": "pending",
"type": "text-to-video",
"provider": "kling",
"model": "kling-v3",
"created_at": "2026-02-27T10:00:00Z",
"estimated_seconds": 60
}
}
Kling
Text to Video
Generate a video from text using Kling.
POST
/
api
/
v1
/
kling
/
text-to-video
Text to Video
curl --request POST \
--url https://api.modelhunter.ai/api/v1/kling/text-to-video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"input": {
"prompt": "<string>",
"negative_prompt": "<string>",
"duration": 123,
"aspect_ratio": "<string>",
"mode": "<string>",
"sound": "<string>",
"multi_shot": "<string>",
"multi_prompt": [
{}
],
"element_list": [
{}
],
"voice_list": [
{}
]
},
"webhookUrl": "<string>",
"metadata": {}
}
'{
"success": true,
"data": {
"id": "task_ghi789",
"status": "pending",
"type": "text-to-video",
"provider": "kling",
"model": "kling-v3",
"created_at": "2026-02-27T10:00:00Z",
"estimated_seconds": 60
}
}
Body Parameters
Kling model. Options:
kling-v3— Per-second billing, multi-shot, element control (3–15s), $0.084–$0.168/seckling-v2-6— Fixed pricing, std/pro modes (5s or 10s), $0.21–$1.40 per video
Input parameters for the generation.
Show properties
Show properties
Text description of the video to generate.
Describe what you do not want to see in the output.
Video length in seconds.
- V3: Integer from
3to15 - V2.6:
5or10
Output aspect ratio. Options:
16:9, 9:16, 1:1Generation quality mode. Options:
std (standard), pro (professional)Enable audio generation with the video. Options:
on, off.Pricing impact (V3):- std + no audio: $0.084/sec
- std + audio: $0.126/sec
- pro + no audio: $0.112/sec
- pro + audio: $0.168/sec
V3 only. Enable multi-shot mode. Options:
true— Enable multi-shot with manualmulti_promptsegmentsintelligence— AI-powered automatic scene splitting
V3 only. Multi-shot segment prompts. Requires
multi_shot to be enabled. Maximum 6 segments.Each segment object:index(number, required) — Shot number, starting from 1, must be consecutiveprompt(string, required) — Description for this shotduration(number) — Duration of this segment in seconds
V3 only. Element control list. Maximum 4 elements. Each element object:
element_id(number, required) — Positive integer referencing a pre-created element
Voice list for audio generation. Requires
sound: "on". Each voice object:voice_id(string) — Voice identifiertext(string) — Text to speak
URL to receive a webhook when the task completes.
Custom key-value metadata to attach to the task.
{
"success": true,
"data": {
"id": "task_ghi789",
"status": "pending",
"type": "text-to-video",
"provider": "kling",
"model": "kling-v3",
"created_at": "2026-02-27T10:00:00Z",
"estimated_seconds": 60
}
}
⌘I