Kling Video O3 Pro Reference To Video
135积分/次起
ae_kling_video_o3_pro_reference_to_video
根据提示词创建短视频,可使用参考图片、起始帧或结束帧,以及保持一致的角色或物体。还可创建多个镜头并生成音频。
135积分/次起
价格说明
135积分/次起
| 生成音频 | 费用 |
|---|---|
| 关闭 / 未指定 | 135积分/秒 |
| 开启 | 168积分/秒 |
时长未填写时按1秒计费。 起价对应生成音频:关闭。
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_kling_video_o3_pro_reference_to_video' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {}
}
}'- 请求方式
- POST
- 接口地址
- /agent-api/v1/tool/execute
- 鉴权方式
- X-Api-Key
- 超时时间
- 60 秒
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.prompt | string | unknown | 否 | Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. | — |
request_body.duration | enum (3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15) | 否 | Video duration in seconds (3-15s). | 5 |
request_body.elements | array | unknown | 否 | Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2. | — |
request_body.elements[].voice_id | string | unknown | 否 | The voice ID for this element. The voice will be binded to the element and references to this element will use the binded voice. Voice binding is only supported for video elements, and cannot be used with image elements. Get voice IDs from the following endpoint: https://fal.ai/models/fal-ai/kling-video/create-voice | — |
request_body.elements[].video_url | string | unknown | 否 | The video URL of the element. A request can only have one element with a video. | — |
request_body.elements[].frontal_image_url | string | unknown | 否 | The frontal image of the element (main view). | — |
request_body.elements[].reference_image_urls | array | unknown | 否 | Additional reference images from different angles. 1-3 images supported. At least one image is required. | — |
request_body.shot_type | string | 否 | The type of multi-shot video generation. | customize |
request_body.image_urls | array | unknown | 否 | Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video. | — |
request_body.aspect_ratio | enum (16:9 | 9:16 | 1:1) | 否 | The aspect ratio of the generated video frame. | 16:9 |
request_body.multi_prompt | array | unknown | 否 | List of prompts for multi-shot video generation. | — |
request_body.multi_prompt[].prompt | string | 是 | 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) | 否 | The duration of this shot in seconds | 5 |
request_body.end_image_url | string | unknown | 否 | Image to use as the last frame of the video. | — |
request_body.generate_audio | boolean | 否 | Whether to generate native audio for the video. | false |
request_body.start_image_url | string | unknown | 否 | Image to use as the first frame of the video. | — |



