Seedream 5.0 Pro:图像编辑 - After
Seedream 5.0 Pro:图像编辑 - Before

Seedream 5.0 Pro:图像编辑是一个精准的图像到图像与局部修复(inpainting)工作流,让你只修改需要的部分,同时保持原有的光照、深度和纹理。流程以 LoadImage 导入源照片开始,可选用 Painter 创建干净的遮罩以实现定向编辑。核心变换在 ByteDanceSeedreamNodeV2 节点完成,该节点基于输入图片(如有遮罩则一并参考)进行基于提示的修改,且不会破坏结构。最后,SaveImageAdvanced 节点以可控的文件名和文件夹输出干净的结果。

技术上,Painter 生成的遮罩限制了编辑区域,而输入图片的条件有助于 Seedream 保持场景几何和材质。你将获得两个输出:一个是 ByteDanceSeedreamNodeV2 生成的主编辑图像,另一个是基于 Painter 遮罩的预览,便于快速质检和前后对比。通过调整提示/反向提示、去噪强度(控制修改幅度)、步数、引导(CFG)和种子等参数,可以实现产品图细致修饰、人像系列一致性或多语言文本结构化排版。

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.

b594a01df1d6.json
Fetching workflow JSON…

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.

常见问题

常见问题

查看所有工作流
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates