This ComfyUI template demonstrates a high‑fidelity image editing pipeline that preserves the original subject, pose, lighting, and composition while making targeted changes. It’s built around a simple, reliable graph: LoadImage feeds a reference image into OpenAIGPTImageNodeV2 for natural‑language edits, and SaveImageAdvanced handles consistent output naming and metadata. The included sample asset (hairstyle_makeup_base_gpt_image25.png) lets you test the flow immediately.

Technically, OpenAIGPTImageNodeV2 calls an OpenAI GPT image model in image‑edit mode, using the source pixels as strong conditioning so that only requested elements (e.g., outfit, hairstyle, facial features, or camera angle) change. You guide the edit by writing a precise prompt that also states what must stay the same (for example: “Keep the same pose, lighting, background, and composition; only change the hairstyle to a short bob”). This makes the workflow excellent for sequential frames and subject‑consistent variations. SaveImageAdvanced then writes the results with versioned filenames so iterations are easy to track.

API

Bu iş akışını koddan kullan

Her Comfy iş akışı bir JSON grafiğidir. Aşağıdaki veri, bu iş akışının tam olarak ComfyUI'da çalıştırıldığı halidir — URL'den alın, sürüm kontrolünde saklayın veya ComfyUI'da yükleyip düğüm düğüm çalıştırın.

f423e4de5251.json
İş akışı JSON'u alınıyor…

Comfy SDK ile TypeScript veya Python'dan çalıştırın. Aynı kod Comfy Cloud veya kendi barındırdığınız bir ComfyUI'ı hedefler — sadece temel URL değişir.

// 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");

SDK, API formatında bir iş akışı alır: bu iş akışını ComfyUI'da açın ve Dosya → İş Akışını Dışa Aktar (API) seçeneğini kullanın.

Comfy Cloud API erişimi, API anahtarı içeren bir plan gerektirir.

Tüm iş akışlarını gör
Showing 30 of 30 templates