By entering the video topic and creative requirements, you can generate a video production plan for use in subsequent production, including image asset planning, video content structure, shot arrangement, recommendations for video reference materials, duration pacing, and voice-over scripts (does not directly generate audio, video, or text/image assets). The plan breaks down creative ideas into a clear content structure, shot arrangement, asset recommendations, and duration pacing, making it suitable for pre-production planning of educational and marketing videos.
Operator ID: las_hypervideo_script_planner
video, frame, and hybrid, as follows:
video is used for pure video storytelling, character actions, story scenes, environment, emotion, cinematic transitions, and visual demonstrations that do not require precise text rendering.frame is used for accurate rendering of pure text/layout, courseware pages, and charts in visual demonstrations.hybrid is used for scenarios where both video frames and precise text/layout need to be generated within the same scene."prompt": "为小学三年级数学《长方形面积》课程生成 1 分钟讲解视频规划,要求结构清晰、示例贴近生活。", "prompt_strategy": "education_v1", "total_duration_sec": 300, "planning": { "domain": "education", "context": { "target_grade": "小学三年级", "subject": "数学", "course_topic": "长方形面积" } }
Sub-items | Performance impact description |
|---|---|
Maximum RPM | 600 |
Breakdown | Detailed requirements |
|---|---|
Input data modality |
|
Input path requirements | Provide input data to the operator via the request parameter
|
Breakdown | Detailed requirements |
|---|---|
Output data modality |
|
Output path: TOS | You can specify the storage path for the operator's output results via the request parameter
|
Billing standards
Breakdown | Description of billing standards |
|---|---|
Billing item |
|
Billing type | Billed by usage, unit: |
Unit price | Tiered pricing is applied based on the target video duration required for script planning. |
Billing details
Billing item | Target video duration | Unit price |
|---|---|---|
Operator processing fees | (0 seconds, 30 seconds] | 1.2 CNY |
(30 seconds, 1 minute] | 1.5 CNY | |
(1 minute, 2 minutes] | 2.0 CNY | |
(2 minutes, 5 minutes] | 3.0 CNY | |
(5 minutes, 10 minutes] | 4.5 CNY | |
(10 minutes, 20 minutes] | 7.0 CNY | |
(20 minutes, 30 minutes] | 9.5 CNY | |
Multimodal reference input fees | Not applicable | 1.00 CNY, charged when multimodal reference input is provided; not charged when multimodal reference input is not provided |
Details | Caution and prerequisites |
|---|---|
Costs | Before calling an operator, you need to understand the model invocation costs associated with using the operator. For details, see Large model invocation billing. |
Authentication (API Key) | Before calling an operator, you need to generate an API Key for operator invocation. It is recommended to configure the API Key as an environment variable to ensure safer operator calls. For details, see Obtain and configure API Key. |
BaseURL | Before calling an operator, you need to determine the BaseURL for operator invocation based on the region where your current LAS service is deployed. This is used to configure the path parameter values for operator calls. |
Submit interface to obtain the task's task_id, and then use the Poll interface to check the status of the corresponding task (task_id) and obtain the operator's result.task_id is valid for three days. After three days, the task_id can no longer be used to obtain the operator's result.Submit a video script planning task. After successful submission, a task ID is returned. You can obtain the processing result through the query interface.
Parameter | Type | Required | Example value | Description |
|---|---|---|---|---|
operator_id | string | Yes | las_hypervideo_script_planner | Operator ID |
operator_version | string | Yes | v1 | Operator version |
data | HyperVideoScriptPlannerReqParams | Yes | Video script planning request parameters |
Parameter | Type | Example value | Description |
|---|---|---|---|
metadata | metadata | Request metadata |
curl --location "${LAS_ENDPOINT}/api/v1/submit" \ --header "Content-Type: application/json" \ --header "Authorization: Bearer $LAS_API_KEY" \ --data '{ "operator_id": "las_hypervideo_script_planner", "operator_version": "v1", "data": { "prompt": "Generate a 5-minute explainer video plan for the Grade 3 math topic Area of Rectangles. The structure should be clear and examples should be close to daily life.", "prompt_strategy": "education_v1", "total_duration_sec": 300, "planning": { "domain": "education", "context": { "target_grade": "Grade 3", "subject": "Math", "course_topic": "Area of Rectangles" } }, "ref_images": [ "https://example.com/classroom-reference.png" ], "ref_files": [ "https://example.com/course-material.pdf" ], "output_tos_path": "tos://bucket/output/script_planner/", "output_language": "en", "aspect_ratio": "16:9", "resolution": "1920x1080", "fps": 25, "video_target_ratio": 0.6, "frame_target_ratio": 0.3, "hybrid_target_ratio": 0.1, "video_max_scene_duration_sec": 8, "min_total_duration_sec": 240, "max_total_duration_sec": 300 } }'
{ "metadata": { "task_id": "20250108_150000_abc123", "task_status": "PENDING", "business_code": "0", "error_msg": "" } }
HttpStatusCode | Error code | Error message | Description |
|---|---|---|---|
400 | Parameter.Invalid | The parameter is invalid. | The parameter is invalid (for example, the request parameter format is illegal, |
401 | Authorization.Missing | The authorization header is missing. | Authorization is missing |
401 | ApiKey.Invalid | The api key is invalid. | API Key is invalid |
500 | Server.InternalError | General Internal Error | Internal server error |
Query the execution status and result of the video script planning task.
Name | Type | Required | Example value | Description |
|---|---|---|---|---|
operator_id | string | Yes | las_hypervideo_script_planner | Operator ID |
operator_version | string | Yes | v1 | Operator version |
task_id | string | Yes | task-xxx | Task ID |
Parameter | Type | Example value | Description |
|---|---|---|---|
metadata | metadata | Request metadata | |
data | HyperVideoScriptPlannerResponse | Returned data |
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_hypervideo_script_planner", "operator_version": "v1", "task_id": "20250108_150000_abc123" }'
{ "metadata": { "task_id": "20250108_150000_abc123", "task_status": "COMPLETED", "submit_time": "2026-07-21T16:04:06+08:00", "end_time": "2026-07-21T16:04:06+08:00", "business_code": "0", "error_msg": "" }, "data": { "intent_profile_path": "tos://bucket/out/run/intent_profile.json", "intent_profile_uri": "https://example.com/intent_profile.json", "production_plan_path": "tos://bucket/out/run/production_plan.json", "production_plan_uri": "https://example.com/production_plan.json", "total_duration_sec": 300.0, "contains_multimodal_input": true } }
HttpStatusCode | Error code | Error message | Description |
|---|---|---|---|
400 | Parameter.Invalid | The parameter is invalid. | Invalid parameter |
400 | TaskId.Invalid | The task id is invalid. | Task ID is invalid or the task does not exist |
401 | Authorization.Missing | The authorization header is missing. | Authorization is missing |
401 | ApiKey.Invalid | The api key is invalid. | API Key is invalid |
500 | Server.InternalError | General Internal Error | Internal server error |
intent_profile.json: Describes the content the user wants, mainly including video title, planning domain, topic, key knowledge points, audience, content objectives, content units, total duration, aspect ratio, resolution, output language, global visual style, text strategy, audio strategy, constraints, and assumptions. Main fields are as follows.
Name | Type | Description |
|---|---|---|
video_title | string | Suggested video title. |
planning_domain | string | Identified planning domain; currently supports "education" (教育) and "marketing" (营销). |
scenario_type | string | Specific scenario type within the domain, such as classical poetry. |
topic | object | Topic information, including main topic, key knowledge points, and classification. |
target_audience | object | Target audience information, including age range, cognitive level, attention characteristics, and more. |
content_goal | string | Overall content goal for the video. |
key_messages | array | Key messages or objectives to be conveyed. |
content_units | array | Structured content units, such as formula explanations, operation steps, product selling points, and more. |
total_duration_sec | integer | Total planned video duration, in seconds. |
aspect_ratio | string | Target video aspect ratio. |
resolution | string | Target video resolution. |
language | string | Video output language. |
global_style | object | Global style, including visual style, text strategy, audio style, and music strategy. |
production_plan.json: Describes how the video is produced downstream, mainly including the following fields.
Name | Type | Description |
|---|---|---|
content_structure | array | Content structure; each item includes chapter ID, name, goal, duration, and recommended generation mode. |
generation_mix_strategy | object | Duration ratio strategy for video, frame, or hybrid. |
asset_plan | array | List of assets to be generated or reused, such as cover, character reference, background reference, props, style images, frame illustrations, audio reference, and more. |
scene_plan | array | Executable scene list; each scene is distinguished by generation_type as video, frame, or hybrid. |
assembly_plan | object | Final stitching order, default transitions, transition duration, audio normalization, and background music strategy. |
metadata | object | Additional information generated during the planning process. |
Name | Type | Description |
|---|---|---|
asset_id | string | Unique asset ID, referenced by scenes via asset_refs. |
asset_type | string | Asset type, such as cover, character reference, background reference, prop, style image, frame illustration, or audio reference. |
generation_model | string | Recommended asset generation model. |
purpose | string | Purpose of the asset in the video. |
prompt | string | Prompt used to generate the asset. |
negative_prompt | string | Negative prompt used to generate the asset. |
uri | string | URI of the provided or generated asset. |
metadata | object | Additional information related to the asset. |
Name | Type | Description |
|---|---|---|
scene_id | string | Unique scene ID. |
section_id | string | Section ID to which it belongs; section planning is in content_structure. |
scene_title | string | Scene title. |
generation_type | string | Scene generation mode; supports video, frame, or hybrid. |
duration_sec | double | Planned scene duration, in seconds. |
scene_goal | string | Content objectives to be achieved in the scene. |
scene_function | string | Scene function, such as attracting attention, establishing context, explaining, demonstrating, or summarizing. |
content_summary | string | Scene content summary. |
asset_refs | array | List of asset IDs referenced by the current scene. |
storyboards | array | Storyboard list for the video, including storyboard duration, visual prompts, shot design, and storyboard audio. |
frame_prompt | object | Visual, text, layout, and animation planning for frame or hybrid scenes. |
audio | object | Scene-level audio planning, including audio type, speaking role, timbre, script, and synchronization requirements. |
transition | object | Transition requirements for entering and exiting the scene. |