---
title: "P-Image-Ideogram"
description: "High-quality text-to-image generation with configurable reasoning"
url: "https://docs.api.pruna.ai/guides/models/p-image-ideogram"
image: "https://docs.api.pruna.ai/_og/d/c_Ocean.takumi,title_P-Image-Ideogram,description_High-quality+text-to-image+generation+with+configurable+reasoning,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiM3YzNhZWQifX19,p_Ii9ndWlkZXMvbW9kZWxzL3AtaW1hZ2UtaWRlb2dyYW0i,s_5i-FSJOQ0ofg6oT4.png"
---

# P-Image-Ideogram

High-quality text-to-image generation with strong typography and prompt understanding

## [Overview](#overview)

P-Image-Ideogram generates high-quality images from text prompts, including layouts with rendered text. Choose a thinking level to balance generation speed and quality, and generate at either 1K or 2K.

**Rate Limit:** 500 requests per minute

**Category:** Text-to-Image Generation

**Pricing:**

| thinking  | image_size 1K   | image_size 2K  |
| :-------- | :-------------- | :------------- |
| very low  | $0.003 / image  | $0.006 / image |
| low       | $0.0075 / image | $0.015 / image |
| medium    | $0.01 / image   | $0.02 / image  |
| high      | $0.015 / image  | $0.03 / image  |
| very high | $0.033 / image  | $0.066 / image |

## [Quickstart](#quickstart)

### [Asynchronous Request (Default)](#asynchronous-request-default)

```bash
curl -X POST 'https://api.pruna.ai/v1/predictions' \
  -H 'Content-Type: application/json' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Model: p-image-ideogram' \
  -d '{
    "input": {
      "prompt": "A typographic travel poster for the French Riviera",
      "thinking": "medium",
      "image_size": "2K",
      "aspect_ratio": "16:9"
    }
  }'
```

The response includes a prediction ID and `get_url` for checking status.

### [Synchronous Request (Try-Sync)](#synchronous-request-try-sync)

Add the `Try-Sync: true` header to wait up to 60 seconds for the result:

```bash
curl -X POST 'https://api.pruna.ai/v1/predictions' \
  -H 'Content-Type: application/json' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Model: p-image-ideogram' \
  -H 'Try-Sync: true' \
  -d '{
    "input": {
      "prompt": "A typographic travel poster for the French Riviera",
      "thinking": "high",
      "image_size": "2K"
    }
  }'
```

## [Parameters](#parameters)

### [Required Parameters](#required-parameters)

| Parameter | Type   | Description                                         |
| :-------- | :----- | :-------------------------------------------------- |
| prompt    | string | Short text prompt describing the image to generate. |

### [Optional Parameters](#optional-parameters)

| Parameter         | Type    | Default | Description                                                            |
| :---------------- | :------ | :------ | :--------------------------------------------------------------------- |
| thinking          | string  | "high"  | Reasoning effort: "very low", "low", "medium", "high", or "very high". |
| image_size        | string  | "1K"    | Output resolution budget: "1K" or "2K". Ignored for custom dimensions. |
| prompt_upsampling | boolean | true    | Enhance the prompt before generation.                                  |
| aspect_ratio      | string  | "1:1"   | One of "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", or "custom". |
| width             | integer | 1024    | Width for a custom aspect ratio, up to 2560 pixels.                    |
| height            | integer | 1024    | Height for a custom aspect ratio, up to 2560 pixels.                   |
| seed              | integer | random  | Random seed for reproducible generation.                               |
| output_format     | string  | "jpg"   | Output format: "png", "jpg", or "webp".                                |
| output_quality    | integer | 80      | Output quality from 0 to 100; ignored for PNG.                         |