This workflow takes one picture of a character and builds a full turnaround sheet from it: front, half turn, side profile and back, plus a row of close-ups of the face. Each view keeps the outfit, colours and proportions of the reference, so the sheet is ready to hand to an animator or a 3D artist.
代码读取的是 API 格式:在 ComfyUI 中打开下载的工作流,选择「文件 → 导出 (API)」。
你需要准备的
运行于
Comfy Cloud
接口地址
https://stagingcloud.comfy.org/api/prompt
密钥
需要,来自你的 Comfy 账户
# Python 3.10+: pip install comfy-sdk==0.4.0import jsonimport osfrom comfy_sdk import Comfyapi_key = os.environ.get("COMFY_API_KEY", "").strip()ifnot api_key: raiseRuntimeError("Set COMFY_API_KEY")os.environ.setdefault("COMFY_BASE_URL", "https://stagingcloud.comfy.org")client =Comfy(api_key=api_key)withopen("workflow_api.json", encoding="utf-8") as file: workflow = client.workflows.from_json(json.load(file))job = client.run(workflow, api_key=api_key)# Use the id of the save node in your exported graph.for output in job.get_outputs("<output-node-id>"): output.to_file(output.name)
A full-body shot of one character on a plain background, facing the camera. Busy backgrounds and cropped limbs make the side and back views less consistent.
Yes. Each view is its own prompt in the graph, so you can edit, remove or add views before you run it.
Fix the seed and reuse the same reference image. Changing only the prompt then changes the details without changing who the character is.