Communitygithub.com

film-generate

使用 Higgsfield MCP(Nano Banana Pro 靜態影像、Seedance 2.5 含原生語音剪輯)為短片生成一致且逼真角色的剪輯。用於規劃、提示或生成簡報或短片的電影對話場景。產生 film-assemble 技能所需的剪輯清單和 film.json。

film-generate 是什麼?

`film-generate` 技能專為透過 Higgsfield MCP 連接器生成短片剪輯而設計,利用 Nano Banana Pro 生成角色肖像與錨定靜態影像,並使用 Seedance 2.5 模型輸出包含原生語音的影片剪輯。該技能支援 Claude Code、Cursor、Codex 等 AI 代理平台,使用者可透過對話規劃腳本、生成一致的角色外觀、建立場景錨定幀,並產出最終剪輯清單與 `film.json` 檔案,供 `film-assemble` 技能後續組裝。其重要性在於確保角色臉部、道具與場景連續性,並透過詳細的提示結構(包含場景情緒、身分映射、音訊映射、定時鏡頭列表及道具連續性規則)來達成電影級品質。此外,技能內建成本估算與餘額檢查機制,優先使用 `use_unlim: true` 參數以避免意外扣款,並支援影片編輯模式以修正已核准的剪輯,有效提升短片的製作效率與一致性。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/KenzoDB/universitary-project-video-generation/tree/HEAD/skills/film-generate

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Short-film generation (Nano Banana Pro + Seedance 2.5)

These notes record one project run in November 2026. Models, limits, plans and prices change: check the live tools before relying on any of them.

0. Before starting

  • The Higgsfield connector must expose generation tools (generate_image_batch, generate_video_batch, media_upload_widget, jobs_wait). If only balance, models_list or show_generations exist, reconnect and start a NEW chat: tools load when a chat starts.
  • Check the balance and which models the plan covers with use_unlim: true. If the user says never spend credits, always pass use_unlim: true, and stop and ask if something is not covered.
  • Get cost estimates (estimate_image_cost, estimate_video_cost) with the real media before promising a price. Ask before anything that spends credits or money.
  • Use a real person's face or voice only if that person has agreed.
  • Uploads: media_upload_widget takes one file per round, so batch the rounds and say how many there will be. If Claude in Chrome is connected, its file upload tool was more reliable (ask which browser if there are several).
  • Downloads: Claude chat could not save files to the user's computer or open them. Give the user the links.

1. Models and settings that worked

StepModelSettings
Character portraitsnano_banana_pro4:5, 2K, ONE source photo of that person as the only reference
Group still (anchor frame)nano_banana_pro21:9, 2K, real photos + approved portraits as references
Clipsseedance_2_5, mode omni_reference21:9, 10-12 s, start_image = approved still
Change one thing in an approved clipseedance_2_5, mode video_editapproved clip as video_references + corrected still as image reference

Seedance turns generate_audio ON by default. Always set it: false for silent clips, true for native speech.

2. Pipeline

  1. Script first. Agree the lines, speakers, clip lengths and total running time. Leave room under the maximum length.
  2. Portraits: one per person from their own photo; add costume in the prompt. Use: "the exact same person shown in the reference photo, face identical (eyes, eyebrows, nose, mouth, jawline, hair and hairline, stubble, skin tone, age)" plus signature details such as glasses. Get approval.
  3. Anchor frame: one group still per scene from all portraits and photos. Get explicit approval. It is the start frame of every clip in that scene.
  4. Clips: omni_reference with the anchor still as start frame, portrait crops as identity references, and the still's description repeated in the prompt.
  5. Corrections: edit the still, or run video_edit on the approved take.

