scenario-vidu
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseScenario Vidu Video
Scenario Vidu 视频生成
Overview
概述
Vidu, Shengshu Technology's video family on Scenario, ships one model per mode per tier instead of folding every mode into one model: the model name carries both the mode (T2V, I2V, Reference2V) and the tier (Q3, Q2, Q1, 2.0). Fifteen members were live at authoring time, so the family, pick by name, and treat as the contract, since caps disagree at every tier boundary.
searchmodel_schema_getConnection and the core loop: see the skill in this repo; model-agnostic video work: the skill. If a sibling skill named here is missing from your available skills, ask the user to install it (); unattended, proceed from tool schemas and flag the gap.
scenarioscenario-videonpx skills add scenario-labs/skills --skill <name>Vidu是生数科技在Scenario平台上的视频生成模型系列,每个模式、每个等级都对应独立的模型,而非将所有模式整合到单个模型中:模型名称同时包含模式(T2V、I2V、Reference2V)和等级(Q3、Q2、Q1、2.0)信息。撰写本文时该系列已有15个模型上线,因此请通过查询该模型系列,按名称选型,并以返回的结果为准,因为每个等级的功能上限都存在差异。
searchmodel_schema_get连接方式与核心流程:参见本仓库中的技能;与模型无关的视频处理工作:参见技能。如果你的可用技能中缺少这里提到的同类技能,请让用户安装();在无人值守模式下,可基于工具schema继续操作并标注缺失项。
scenarioscenario-videonpx skills add scenario-labs/skills --skill <name>Quick reference
快速参考
Choose the model line by what you hold (input names from the live schemas):
| You hold | Line | Key inputs |
|---|---|---|
| Text only | T2V | |
| One still to animate | I2V | |
| Start and end frames | I2V | |
| Identity references | Reference2V | |
In start/end mode array order decides: the first id opens the clip, the second closes it, and must match the image count. No I2V member exposes : geometry follows the source stills. Reference2V carries identity (characters, props, palette), not the opening state; to open on an exact frame, switch to an I2V member. One Reference2V member (Q2 Pro at authoring time) also took : up to 2 reference videos (one of 8 seconds or two of 5, 100MB each, aspect between 1:4 and 4:1), requiring or .
generationTypeaspectRatiovideosimagesvideosEvery member takes . (default false) is a background-music toggle, not sound design, and on most Q2 members it silently does nothing at 9 or 10 seconds.
seedaudio根据你拥有的素材选择模型系列(输入参数名称以实时schema为准):
| 你拥有的素材 | 模型系列 | 关键输入参数 |
|---|---|---|
| 仅文本 | T2V | |
| 单张静态图片(需生成动效) | I2V | |
| 首尾帧 | I2V | |
| 身份参考素材 | Reference2V | |
在首尾帧模式下,数组顺序决定了帧的位置:第一个id对应视频开头,第二个对应视频结尾,且必须与图片数量匹配。所有I2V系列模型都不支持参数:视频尺寸由源静态图片决定。Reference2V系列保留身份特征(角色、道具、配色),但不保证开头帧与参考图一致;如果需要精确的开头帧,请切换到I2V系列模型。有一个Reference2V模型(撰写本文时为Q2 Pro)还支持参数:最多2个参考视频(单个8秒或两个5秒,每个100MB,宽高比在1:4到4:1之间),需要传入或参数。
generationTypeaspectRatiovideosimagesvideos所有模型都支持参数。(默认值为false)是背景音乐开关,而非音效设计功能,且在大多数Q2系列模型中,当视频时长为9或10秒时,该参数会静默失效。
seedaudioTier picks the caps
等级决定功能上限
At authoring time: Q3 ran 1 to 16 seconds; Q2 ran 1 to 10, with start/end mode capped at 8; 2.0 I2V took exactly 4 or 8 seconds, and 8 only at 720p; Q1 exposed no duration or resolution at all, and 2.0 Reference2V no duration. (auto, small, medium, large) exists only on the Q1 and 2.0 lines, and the general or anime selector only on Q1 I2V members; on Q2 and Q3, motion energy and style go in the prompt. Turbo and Fast variants cut latency at the same duration and resolution caps as their Pro siblings. and both move cost, several-fold on one member alone, so the exact job before a batch.
movementAmplitudestyledurationresolutiondry_run撰写本文时的参数限制:Q3系列支持1到16秒时长;Q2系列支持1到10秒,其中首尾帧模式上限为8秒;2.0 I2V系列仅支持4秒或8秒时长,且8秒仅支持720p分辨率;Q1系列完全不支持和参数,2.0 Reference2V系列不支持参数。(auto、small、medium、large)仅在Q1和2.0系列中可用,通用/动漫选择器仅在Q1 I2V系列中可用;在Q2和Q3系列中,运动强度和风格需要通过prompt描述。Turbo和Fast变体在与Pro版本相同的时长和分辨率上限下,延迟更低。和都会影响成本,部分模型的成本差异可达数倍,因此批量运行前请先对具体任务执行。
durationresolutiondurationmovementAmplitudestyledurationresolutiondry_runTwo prompt shapes
两种Prompt格式
T2V and I2V want a 120 to 180 word single-shot paragraph in present tense: scene and lighting, one or two motions, one camera move in plain verbs (pan, dolly, zoom in), emotion as physical cues ("her shoulders slump"), no cuts, and in I2V nothing that is not already in the still. Reference2V wants the opposite: one short sentence, roughly 20 to 40 words, naming which element comes from which reference by position, "the character from image1 wearing the armor from image2, walking through a snowstorm". Prompt length caps differ per member, 2000 to 5000 characters.
T2V和I2V系列需要120到180词的现在时单段描述:包含场景和光线、一到两个动作、一个用简单动词描述的镜头运动(pan、dolly、zoom in),用肢体动作表现情绪(比如“她的肩膀耷拉下来”),不要有镜头切换;且I2V的prompt中不能出现静态图片里没有的内容。Reference2V则正好相反:需要一句约20到40词的短句,按位置说明每个元素来自哪张参考图,比如“image1中的角色穿着image2中的盔甲,在暴风雪中行走”。不同模型的prompt长度上限不同,从2000到5000字符不等。
Worked example: bridging two keyframes
实操示例:衔接两个关键帧
- with
search,target="models",query="vidu". Prefer the newest tier in the mode you need, e.g.public=true(a live hit at authoring time: re-discover each session).model_vidu-i2v-q3-pro - with that id: duration bounds, resolutions, defaults.
model_schema_get - the start and end stills (see the
upload_assetskill) for two asset ids.scenario - with that
model_run,model_id, anddry_run=true; expand the prompt to the full paragraph shape above in real runs, and re-estimate after any change to duration or resolution.parameters={"generationType": "start_end_to_video", "images": ["asset_start", "asset_end"], "prompt": "The knight slowly lowers his sword as dusk settles over the courtyard. The camera dollies in on his face.", "duration": 8, "resolution": "1080p"} - Re-run with
model_run, thenwait=falsewith the returned job id, re-called withjobs_waiton timeout, never a secondpending_job_ids.model_run - the output and check both anchor frames landed.
asset_display
- 使用、
target="models"、query="vidu"执行public=true。优先选择你所需模式下的最新等级模型,例如search(撰写本文时为有效结果:每次会话都需要重新查询)。model_vidu-i2v-q3-pro - 用该模型id调用:获取时长范围、分辨率、默认值等信息。
model_schema_get - 上传首尾静态图片(参见技能的
scenario),获取两个资产id。upload_asset - 调用,传入
model_run、model_id,以及dry_run=true;实际运行时请将prompt扩展为上述的完整段落格式,且任何时长或分辨率的变更后都需要重新估算成本。parameters={"generationType": "start_end_to_video", "images": ["asset_start", "asset_end"], "prompt": "The knight slowly lowers his sword as dusk settles over the courtyard. The camera dollies in on his face.", "duration": 8, "resolution": "1080p"} - 重新调用,设置
model_run,然后用返回的job id调用wait=false,超时则用jobs_wait重新调用,绝对不要重复调用pending_job_ids。model_run - 用展示输出结果,检查两个锚点帧是否正确呈现。
asset_display
Common mistakes
常见错误
- Two images with , or one with start/end: the type must match the image count, and order sets start versus end.
generationType: "image_to_video" - Expecting a Reference2V clip to open on a reference image: references fix identity, not frame one; use an I2V member for exact opening frames.
- Carrying caps across tiers: 16 seconds is Q3 only; 2.0 I2V accepts only 4 or 8, and 8 forces 720p.
- Prompting dialogue or sound effects: only adds background music, and it drops out at 9 or 10 seconds on most Q2 members.
audio - A 150-word paragraph on Reference2V, or a bare sentence on T2V: the two modes want opposite prompt shapes.
- Passing to any Reference2V member: at authoring time only one took reference videos; read the schema first.
videos
- 两张图片搭配,或者单张图片搭配首尾帧模式:类型必须与图片数量匹配,且顺序决定了开头和结尾。
generationType: "image_to_video" - 期望Reference2V生成的视频以参考图开头:参考图仅用于固定身份特征,而非第一帧;需要精确开头帧请使用I2V系列模型。
- 跨等级套用功能上限:16秒仅Q3支持;2.0 I2V仅支持4秒或8秒,且8秒强制为720p。
- 在prompt中加入对话或音效:仅添加背景音乐,且在大多数Q2系列模型中,9或10秒时长时会失效。
audio - 给Reference2V写150词的段落,或者给T2V写短句:两种模式需要的prompt格式完全相反。
- 给任意Reference2V模型传参数:撰写本文时仅有一个模型支持参考视频;请先查看schema。
videos