Ovis-Image Text to Image

This workflow is a focused text-to-image generator built around the Ovis-Image 7B model, which is optimized to render readable, well-placed text directly inside generated images. The core generation logic is encapsulated in a Subgraph node (5a9f8bf0-ed77-40e3-aca8-c7c1a0bf54e1), keeping the graph clean while exposing the controls you need for prompting and iteration. A MarkdownNote node provides in-graph guidance, and a SaveImage node writes results to your ComfyUI output folder.

Technically, the Subgraph packages the Ovis-Image model loading and inference steps so you can supply a prompt with your desired text and styling descriptors, choose a canvas size, and control reproducibility with a seed. Depending on how the template exposes parameters, you can adjust common settings such as steps or guidance strength inside the Subgraph. Ovis-Image is tuned for high-quality text rendering, so short phrases, clear punctuation, and style hints (e.g., "bold serif title on a chalkboard", "neon script sign") translate well into legible, photorealistic, or stylized results. The SaveImage node captures each run so you can compare variants and iterate quickly.

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.

image_ovis_text_to_image.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 "Ovis-Image Text to Image" (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("image_ovis_text_to_image_api.json");

const job = await client.run(wf);
await job.getOutputs("9")[0].toFile("output.png"); // SaveImage

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