计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
stable-diffusion-videos【效率与协作】Routes Stable Diffusion video, image, audio-synced interpolation, optional upsampling, and Gradio UI workflows for the stable_diffusion_videos package.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill for the stable_diffusion_videos package when the task is about
prompt-to-video walks, music-synced interpolation, still-image generation, optional
Real-ESRGAN upsampling, or the bundled Gradio demo.
references/api-reference.md when you need exact public signatures,
defaults, or output shapes.references/troubleshooting.md when imports fail, video encoding breaks,
or dependency versions drift.references/repo-provenance.md before deciding whether this skill still
matches the current repo snapshot or before refreshing it.references/repo-routing-metadata.json if you are updating router import
metadata or need the scenario selection signals.Use the published package when you only need the runtime API:
python -m pip install stable_diffusion_videos
For the video workflows, make sure these runtime basics are present:
torch + torchvision with a matching CUDA-capable build when you want to
run the GPU video generation path.ffmpeg with a working libx264 encoder for MP4 creation.av for write_video, librosa for audio-timed interpolation, and
realesrgan for upsampling.A minimal import check is:
python -I -c "from stable_diffusion_videos import StableDiffusionWalkPipeline, generate_images, Interface"
For a safer local smoke check, run the bundled helper:
python scripts/check_env.py --help
generationUse this route for the core diffusion workflows:
StableDiffusionWalkPipeline.walk(...)generate_images(...)get_timesteps_arr(...)make_video_pyav(...)RealESRGANModel upsamplingCommon triggers:
Read sub-skills/generation/SKILL.md for the workflow router, then use its
bundled references and scripts.
uiUse this route for the Gradio demo and the example launchers:
InterfaceCommon triggers:
Read sub-skills/ui/SKILL.md for launch patterns, input mappings, and UI
troubleshooting.
If the request is specifically about the experimental Flax/JAX/TPU notebook or
generate_images_flax(...), read sub-skills/generation/references/flax-and-tpu.md.
That path is optional and is not part of the default Torch video workflow.
scripts/check_env.py checks imports, GPU readiness, and tiny video/audio
smokes.sub-skills/generation/scripts/make_video_template.py adapts the music-video
recipe into a safer command-line helper.sub-skills/generation/scripts/preview_audio_timesteps.py previews audio-driven
interpolation weights.sub-skills/ui/scripts/launch_interface.py adapts the Gradio launcher into a
configurable helper.height and width must be multiples of 8.seeds must match prompts, and num_interpolation_steps must match the number
of prompt gaps.