Make a storyboard with Claude Code
Use Liquid MCP and Claude Code to write a script and draw each frame.
You will ask Claude Code to write a short script, split it into scenes and draw one image for each scene. It takes about 15 minutes.
Before you start
- Install Claude Code and add funds to your workspace balance.
- Expect a small cost. The exchange charges for each image. A video clip costs more, so it is optional.
- Set a spend limit. The sign-in page lets you set one. The default is $10. Use $2 for this tutorial.
Steps
-
Add the Liquid MCP server to Claude Code.
claude mcp add --transport http liquid https://router.inference.ai.exchange/mcp -
Sign in. Run this command, or run
/mcpin a session, select liquid and choose Authenticate.claude mcp login liquidYour browser opens. Choose the workspace, tick the box that lets the app buy answers, and set the spend limit to $2. Only an owner or admin of the workspace can approve. See Liquid MCP server.
-
Start Claude Code in an empty folder, and ask it to find an image model.
Use the liquid MCP tools. List the image models and show the price of each image. Pick the cheapest one.Claude Code calls
list_modelswithkindset toimage. You see a short list with prices. -
Ask for the script and the scenes.
Write a 30-second script about a lighthouse keeper who finds a message in a bottle. Split it into 4 scenes. For each scene, write one line of narration and one sentence that describes the picture.Claude Code writes the script and the four scenes. No tool runs yet, so this step is free of exchange charges.
-
Ask Claude Code to preview the cost before it buys.
Use dry_run to estimate the cost of 4 images with the model you picked. Tell me the total, and wait for my answer.Claude Code shows the estimated charge and the winning offer. A
dry_runplaces no job and holds no funds. -
Draw the frames.
Go ahead. Use generate_image once for each scene, with the same style words in every prompt: "soft watercolor, warm light, wide shot". Set cap_usd to 0.10 for each image.Claude Code calls
generate_imagefour times. Each image appears in the session.cap_usdis the most that one call can cost. -
Collect the frames in a file.
Write storyboard.md. For each scene, put the scene number, the narration, the image prompt and the job ID from the exchange block.You get
storyboard.mdin the folder. -
Optional: make a video clip of scene 1.
Preview a 5-second video of scene 1 with dry_run. If it costs less than $1, start it with create_video, then check it with get_video until it is done.create_videoreturns a job ID.get_videoreturns adownload_urlwhen the job completes. The link works for 15 minutes without a key.
Check it works
- Open Receipts in the console. Each image shows as one job, with its model and charge. See Receipts.
- Ask Claude Code:
Use get_limits and tell me how much of my spend limit is left. - Open
storyboard.md. It must list four scenes.
If something goes wrong
- A tool answers
403withinsufficient_scope. The key cannot buy. Sign in again, and tick the box that lets the app buy answers. - Claude Code does not show the
liquidtools. Run/mcp. Choose Authenticate if the server shows as not signed in. The key expires after 7 days. - A call fails with
402 budget_exhaustedor no offer wins. Raise the spend limit, or raisecap_usd. See Errors.
Next steps
- Image generation: the options of each image, such as
size. - Reference inputs: keep one character the same in every frame.
- Purchasing rules: set a price cap and other limits.