You need to enable JavaScript to run this app.
Lake AI Service

Lake AI Service

Copy page
Download PDF
Video Understanding
Reverse video prompt generation
Copy page
Download PDF
Reverse video prompt generation
The reverse video prompt generation operator is designed for video replication and storyboard recreation scenarios. The operator first understands source video facts. It then combines each storyboard segment's time range, visual description, and reference images to output executable video generation prompts by segment.​
Operator introduction​
Operator ID: las_viral_reverse_prompt​
Key features​
  • Generates prompts segment by segment based on source video facts and storyboard time windows, avoiding content mixing across segments.​
  • Preserves verified subject identity, spatial relationships, key action order, original dialogue, and voice performance.​
  • Supports specifying the target visual style and target voice timbre without changing source video facts.​
  • Supports binding reference images in storyboards and returning corresponding references in the generated results.​
Supported regions​
  • Beijing: cn-beijing​
  • Shanghai: cn-shanghai​
  • Guangzhou: cn-guangzhou​
Operator performance​
​
Sub-item​
Detailed requirements​
Submit RPM​
200​
Poll RPM​
300​
​
Input and output requirements​
Input requirements​
​
Sub-item​
Detailed requirements​
Supported input data modalities​
  • Video​
  • Image​
  • Text​
Input format: video​
  • Duration: the original video duration range is 4 to 360 seconds. The storyboard segment duration is 4 to 15 seconds. A maximum of 24 inline storyboard segments are supported, and their time ranges must be monotonic and non-overlapping.​
Input format: image​
  • Each storyboard segment can have up to 9 reference images. Positions must start from 1 and increase continuously.​
Input format: text​
  • Size: the storyboard bundle manifest and each referenced JSON file cannot exceed 2 MiB.​
Input path requirements​
  • Provide the input data required by the operator through request parameters such as source_video_url and storyboard_bundle_url. Accessible HTTP/HTTPS URLs or TOS paths are supported.​
  • Public URLs that require a login state or additional Header authentication are not supported. Temporary URLs must remain valid during task execution.​
  • TOS objects must belong to the same primary account and region as the current LAS service and have read permissions.​
​
Output requirements​
​
Sub-item​
Detailed requirements​
Supported output data modalities​
  • Text​
Output format: text​
Returns video prompts by storyboard segment in the input storyboard order, and returns reference images bound to each storyboard segment.​
  • Output language: output_language supports zh and en, and defaults to zh. Original dialogue remains in its original language.​
Output method​
After the task is completed, results are returned through data.items of the Poll API.​
​
Operator pricing​
Use your own ModelArk account to call the model or specify an endpoint. Specific costs are based on the actual model usage of that ModelArk account.​
Notes and prerequisites​
Enable ModelArk​
This operator needs to call the ModelArk model that you have enabled. Bills are also issued under your own ModelArk model bill. Therefore, before using the operator, you need to enable the ModelArk model first and obtain the authentication information (ark_api_key) and model information (model ID and endpoint information) for ModelArk model calls.​
General notes​
​
Sub-item​
Notes and prerequisites​
Enable LAS​
  • If you are a new Volcengine user and have not enabled the LAS product before, you can enable LAS first. Enabling only the LAS product without using LAS billing features does not incur fees. For the activation process, see Preparations.​
Fees​
Before calling the operator, you need to understand the model call fees when using the operator. For details, see Large model call billing.​
Authentication (API Key)​
Before calling the operator, you need to generate an API Key for operator calls. We recommend configuring the API Key as an environment variable for more secure operator calls. For details, see Obtain an API Key and configure it.​
BaseURL​
Before calling the operator, you need to obtain the BaseURL for operator calls based on the region where your current LAS service is located. It is used to configure path parameter values for operator calls.​
For details, see Obtain the Base URL. The examples below are for reference only. Replace the path value with the value for your corresponding region during actual calls.​
​
REST API calls​
Submit​
tip​
The current operator does not support batch submission.​
API description​
Submit an asynchronous task for reverse video prompt generation.​
  • The request header uses Authorization: Bearer <LAS_API_KEY> for LAS service authentication. The authentication parameter value is the LAS API Key. The ark_api_key in the request body must use your own ModelArk API Key for authentication. All endpoints are optional. If omitted, the corresponding model ID is used. Lite is used for audio fact understanding. Standard or Pro is used for prompt expansion.​
  • After success, the task ID is returned. You can query prompts by storyboard segment through Poll.​
