---
title: "Ideogram V4 Text-to-Image API & Playground - Comfy"
description: "Ideogram V4 Text-to-Image: Generates an image up to 2K from text with best-in-class typography. Run it in your browser or call it via API."
canonical: https://comfy.org/hub/models/ideogram-v4-text-to-image/
lang: en
index: https://comfy.org/llms.txt
---

[Models](https://comfy.org/hub/models/)

Ideogram

[Generate images](https://comfy.org/hub/models/?useCase=generate-images)

# Ideogram V4 Text-to-Image

Generates an image up to 2K from text with best-in-class typography.

- Use via API
- [Open in Cloud](https://stagingcloud.comfy.org/)

Cost depends on your settings.

- [text-rendering](https://comfy.org/hub/models/?q=text-rendering)
- [photorealistic](https://comfy.org/hub/models/?q=photorealistic)
- [text-to-image](https://comfy.org/hub/models/?q=text-to-image)

## Playground

Input

Structured prompt

JSON layout and style instructions, sent as structured data.

Resolution

Choose output dimensions, or leave empty for automatic framing.

Advanced settings

Rendering speed

Balance rendering speed and image quality.

Output

![Ideogram V4 Text-to-Image: Text to Image (API)](https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@main/output/api_ideogram_v4_t2i.png)

Example

## Try an example

-

## Call this model from your code

Sends your Playground inputs to Comfy Router.

[API docs (opens in a new tab)](https://docs.comfy.org/development/comfy-router/models#ideogram)

1. ### Get an API key

  Needs a paid Cloud plan with credits.

  [Get an API key (opens in a new tab)](https://platform.comfy.org/profile/api-keys?onboarding=models&model=ideogram--v4--generate-images)
2. ### Install the SDK

  Python 3.10+. Also on npm as @comfyorg/sdk.

  pip install comfy-sdk==0.2.0
3. ### Run it

  Calls Comfy Router at this endpoint with your COMFY_API_KEY.

  POST /v2/models/ideogram/ideogram-v4

Fill in the Playground inputs to generate a request.

## More from Ideogram

Compare Ideogram's other models. Price is the default setting; resolution and duration show the full range each model offers.

| Model | Price | Resolution | Duration |
| --- | --- | --- | --- |
| [Ideogram V3 Text-to-Image](https://comfy.org/hub/models/ideogram-v3-text-to-image/) | — | — | — |
