Stability AI: SD3.5 Text to Image

This ComfyUI workflow leverages the Stability AI SD3.5 model to generate high-quality images from text prompts. Utilizing the StabilityStableImageSD_3_5Node, this workflow ensures excellent adherence to the input prompts, making it ideal for professional-grade image generation tasks. The workflow operates at a 1-megapixel resolution, striking a balance between detail and processing efficiency. Key nodes include the SaveImage and LoadImage nodes for managing image files and the PrimitiveStringMultiline node for handling complex text inputs. A MarkdownNote node is also included to provide in-workflow documentation and guidance. This setup is particularly useful for users who need consistent and reliable text-to-image conversion for applications such as content creation, advertising, or digital art.

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_t2i.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