3. Clip prompt structure, in this order

  1. Scene and mood, e.g. "Cinematic ... scene in ..., starting exactly from the first frame and keeping the faces exactly as in it."
  2. Identity mapping: "Person A (two or three distinguishing traits) matches references 1 and 4; Person B ..."
  3. Audio mapping (speech only): which reference audio belongs to whom, plus one line of voice character each. State that voice files are for timbre and delivery only and that speech is generated natively, verbatim, with numbers spoken as words.
  4. Timed shot list: "0-3.0s: no dialogue ...; 3.2s: A, medium shot three-quarter to camera, says: '...'; 4.8s: cut to B ..." Name the camera move and speaker; everyone else stays silent and reacts. The speaker is large in frame, facing camera or three-quarter, never from behind.
  5. Prop continuity rules, e.g. "each person holds exactly one cup in the left hand the whole time; it never vanishes, floats, multiplies or changes size or colour".
  6. Sound: "dialogue plus very quiet room tone only; no music, no sound effects, no subtitles" (added later in editing).
  7. Look: lighting, grade, lens, grain.
  8. Always end: "No text, letters, numbers, logos or readable screens anywhere."

For dialogue ask for shot/reverse-shot, slow push-ins, rack focus and visible listener reactions. A static two-shot looked flat.

4. Keeping faces consistent

  • In clips, use only approved portraits or portrait crops as face references, never raw photos.
  • Always start from ONE approved group still; never ask the model to build a group from separate faces mid-clip.
  • Describe each face in words too, not only by reference number.
  • Keep few people per clip. Wide six-person shots and crane-ups drift most (extra, duplicated or swapped faces).
  • If a still has wrong faces, regenerate from scratch with much more detailed descriptions. On this project, editing faces into the old still was refused by the model's safety filter. Accept a refusal: do not rephrase to get around a filter.
  • Claude could not open the output files, so the user checks faces. Say which clip and which person to inspect first.

5. Voices

  • Seedance caps reference audio at 30 s TOTAL per clip (reference video too). Trim to the clearest speech, e.g. about 9.5 s each for three speakers or 15 s each for two.
  • Give each clip only its own speakers' voices. Two similar-pitched voices blended; longer single-speaker samples fixed it.
  • The uploader may label .wav as .mp3; mention it.
  • Native Seedance speech was used. The separate lip-sync model was not covered by the trial.

6. What failed and the fix

ProblemFix
Connector had no generation toolsReconnect and start a new chat
Wrong faces in first stills and clipsRebuild the anchor with detailed descriptions, then re-render every clip from it
Changing one attribute (a person's height) took three triesGo straight to video_edit on the approved take with a corrected still. Re-rendering broke props; copying motion from the old take brought the old attribute back
Props appearing or vanishing, clothing changingExplicit never-vanish rules in the prompt
Parallel jobs refused (unlimited trial ran ONE at a time)Submit one at a time; if one is stuck, wait, cancel and resubmit
Each clip took about 10 minIf scheduled check-ins are available: first at 6-8 min, then every 2-3 min; ignore check-ins for finished jobs
Conflicting instructionsFollow the latest one and say so

7. Plan and cost facts from that run (do not assume they apply now)

  • The unlimited trial covered Seedance 2.5 only up to 720p; 1080p and upscaling cost credits. Decide on resolution before the trial ends.
  • Generations on the Higgsfield website did not count toward the trial; the MCP did.
  • The trial auto-renewed into a paid plan unless cancelled. Tell the user the end date and the renewal price shown on their account, and remind them before it ends.

8. Report after each clip

Clip id, link, model, mode, resolution, duration, references used, anything changed from the brief, and an honest note that you have not watched it, with what to check (faces, lip sync, props, spoken words).

9. Handoff to Claude Code (required)

  1. Name clips with fixed ids in film order: A01.mp4, A02.mp4, ... (use another letter per storyline). Ask the user to save them with those names in clips/. A replacement take keeps the same id.
  2. Provide film.json as a downloadable file: for each clip its id, type: "clip", file, and captions with speaker, text and planned start/end from the shot list; plus speakers, vocabulary (names, brands, places), min_seconds and max_seconds, and the title and end cards. Planned captions are placeholders: film-assemble corrects them from the finished audio.
  3. List for Claude Code: text that must appear on screen, graphs needed with their source data, music, logo, and every take that is known to be imperfect.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相關技能