
This workflow turns a text prompt into four high-quality, stylistically varied images using the Krea v2 image generation service. At its core is the Krea2ImageNode, which sends your prompt (and any optional parameters the node exposes) to the Krea API, returning a batch of images in one run. The SaveImage node then writes those images to your ComfyUI output directory with your chosen filename prefix.
Technically, ComfyUI orchestrates the request/response cycle while compute happens remotely on Krea. You supply the prompt in Krea2ImageNode and, if available in your installation, can set options like seed (for reproducibility), aspect/size, and the number of images. The workflow is preconfigured to produce four outputs for creative variety. The SaveImage node receives the image batch directly from Krea2ImageNode and saves each item as a separate file, which makes iterating and curating results straightforward.
Because generation runs in the cloud, this setup is fast to iterate on without a local GPU. It’s ideal for quickly exploring multiple visual directions from a single prompt, then narrowing in by locking a seed (if exposed) or refining the prompt. The minimal node graph—Krea2ImageNode plus SaveImage—keeps the process simple while still letting you manage output naming and batching inside ComfyUI.
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.
GET https://comfy.org/workflows/download/26e1f4eddd7e.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run this workflow (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
wf = client.workflows.from_file("workflow_api.json")
job = client.run(wf)
for output in job.get_outputs("<output-node-id>"):
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














