Stability AI: SD3.5 Image to Image - After
Stability AI: SD3.5 Image to Image - Before

This ComfyUI workflow utilizes the Stability AI's Stable Diffusion 3.5 model to generate high-quality images with remarkable prompt adherence. The workflow is designed for professional-grade image generation at a resolution of 1 megapixel, making it ideal for applications requiring detailed visual content. At its core, the workflow employs several key nodes: the StabilityStableImageSD_3_5Node for image generation, the PrimitiveStringMultiline for handling detailed prompts, the SaveImage node for storing the output, and the LoadImage node for inputting existing images. Additionally, the MarkdownNote node is used to provide helpful annotations and guidance throughout the workflow.

Technically, the workflow leverages the advanced capabilities of the Stable Diffusion 3.5 model, which is known for its ability to interpret complex prompts and produce images that closely match the user's description. By adjusting parameters such as the prompt and model version, users can fine-tune the output to meet specific requirements. The aspect ratio setting allows for customization of the image dimensions, ensuring the generated content fits the intended use case. This workflow is particularly useful for users who need high-fidelity images for creative projects, marketing materials, or any other professional applications where visual quality is paramount.

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.

api_stability_ai_sd3.5_i2i.json
Fetching workflow JSON…

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

Frequently Asked Questions

View all workflows
Showing 30 of 30 templates