Skip to content
Back to skills

Dreamfab Mv

ASecurity

Turn a song into a full AI music video with Dreamfab's mv line (`mv/`; Dreamfab 造夢廠 was autoip-drama-maker + autoip-mv-maker): audio analysis, cast and storyboard, AutoIP keyframes / lip-sync / image-to-video, QC, emotion-driven beat-synced edit, kinetic subtitles, final render, thumbnails and YouTube/social copy. Use when the user wants to make an MV / music video / lyric video from a song, or a whole series / season of MVs, or mentions dreamfab, 造夢廠, autoip-mv-maker, mvkit, 做 MV、音樂影片、對嘴 MV、...

  • 54 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentspythongoshellbashgitapidatabase

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned November 6, 2026

npx -y skills add autoip/dreamfab --skill dreamfab-mv --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dreamfab Mv?

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

Security grade badge for Dreamfab Mv
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autoip-dreamfab-mv/badge)](https://www.skillsdirectory.com/skills/autoip-dreamfab-mv)

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: dreamfab-mv
description: >
  Turn a song into a full AI music video with Dreamfab's mv line (`mv/`; Dreamfab 造夢廠 was autoip-drama-maker + autoip-mv-maker): audio analysis, cast and
  storyboard, AutoIP keyframes / lip-sync / image-to-video, QC, emotion-driven beat-synced edit,
  kinetic subtitles, final render, thumbnails and YouTube/social copy. Use when the user wants to make
  an MV / music video / lyric video from a song, or a whole series / season of MVs, or mentions
  dreamfab, 造夢廠, autoip-mv-maker, mvkit, 做 MV、音樂影片、對嘴 MV、歌詞動態字幕、把歌做成影片、MV 系列、一季 MV.
---

# Dreamfab · mv (曲・MV)

A semi-automatic pipeline: one `project.py` per song drives everything. You (the agent) fill in
`project.py`, run the scripts, and show review sheets to the user at every gate.

## 0. Locate the toolkit

1. `ROOT` = `$DREAMFAB_HOME`, else `~/.dreamfab`.
   If this skill's base directory is `<repo>/skills/dreamfab-mv` and `<repo>/mv/common.py`
   exists, you may use `<repo>` instead.
2. If `ROOT/mv` is missing, install it (clones the repo, creates `ROOT/.venv`, installs Python
   packages, downloads the face model). Skills are already installed, so pass `DREAMFAB_AGENTS=none`:
   - macOS / Linux / Git Bash:
     `curl -fsSL https://raw.githubusercontent.com/autoip/dreamfab/main/install.sh | DREAMFAB_AGENTS=none bash`
   - Windows PowerShell:
     `$env:DREAMFAB_AGENTS='none'; irm https://raw.githubusercontent.com/autoip/dreamfab/main/install.ps1 | iex`
3. `PY` = `ROOT/.venv/bin/python` (Windows: `ROOT/.venv/Scripts/python.exe`); fall back to `python`.
   Every command below is `PY ROOT/mv/<script>.py ...`.
   Shared scripts live in the core: `PY ROOT/dreamfab/<script>.py` for `aip_runner.py`, `credits.py`,
   `check_public.py`, `gpu_check.py`, `make_static_font.py`, `youtube_playlists.py` and `library.py` (one page for
   every series: `PY ROOT/dreamfab/library.py serve projects`).
4. Check `ffmpeg -filters` lists `subtitles` (libass). If not, ask the user to install ffmpeg.
5. `AUTOIP_API_KEY` must be set in the environment. If it isn't, ask the user to set it themselves.
   Never read keys from other places, never write a key into any file, never echo it.

## Hard rules

- **The user's workflow switches decide the automatic steps.** Run `PY ROOT/dreamfab/workflow.py show <episode
  folder>` first (docs/en/WORKFLOW.md) and follow it: `credits.off_peak` (submit off-peak unless the user says now),
  `credits.max_parallel`, `youtube.privacy`, `youtube.log`, `video.enhance`. A step switched off is not taken; to change a habit,
  `workflow.py set KEY VALUE [series folder]` rather than a one-off promise.
- **Credits are charged on submit and there is no cancel.** Before every batch of video jobs,
  generate stills and show a review sheet (`qc/sheets.py`) to the user. New characters, group shots
  and changed prompts always go through a still → user approval → video.
- **Run jobs one at a time** (`AIP_MAX=1`, the default) unless the user says their account allows more. For an
  off-peak window add `AIP_MAX_UNTIL=HH:MM AIP_MAX_AFTER=1` so the runner drops back by itself.
- **Off-peak half price**: from 2026-10-30, API tasks submitted 03:00–09:00 Taiwan time cost half (`off_peak` in
  `GET /pricing`). When a batch is not urgent, offer `AIP_OFFPEAK=1`: the runner waits for the window and submits only
  inside it. Quote both prices (`common.estimate(job, off_peak=True)`) when asking for the go-ahead.
- Before submitting, state the job count and estimated credits (see the cost table in WORKFLOW) and
  get the user's go-ahead.
- Projects live in the user's working directory (e.g. `./projects/<song>`), never inside `ROOT`.
- Don't add songs, character art, fonts or keys to git.
- Keep `MOTION_PREFIX` to the art style only. Characters or props named there get pushed into every clip.
- Treat render `WARN ... short by` / `WARN ... before clip start` as errors: fix the edit from `align.json`
  durations (lip-sync clips are often 0.2–0.6 s shorter than requested) before showing the cut.
- Lip-sync stills must already be singing (open mouth): a calm closed-mouth portrait idles for the first 3–5 s.
  Run `qc/mouth.py P edl full` before every render and cut away from `IDLE?` windows. Keep complete shoulders
  (a bust cut-out narrower than the shoulders ends the arms flat); text-to-image half bodies drift from the face.
- Lip-sync clips often carry burned-in garbled captions (any colour, any edge). Never write "no text" in the
  prompt (it gets worse); remove them with AutoIP `POST /videos/restore` (`source_video` + `operations[]=subtitle`,
  30 credits per 8 s). Don't crop or re-cut around captions. `engine=h3` (lip-sync 3.0) burns none and syncs
  better but outputs 864×480. On a sharp painted background the model writes the lyrics as vertical
  calligraphy restore can't remove: blur the still's background (`bokeh_still.py OUT_DIR P/kf/L_*.png`),
  generate several takes and pick each lyric line from a clean one.
- Painted looks (ink wash, woodcut…): story shots from text-to-image with the style first in the prompt (`v3` adds red
  seals unless told "unsigned, without seals"). Image-to-image keeps a photographic background, so open the mouth with
  image-to-image, then `BG=plate.png bokeh_still.py` puts the singer on a painted plate. Pilot one lip-sync take: it may
  repaint the plate as a photograph; `matte_video.py raw.mp4 plate.png out.mp4` puts every frame back on the plate.
- With lyrics as `initial_prompt`, ASR guesses the next lyric line; re-check doubtful section openings without a prompt.
  Everything runs on the CPU by default; `python dreamfab/gpu_check.py` lists what an NVIDIA GPU can take over
  (`ASR_DEVICE=cuda` for ASR, `VENC=nvenc` for render_mv.py / matte_video.py encodes). `mv/enhance.py` (2x super
  resolution + 60 fps into clips_hd/, used by an edit with `render=dict(fps=60, enhance=True)`) is opt-in: on a painted
  MV the decision-maker found it too sharp, so only run it when asked, as a side-by-side. In Git Bash `ps` hides arguments: check for a running `aip_runner.py`
  through `Get-CimInstance Win32_Process` command lines, not `ps aux | grep`.

## Workflow

Full details, commands and review gates: `ROOT/docs/en/WORKFLOW.md` (中文:`ROOT/docs/zh-TW/WORKFLOW.md`).
Field reference: `ROOT/docs/en/PROJECT_FORMAT.md`. Known pitfalls: `ROOT/docs/en/LESSONS.md` —
read it before planning shots.

1. **Project**: `cp -r ROOT/examples/mv/demo projects/<song>`; put in `song.mp3`, `chars/*.png`, `fonts/`.
2. **Audio**: `audio/analyze.py` (beats), Demucs vocals, `audio/voice_probe.py` + `audio/split_voices.py`
   for duets, `audio/asr_words.py` for word timings, `audio/emotion_map.py` for the emotion map.
3. **Storyboard**: write `CHARS`, `LS_SCENES`, `LIPSYNC`, `BAND`, `BROLL`, `SECTIONS` in `project.py`;
   run `faces.py`, `storyboard.py`.
4. **Keyframes**: `make_jobs.py P kf` → `aip_runner.py` → `qc/sheets.py stills` → **user review**.
   Group shots: `group_still.py P <id>` → pick a candidate with the user.
5. **Video**: `make_jobs.py P video` → `aip_runner.py` → `qc/sheets.py strips` → user review.
   An MV that shows several AutoIP features: `I2V`, `KEYFRAME`, `MULTI` in `project.py` → `feature_jobs.py P` →
   `aip_runner.py P/jobs/feature_jobs.json` after the lip-sync runner. Multi-reference for fights (name the location in
   every SHOT or it falls back to the references' grey backdrop), keyframe video for A→B moments and transitions,
   few image-to-video clips; `FEATURE` tags each feature on screen.
6. **QC**: `qc/align.py`, `qc/mouth.py timeline` (idle mouths, zoom-outs, tail smear, burned-in text).
   `qc/zoom.py P` flags lip-sync 3.0 clips that zoom themselves into a close-up or pull back (it is random; a camera
   instruction in the prompt only delays it): make two takes of important lines and keep the steadier, edit before `push@`.
7. **Edit**: write `EDITS` (short + full) following the `emotional-beat-editing` skill;
   check with `qc/mouth.py P edl <mode>`.
8. **Subtitles**: `TYPO` theme; preview with `qc/subprev.py` (seconds, not minutes).
9. **Render**: `render_mv.py P short|full` → `P/out/*.mp4 + .srt`; spot-check with `qc/sheets.py video`.
   Vertical Shorts: an edit with `size=(1080, 1920)`, `focus` from `qc/focus.py P <mode>`, portrait `zones`
   and `end_card` (WORKFLOW, "Vertical cut").
10. **Publish**: thumbnails (`thumbkit.py`, see `examples/mv/demo/thumbs.py`), Shorts thumbnails for the
    vertical cut (`tk.W, tk.H = 1080, 1920`, key text above y 1440, desktop Studio upload only, no
    Test & compare for Shorts), titles, description,
    chapters, tags, social posts — `ROOT/docs/en/PUBLISHING.md`.
    Upload: `mv/youtube_upload.py P --dry-run`, then without it (private by default; the user publishes in Studio).
    Steps done by hand afterwards (end screen, cards, pinned comment, publish) go into the publishing log right after:
    `dreamfab/youtube_log.py add VIDEO ACTION TEXT`.
    Never make a video public or schedule it unless the user asks. Read the channel name it prints; one Google account
    can own several channels. The API description limit is 5,000 bytes (about 1,600 CJK characters).
    Playlists: `dreamfab/youtube_playlists.py list`, then sort / add / remove / edit / delete / replace: run each without
    `--apply` first (it prints the plan) and apply only what the user approved. Sorting needs the playlist's default
    ordering set to Manual on YouTube (the API cannot change it).

`credits.py` audits what each job folder actually cost.

**Library**: `python ROOT/mv/library.py serve <series folder>` indexes the whole series (episodes, shots with their
stills, clips, old takes and candidates, lyrics, edit lists, characters and reference images, renders, jobs and
estimated credits, YouTube uploads) into the shared database `~/.config/dreamfab/dreamfab.db` (tables `mv_*`, one series
per `series` column: the folder's absolute path) and serves a page on http://127.0.0.1:8770 (the next free port if that
one is taken). Point the user to it when they ask where something is or want an overview, and query the database
yourself instead of walking folders (`from dreamfab.db import open_index; open_index("mv", folder)` gives the tables by
their plain names, episodes, shots ...). An old `library.db` in a series folder comes in by itself at the next index;
never delete one. A running `serve` re-indexes by itself when files
change (every 15 s); without one, run `index` after renders, new clips or uploads before querying (it takes seconds).

## Series

When the user wants several MVs as a series or season, plan the season before episode 1, following
`ROOT/docs/en/SERIES_PLANNING.md` (中文:`ROOT/docs/zh-TW/SERIES_PLANNING.md`). Blank template:
`ROOT/examples/mv/series_template/`.

- It is a framework, not a style. Ask the user for the subject, the axis and which anchors to fix; never
  borrow the look, genre, structure or wording of an existing series (including the README example videos).
  Offer options from the guide's menus and let the user choose.
- Formula, every season: a one-line pitch, one axis that orders the episodes, 3–5 fixed anchors in `style.md`,
  one song structure, one package (thumbnail layout, title format, description order), a card per episode in
  `research.md`. Everything else changes freely; if one layer is fixed, another should change a lot.
- Layout: `projects/<series>/` with `research.md`, `style.md` and `s<season>e<episode>_<title>/` folders. Name an
  episode folder before its first AutoIP job: job files store absolute paths.
- Have the user approve `research.md` and the draft `style.md` before writing the first lyrics; settle
  `style.md` after episode 1.
- Before each episode's lyrics, prompts and thumbnails, re-read `style.md`. Episode 1's `project.py` starts from
  the demo; later episodes copy the previous episode's.
- Keep lyric versions (`歌詞_v1.txt`, `v2`, …); after an episode, tick it in `style.md` with the final version.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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