The 'Seedream 5.0 Lite: Image Edit' workflow is designed to provide an intuitive and efficient way to modify existing images using text prompts. This workflow leverages the Seedream 5.0 Lite model, known for its capability to interpret and apply detailed textual instructions to images. At its core, the workflow employs the ByteDanceSeedreamNode, which processes the image and text prompt to generate a modified version that aligns with the user's specifications. The integration of the LoadImage and SaveImage nodes ensures seamless handling of image files, while the BatchImagesNode allows for processing multiple images simultaneously, enhancing productivity and efficiency.
This workflow is particularly useful for users looking to make precise edits to images without extensive manual intervention. By simply uploading an image and providing a descriptive text prompt, users can achieve results that reflect their creative vision. The Seedream 5.0 Lite model's ability to understand and apply complex instructions makes this workflow a powerful tool for both professional and amateur image editors. Whether you're looking to adjust colors, add new elements, or change the mood of an image, this workflow offers a streamlined and effective solution.
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 "Seedream 5.0 Lite: Image Edit" (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("api_bytedance_seedream_5_0_lite_image_edit_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("29", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("34")[0].toFile("output.png"); // SaveImageAdvancedThe 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















