video-world-streaming
Plan and troubleshoot Sana video-generation, long-video, world-model, and streaming V2V workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- video-world-streaming
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Plan and troubleshoot Sana video-generation, long-video, world-model, and streaming V2V workflows.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/data-formats.md8.1 KB
- 参考文档references/troubleshooting.md9.6 KB
- 参考文档references/video-and-longsana.md9.6 KB
- 参考文档references/world-model-and-streaming.md11.8 KB
- 脚本scripts/plan_sana_video_command.py24.4 KB
- 脚本scripts/validate_camera_controls.py12.9 KB
03 SKILL.md 正文
video-world-streaming
Use this sub-skill when a future agent needs to plan, compare, or debug Sana video workflows that share the same video-generation stack but differ in prompt surface, camera control, long-context rollouts, or streaming editing.
Owns
- SANA-Video text-to-video and image-to-video command planning at 480p and 720p.
- The SANA-Video + LTX-2 refiner two-stage path for higher-fidelity 720p outputs.
- LongSANA minute-scale rollout planning and frame-budget checks.
- SANA-WM bidirectional, chunk-causal, and streaming world-model command planning.
- SANA-Streaming
bidirectional_shortandlong_streamingvideo-to-video editing.
Route elsewhere
- Image-only generation ->
image-generation. - Training recipes, dataset prep, or data-layout construction ->
training-data-configs. - Metrics, conversion, export, or deployment ->
evaluation-conversion-deployment.
Start here
- video-and-longsana.md for SANA-Video, LTX-2 refiner, and LongSANA.
- world-model-and-streaming.md for SANA-WM and SANA-Streaming.
- data-formats.md for prompt, frame, camera, intrinsics, and MP4 shapes.
- troubleshooting.md for the common failure modes.
Safe helpers
- scripts/plan_sana_video_command.py prints command templates and mode-specific warnings only.
- scripts/validate_camera_controls.py validates action DSL strings and
.npycamera / intrinsics arrays without running any model.
Quick routing rules
- Use
sana-videowhen the user wants a direct SANA-Video clip plan. - Use
sana-video-refinerwhen the user wants base SANA-Video plus LTX-2 refinement. - Use
sana-wmwhen the user wants camera-controlled world-model generation from an image, prompt, and action string or pose trajectory. - Use
sana-wm-streamingwhen the user wants the chunk-pipelined world-model path, including fp8/fp4 planning and progressive MP4 output. - Use
sana-streaming-v2vwhen the user wants source-video editing withlong_streamingorbidirectional_short.
Planning rules
- Prefer the bundled planner script before assembling a command by hand.
- Validate camera or intrinsics files before planning a world-model command.
- Treat
a/das yaw andj/las strafe in the updated action mapping. - Treat
fp8andfp4as precision choices that need explicit hardware awareness. - Treat frame counts as mode-specific constraints, not arbitrary numbers.
What to verify in a plan
- Inputs match the workflow: prompt-only, prompt+image, prompt+camera, or source video.
- The chosen resolution matches the workflow family: 480p, 720p, or minute-scale long rollouts.
- The frame budget matches the workflow family and any snapping rules.
- Memory-sensitive features such as the LTX-2 refiner, streaming refiner window, or precision downgrade are called out.
- Output naming matches the workflow: final MP4, generated MP4, or progressive streaming MP4.
When the plan is probably wrong
- The command uses the wrong workflow family for the requested input type.
- The frame budget does not match the documented defaults or snapping rule.
- The action string uses the old
a/dandj/lmeaning. - The plan assumes
fp4without Blackwell-class hardware. - The plan omits the refiner, offload flags, or source-video length check where they matter.
Reading order for common requests
- Pick the workflow family and resolution in video-and-longsana.md or world-model-and-streaming.md.
- Check the data layout in data-formats.md.
- Run scripts/validate_camera_controls.py when the request uses
--action,--camera, or--intrinsics. - Read troubleshooting.md when the request mentions HF downloads, VRAM, fp8/fp4, Pi3X, or short source-video decodes.
Boundary reminders
- Do not use this sub-skill for image-only requests.
- Do not turn training or evaluation requests into generation plans.
- Do not depend on source checkout files at runtime; keep all reusable guidance inside this sub-skill tree.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).