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_bodyobject是暂无参数说明。—
request_body.promptstring | unknown否Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both.—
request_body.durationenum (3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15)否Video duration in seconds (3-15s).5
request_body.elementsarray | unknown否Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2.—
request_body.elements[].voice_idstring | 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_urlstring | unknown否The video URL of the element. A request can only have one element with a video.—
request_body.elements[].frontal_image_urlstring | unknown否The frontal image of the element (main view).—
request_body.elements[].reference_image_urlsarray | unknown否Additional reference images from different angles. 1-3 images supported. At least one image is required.—
request_body.shot_typestring否The type of multi-shot video generation.customize
request_body.image_urlsarray | 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_ratioenum (16:9 | 9:16 | 1:1)否The aspect ratio of the generated video frame.16:9
request_body.multi_promptarray | unknown否List of prompts for multi-shot video generation.—
request_body.multi_prompt[].promptstring是The prompt for this shot.—
request_body.multi_prompt[].durationenum (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15)否The duration of this shot in seconds5
request_body.end_image_urlstring | unknown否Image to use as the last frame of the video.—
request_body.generate_audioboolean否Whether to generate native audio for the video.false
request_body.start_image_urlstring | unknown否Image to use as the first frame of the video.—