Seedream 5.0 Pro:画像編集は、元のライティング・深度・質感を保ちながら、指定した部分だけを変更できる高精度な画像to画像・インペインティングワークフローです。LoadImageで元画像を読み込み、必要に応じてPainterで編集領域のマスクを作成。中心となるByteDanceSeedreamNodeV2が、入力画像(とマスク)を条件にプロンプトで指定した変更を構造を壊さず適用します。最後にSaveImageAdvancedで出力ファイル名やフォルダを細かく指定して保存できます。
Painterのマスクは編集範囲を限定し、入力画像の条件付けでSeedreamがシーンの形状やマテリアルを維持します。出力は2種類: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.
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
















