Capybara: Text to Image

This ComfyUI workflow, titled 'Capybara: Text to Image', leverages the Capybara unified model to transform text prompts into vivid images. At its core, the workflow utilizes a series of nodes, including the SaveImage node and a unique identifier node (4f4ddf39-1508-4d34-a35c-ff10e6ce995b), to process and output the generated images. The Capybara model is renowned for its ability to synthesize high-quality images from textual descriptions, making it an invaluable tool for artists, designers, and content creators seeking to visualize concepts quickly.

Technically, the workflow is designed to handle various aspect ratios and resolutions, from 480p at a 16:9 ratio to a square 1:1 format. This flexibility is achieved through careful configuration of the model parameters, such as steps and CFG (Classifier-Free Guidance), which are set to default values of 20 and 6.0, respectively, in ComfyUI. However, for enhanced image quality, users are encouraged to increase the steps to 50. The integration of MarkdownNote allows users to document their creative process within the workflow, further enhancing its utility for iterative design and experimentation.

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.

GET https://comfy.org/workflows/download/414a6f8e0c33.json
Fetching workflow JSON…

Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

# Install (beta)
pip install comfy-sdk        # Python
npm i @comfyorg/sdk          # TypeScript

# Run "Capybara: Text to Image" (Python)
from comfy_sdk import Comfy

client = Comfy(api_key="comfyui-...")

# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("Image_capybara_v0_1_text_to_image_api.json")

job = client.run(wf)
for output in job.get_outputs("102"):  # SaveImage
    output.to_file(output.name)

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key

FAQ

Frequently Asked Questions

View all workflows
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates