Takes storyboard
The storyboard helps the user plan a shoot. The sketches are low fidelity on purpose. They show who is in the frame, where the camera is, and what moves. They are not the final look.
Before you start
- The sketches use Nano Banana 2.1 (
GEMINI_API_KEYorGOOGLE_AI_API_KEY), then GPT Image 2.5 Flare (OPENAI_API_KEY), then Nano Banana on Replicate (the Replicate plugin's token), from the environment,~/.claude/.envor the Keychain. - No image key:
set_storyboardstill saves the shots, draws nothing, and its answer hasno_sketchesand a note. Then do one of these:- If you can make images yourself, draw each sketch (the marker style below) and call
set_storyboardagain with each shot'simageset to your PNG or JPG. - Else ask the user for a Gemini key (Takes › Settings › Gemini, from aistudio.google.com/apikey)
or an OpenAI key. When they have added it, call
set_storyboardagain, or tell them to click Draw on the Storyboard tab. Do not look for keys or logins anywhere else on the Mac.
- If you can make images yourself, draw each sketch (the marker style below) and call
- All work goes through the
takesMCP. Never writesession.jsonorstoryboard/by hand.
Steps
- Session. In a Takes chat, the session is given. From a terminal, call
create_sessionwithproject,titleandscript. If the project is unclear, ask. Do not storyboard into a session that already has takes, unless the user asks. - Script first. Write
script.mdwithcreate_sessionorupdate_session(give a shortnote). Short spoken sentences. The hook is the first paragraph. Aim for about 45–75 s unless the user says otherwise. After each paragraph, add one direction line in brackets, for example[DESK, to lens. A stack of papers next to the laptop.]. For several opening options, callset_hookswith[{text, note}]. Keep your best hook as the first paragraph ofscript.md. - Shots. One shot per paragraph, sometimes two. Usually 6–12 shots in three sections. The
Storyboard tab shows each section as its own row:
hook: the opening 3–8 s, one or two shots. Other openings go inset_hooks, not here.main: the body.end: the last line and the call to action. A shot of kindENDgoes here.
set_storyboardwithsessionand the fullshotslist. It returns at once. The sketches draw in the background (about 30 s each, a few at a time) and the tab fills in.- Reply in two or three lines: the idea in one sentence, the shot count and the length, and "Open the Storyboard tab". Do not list the shots in chat. The tab shows them.
A shot
| Field | What to write |
|---|---|
id |
Leave it out for a new shot. When you change a shot, pass its id from get_session (storyboard). Takes and comments point at it. |
section |
hook, main or end. Default main. |
kind |
DESK (seated, to lens), WALK (standing or outside), B-ROLL (footage, hands, objects), SCREEN (screen recording), MG (motion graphic), END. |
say |
The script lines this shot covers, word for word from script.md. |
do |
How to film or build it, in one short line: framing, lens, prop, camera move. |
sketch |
What the drawing shows. It is the prompt for the image model. See below. |
video |
Optional. A real clip shown instead of a drawing: a file from list_broll (the MCP adds it to the session's broll/), or a path in the session such as edits/x.mp4. |
seconds |
Leave it out. The app counts from the words in say. Give it only for a shot with no words. |
redraw |
true draws the same sketch text again (for a bad drawing). |
image |
Optional. A sketch you made yourself (PNG or JPG path), used instead of a drawing. For when Takes has no image key. |
For a B-ROLL shot, look for footage first: search_media with what the shot shows ("hands
typing, close-up", kinds ["video"]) searches every clip by its picture, and list_broll lists the
b-roll folder. If a clip fits, put it in video and name it in do, so the user does not film it
again.
How to write sketch
The style is fixed in the MCP: black marker on white paper, one blue marker for motion, faceless round-head figures, no text. Write only what is in the frame:
- Name each thing plainly and say how many. "One person", "a laptop", "a box full of paper receipts". The model fills in anything you leave vague, often with extra people or cameras.
- Say the framing. "Medium shot", "close-up of two hands", "seen from the side".
- Show motion and camera moves as arrows. "A curved arrow shows the lid closing", "corner marks show the frame slowly pushing in".
- Draw motion graphics as simple shapes. Boxes, icons, rows, a folder tree, arrows. Describe the shape, not the brand: "rectangular cards, each with a circle logo", not a product name.
- End every
MGsketch with "No people. Nothing else in the frame." Without it, the model tends to add figures next to the diagram. - Never ask for words in the frame. Text comes out garbled. If a label matters, put it in
do, not insketch. - Keep the cast small. Assume the user films alone (phone or Mac camera, a desk, a room, a walk) unless the idea needs someone else.
Takes and comments per shot
The user records a take per shot with the Record button under a shot. In get_session, the
take's shot field holds the shot id. A storyboard take may also carry a best_cut suggestion
(by: gemini, or by: transcript when the user has no Gemini key). Treat it as a first guess: check it against the transcript and the frames at both
ends, then call set_best_cut (session, take, start, end, why, optional said,
clean) with the range you would use.
The user can also comment on a shot. get_comments returns these with shot, shot_now (the
shot as it is now) and frame (the sketch). To fix one:
- Change the shot with
set_storyboard(the full list, every id kept). - If the lines change, update
script.mdtoo (update_session). - Call
reply_commentonce for all comments:replies: [{id, text, resolve: true}], one line of text each. If a comment is unclear, reply with a question and leave it open.
Changing a storyboard
set_storyboardreplaces the whole list. Always send every shot, each with itsid.- Change only the shots the user names.
get_sessiondoes not return the sketch text, so first read<session>/storyboard/storyboard.jsonand copy every other shot'ssketch,say,doandvideoexactly. An unchangedsketchkeeps its drawing. A changed one is drawn again. A missingvideois dropped. - If you remove a shot that has takes, the result warns you. Give its id to the shot that replaces it.
- A script change: update
script.mdfirst, then thesayof each shot it touches. - A real clip for a shot ("use the b-roll we have"): set the shot's
video. Never paste a frame over a sketch PNG. - A generated clip for a shot ("make this shot", the ✦ button): call the
higgsfieldtool withshot. Write a real-footage prompt from the shot'sdoandsay;image: "sketch"withparams: {mode: omni_reference}keeps the sketch's framing. The clip lands on the shot by itself. One job per ask: each one costs the user's Higgsfield credits. A person, a line to speak, or more than one generated shot: follow thetakes-ai-videoskill (place still, character sheet, voice line first), so the clips look real and match each other. - An image (a thumbnail, a still, a changed frame):
make_image, neverhiggsfield(direct costs much less). Flare for a new image, Sunburst for a change,nano-banana-2.1when cheap matters most. - A shot shows an error (no key, quota): tell the user the reason in one line.
Where it lives
<session>/storyboard/storyboard.jsonand one PNG per sketch. Write it only withset_storyboard.- Shot comments live in the session's comments with file
storyboard/storyboard.jsonand ashotid. - Sketches are drawn at 4:5.