ai-videolisted
Install: claude install-skill 0xadvait/ai-video-skill
# AI video — generation, any kind
An end-to-end AI video skill: prompt craft → first-frame stills → generation
across six models → voiceover → edit/stitch → upscale, with a quality-control
loop that makes the skill improve over time. The ByteDance Seedance 2.0 schema
is the **canonical interchange format** — jobs are authored against it and the
runner translates to whichever model fits. Treat every clip as a miniature
production brief, not an image caption.
## Full pipeline
Not every job needs every stage — a single clip is just stages 2–4 — but this
is the shape of a complete video:
1. **Still** (`scripts/imagegen.py`) — generate a first-frame image or
character reference plate (Flux / Imagen). Skip for pure text-to-video.
2. **Prompt** — build the request with the 5-part structure (Workflow below).
3. **Validate + generate** (`validate.py` → `generate.py`) — run on the
auto-routed model; local refs auto-upload.
4. **QC + learn** (`review.py` → `LESSONS.md`) — watch the clip, score it,
record a lesson. Mandatory.
5. **Voiceover** (`scripts/tts.py`) — synthesize narration (e.g. the user's
cloned voice) when a clip or cut needs spoken audio.
6. **Assemble** (`scripts/assemble.py`) — stitch multiple clips into a
finished video with cuts/crossfades and an audio bed.
7. **Finish** (`scripts/upscale.py`) — upscale resolution + interpolate fps
for delivery.
## Workflow (a single generation)
0. **Read `LESSONS.md` first.** It is the skill's growing memory of