- Ana Sayfa
- İş Akışları
- SD3.5 Büyük Canny ControlNet
Bu ComfyUI iş akışı, Stability AI’nin SD 3.5 Large modelini ve bir Canny ControlNet’yi kullanarak, giriş görselinin kenar yapısına sadık yeni görseller üretir. Akış, SD 3.5 kontrol noktası (CheckpointLoaderSimple) ve Canny ControlNet (ControlNetLoader) yükler, metin isteminizi kodlar (CLIPTextEncode) ve rehber görselinizden yüksek kontrastlı bir kenar haritası çıkarır (Canny). Kenar haritası, ControlNetApplyAdvanced ile yapısal bir kısıtlama olarak uygulanır; böylece KSampler, ana hatlara sadık kalarak yeni içerik üretir ve isteminizi takip eder.
Teknik olarak, iş akışı hedef çözünürlükte bir latent tuval oluşturur (EmptySD3LatentImage), modeli pozitif isteminiz ve ControlNet kenar rehberliğiyle koşullandırır, negatif istemi ise basitlik için isteğe bağlı olarak sıfırlar (ConditioningZeroOut). Örnekleme (KSampler) sonrası sonuç RGB’ye çözülür (VAEDecode), önizlenir (PreviewImage) ve kaydedilir (SaveImage). ImageScale, Canny kenar haritasını çıktı boyutuna göre hizalamak için kullanılır. Bu yapı, siluetlere veya ürün hatlarına sadık kalmak gibi güçlü kompozisyon kontrolü istediğinizde idealdir; detay, doku ve stili ise SD 3.5 üstlenir.
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 "SD3.5 Büyük Canny ControlNet" (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("sd3.5_large_canny_controlnet_example_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("45", "image", asset); // LoadImage
wf.setInput("6", "text", "crystal pink dragon on a blue mystery sky, hyperdetailed"); // CLIPTextEncode
const job = await client.run(wf);
await job.getOutputs("9")[0].toFile("output.png"); // SaveImageThe 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.
SSS
















