
This ComfyUI workflow builds advertising storyboards fast by turning a plain 6‑panel grid and a shot list into clean black‑and‑white sketch frames, then optionally upgrades those sketches into production‑quality styleframes. The STORYBOARD GENERATOR group takes your shot descriptions from INPUT SHOT LIST, merges them with consistent style instructions via StringConcatenate, and feeds them to either OpenAIGPTImage1 (OpenAI’s gpt‑image‑1) or GeminiImage2Node for image generation. The first image you load is used as the panel grid reference, guiding the model to sketch simple line drawings inside each box and place the shot description as a caption beneath each frame. BatchImagesNode handles all six shots in one go, and SaveImage writes the finished storyboard to disk. MarkdownNote nodes in the graph provide in‑canvas guidance, while PrimitiveNode values set defaults like monochrome line style and panel count.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
FAQ













