generate_video
Creator+ plans can create videos from text. Creator+ plans can create a video from text with ThinkNova. If the shot must start from an existing image, call animate_image with that first frame. 镜头已有指定首帧时调用 animate_image。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"client_request_id": "<client_request_id>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | Output aspect ratio, for example 9:16, 16:9 or 1:1. Set this explicitly when requesting a format in the prompt. Store films default to 9:16; supported values depend on ThinkNova configuration. 输出画幅比例;提示词要求特定比例时必须传此参数,可选值由当前配置决定。 | |
| prompt | Yes | ||
| resolution | No | Optional video resolution for the configured aspect ratio. Confirm through get_balance.quote_request. 可选视频分辨率,按当前画幅和配置报价确认。 | |
| max_credits | No | Creation budget cap from the last quote; reject before freezing if cost increases. 将报价金额作为建单上限,涨价先拒绝。 | |
| project_key | No | ||
| film_profile | No | Use only with animate_image for a 9:16 store film first frame. | |
| shop_location | No | Confirmed shop location for a store_v2 segment. | |
| visual_subject | No | Use customer_identity with edit_image or animate_image and account-owned references for real customer products, stores or people. Use generic for generic visuals even if narration mentions the store. 画面出现客户真实产品、门店或人物时传 customer_identity 并使用图生工具与参考图;通用空镜传 generic。 | |
| reference_roles | No | Store v2.1 roles matching reference_asset_ids in order. 门店新版素材角色,须与素材顺序一致。 | |
| duration_seconds | No | Optional configured video duration. Confirm availability and cost through get_balance.quote_request. 可选视频时长,先报价核对支持情况和积分。 | |
| automation_run_id | No | Only for an explicitly authorized controlled automation run. 普通会话无需传入。 | |
| client_request_id | Yes | ||
| dialogue_language | No | Language of spoken dialogue for encoding checks; does not change the script. 台词语言,仅用于编码校验。 | |
| reference_asset_id | No | ||
| film_rules_revision | No | ||
| reference_asset_ids | No |