generation-router
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGeneration Router
Generation Router
Use When
使用场景
- The user asks for generated media, edited media, dubbing, voice, lip-sync, storyboard-to-video, reference-to-asset, or analysis-derived generation.
- The first decision is the output family, not the provider or model.
- The request may need a media generation controller before execution.
- 用户请求生成媒体、编辑媒体、配音、语音制作、唇形同步、分镜脚本转视频、参考素材转资产或基于分析的生成任务。
- 首要决策是确定输出类别,而非选择供应商或模型。
- 该请求在执行前可能需要媒体生成控制器。
Do Not Use When
禁用场景
- Transcription, subtitles, video analysis, beat maps, or edit plans are the
primary output. Use .
media-router - The user already selected ,
image-generation,video-generation, oraudio-generationand supplied that controller's inputs.ugc-flow - The task is only research, creator discovery, copywriting, or publishing.
- 主要输出为转录、字幕、视频分析、节拍映射或编辑方案时,请使用。
media-router - 用户已选择、
image-generation、video-generation或audio-generation并提供了对应控制器的输入参数时。ugc-flow - 任务仅为调研、创作者发掘、文案撰写或发布时。
Core Rule
核心规则
Classify the generation job before choosing a model or runner.
The router owns only the first split:
- : new image, image edit, product image, batch variants, reference image generation
image - : simple clip, storyboard video, UGC video, reference video, motion or talking-head render
video - : TTS, voice change, translated dub, voice clone, audio handoff for lip-sync
audio - : a multi-step production line such as UGC creative, podcast clip, product demo, or ad variant set
workflow - : media understanding first, generation second, such as "analyze this competitor clip, then make our version"
analysis_after_generation
在选择模型或运行器之前,先对生成任务进行分类。
本路由工具仅负责第一步拆分:
- :新图像生成、图像编辑、产品图像、批量变体、参考图像生成
image - :简单剪辑、分镜脚本视频、UGC视频、参考视频、动态或虚拟人渲染
video - :TTS(文本转语音)、语音转换、翻译配音、语音克隆、用于唇形同步的音频交付
audio - :多步骤生产线,如UGC创意制作、播客剪辑、产品演示或广告变体套装
workflow - :先进行媒体理解,再执行生成任务,例如“分析这个竞品视频,然后制作我们的版本”
analysis_after_generation
Route Table
路由表
| Request shape | Route | First handoff |
|---|---|---|
| Pure image prompt, uploaded image edit, product page image | | |
| Clip, storyboard, creator video, reference-motion video | | |
| Voice, TTS, dubbing, translated audio, voice reference | | |
| Product-to-UGC, creator pipeline, repeated asset production | | |
| "Analyze this, then generate..." | | |
| 请求类型 | 路由 | 首次交付目标 |
|---|---|---|
| 纯图像提示词、上传图像编辑、产品页面图像 | | |
| 剪辑、分镜脚本、创作者视频、参考动态视频 | | |
| 语音、TTS、配音、翻译音频、语音参考 | | |
| 产品转UGC、创作者流水线、重复资产制作 | | |
| “先分析这个,再生成...” | | 先使用 |
Output Shape
输出格式
Return a compact route artifact:
generationFamilywhycontrollerSkill- when analysis or research must happen first
upstreamSkill requiredInputshandoffNotesmustNotDo
返回简洁的路由结果:
generationFamily- (路由原因)
why - (控制器技能)
controllerSkill - (当需要先进行分析或调研时)
upstreamSkill - (必填输入)
requiredInputs - (交付说明)
handoffNotes - (禁止操作)
mustNotDo
Fail Fast
快速失败规则
- Stop if the desired output family would change the route and the request is ambiguous.
- Do not choose a provider, endpoint key, runner, or storyboard format here.
- Do not submit generation jobs.
- 若所需输出类别会改变路由且请求存在歧义,立即停止。
- 请勿在此处选择供应商、端点密钥、运行器或分镜脚本格式。
- 请勿提交生成任务。
Handoff
交付流程
- Image route -> .
image-generation - Video route -> .
video-generation - Audio route -> .
audio-generation - Workflow route -> or another workflow skill.
ugc-flow - Understanding-first route -> , then return to this router or the selected generation controller.
media-router
- 图像路由 -> .
image-generation - 视频路由 -> .
video-generation - 音频路由 -> .
audio-generation - 工作流路由 -> 或其他工作流skill.
ugc-flow - 先理解后生成的路由 -> , 之后返回本路由工具或选定的生成控制器.
media-router
Public Command Boundary
公共命令边界
- Check readiness first: .
postplus doctor --skill generation-router - This public skill is instruction-driven. Produce the route artifact directly from the available evidence.
- Do not call private provider/runtime paths or unpublished local tools.
- If the CLI returns a quote-confirmation challenge, run and retry with the returned token.
postplus quote confirm --json --challenge-file <challenge.json>
- 首先检查就绪状态:.
postplus doctor --skill generation-router - 本公共skill基于指令驱动,直接根据现有信息生成路由结果。
- 请勿调用私有供应商/运行时路径或未发布的本地工具。
- 若CLI返回报价确认挑战,请运行并使用返回的令牌重试。
postplus quote confirm --json --challenge-file <challenge.json>