- Ana Sayfa
- İş Akışları
- Recraft 4.1 flash: Text to Image

This minimal, fast text-to-image workflow uses the RecraftV4TextToImageNode to call the Recraft V4.1 Flash model and return a single image from your prompt. It’s designed for speed and low cost, making it ideal for rapid iteration, high-volume generation, photography/portrait drafts, atmospheric scene ideation, and quick logo concept exploration. There are no file inputs—just write a prompt, run the node, and get one image back.
Technically, the RecraftV4TextToImageNode serializes your prompt and sends it to the Recraft API for inference with the V4.1 Flash backend, then outputs a ComfyUI image tensor. That tensor flows directly into SaveImage, which writes the result to your ComfyUI/output directory using the filename prefix and format set in the node. Depending on the node’s implementation, you may also have common controls (such as image size and seed). Because the workflow produces exactly one image per execution, it’s straightforward to queue many runs for A/B testing or bulk prompt variations.
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.
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.


















