Skip to content
Back to skills

Stable Diffusion Videos

ASecurity

"Routes Stable Diffusion video, image, audio-synced interpolation,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonbashapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 16 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill stable-diffusion-videos --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stable Diffusion Videos?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stable Diffusion Videos
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-stable-diffusion-videos/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-stable-diffusion-videos)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stable-diffusion-videos
description: "Routes Stable Diffusion video, image, audio-synced interpolation,
  optional upsampling, and Gradio UI workflows for the stable_diffusion_videos
  package."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# stable-diffusion-videos

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.

## Start here

- Read `references/api-reference.md` when you need exact public signatures,
  defaults, or output shapes.
- Read `references/troubleshooting.md` when imports fail, video encoding breaks,
  or dependency versions drift.
- Read `references/repo-provenance.md` before deciding whether this skill still
  matches the current repo snapshot or before refreshing it.
- Read `references/repo-routing-metadata.json` if you are updating router import
  metadata or need the scenario selection signals.

## Quick install and smoke check

Use the published package when you only need the runtime API:

```bash
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.
- Optional: `av` for `write_video`, `librosa` for audio-timed interpolation, and
  `realesrgan` for upsampling.

A minimal import check is:

```bash
python -I -c "from stable_diffusion_videos import StableDiffusionWalkPipeline, generate_images, Interface"
```

For a safer local smoke check, run the bundled helper:

```bash
python scripts/check_env.py --help
```

## Route map

### `generation`
Use this route for the core diffusion workflows:

- `StableDiffusionWalkPipeline.walk(...)`
- `generate_images(...)`
- audio-timed interpolation with `get_timesteps_arr(...)`
- video encoding with `make_video_pyav(...)`
- optional `RealESRGANModel` upsampling
- the Torch walk pipeline and its helper scripts

Common triggers:

- "make a Stable Diffusion video"
- "generate a music video"
- "walk between prompts"
- "upsample the generated frames"
- "convert audio energy into interpolation weights"
- "preview the walk inputs before running"

Read `sub-skills/generation/SKILL.md` for the workflow router, then use its
bundled references and scripts.

### `ui`
Use this route for the Gradio demo and the example launchers:

- `Interface`
- the packaged UI launcher pattern
- the image/video tabs and their launch parameters
- the experimental music-video UI only as reference material

Common triggers:

- "launch the demo"
- "start the Gradio interface"
- "open the image/video tabs"
- "adapt the example launcher"

Read `sub-skills/ui/SKILL.md` for launch patterns, input mappings, and UI
troubleshooting.

## Optional path

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.

## Where the reusable helpers live

- `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.

## Operational reminders

- Video generation is GPU-oriented; CPU importability is not enough for the main
  walk workflow.
- `height` and `width` must be multiples of 8.
- `seeds` must match prompts, and `num_interpolation_steps` must match the number
  of prompt gaps.
- The skill is self-contained. Do not point future agents back to the original
  checkout for runtime instructions.

Files in this skill

  • SKILL.md4 KB
  • references/api-reference.md4.5 KB
  • references/repo-provenance.md1.2 KB
  • references/repo-routing-metadata.json522 B
  • references/troubleshooting.md3.1 KB
  • scripts/check_env.py5.6 KB
  • sub-skills/generation/SKILL.md2.7 KB
  • sub-skills/generation/references/flax-and-tpu.md1.6 KB
  • sub-skills/generation/references/troubleshooting.md2.9 KB
  • sub-skills/generation/references/workflows.md3.3 KB
  • sub-skills/generation/scripts/make_video_template.py6.3 KB
  • sub-skills/generation/scripts/preview_audio_timesteps.py2.5 KB
  • sub-skills/ui/SKILL.md2.5 KB
  • sub-skills/ui/references/troubleshooting.md2.1 KB
  • sub-skills/ui/references/workflows.md2.6 KB
  • sub-skills/ui/scripts/launch_interface.py3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.