流程
六步,從上往下做。
- 1
先定畫風
我選的是一層一層疊起來的剪紙,像紙做的舞台。畫風用一句英文寫死,之後每一支影片的指令開頭都貼同一句。這一步沒定,後面每一段會長得像不同人做的。
風格可以換成你喜歡的,像素風、黏土風都行。想不到怎麼描述,就找一張喜歡的素材丟給 Claude,跟它討論出那一句。
- 2
寫腳本Claude Code
我只講了要求:同一組主角、劇情要有邏輯、每 10 到 15 秒一個轉折、結尾要感人。Claude Code 把故事拆成九段,每段寫成一段英文的場景描述。給 Gemini 的英文提示詞我一個字都沒寫。
- 3
畫角色圖Claude Code 呼叫 ChatGPT
女孩一張、狗一張,都是純綠色背景的去背圖,給 ChatGPT 的提示詞也是 Claude 寫的。另外做一張道具圖,把片子裡會出現的東西排在同一張上。這三張是每一段影片的參考圖。
- 4
生影片Claude Code 開 Chrome 操作 Gemini
Claude Code 自己開 Chrome,進 Gemini 的影片頁,上傳三張參考圖、貼指令、按送出、等一分半、下載。每一段開一個新對話。三個分頁可以同時生。
- 5
一致性檢查Claude Code 加 ffmpeg
這一步不能跳。先請 Claude 做一致性檢查,再合併。每一支每秒抽一格,拼成一張圖,對著腳本看:東西有沒有變形、主角有沒有換衣服、狗有沒有變兩隻。錯的那段改指令重生。九段裡的錯都是 Claude 這樣抓出來的,我自己沒有逐格去看。
- 6
合併ffmpeg
檢查過了才合併。九段直接接起來,沒有加轉場、字幕、配樂。聲音是 Gemini 每一段自己配的。
腳本訣竅
這八條都是生壞了、Claude 檢查出來才改的。
讓主角手上一直拿著一樣東西
九段的場景完全不同,把它們串成一個故事的是那片陶片。她每到一個時代就拿出來比,觀眾就知道她在找什麼。
那樣東西要寫形狀,不要寫名字
提示詞原本寫
pottery sherd,生到第四段它變成一個小罐子。這是 Claude 抽格檢查時發現的,我沒看出來。它把那句改成「扁的、邊緣破碎、像一片破瓦」之後就守住了。模型認得的是形狀。每段結尾留半個動作,下一段開頭接另外半個
坑底塌下去,下一段開頭是土層往上滑。一道浪蓋過畫面,下一段開頭是浪退開。這樣直接硬接也接得上,不用轉場。
主角長相那一段,每一支都原封不動貼
髮型、衣服、帽子在哪裡、狗的項圈顏色,全部寫在指令最前面,九段一個字都不改。即使這樣,帽子還是跑到頭上一次,鞋子變色兩次。
只寫要什麼
寫「沒有帆」,它照樣畫出桅桿,因為它抓到的是「帆」這個字。要寫成它該長的樣子:「只有船身,頂部是平的,像一根浮木」。
畫面裡只留一隻動物
另一支短片裡有第二隻狗,結果主角的狗被複製成三隻,還有一個人的下半身接成了狗。後來每一段都寫「牠是全片唯一的動物」,人和狗隔幾步站。
夜景和剪影最穩
白天、很多人的場面最容易出錯。遠處的人都寫成深色的紙剪影,錯誤少很多,畫面也比較好看。
結尾把前面遇過的人叫回來
最後一段,她回到地面,山脊上浮出一路遇過的人的剪影,其中一個舉手,她也舉手。前面八段都是為了這十秒。
指令
第一段是我實際講的話。其他幾段的提示詞都是 Claude 寫的,橘色的字換成你自己的內容,其他照貼。
我一開始寫的那段話
貼在 Claude Code。講完再問它:這些工具你能不能用
你能挑戰做幾隻然後合併成一隻長片嗎?一樣的主角與風格,劇情要有邏輯,每10-15秒要有轉折。結尾感人。我想知道這個做法的長度極限
在這之前我已經有角色圖,也試過單支的短片。我要它用的工具是 ChatGPT(畫圖)、Chrome 裡的 Gemini(生影片)、ffmpeg(檢查與合併)。
一、想講仔細一點的話,用這一版
貼在 Claude Code。這是把後來學到的訣竅補進去的版本
我要用 Gemini 生幾支 10 秒的影片,合併成一支長片。 主角:一個考古系女學生和她的黑狗 畫風:一層一層的剪紙動畫 故事:她在探坑挖到一片陶片,想知道是誰做的,一路往更早的年代找 要求: 1. 一樣的主角與風格,劇情要有邏輯。 2. 每 10 到 15 秒要有一個轉折,結尾要感人。 3. 主角手上從頭到尾拿著同一樣東西,用形狀描述它,不要只寫名稱。 4. 每段結尾留一個還沒做完的動作,下一段開頭接著做完。 5. 每段寫成一段英文的場景描述,只寫畫面裡要有什麼,不要寫「沒有什麼」。 6. 遠處的人一律寫成深色剪影。每段只出現一隻動物。 先給我分鏡表(每段的場景、轉折、怎麼接下一段),我看過再寫英文。
二、畫角色圖
貼在 ChatGPT,或請 Claude Code 代為呼叫
Generate one original illustration. No text, letters, logos or watermarks anywhere. Style: layered cut-paper (paper theatre) look: cut card with clean crisp edges, subtle paper fibre texture, slightly lighter bevel on cut edges, gentle painted texture. Not a cartoon, not anime, no big eyes, no outline strokes, not photorealistic. The face is very simple: small plain features, calm. The image is an isolated cut-out on a perfectly flat, uniform, pure chroma green background (#00FF00), with NO shadow, NO glow and NO gradient on the green, and no green tint on the figure. Square 1:1, the whole figure from head to feet fills about 85 percent of the frame height. No ground, no props. The character: a Taiwanese archaeology student, a young woman of about twenty, slim, medium height. Black hair in a short low ponytail. A faded mustard-yellow long-sleeved cotton work shirt with the sleeves rolled to the elbow, loose khaki-grey trousers, canvas shoes, a pale straw sun hat hanging on her back by its cord. In colour, warm and softly lit, muted earthy colours. Pose: strict side view, facing right, kneeling on one knee, one hand held out in front of her, palm up.
狗和道具圖用同一段,換掉角色和姿勢那兩句。綠色背景是為了讓影片模型知道「這是去背的人,背景要換掉」。


這兩張就是實際用的角色圖。影片裡每一段的女孩和狗,都是 Gemini 看著這兩張畫出來的。
三、每一支影片的開頭(九段都貼一樣的)
貼在 Gemini 的影片頁,先上傳三張參考圖
Create a 10-second video. The picture fills the whole 16:9 frame edge to edge from the very first frame to the last. 2.5D layered cut-paper stop-motion animation style, keeping the handmade paper fibre texture and the character designs from the reference images (the green background of the character images is only a cut-out backdrop and is replaced by the scene). The paper girl (dark brown low ponytail, rolled-up mustard yellow shirt, loose brown trousers, brown shoes) looks exactly the same in every shot: same face, same age, same clothes, her straw hat always hanging on her back and never on her head. Her black-and-tan paper dog wears a red collar; it is the only animal in the whole film. Throughout, the girl carries one flat broken fragment of pottery, the size of her palm, with jagged broken edges like a piece of a broken roof tile, reddish-brown and covered in fine parallel cord-marked lines. Every object is taken from the prop sheet reference image and keeps its exact shape and colour.
後面直接接該段的場景,最後加一句 One smooth continuous camera move, soft volumetric light, shallow depth of field.
要換風格,改 2.5D layered cut-paper stop-motion animation style 這一句,例如 pixel art animation style 或 claymation stop-motion style,角色圖也要用同一種風格重畫。不知道怎麼寫,就給 Claude 一張你喜歡的圖,請它寫出這一句。
四、場景範例:紋路對上了的那一段
接在第三段後面
The shot opens with a wide paper wave filling the frame, then drawing back from left to right like a curtain to reveal a small village by the sea about 5,000 years ago in low golden sun: thatched houses, a lagoon, low broadleaf shrubs and tall grass, and a golden foxtail millet field. In the foreground, on the left, one villager kneels on the sand, whole body clearly visible, rolling a short stick wrapped in cord across the body of a large unfired clay jar whose base is a rounded curve like the bottom of an egg, leaving fine parallel cord marks. The girl walks in from the right, kneels across from the potter and holds her flat fragment beside the wet jar: the lines are exactly the same. Her eyes go wide and she breaks into a smile. The potter looks at the fragment, then at her, and smiles too. A few steps behind the girl her dog sits and wags its tail. The camera ends close on the flat fragment and the jar side by side, their lines matching. One smooth continuous camera move, soft volumetric light, shallow depth of field.
開頭那道浪是接上一段結尾的浪。人站左邊、女孩從右邊進來、狗在後面幾步,位置都寫出來,才不會黏在一起。
五、場景範例:結尾
接在第三段後面
Golden dusk turning to blue evening on a hillside dig site in Taiwan with a square pit, wooden stakes and cotton string; far below, the small lights of a modern city begin to come on. The bare-headed girl sits at the pit edge holding the flat fragment in both hands, her dog leaning against her side. She looks up. Along the ridge behind the pit, quiet dark paper silhouettes of people appear one by one in the last light: a potter holding a round jar, a kneeling figure beside a block of stone, two figures working a bellows, a few crouching figures around one tiny point of firelight. The potter silhouette raises one hand. The girl slowly raises her hand in return, and the dog's tail wags. The silhouettes soften and fade into the tall grass as the first stars come out. The girl lays the flat fragment gently in a small shallow paper tray on the ground beside the pit and rests her hand on the dog's head. Slow, quiet, tender. The final shot holds wide on the two of them, small under a broad starry sky. One smooth continuous camera move, soft volumetric light, shallow depth of field.
六、請 Claude Code 去 Gemini 生影片
貼在 Claude Code,要先裝好 Claude 的 Chrome 擴充功能,Chrome 要登入 Gemini
用 Chrome 開 https://gemini.google.com/videos ,照分鏡表一段一段生成: 1. 每一段開一個新對話。 2. 上傳三張參考圖:女孩、狗、道具圖。 3. 貼上共用的開頭加上該段的場景描述,送出。 4. 生好後下載,改成「段01_場景名.mp4」這種檔名,放進 專案資料夾。 5. 可以開三個分頁同時生。碰到額度上限就停,告訴我幾點恢復。 6. 每下載一支就照下一條指令抽格檢查,把跟腳本不一樣的地方列給我,不要自己說沒問題。
七、合併之前,請 Claude 做一致性檢查
貼在 Claude Code。這一步最重要
每一段影片都每秒抽一格拼成一張圖,自己看過,再對照腳本做一致性檢查,逐段列給我: 1. 主角的臉、髮型、衣服、鞋子、帽子的位置,跟前一段一不一樣。 2. 手上那樣東西的形狀、大小、顏色有沒有變。 3. 動物有沒有多出來,人和動物有沒有黏在一起。 4. 有沒有腳本沒寫、它自己加的東西。 5. 每一段的最後一格和下一段的第一格接不接得上。每段開頭半秒另外看。 6. 畫面上有沒有黑邊、綠幕底色、亂碼字。 有錯的段落改提示詞重生,全部過了才合併。沒看過的地方(例如聲音)要明講沒看。
八、抽格的指令
終端機,或請 Claude Code 跑
ffmpeg -i 段01.mp4 -vf "fps=1,scale=480:-1,tile=5x2" -frames:v 1 段01_抽格.jpg
每秒一格,十格拼成一張。每段的前半秒要另外看,有一段開頭半秒天空是綠幕的綠色,每秒抽一格剛好沒抽到。
九、合併
終端機。先做一個清單檔 list.txt,每行寫 file '完整路徑/段01.mp4'
ffmpeg -f concat -safe 0 -i list.txt -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a aac -b:a 160k 長片.mp4
每一段都要是 Gemini 下載的原檔。有一段先剪過再合併,結果那一段的畫面整段不見,停在前一段的最後一格。
做不到的事
- 每一支固定 10 秒,寫 8 秒它不理。
- 我的帳號五小時只能生 5 到 6 支,所以 90 秒做了三個時段。
- 大約每三支有一支要重生。結尾那一段重生了兩次。
- 成品裡還留著沒修掉的錯:有一段女孩穿白鞋、其他段是褐色鞋;結尾探坑旁多了一個腳本沒寫的陶罐;洞穴那段地上多了一把有柄的石斧,考古上沒有依據。
- 這是編出來的故事。片子裡一個探坑往下通到好幾個遺址,現實中這些遺址不在同一個地方。