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-batch-runner,audio-generation, orugc-flowand supplied that skill's inputs. - The task is only research, creator discovery, copywriting, or publishing.
Core Rule
Classify the generation job before choosing a model or runner.
The router owns only the first split:
image: new image, image edit, product image, batch variants, reference image generationvideo: simple clip, storyboard video, UGC video, reference video, motion or talking-head renderaudio: TTS, voice change, translated dub, voice clone, audio handoff for lip-syncworkflow: a multi-step production line such as UGC creative, podcast clip, product demo, or ad variant setanalysis_after_generation: media understanding first, generation second, such as "analyze this competitor clip, then make our version"
Route Table
| Request shape | Route | First handoff |
|---|---|---|
| Pure image prompt, uploaded image edit, product page image | image |
image-generation |
| Clip, storyboard, creator video, reference-motion video | video |
video-batch-runner |
| Voice, TTS, dubbing, translated audio, voice reference | audio |
audio-generation |
| Product-to-UGC, creator pipeline, repeated asset production | workflow |
ugc-flow or the named workflow skill |
| "Analyze this, then generate..." | analysis_after_generation |
media-router for analysis, then the right generation controller |
Output Shape
Return a compact route artifact:
generationFamilywhycontrollerSkillupstreamSkillwhen analysis or research must happen firstrequiredInputshandoffNotesmustNotDo
Stop Conditions
- Stop when required user intent, source evidence, or owned input artifacts are missing and guessing would change the result.
- Do not choose a provider, endpoint key, runner, or storyboard format here.
- Do not submit generation jobs.
- If an owned CLI or script command fails, report the exact error and stop. Do not bypass the failure with metadata-only answers, readiness probing, local payload rewrites, fallback providers, or unpublished tools.
Handoff
- Image route ->
image-generation. - Video route ->
video-batch-runner. - Audio route ->
audio-generation. - Workflow route ->
ugc-flowor another workflow skill. - Understanding-first route ->
media-router, then return to this router or the selected generation controller.
Public Command Boundary
- Choose the smallest matching command or workflow from the user input and run it directly.
- If an owned CLI or script command fails, report the exact error and stop. Do not bypass the failure with metadata-only answers, readiness probing, local payload rewrites, fallback providers, or unpublished tools.
- 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
postplus quote confirm --json --challenge-file <challenge.json>and retry with the returned token.