curl --request POST \
--url https://api.modellix.ai/api/v1/kling/kling-video-o1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Restyle the source video into a clay-animation look while preserving the original motion feel",
"videos": [
"https://example.com/source-video.mp4"
]
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-v2v-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-v2v-abc123"
}
}
}{
"code": 400,
"message": "Invalid parameters: prompt is required when multi_shot is false"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Kling Video O1
[Core Function] Kling Video O1 is the world’s first reasoning-enhanced video model. [Strengths] It performs deep planning over the prompt before generation, delivering best-in-class physical consistency, complex motion logic, and strict adherence to long-form semantics. [Best For] Highly recommended for: complex physical interactions, logically demanding scenes, and prompts requiring deep reasoning. [Limitations] Do NOT use this model if you need multi-shot generation or 15-second durations (it is capped at 10s). [Routing] Route to this model when the prompt involves complex physics, logical sequences, or intricate physical interactions where standard models hallucinate.
curl --request POST \
--url https://api.modellix.ai/api/v1/kling/kling-video-o1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Restyle the source video into a clay-animation look while preserving the original motion feel",
"videos": [
"https://example.com/source-video.mp4"
]
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-v2v-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-v2v-abc123"
}
}
}{
"code": 400,
"message": "Invalid parameters: prompt is required when multi_shot is false"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Kling Video O1 V2V. Feature video requires audio=off. Duration enum is 3-10 (first-frame-only 5/10 rule applies to the I2V slice, not V2V).
Video generation prompt.
1 - 2500"Transform the source clip into a cinematic sci-fi sequence"
Required reference video list (max 1). Flat URL maps to base video by default.
1 elementReference video URL or Base64 string.
1Optional reference image list (first/last/refer frames flattened as URLs). Max 4 when a reference video is present.
1 - 4 elementsReference image URL or Base64 string.
1Whether to generate audio. Official O1 settings.audio: original | off. Feature video requires off.
original, off "off"
Output video resolution.
720p, 1080p "1080p"
Video aspect ratio. Optional when a reference video is provided.
16:9, 9:16, 1:1 "16:9"
Video duration in seconds (3-10). Not further restricted when a reference video is provided.
3, 4, 5, 6, 7, 8, 9, 10 5