[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74FDWYR8F0W6ZT3998PPKT5":3,"skill-same:01M74FDWYR8F0W6ZT3998PPKT5":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M74FDWYR8F0W6ZT3998PPKT5","spark-video-cast",null,"Scaffold and generate reference assets for characters (cast), locations (movie-set \u002F set dressing), and key props — the three pillars of visual consistency in spark-video. Wraps bl image generate \u002F edit for portrait creation. Use when adding new characters\u002Flocations\u002Fprops or when costume\u002Fstate changes are needed.","modelstudioai\u002Fskills","modelstudioai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F283556804?v=4","01M74FCG3YGPZ2M85A45A5X687","Model Studio ","01M74FCG52YG07R3Y4MSBNS9CG",59,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fspark-video\u002Freferences\u002Fspark-video-cast\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: spark-video-cast\ndescription: Scaffold and generate reference assets for characters (cast), locations (movie-set \u002F set dressing), and key props — the three pillars of visual consistency in spark-video. Wraps bl image generate \u002F edit for portrait creation. Use when adding new characters\u002Flocations\u002Fprops or when costume\u002Fstate changes are needed.\n---\n\n# Cast \u002F Set \u002F Prop Skill — spark-video Art Department (all-in-one)\n\nYou are the **art department** of the pipeline. Your job is to scaffold\nfolder structures and generate reference images for the three things\nthat pin visual consistency:\n\n| Pillar | Pins | Folder pattern |\n|---|---|---|\n| **Cast** | Faces, hairstyle, costume, build | `cast\u002F\u003Cname>\u002F` |\n| **Movie-set** | Locations, lighting, decor | `movie-set\u002F\u003Cname>\u002F` |\n| **Prop** | Hero objects that recur or change state | `props\u002F\u003Cname>\u002F` |\n\nAll three follow the **same mental model**: one folder = one reference\nimage = one frozen visual state. State changes (day→night, intact→torn,\ncasual→formal) = **separate folders**.\n\nSet env vars:\n```bash\nexport SPARK_VIDEO_PROJECT=\u003Cproject_id>\nexport SPARK_VIDEO_EPISODE=\u003CNN>\nexport SPARK_VIDEO_PHASE=portrait\n```\n\n## Two-tier model — project vs episode\n\nBoth cast, set, and prop live under two tiers. Episode tier overrides\nproject tier on name collision:\n\n```\nprojects\u002F\u003Cp>\u002F\n├── cast\u002F\u003Cname>\u002F          ← project mains (shared across all episodes)\n├── movie-set\u002F\u003Cname>\u002F     ← project recurring locations (sitcom rooms)\n├── props\u002F\u003Cname>\u002F         ← project recurring hero objects\n└── \u003Cepisode>\u002F\n    ├── cast\u002F\u003Cname>\u002F      ← episode NPCs OR project-cast overrides (fork)\n    ├── movie-set\u002F\u003Cname>\u002F ← one-off locations for this episode\n    └── props\u002F\u003Cname>\u002F     ← one-off or state-overrides for this episode\n```\n\nUse the **project tier** when an asset is shared across episodes\n(sitcom recurring rooms, series mains). Use the **episode tier** for\none-off NPCs \u002F locations \u002F state-changes (episode-wide costume forks, episode-only\nhero items, one-off rooms).\n\n## ⚠ THE ONE-FOLDER-ONE-STATE RULE (hard rule, applies to all 3)\n\nThe video model reads reference images **literally**. Mixing two\nvisual states into one folder produces a muddy averaged intermediate.\n\n| Pillar | \"Same X, different…\" → separate folder |\n|---|---|\n| Cast | Episode-wide costume change (wedding dress \u002F battle wounds \u002F period vs modern) → fork into episode tier |\n| Set | Time-of-day (day\u002Fnight), season (spring\u002Fautumn), color grade (cool\u002Fwarm), weather (clear\u002Frain) |\n| Prop | State (intact\u002Fcreased\u002Ftorn), damage (clean\u002Fbloodied), open\u002Fclosed |\n\nNaming convention: `\u003Cbase_name>-\u003Cdiscriminator>`:\n- `同福客栈大堂-白天` \u002F `同福客栈大堂-夜晚`\n- `红包-完整` \u002F `红包-起皱` \u002F `红包-撕碎`\n- `陆辰-汉服` (forked from `陆辰` for one episode)\n\n## Procedure 1 — scaffold a cast\n\n### 1.1 Lead \u002F project-tier character\n\n```bash\n# Scaffold the folder + soul card template\nuv run scripts\u002Fscaffold.py cast --name \"陆辰\"\n# Edit projects\u002F\u003Cp>\u002Fcast\u002F陆辰\u002Fcast.md to fill: age, gender, personality, catchphrase,\n# visual anchor (one-line appearance), do \u002F don't\n```\n\nThen generate the portrait via bl:\n\n```bash\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"28-year-old man, short hair, dark T-shirt, photorealistic style, half-body portrait, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --size 16:9 \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fcast\u002F陆辰\u002F \\\n  --out-prefix portrait\n```\n\nNotes:\n- **Default model `wan2.6-t2i`**: produces stable cast portraits compatible\n  with downstream r2v. `qwen-image-2.0` is newer but visual style differs;\n  test before switching.\n- **Append `lore.mood_anchor`** to every portrait prompt so the visual\n  style matches the rest of the production. The `scaffold.py mood-anchor`\n  helper prints lore's mood_anchor for piping.\n- **Drop one ground-truth photo** into the folder if you have one (real\n  actor reference, hand-drawn concept art) — it overrides the generated\n  portrait at r2v time.\n\nOptional: voice reference for reference-voice r2v (Wan \u002F bl both support):\n- Drop a 5–10s clean speech sample as `voice.mp3` in the cast folder.\n\n### 1.2 NPC (episode-only)\n\n```bash\nuv run scripts\u002Fscaffold.py cast --name \"钱夫人\" --episode\n# → projects\u002F\u003Cp>\u002F\u003Cep>\u002Fcast\u002F钱夫人\u002F\n\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"middle-aged woman, stout build, dark silk hanfu, gold hairpin, shrewd worldly expression, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fepisode-$SPARK_VIDEO_EPISODE\u002Fcast\u002F钱夫人\u002F \\\n  --out-prefix portrait\n```\n\nThen re-init the merged cast.json:\n```bash\nuv run scripts\u002Fscaffold.py cast-init   # merges project + episode tiers\n```\n\n### 1.3 Cast fork — episode-wide costume change\n\nWhen a character needs a different outfit for THIS episode only (wedding,\nperiod costume, battle-damaged version), DO NOT solve it in shot prompts. Fork the portrait:\n\n```bash\n# Deep-copy the project cast folder into the episode, drop old portrait\nuv run scripts\u002Fscaffold.py cast --fork --name \"陆辰\" --drop-portraits\n\n# Regenerate the portrait with the new appearance\n.\u002Fscripts\u002Fbl image edit \\\n  --image projects\u002F$SPARK_VIDEO_PROJECT\u002Fcast\u002F陆辰\u002Fportrait1.png \\\n  --prompt \"Change the character's outfit to a large red traditional Chinese wedding robe and red wedding cap; keep face and hairstyle unchanged, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fepisode-$SPARK_VIDEO_EPISODE\u002Fcast\u002F陆辰\u002F \\\n  --out-prefix portrait\n\nuv run scripts\u002Fscaffold.py cast-init\n```\n\n`bl image edit` preserves face identity better than `bl image generate`\nfor forks — always prefer edit when you have a project-tier portrait to\nbase from.\n\nFor pixel-perfect face identity (edit can still drift slightly), drop\na hand-edited PNG into the episode cast folder instead of using bl.\n\n## Procedure 2 — scaffold a movie-set\n\n### 2.1 When to scaffold a set\n\nScaffold whenever:\n- Two or more shots happen in the same location with the same lighting.\n- The location matters enough that drift would be noticeable (recurring\n  sitcom rooms, hero locations, key emotional spaces).\n- A location returns under DIFFERENT lighting → scaffold one new folder\n  per lighting state.\n\nSkip for one-shot pass-throughs or pure outdoors with no fixed landmarks.\n\n### 2.2 Naming — lighting state in the folder name\n\n| Same physical place, different… | Action |\n|---------------------------------|--------|\n| Time-of-day (day \u002F dusk \u002F night \u002F pre-dawn) | **Separate folders** (`客栈大堂-白天`, `客栈大堂-夜晚`) |\n| Season (spring \u002F summer \u002F autumn \u002F winter) | Separate if visible (willows \u002F snow \u002F red leaves) |\n| Color grade (memory cold gray \u002F present warm yellow \u002F high-contrast neon) | Separate folders |\n| Weather (clear \u002F rain \u002F snow \u002F fog) | Separate when weather is in frame |\n| Decor unchanged, action just moves around the room | **Same folder** |\n\n### 2.3 Scaffold + generate\n\n```bash\n# Project-tier sitcom recurring room\nuv run scripts\u002Fscaffold.py set --name \"同福客栈大堂-白天\"\n\n# Episode-tier one-off\nuv run scripts\u002Fscaffold.py set --name \"出租屋客厅-暖灯\" --episode\n\n# Generate the reference image (description MUST include the lighting\u002F\n# season\u002Ftone you committed to in the folder name)\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"Ming-Qing style wooden inn lobby, two-story wooden staircase, red lanterns, three square tables, daytime natural light through windows, warm yellow tone, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --size 16:9 \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fmovie-set\u002F同福客栈大堂-白天\u002F \\\n  --out-prefix set\n\n# Rebuild movie_set.json\nuv run scripts\u002Fscaffold.py set-init\n```\n\nThe `set.md` frontmatter has explicit `time_of_day` \u002F `season` \u002F\n`color_grade` \u002F `lighting` \u002F `weather` axes — fill them in. They're\ninformational today, but they're the contract that prevents a future\ndirector from reusing a daytime set in a night shot.\n\n## Procedure 3 — scaffold a prop\n\n### 3.1 When to promote an object to a key prop\n\nPromote any object to a key prop when it satisfies **either**:\n- It appears in 2+ shots and the audience would notice if it changed\n  shape\u002Fmaterial\u002Fcolor\u002Fwear (the red envelope in S01-003 → S01-007 → S04-002).\n- It's a story-critical hero object even in a single shot (the ring\n  proposal close-up; the key reveal).\n\nSkip for background dressing or non-recurring objects whose look doesn't\nmatter to the plot. **Budget: 3–6 named props per episode**, more is a smell.\n\n### 3.2 Scaffold + generate\n\n```bash\n# Project-tier recurring prop (family heirloom)\nuv run scripts\u002Fscaffold.py prop --name \"戒指-完整\"\n\n# Episode-tier one-off or state-change\nuv run scripts\u002Fscaffold.py prop --name \"红包-起皱\" --episode\n\n# Generate a clean product-style reference image when no photo exists\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"Standard Chinese red envelope, large red hot-stamped pattern, printed with '囍', flat with no creases, pure white background, product photography style, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --size 1:1 \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fprops\u002F红包-完整\u002F \\\n  --out-prefix prop\n\n# State change — produce creased state as a separate folder + image\n.\u002Fscripts\u002Fbl image edit \\\n  --image projects\u002F$SPARK_VIDEO_PROJECT\u002Fprops\u002F红包-完整\u002Fprop1.png \\\n  --prompt \"Add obvious creases and grip-worn folds to the red envelope; keep color, print, and shape exactly unchanged\" \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fepisode-$SPARK_VIDEO_EPISODE\u002Fprops\u002F红包-起皱\u002F \\\n  --out-prefix prop\n\n# Rebuild props.json\nuv run scripts\u002Fscaffold.py prop-init\n```\n\nFor state changes, **always prefer `bl image edit`** with the base state\nimage as input — preserves shape\u002Fprint\u002Fmaterial continuity. `bl image\ngenerate` from scratch will draw a different-looking red envelope each time.\n\n## Generation tips (apply to all three)\n\n### Mood anchor — append it to every t2i prompt\n\n```bash\n# Helper that prints lore's mood_anchor for piping:\nuv run scripts\u002Fscaffold.py mood-anchor\n```\n\nWithout it, your asset visual style won't match the rendered shots.\n\n### Aspect ratio defaults\n\n| Asset type | `--size` |\n|---|---|\n| Cast portrait (half-body) | `16:9` or `3:4` |\n| Cast portrait (full-body) | `9:16` |\n| Set establishing | `16:9` |\n| Prop (product-style) | `1:1` |\n\n### Batch generation in parallel\n\n`bl image generate` supports `--n N --concurrent K` — useful when\nscaffolding many NPCs or sets at once. Each `--n` produces a candidate;\nkeep the best, delete the rest.\n\n```bash\n.\u002Fscripts\u002Fbl image generate --n 3 --concurrent 3 \\\n  --model wan2.6-t2i \\\n  --prompt \"...\" \\\n  --out-dir projects\u002F...\u002Fcast\u002F陆辰\u002F \\\n  --out-prefix candidate\n# → candidate1.png, candidate2.png, candidate3.png; rename winner to portrait1.png\n```\n\n### Multi-image merge (cast fork only)\n\n`bl image edit` accepts multiple `--image` flags. Useful when forking a\ncast with a costume reference photo:\n\n```bash\n.\u002Fscripts\u002Fbl image edit \\\n  --image cast\u002F陆辰\u002Fportrait1.png \\\n  --image refs\u002Fhanfu-reference.png \\\n  --prompt \"Dress the person in 图1 in the hanfu from the reference in 图2; keep face and hairstyle unchanged\" \\\n  --out-dir projects\u002F...\u002Fepisode-X\u002Fcast\u002F陆辰\u002F\n```\n\n## After scaffolding — rebuild manifests\n\nThe merged manifests (`cast.json`, `movie_set.json`, `props.json`)\nmust be rebuilt after any folder change. They drive the director's\nshot-id lookups and the renderer's media[] resolution:\n\n```bash\nuv run scripts\u002Fscaffold.py cast-init\nuv run scripts\u002Fscaffold.py set-init\nuv run scripts\u002Fscaffold.py prop-init\n# or all three:\nuv run scripts\u002Fscaffold.py manifests\n```\n\nTell the director (or the producer at GATE 2) when you've added new\nassets — they need to read the updated manifests before storyboarding\nany scene that references them.\n\n## DON'Ts\n\n- ❌ Don't put two lighting states (day + night) in the same set folder.\n  The model averages and produces \"neutral gray noon-night\" garbage.\n- ❌ Don't put two prop states (intact + creased) in the same prop folder.\n  Same reason.\n- ❌ Don't solve a costume change by writing \"wearing XXX\" in shot prompts.\n  Fork the cast portrait instead.\n- ❌ Don't omit the mood_anchor in t2i prompts. Visual cohesion will\n  break across shots vs portraits.\n- ❌ Don't use generic names like `cast\u002Fnurse` — name by role+story-id\n  (`cast\u002Fnurse-xiaoli`). When two episodes both have a \"nurse\", you can't tell\n  whose portrait is whose.\n- ❌ Don't generate reference images with `--watermark`. The watermark\n  becomes a baked-in artifact that drifts into rendered shots.\n- ❌ Don't skip `scaffold.py *-init` after adding folders. The manifests\n  are the only thing the rest of the pipeline reads.\n","# Cast \u002F Set \u002F Prop Skill — spark-video Art Department (all-in-one)\n\nYou are the **art department** of the pipeline. Your job is to scaffold\nfolder structures and generate reference images for the three things\nthat pin visual consistency:\n\n| Pillar | Pins | Folder pattern |\n|---|---|---|\n| **Cast** | Faces, hairstyle, costume, build | `cast\u002F\u003Cname>\u002F` |\n| **Movie-set** | Locations, lighting, decor | `movie-set\u002F\u003Cname>\u002F` |\n| **Prop** | Hero objects that recur or change state | `props\u002F\u003Cname>\u002F` |\n\nAll three follow the **same mental model**: one folder = one reference\nimage = one frozen visual state. State changes (day→night, intact→torn,\ncasual→formal) = **separate folders**.\n\nSet env vars:\n```bash\nexport SPARK_VIDEO_PROJECT=\u003Cproject_id>\nexport SPARK_VIDEO_EPISODE=\u003CNN>\nexport SPARK_VIDEO_PHASE=portrait\n```\n\n## Two-tier model — project vs episode\n\nBoth cast, set, and prop live under two tiers. Episode tier overrides\nproject tier on name collision:\n\n```\nprojects\u002F\u003Cp>\u002F\n├── cast\u002F\u003Cname>\u002F          ← project mains (shared across all episodes)\n├── movie-set\u002F\u003Cname>\u002F     ← project recurring locations (sitcom rooms)\n├── props\u002F\u003Cname>\u002F         ← project recurring hero objects\n└── \u003Cepisode>\u002F\n    ├── cast\u002F\u003Cname>\u002F      ← episode NPCs OR project-cast overrides (fork)\n    ├── movie-set\u002F\u003Cname>\u002F ← one-off locations for this episode\n    └── props\u002F\u003Cname>\u002F     ← one-off or state-overrides for this episode\n```\n\nUse the **project tier** when an asset is shared across episodes\n(sitcom recurring rooms, series mains). Use the **episode tier** for\none-off NPCs \u002F locations \u002F state-changes (episode-wide costume forks, episode-only\nhero items, one-off rooms).\n\n## ⚠ THE ONE-FOLDER-ONE-STATE RULE (hard rule, applies to all 3)\n\nThe video model reads reference images **literally**. Mixing two\nvisual states into one folder produces a muddy averaged intermediate.\n\n| Pillar | \"Same X, different…\" → separate folder |\n|---|---|\n| Cast | Episode-wide costume change (wedding dress \u002F battle wounds \u002F period vs modern) → fork into episode tier |\n| Set | Time-of-day (day\u002Fnight), season (spring\u002Fautumn), color grade (cool\u002Fwarm), weather (clear\u002Frain) |\n| Prop | State (intact\u002Fcreased\u002Ftorn), damage (clean\u002Fbloodied), open\u002Fclosed |\n\nNaming convention: `\u003Cbase_name>-\u003Cdiscriminator>`:\n- `同福客栈大堂-白天` \u002F `同福客栈大堂-夜晚`\n- `红包-完整` \u002F `红包-起皱` \u002F `红包-撕碎`\n- `陆辰-汉服` (forked from `陆辰` for one episode)\n\n## Procedure 1 — scaffold a cast\n\n### 1.1 Lead \u002F project-tier character\n\n```bash\n# Scaffold the folder + soul card template\nuv run scripts\u002Fscaffold.py cast --name \"陆辰\"\n# Edit projects\u002F\u003Cp>\u002Fcast\u002F陆辰\u002Fcast.md to fill: age, gender, personality, catchphrase,\n# visual anchor (one-line appearance), do \u002F don't\n```\n\nThen generate the portrait via bl:\n\n```bash\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"28-year-old man, short hair, dark T-shirt, photorealistic style, half-body portrait, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --size 16:9 \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fcast\u002F陆辰\u002F \\\n  --out-prefix portrait\n```\n\nNotes:\n- **Default model `wan2.6-t2i`**: produces stable cast portraits compatible\n  with downstream r2v. `qwen-image-2.0` is newer but visual style differs;\n  test before switching.\n- **Append `lore.mood_anchor`** to every portrait prompt so the visual\n  style matches the rest of the production. The `scaffold.py mood-anchor`\n  helper prints lore's mood_anchor for piping.\n- **Drop one ground-truth photo** into the folder if you have one (real\n  actor reference, hand-drawn concept art) — it overrides the generated\n  portrait at r2v time.\n\nOptional: voice reference for reference-voice r2v (Wan \u002F bl both support):\n- Drop a 5–10s clean speech sample as `voice.mp3` in the cast folder.\n\n### 1.2 NPC (episode-only)\n\n```bash\nuv run scripts\u002Fscaffold.py cast --name \"钱夫人\" --episode\n# → projects\u002F\u003Cp>\u002F\u003Cep>\u002Fcast\u002F钱夫人\u002F\n\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"middle-aged woman, stout build, dark silk hanfu, gold hairpin, shrewd worldly expression, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fepisode-$SPARK_VIDEO_EPISODE\u002Fcast\u002F钱夫人\u002F \\\n  --out-prefix portrait\n```\n\nThen re-init the merged cast.json:\n```bash\nuv run scripts\u002Fscaffold.py cast-init   # merges project + episode tiers\n```\n\n### 1.3 Cast fork — episode-wide costume change\n\nWhen a character needs a different outfit for THIS episode only (wedding,\nperiod costume, battle-damaged version), DO NOT solve it in shot prompts. Fork the portrait:\n\n```bash\n# Deep-copy the project cast folder into the episode, drop old portrait\nuv run scripts\u002Fscaffold.py cast --fork --name \"陆辰\" --drop-portraits\n\n# Regenerate the portrait with the new appearance\n.\u002Fscripts\u002Fbl image edit \\\n  --image projects\u002F$SPARK_VIDEO_PROJECT\u002Fcast\u002F陆辰\u002Fportrait1.png \\\n  --prompt \"Change the character's outfit to a large red traditional Chinese wedding robe and red wedding cap; keep face and hairstyle unchanged, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fepisode-$SPARK_VIDEO_EPISODE\u002Fcast\u002F陆辰\u002F \\\n  --out-prefix portrait\n\nuv run scripts\u002Fscaffold.py cast-init\n```\n\n`bl image edit` preserves face identity better than `bl image generate`\nfor forks — always prefer edit when you have a project-tier portrait to\nbase from.\n\nFor pixel-perfect face identity (edit can still drift slightly), drop\na hand-edited PNG into the episode cast folder instead of using bl.\n\n## Procedure 2 — scaffold a movie-set\n\n### 2.1 When to scaffold a set\n\nScaffold whenever:\n- Two or more shots happen in the same location with the same lighting.\n- The location matters enough that drift would be noticeable (recurring\n  sitcom rooms, hero locations, key emotional spaces).\n- A location returns under DIFFERENT lighting → scaffold one new folder\n  per lighting state.\n\nSkip for one-shot pass-throughs or pure outdoors with no fixed landmarks.\n\n### 2.2 Naming — lighting state in the folder name\n\n| Same physical place, different… | Action |\n|---------------------------------|--------|\n| Time-of-day (day \u002F dusk \u002F night \u002F pre-dawn) | **Separate folders** (`客栈大堂-白天`, `客栈大堂-夜晚`) |\n| Season (spring \u002F summer \u002F autumn \u002F winter) | Separate if visible (willows \u002F snow \u002F red leaves) |\n| Color grade (memory cold gray \u002F present warm yellow \u002F high-contrast neon) | Separate folders |\n| Weather (clear \u002F rain \u002F snow \u002F fog) | Separate when weather is in frame |\n| Decor unchanged, action just moves around the room | **Same folder** |\n\n### 2.3 Scaffold + generate\n\n```bash\n# Project-tier sitcom recurring room\nuv run scripts\u002Fscaffold.py set --name \"同福客栈大堂-白天\"\n\n# Episode-tier one-off\nuv run scripts\u002Fscaffold.py set --name \"出租屋客厅-暖灯\" --episode\n\n# Generate the reference image (description MUST include the lighting\u002F\n# season\u002Ftone you committed to in the folder name)\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"Ming-Qing style wooden inn lobby, two-story wooden staircase, red lanterns, three square tables, daytime natural light through windows, warm yellow tone, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --size 16:9 \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fmovie-set\u002F同福客栈大堂-白天\u002F \\\n  --out-prefix set\n\n# Rebuild movie_set.json\nuv run scripts\u002Fscaffold.py set-init\n```\n\nThe `set.md` frontmatter has explicit `time_of_day` \u002F `season` \u002F\n`color_grade` \u002F `lighting` \u002F `weather` axes — fill them in. They're\ninformational today, but they're the contract that prevents a future\ndirector from reusing a daytime set in a night shot.\n\n## Procedure 3 — scaffold a prop\n\n### 3.1 When to promote an object to a key prop\n\nPromote any object to a key prop when it satisfies **either**:\n- It appears in 2+ shots and the audience would notice if it changed\n  shape\u002Fmaterial\u002Fcolor\u002Fwear (the red envelope in S01-003 → S01-007 → S04-002).\n- It's a story-critical hero object even in a single shot (the ring\n  proposal close-up; the key reveal).\n\nSkip for background dressing or non-recurring objects whose look doesn't\nmatter to the plot. **Budget: 3–6 named props per episode**, more is a smell.\n\n### 3.2 Scaffold + generate\n\n```bash\n# Project-tier recurring prop (family heirloom)\nuv run scripts\u002Fscaffold.py prop --name \"戒指-完整\"\n\n# Episode-tier one-off or state-change\nuv run scripts\u002Fscaffold.py prop --name \"红包-起皱\" --episode\n\n# Generate a clean product-style reference image when no photo exists\n.\u002Fscripts\u002Fbl image generate \\\n  --model wan2.6-t2i \\\n  --prompt \"Standard Chinese red envelope, large red hot-stamped pattern, printed with '囍', flat with no creases, pure white background, product photography style, $(uv run scripts\u002Fscaffold.py mood-anchor)\" \\\n  --size 1:1 \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fprops\u002F红包-完整\u002F \\\n  --out-prefix prop\n\n# State change — produce creased state as a separate folder + image\n.\u002Fscripts\u002Fbl image edit \\\n  --image projects\u002F$SPARK_VIDEO_PROJECT\u002Fprops\u002F红包-完整\u002Fprop1.png \\\n  --prompt \"Add obvious creases and grip-worn folds to the red envelope; keep color, print, and shape exactly unchanged\" \\\n  --out-dir projects\u002F$SPARK_VIDEO_PROJECT\u002Fepisode-$SPARK_VIDEO_EPISODE\u002Fprops\u002F红包-起皱\u002F \\\n  --out-prefix prop\n\n# Rebuild props.json\nuv run scripts\u002Fscaffold.py prop-init\n```\n\nFor state changes, **always prefer `bl image edit`** with the base state\nimage as input — preserves shape\u002Fprint\u002Fmaterial continuity. `bl image\ngenerate` from scratch will draw a different-looking red envelope each time.\n\n## Generation tips (apply to all three)\n\n### Mood anchor — append it to every t2i prompt\n\n```bash\n# Helper that prints lore's mood_anchor for piping:\nuv run scripts\u002Fscaffold.py mood-anchor\n```\n\nWithout it, your asset visual style won't match the rendered shots.\n\n### Aspect ratio defaults\n\n| Asset type | `--size` |\n|---|---|\n| Cast portrait (half-body) | `16:9` or `3:4` |\n| Cast portrait (full-body) | `9:16` |\n| Set establishing | `16:9` |\n| Prop (product-style) | `1:1` |\n\n### Batch generation in parallel\n\n`bl image generate` supports `--n N --concurrent K` — useful when\nscaffolding many NPCs or sets at once. Each `--n` produces a candidate;\nkeep the best, delete the rest.\n\n```bash\n.\u002Fscripts\u002Fbl image generate --n 3 --concurrent 3 \\\n  --model wan2.6-t2i \\\n  --prompt \"...\" \\\n  --out-dir projects\u002F...\u002Fcast\u002F陆辰\u002F \\\n  --out-prefix candidate\n# → candidate1.png, candidate2.png, candidate3.png; rename winner to portrait1.png\n```\n\n### Multi-image merge (cast fork only)\n\n`bl image edit` accepts multiple `--image` flags. Useful when forking a\ncast with a costume reference photo:\n\n```bash\n.\u002Fscripts\u002Fbl image edit \\\n  --image cast\u002F陆辰\u002Fportrait1.png \\\n  --image refs\u002Fhanfu-reference.png \\\n  --prompt \"Dress the person in 图1 in the hanfu from the reference in 图2; keep face and hairstyle unchanged\" \\\n  --out-dir projects\u002F...\u002Fepisode-X\u002Fcast\u002F陆辰\u002F\n```\n\n## After scaffolding — rebuild manifests\n\nThe merged manifests (`cast.json`, `movie_set.json`, `props.json`)\nmust be rebuilt after any folder change. They drive the director's\nshot-id lookups and the renderer's media[] resolution:\n\n```bash\nuv run scripts\u002Fscaffold.py cast-init\nuv run scripts\u002Fscaffold.py set-init\nuv run scripts\u002Fscaffold.py prop-init\n# or all three:\nuv run scripts\u002Fscaffold.py manifests\n```\n\nTell the director (or the producer at GATE 2) when you've added new\nassets — they need to read the updated manifests before storyboarding\nany scene that references them.\n\n## DON'Ts\n\n- ❌ Don't put two lighting states (day + night) in the same set folder.\n  The model averages and produces \"neutral gray noon-night\" garbage.\n- ❌ Don't put two prop states (intact + creased) in the same prop folder.\n  Same reason.\n- ❌ Don't solve a costume change by writing \"wearing XXX\" in shot prompts.\n  Fork the cast portrait instead.\n- ❌ Don't omit the mood_anchor in t2i prompts. Visual cohesion will\n  break across shots vs portraits.\n- ❌ Don't use generic names like `cast\u002Fnurse` — name by role+story-id\n  (`cast\u002Fnurse-xiaoli`). When two episodes both have a \"nurse\", you can't tell\n  whose portrait is whose.\n- ❌ Don't generate reference images with `--watermark`. The watermark\n  becomes a baked-in artifact that drifts into rendered shots.\n- ❌ Don't skip `scaffold.py *-init` after adding folders. The manifests\n  are the only thing the rest of the pipeline reads.\n",{"name":5,"description":7},"main","e396986d3c7d4b668808fa7e7d1b862e8e9e3de1","skills\u002Fspark-video\u002Freferences\u002Fspark-video-cast",9,"https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills","https:\u002F\u002Fmodelstudioai.github.io\u002Fskills\u002F","https:\u002F\u002Fgithub.com\u002Fmodelstudioai","https:\u002F\u002Fbailian.console.aliyun.com\u002F","2026-11-14 04:33:35",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add modelstudioai\u002Fskills --skill spark-video-cast",{"tool":39,"command":40},"bunx","bunx skills add modelstudioai\u002Fskills --skill spark-video-cast",{"tool":42,"command":43},"pnpm","pnpm dlx skills add modelstudioai\u002Fskills --skill spark-video-cast","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fspark-video\u002Freferences\u002Fspark-video-cast\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M74FEYG88ZVEVSQC85Y97PF7","vox-video-director","Turn ONE topic into a finished Vox-style paper-collage explainer \u002F ad video, end to end with Aliyun Bailian CLI + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all automated. Use this whenever the user wants a \"Vox style\" video, a paper\u002Ftorn-paper collage animation, a \"motion collage\", a narrated explainer or short ad built from AI-generated collage posters, a scrapbook-style tribute, or wants to turn a topic \u002F product \u002F person into a punchy narrated collage video — even if they don't say the word \"Vox\". Also use when reproducing Stav Zilber \u002F rom1trs \u002F Higgsfield-style collage ad workflows. Three input modalities: a topic (B-roll), a talking-head video (A-roll mode), or a single photo of a person\u002Fproduct anchored into the collage (C-roll mode). Triggers: \"vox video\", \"collage video\", \"motion collage\", \"paper collage explainer\", \"make a collage ad\", \"turn this topic into a collage video\", \"turn my photo\u002Fthis product shot into a collage video\".","https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fvox-video-director\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M74FESD641YN15106ERYKHD7","spark-video-vfx-review","Pre-render quality gate. Read a finished storyboard.json and produce a structured review report flagging visual inconsistencies, prompt defects, and continuity errors that would waste render budget. You find problems; the director fixes them. Opt-in — bypassed unless the producer explicitly invokes you.","https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fspark-video\u002Freferences\u002Fspark-video-vfx-review\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M74FENAN9G48PFE0292SCJMP","spark-video-screenwriter","Turn a user's premise into a structured screenplay (one scene at a time) for the spark-video pipeline. Wraps Shanyin Super Screenwriting Master when available — that upstream Shanyin SKILL is the single source of truth for craft when present.","https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fspark-video\u002Freferences\u002Fspark-video-screenwriter\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M74FEEZHE6VJQAFWJ66HQDYF","spark-video-episode","One-shot autopilot orchestrator — runs the full spark-video pipeline (screenwriter ↔ director per-scene parallel → render chain-DAG parallel + per-clip review → stitch). User confirms at 4 gates (+ 1 mode gate at start + 1 BGM gate when bgm\u002F folder detected). Use when the user wants \"make me an episode\" in one command.","https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fspark-video\u002Freferences\u002Fspark-video-episode\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M74FE8JQBCHPC2GQHWJDGT55","spark-video-director","Translate a screenplay (one scene at a time) into a provider-agnostic storyboard fragment for the spark-video pipeline. Wraps Shanyin Super Director Master when available — the upstream Shanyin SKILL is the single source of truth for craft when present.","https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fspark-video\u002Freferences\u002Fspark-video-director\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M74FE3929KWXZG8RNFG1ZSXJ","spark-video-clip-review","Per-clip quality reviewer + render retry state machine. After each rendered shot, score it on 6 axes via `bl omni` (qwen3.5-omni-plus), then decide ACCEPT \u002F REJECT-and-rewrite \u002F REJECT-and-escalate. Handles up to N retry rounds with auto prompt rewriting; escalates to spark-video-director when retries are exhausted.","https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fspark-video\u002Freferences\u002Fspark-video-clip-review\u002FSKILL.md",[],[]]