Seedream 5.0 Pro是一套基于指令的图像编辑工作流,核心为ByteDanceSeedreamNodeV2模型。它接收两张图片——一张为待编辑的基础图片,一张为引导/参考图片——以及一条清晰的文本提示,然后在保留原始光照、深度和表面材质的前提下,进行有针对性的修改。在ComfyUI中,图片通过LoadImage节点导入,编辑由ByteDanceSeedreamNodeV2完成,结果用SaveImageAdvanced有序输出,便于版本管理和复现。
技术上,ByteDanceSeedreamNodeV2基于扩散模型,结合基础图片和指令提示进行编辑,第二张图片作为区域、布局或风格引导。双重条件输入可实现局部修改(如背景替换、产品换色、结构化文本排版),同时不破坏场景几何和材质。SaveImageAdvanced支持用一致的文件名和元数据保存结果,便于迭代。
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.
常见问题














