
This workflow generates a clean, orthographic character turnaround (front, side, and back) from a single reference image—ideal for sci‑fi mechs and armor designs. It starts with LoadImage to bring in a front orthographic reference (a sample white_mech_front_ortho.png is included). That image is then passed to GeminiImage2Node, which calls a Google Generative image API and uses your text instructions plus the reference to synthesize additional angles while preserving key features like silhouette, plate layout, decals, and color scheme. SaveImageAdvanced writes each view to disk with predictable filenames so you can assemble them into a final sheet in your design tool. A MarkdownNote in the graph provides inline guidance and prompt tips.
Technically, consistency across views is encouraged by conditioning GeminiImage2Node with the same reference image and carefully worded prompts (e.g., “orthographic side view of the same mech as the reference; match plating, helmet, and markings; no perspective; white background”). Because this template relies on an external API rather than local checkpoints, it’s quick to set up—no model downloads are required—making it a practical tool for concept artists and product designers who need fast, multi‑view explorations of a single design.
API
通过代码使用此工作流
每个 Comfy 工作流都是一个 JSON 图。下面的内容就是此工作流的完整数据,ComfyUI 运行时也是如此——你可以从该 URL 获取、放入版本控制,或在 ComfyUI 中加载并逐节点运行。
使用 Comfy SDK 从 TypeScript 或 Python 运行。相同代码可用于 Comfy Cloud 或你自托管的 ComfyUI——只需更改基础 URL。
// 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");SDK 需要 API 格式的工作流:在 ComfyUI 中打开此工作流,使用 文件 → 导出工作流(API)。


















