Kling Video O3 Pro Text To Video
3s minimum, from 405 credits
ae_kling_video_o3_pro_text_to_video
Create a short video from a text description, with options for aspect ratio, duration, audio, and multi-shot sequences.
3s minimum, from 405 credits
Pricing
| Generate audio | Charge |
|---|---|
| Disabled / Not specified | 135 credits/second |
| Enabled | 168 credits/second |
An omitted duration is charged as one second. Starting price applies to Generate audio: Disabled.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.prompt | string | unknown | No | Text prompt for video generation. Required unless multi_prompt is provided. | — |
request_body.duration | enum (3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15) | No | Video duration in seconds (3-15s). | 5 |
request_body.shot_type | string | No | The type of multi-shot video generation. | customize |
request_body.aspect_ratio | enum (16:9 | 9:16 | 1:1) | No | Aspect ratio of the generated video. | 16:9 |
request_body.multi_prompt | array | unknown | No | List of prompts for multi-shot video generation. | — |
request_body.multi_prompt[].prompt | string | Yes | The prompt for this shot. | — |
request_body.multi_prompt[].duration | enum (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15) | No | The duration of this shot in seconds | 5 |
request_body.generate_audio | boolean | No | Whether to generate native audio for the video. | false |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeySubmit first, then query with the returned task_id until the task completes.
Request coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_kling_video_o3_pro_text_to_video' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"aspect_ratio": "16:9",
"duration": "3",
"generate_audio": false,
"prompt": "纯黑纯色背景(绝对纯黑,没有任何地面、桌面、墙面、反光、渐变、烟雾、光晕或环境光),画面中只有一条深红色真丝缎带,悬浮在黑色空间里。\n\n材质:哑光缎面(matte satin,真丝缎),低反光,绝不是塑料、不是金属、不是漆皮。高光只沿着折痕柔和渐变,宽而柔;不要镜面反射、不要塑料高光点、不要金属光泽、不要刺眼白色闪光。布面有细微丝织纹理与自然柔软褶皱,厚度可感,不是一片薄膜。边缘柔和,带轻微景深虚化,不要锐利描边。\n\n运动(总时长 3 秒,短促利落,方向明确):\n第 0.0–1.2 秒:丝带从画面深处由远及近快速穿出,斜向上掠过前景,靠近镜头时略微变宽变亮。\n第 1.2–1.5 秒:急折返,突然反向折回画面深处。\n第 1.5–2.4 秒:反向斜向下快速穿出,从画面右下方离开画面边缘。\n第 2.4–3.0 秒:从画面左上方边缘重新穿入,卷回纵深,最后停在画面中部偏深处。\n丝带要多次进出画面四边,不总停留在画面中央,有明确的纵深穿梭动感。不要缓慢拖尾式飘动,不要固定单一方向横移。\n\n镜头:完全固定不动。不要横移、不要平移、不要推拉摇移、不要旋转。画面里不要出现文字、水印、字幕或任何其他物体。"
}
}
}'Response exampleresponse.json
{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "fc1dbbdd-f41d-444e-a803-6bee9bdd4f71"
}