Request parameters​
​
const properties = ({​
"columns": [​
{​
"title": "Parameter",​
"dataIndex": "column_0",​
"key": "column_0",​
"width": 300​
},​
{​
"title": "Type",​
"dataIndex": "column_1",​
"key": "column_1",​
"width": 150​
},​
{​
"title": "Required",​
"dataIndex": "column_2",​
"key": "column_2",​
"width": 100​
},​
{​
"title": "Example value",​
"dataIndex": "column_3",​
"key": "column_3",​
"width": 180​
},​
{​
"title": "Description",​
"dataIndex": "column_4",​
"key": "column_4"​
}​
],​
"data": [​
{​
"key": "1",​
"column_0": "operator_id",​
"column_1": "string",​
"column_2": "是",​
"column_3": "las_viral_reverse_prompt",​
"column_4": "算子 ID"​
},​
{​
"key": "2",​
"column_0": "operator_version",​
"column_1": "string",​
"column_2": "是",​
"column_3": "v1",​
"column_4": "算子版本"​
},​
{​
"key": "3",​
"column_0": "data",​
"column_1": "ViralReversePromptInfo",​
"column_2": "是",​
"column_3": "",​
"column_4": "视频逆向 Prompt 参数",​
"children": [​
{​
"key": "3-1",​
"column_0": "source_video_url",​
"column_1": "string",​
"column_2": "是",​
"column_3": "tos://bucket/source.mp4",​
"column_4": <div>源视频稳定地址,支持 <code>tos://</code>、<code>http://</code>、<code>https://</code>;不能使用带签名参数的临时预签名 URL。视频时长必须为 4~360 秒</div>​
},​
{​
"key": "3-2",​
"column_0": "storyboard_bundle_url",​
"column_1": "string",​
"column_2": "否",​
"column_3": "tos://bucket/storyboard/storyboard_bundle_manifest.json",​
"column_4": <div>未提供内联分镜时必填;三种分镜输入至少提供一种。与一种内联分镜同时传入时优先使用 bundle。Split storyboard bundle manifest 地址。使用该方式时,manifest 和所引用 JSON 文件必须符合 <code>storyboard_bundle_v2</code>,单个文件不超过 2 MiB</div>​
},​
{​
"key": "3-3",​
"column_0": "storyboard_segment",​
"column_1": "StoryboardSegment",​
"column_2": "否",​
"column_3": "",​
"column_4": <div>未提供 bundle 和非空 <code>storyboard_segments</code> 时必填。不能与非空 <code>storyboard_segments</code> 同时传入;传入 bundle 时优先使用 bundle</div>,​
"children": [​
{​
"key": "3-3-1",​
"column_0": "segment_id",​
"column_1": "string",​
"column_2": "是",​
"column_3": "segment-001",​
"column_4": "当前请求内唯一的分镜 ID"​
},​
{​
"key": "3-3-2",​
"column_0": "source_segment_id",​
"column_1": "string",​
"column_2": "否",​
"column_3": "source-segment-001",​
"column_4": <div>当前请求内唯一的源分镜 ID;省略时复用 <code>segment_id</code></div>​
},​
{​
"key": "3-3-3",​
"column_0": "visual_description",​
"column_1": "string",​
"column_2": "是",​
"column_3": "银色咖啡机在清晨厨房完成研磨和萃取",​
"column_4": "分镜画面描述,去除首尾空白后不能为空"​
},​
{​
"key": "3-3-4",​
"column_0": "start_time",​
"column_1": "float",​
"column_2": "是",​
"column_3": "0",​
"column_4": "分镜在源视频中的开始时间,单位秒"​
},​
{​
"key": "3-3-5",​
"column_0": "end_time",​
"column_1": "float",​
"column_2": "是",​
"column_3": "8",​
"column_4": "分镜在源视频中的结束时间,单位秒;单段时长必须为 4~15 秒,且不能超过源视频时长"​
},​
{​
"key": "3-3-7",​
"column_0": "references",​
"column_1": "list of ReversePromptReference",​
"column_2": "否",​
"column_3": "",​
"column_4": "当前分镜的参考图片,最多 9 项",​
"children": [​
{​
"key": "3-3-7-1",​
"column_0": "reference_id",​
"column_1": "string",​
"column_2": "是",​
"column_3": "product-1",​
"column_4": "当前分镜内唯一的参考图片 ID"​
},​
{​
"key": "3-3-7-2",​
"column_0": "position",​
"column_1": "integer",​
"column_2": "是",​
"column_3": "1",​
"column_4": "图片顺序,从 1 开始连续递增"​
},​
{​
"key": "3-3-7-4",​
"column_0": "name",​
"column_1": "string",​
"column_2": "是",​
"column_3": "银色咖啡机",​
"column_4": "参考图片名称"​
},​
{​
"key": "3-3-7-5",​
"column_0": "uri",​
"column_1": "string",​
"column_2": "是",​
"column_3": "tos://bucket/coffee-machine.png",​
"column_4": "稳定图片 URI,不能使用带签名参数的临时预签名 URL"​
}​
]​
}​
]​
},​
{​
"key": "3-4",​
"column_0": "storyboard_segments",​
"column_1": "list of StoryboardSegment",​
"column_2": "否",​
"column_3": "",​
"column_4": <div>未提供 bundle 和 <code>storyboard_segment</code> 时必填,1~24 个。不能与 <code>storyboard_segment</code> 同时传入;传入 bundle 时优先使用 bundle</div>,​
"children": [​
{​
"key": "3-4-1",​
"column_0": "segment_id",​
"column_1": "string",​
"column_2": "是",​
"column_3": "segment-001",​
"column_4": "当前请求内唯一的分镜 ID"​
},​
{​
"key": "3-4-2",​
"column_0": "source_segment_id",​
"column_1": "string",​
"column_2": "否",​
"column_3": "source-segment-001",​
"column_4": <div>当前请求内唯一的源分镜 ID;省略时复用 <code>segment_id</code></div>​
},​
{​
"key": "3-4-3",​
"column_0": "visual_description",​
"column_1": "string",​
"column_2": "是",​
"column_3": "银色咖啡机在清晨厨房完成研磨和萃取",​
"column_4": "分镜画面描述,去除首尾空白后不能为空"​
},​
{​
"key": "3-4-4",​
"column_0": "start_time",​
"column_1": "float",​
"column_2": "是",​
"column_3": "0",​
"column_4": "分镜在源视频中的开始时间,单位秒"​
},​
{​
"key": "3-4-5",​
"column_0": "end_time",​
"column_1": "float",​
"column_2": "是",​
"column_3": "8",​
"column_4": "分镜在源视频中的结束时间,单位秒;单段时长必须为 4~15 秒,且不能超过源视频时长"​
},​
{​
"key": "3-4-6",​
"column_0": "video_url",​
"column_1": "string",​
"column_2": "否",​
"column_3": "tos://bucket/segment-001.mp4",​
"column_4": "兼容保留字段;当前按源视频的分镜时间范围裁剪,不使用该值替代源片。传入时仍须为稳定 URI"​
},​
{​
"key": "3-4-7",​
"column_0": "references",​
"column_1": "list of ReversePromptReference",​
"column_2": "否",​
"column_3": "",​
"column_4": "当前分镜的参考图片,最多 9 项",​
"children": [​
{​
"key": "3-4-7-1",​
"column_0": "reference_id",​
"column_1": "string",​
"column_2": "是",​
"column_3": "product-1",​
"column_4": "当前分镜内唯一的参考图片 ID"​
},​
{​
"key": "3-4-7-2",​
"column_0": "position",​
"column_1": "integer",​
"column_2": "是",​
"column_3": "1",​
"column_4": "图片顺序,从 1 开始连续递增"​
},​
{​
"key": "3-4-7-3",​
"column_0": "type",​
"column_1": "string",​
"column_2": "否",​
"column_3": "image",​
"column_4": <div>默认 <code>image</code>;显式传入也必须为 <code>image</code></div>​
},​
{​
"key": "3-4-7-4",​
"column_0": "name",​
"column_1": "string",​
"column_2": "是",​
"column_3": "银色咖啡机",​
"column_4": "参考图片名称"​
},​
{​
"key": "3-4-7-5",​
"column_0": "uri",​
"column_1": "string",​
"column_2": "是",​
"column_3": "tos://bucket/coffee-machine.png",​
"column_4": "稳定图片 URI,不能使用带签名参数的临时预签名 URL"​
}​
]​
}​
]​
},​
{​
"key": "3-5",​
"column_0": "prompt_profile",​
"column_1": "string",​
"column_2": "否",​
"column_3": "general",​
"column_4": <div>Prompt 场景,可选 <code>general</code>:通用行业、<code>beauty</code>:美妆行业、<code>home_textile</code>:家纺行业,默认 <code>general</code></div>​
},​
{​
"key": "3-7",​
"column_0": "output_language",​
"column_1": "string",​
"column_2": "否",​
"column_3": "zh",​
"column_4": <div>输出说明语言,可选 <code>zh</code>、<code>en</code>,默认 <code>zh</code>;原声台词保持原语言</div>​
},​
{​
"key": "3-8",​
"column_0": "model_iter",​
"column_1": "string",​
"column_2": "否",​
"column_3": "pro",​
"column_4": <div>Prompt 扩写档位,可选 <code>standard</code>、<code>pro</code>,默认 <code>pro</code></div>​
},​
{​
"key": "3-9",​
"column_0": "video_style",​
"column_1": "string",​
"column_2": "否",​
"column_3": "电影感暖色调,保留原有主体和动作",​
"column_4": "目标视觉风格,去除首尾空白后最长 1000 个字符;只改变目标表现,不改变源视频事实"​
},​
{​
"key": "3-10",​
"column_0": "voice_style",​
"column_1": "string",​
"column_2": "否",​
"column_3": "沉稳自然的成年女声",​
"column_4": "已验证真人语音的目标音色,去除首尾空白后最长 1000 个字符;不会创建原视频中不存在的台词或说话人"​
},​
{​
"key": "3-11",​
"column_0": "ark_api_key",​
"column_1": "string",​
"column_2": "是",​
"column_3": "YOUR_ARK_API_KEY ",​
"column_4": "用户自己的方舟 API Key。该字段属于敏感信息,请勿记录或提交真实值"​
},​
{​
"key": "3-12",​
"column_0": "ark_lite_endpoint_id",​
"column_1": "string",​
"column_2": "否",​
"column_3": "YOUR_ARK_LITE_ENDPOINT_ID ",​
"column_4": <div>选填;省略时直接使用模型 ID <code>doubao-seed-2-0-lite-260428</code>。显式传入时须为该模型的推理接入点;方舟 API Key 须具备对应模型或接入点访问权限</div>​
},​
{​
"key": "3-13",​
"column_0": "ark_standard_endpoint_id",​
"column_1": "string",​
"column_2": "否",​
"column_3": "YOUR_ARK_STANDARD_ENDPOINT_ID ",​
"column_4": <div>选填;省略时直接使用模型 ID <code>doubao-seed-2-1-turbo-260628</code>。显式传入时须为该模型的推理接入点;方舟 API Key 须具备对应模型或接入点访问权限</div>​
},​
{​
"key": "3-14",​
"column_0": "ark_pro_endpoint_id",​
"column_1": "string",​
"column_2": "否",​
"column_3": "YOUR_ARK_PRO_ENDPOINT_ID ",​
"column_4": <div>选填;省略时直接使用模型 ID <code>doubao-seed-2-1-pro-260628</code>。显式传入时须为该模型的推理接入点;方舟 API Key 须具备对应模型或接入点访问权限</div>​
}​
]​
},​
{​
"key": "4",​
"column_0": "callback",​
"column_1": "Callback",​
"column_2": "否",​
"column_3": "",​
"column_4": "可选任务状态回调。仅在控制面对当前账号、算子及版本启用回调策略后可用;未启用时请省略 callback 并通过 Poll 查询,否则提交失败",​
"children": [​
{​
"key": "4-1",​
"column_0": "url",​
"column_1": "string",​
"column_2": "是",​
"column_3": "https://example.com/callback",​
"column_4": "公网可访问的 HTTPS 回调地址"​
}​
]​
}​
]​
}); ​
return <Table border={{ cell: true, wrapper: true }} pagination={false} {...properties} />;​
​
Response parameters​
​
const properties = ({​
"columns": [​
{​
"title": "Parameter",​
"dataIndex": "column_0",​
"key": "column_0",​
"width": 300​
},​
{​
"title": "Type",​
"dataIndex": "column_1",​
"key": "column_1",​
"width": 150​
},​
{​
"title": "Example value",​
"dataIndex": "column_3",​
"key": "column_3",​
"width": 180​
},​
{​
"title": "Description",​
"dataIndex": "column_4",​
"key": "column_4"​
}​
],​
"data": [​
{​
"key": "1",​
"column_0": "metadata",​
"column_1": "metadata",​
"column_3": "",​
"column_4": "请求元信息",​
"children": [​
{​
"key": "1-1",​
"column_0": "task_id",​
"column_1": "string",​
"column_3": "task-xxx",​
"column_4": "异步任务 ID,用于查询任务状态和结果"​
},​
{​
"key": "1-2",​
"column_0": "task_status",​
"column_1": "string",​
"column_3": "PENDING",​
"column_4": "任务状态:PENDING、RUNNING、COMPLETED、FAILED、EXPIRED、CANCELLED、TIMEOUT。PENDING、RUNNING 为非终态;其余为终态,应停止轮询。EXPIRED 表示排队等待超时;CANCELLED 表示已取消"​
},​
{​
"key": "1-3",​
"column_0": "business_code",​
"column_1": "string",​
"column_3": "0",​
"column_4": "业务码"​
},​
{​
"key": "1-4",​
"column_0": "error_msg",​
"column_1": "string",​
"column_3": "",​
"column_4": "异常详情"​
}​
]​
}​
]​
}); ​
return <Table border={{ cell: true, wrapper: true }} pagination={false} {...properties} />;​
​
Request example​
​
curl --location "https://operator.las.cn-beijing.volces.com/api/v1/submit" \​
--header "Content-Type: application/json" \​
--header "Authorization: Bearer $LAS_API_KEY" \​
--data '{​
"operator_id": "las_viral_reverse_prompt",​
"operator_version": "v1",​
"data": {​
"source_video_url": "tos://bucket/source.mp4",​
"storyboard_segments": [​
{​
"segment_id": "segment-001",​
"visual_description": "银色咖啡机在清晨厨房完成研磨和萃取",​
"start_time": 0,​
"end_time": 8,​
"references": []​
}​
],​
"ark_api_key": "<YOUR_ARK_API_KEY>"​
}​
}'​
​
Response example​
​
{​
"metadata": {​
"task_id": "task-20260914121000-abc123",​
"task_status": "PENDING",​
"business_code": "0",​
"error_msg": ""​
}​
}​
​
Error codes​
​
HttpStatusCode​
Error code​
Error message​
Description​
400​
Parameter.Invalid​
The parameter is invalid.​
The request parameters are invalid. For example, required ModelArk credentials are missing, the storyboard structure or time range does not meet constraints, or batch submission is attempted​
401​
Authorization.Missing​
Missing Authorization.​
LAS authentication is missing​
401​
ApiKey.Invalid​
The api key is invalid.​
The LAS API Key is invalid​
500​
Server.InternalError​
General Internal Error.​
Internal service error​
​
Poll​
API description​
Query the status and per-storyboard results of a reverse video prompt generation task.​
Request parameters​
​
Name​
Type​
Required​
Example value​
Description​
operator_id​
string​
Yes​
las_viral_reverse_prompt​
Operator ID​
operator_version​
string​
Yes​
v1​
Operator version​
task_id​
string​
Yes​
task-xxx​
Asynchronous task ID​
​
Response parameters​
​
const properties = ({​
"columns": [​
{​
"title": "Parameter",​
"dataIndex": "column_0",​
"key": "column_0",​
"width": 300​
},​
{​
"title": "Type",​
"dataIndex": "column_1",​
"key": "column_1",​
"width": 150​
},​
{​
"title": "Example value",​
"dataIndex": "column_3",​
"key": "column_3",​
"width": 180​
},​
{​
"title": "Description",​
"dataIndex": "column_4",​
"key": "column_4"​
}​
],​
"data": [​
{​
"key": "1",​
"column_0": "metadata",​
"column_1": "metadata",​
"column_3": "",​
"column_4": "请求元信息",​
"children": [​
{​
"key": "1-1",​
"column_0": "task_id",​
"column_1": "string",​
"column_3": "task-xxx",​
"column_4": "异步任务 ID"​
},​
{​
"key": "1-2",​
"column_0": "task_status",​
"column_1": "string",​
"column_3": "COMPLETED",​
"column_4": "任务状态:PENDING、RUNNING、COMPLETED、FAILED、EXPIRED、CANCELLED、TIMEOUT。PENDING、RUNNING 为非终态;其余为终态,应停止轮询。EXPIRED 表示排队等待超时;CANCELLED 表示已取消"​
},​
{​
"key": "1-3",​
"column_0": "submit_time",​
"column_1": "string",​
"column_3": "2026-09-14T12:10:00+08:00",​
"column_4": "任务提交时间,ISO 8601 格式"​
},​
{​
"key": "1-4",​
"column_0": "end_time",​
"column_1": "string",​
"column_3": "2026-09-14T12:10:32+08:00",​
"column_4": "任务结束时间,ISO 8601 格式"​
},​
{​
"key": "1-5",​
"column_0": "business_code",​
"column_1": "string",​
"column_3": "0",​
"column_4": <div>业务码;通常结合 <code>task_status=COMPLETED</code> 和 <code>business_code=0</code> 判断成功</div>​
},​
{​
"key": "1-6",​
"column_0": "error_msg",​
"column_1": "string",​
"column_3": "",​
"column_4": "异常详情"​
}​
]​
},​
{​
"key": "2",​
"column_0": "data",​
"column_1": "ViralReversePromptResult",​
"column_3": "",​
"column_4": "任务成功时返回的逐分镜 Prompt 和用量汇总",​
"children": [​
{​
"key": "2-1",​
"column_0": "items",​
"column_1": "list of ReversePromptItem",​
"column_3": "",​
"column_4": "按输入分镜顺序返回的 Prompt",​
"children": [​
{​
"key": "2-1-1",​
"column_0": "segment_id",​
"column_1": "string",​
"column_3": "segment-001",​
"column_4": "请求中的分镜 ID"​
},​
{​
"key": "2-1-2",​
"column_0": "source_segment_id",​
"column_1": "string",​
"column_3": "source-segment-001",​
"column_4": "请求中的源分镜 ID;输入省略 source_segment_id 时为该分镜的 segment_id"​
},​
{​
"key": "2-1-3",​
"column_0": "prompt",​
"column_1": "string",​
"column_3": "【任务类型】复刻咖啡机产品展示片段……",​
"column_4": "为该分镜生成的视频 Prompt"​
},​
{​
"key": "2-1-4",​
"column_0": "references",​
"column_1": "list of ReversePromptReference",​
"column_3": "",​
"column_4": "该分镜请求中绑定的参考图片;字段结构与 Submit 中一致",​
"children": [​
{​
"key": "2-1-4-1",​
"column_0": "reference_id",​
"column_1": "string",​
"column_3": "product-1",​
"column_4": "参考图片 ID"​
},​
{​
"key": "2-1-4-2",​
"column_0": "position",​
"column_1": "integer",​
"column_3": "1",​
"column_4": "图片顺序"​
},​
{​
"key": "2-1-4-3",​
"column_0": "type",​
"column_1": "string",​
"column_3": "image",​
"column_4": <div>固定为 <code>image</code></div>​
},​
{​
"key": "2-1-4-4",​
"column_0": "name",​
"column_1": "string",​
"column_3": "银色咖啡机",​
"column_4": "参考图片名称"​
},​
{​
"key": "2-1-4-5",​
"column_0": "uri",​
"column_1": "string",​
"column_3": "tos://bucket/coffee-machine.png",​
"column_4": "参考图片 URI"​
}​
]​
}​
]​
},​
{​
"key": "2-2",​
"column_0": "usage",​
"column_1": "ReversePromptUsage",​
"column_3": "",​
"column_4": "本次任务的方舟模型调用用量汇总",​
"children": [​
{​
"key": "2-2-1",​
"column_0": "request_count",​
"column_1": "integer",​
"column_3": "2",​
"column_4": "方舟模型请求总次数,包括源视频事实理解和各分镜 Prompt 扩写"​
},​
{​
"key": "2-2-2",​
"column_0": "total_tokens",​
"column_1": "integer",​
"column_3": "4096",​
"column_4": "所有方舟模型请求的总 Token 数;任一调用缺少用量时可能为空"​
},​
{​
"key": "2-2-3",​
"column_0": "complete",​
"column_1": "boolean",​
"column_3": "true",​
"column_4": "是否已获得全部方舟模型调用的 Token 用量"​
}​
]​
}​
]​
}​
]​
}); ​
return <Table border={{ cell: true, wrapper: true }} pagination={false} {...properties} />;​
​
Request example​
​
curl --location "https://operator.las.cn-beijing.volces.com/api/v1/poll" \​
--header "Content-Type: application/json" \​
--header "Authorization: Bearer $LAS_API_KEY" \​
--data '{​
"operator_id": "las_viral_reverse_prompt",​
"operator_version": "v1",​
"task_id": "task-20260914121000-abc123"​
}'​
​
Response example​
​
{​
"metadata": {​
"task_id": "task-20260914121000-abc123",​
"task_status": "COMPLETED",​
"submit_time": "2026-09-14T12:10:00+08:00",​
"end_time": "2026-09-14T12:10:32+08:00",​
"business_code": "0",​
"error_msg": ""​
},​
"data": {​
"items": [​
{​
"segment_id": "segment-001",​
"source_segment_id": "segment-001",​
"prompt": "【任务类型】\n复刻银色咖啡机在清晨厨房完成研磨和萃取的产品展示片段。\n【画面规格】\n8 秒产品视频,保持清晨暖光和真实金属质感。",​
"references": []​
}​
],​
"usage": {​
"request_count": 2,​
"total_tokens": 4096,​
"complete": true​
}​
}​
}​
​
Error codes​
​
HttpStatusCode​
Error code​
Error message​
Description​
400​
TaskId.Invalid​
The task id is invalid.​
The task ID is invalid or the task does not exist​
401​
Authorization.Missing​
Missing Authorization.​
LAS authentication is missing​
401​
ApiKey.Invalid​
The api key is invalid.​
The LAS API Key is invalid​
500​
Server.InternalError​
General Internal Error.​
Internal service error​
​
​
Last updated: 2026.10.13 15:04:05