Seedream 5.0 Pro is an instruction‑guided image editing workflow built around the ByteDanceSeedreamNodeV2 model. It takes two images—a base image to be edited and a guide/reference image—plus a clear text prompt, then applies targeted changes while preserving the original lighting, depth, and surface texture. In ComfyUI, the images are brought in with LoadImage nodes, passed to ByteDanceSeedreamNodeV2 for editing, and written out using SaveImageAdvanced for organized, reproducible results.
Technically, ByteDanceSeedreamNodeV2 performs diffusion‑based edits conditioned on both the base image and your instruction prompt, with the second image acting as a guide for regions, layout, or stylistic cues. This dual‑conditioning lets you localize changes (e.g., background swaps, product color updates, layouted text) without destroying the scene’s geometry or material qualities. SaveImageAdvanced helps you version outputs with consistent filenames and metadata, making iteration straightforward.
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














