Seedream 5.0 Pro: Image Edit is a precision image-to-image and inpainting workflow that lets you change exactly what you want while keeping the original lighting, depth, and texture intact. It starts with LoadImage to bring in your source photo, then optionally uses Painter to create a clean mask for targeted edits. The core transformation happens in ByteDanceSeedreamNodeV2, which conditions on your input image (and mask if provided) to apply prompt-driven changes without destroying structure. Finally, SaveImageAdvanced writes out clean results with controllable filenames and folders.
Technically, the mask from Painter constrains edits to specific regions, while the input image conditioning helps Seedream preserve scene geometry and materials. You’ll get two outputs: a main edited image from ByteDanceSeedreamNodeV2 and a second preview that reflects the Painter-guided variant—useful for quick QA and before/after comparisons. Tuning typical parameters like prompt/negative prompt, denoise strength (how much to change vs. preserve), steps, guidance (CFG), and seed lets you dial in subtle retouches for product shots, keep consistent faces across a series, or lay out multilingual text in a structured composition.
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.
الأسئلة الشائعة
















