---
title: "p-image-ideogram"
url: "https://docs.api.pruna.ai/apis/models-api-0/versions/783e153b-8e8d-4c8d-a80b-b80ec976bc53/schemas/p-image-ideogram"
---

> Full API specification: https://docs.api.pruna.ai/apis/models-api-0/versions/783e153b-8e8d-4c8d-a80b-b80ec976bc53.md

# p-image-ideogram

High-quality text-to-image generation with configurable reasoning effort and output resolution. Rate limit: 500 requests per minute.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: P-API
  version: 0.6.0
servers:
  - url: https://api.pruna.ai
    description: Production server
components:
  schemas:
    p-image-ideogram:
      type: object
      required:
        - input
      properties:
        input:
          type: object
          properties:
            seed:
              title: Seed
              description: Random seed.
              type: integer
            width:
              title: Width
              default: 1024
              maximum: 2560
              minimum: 0
              description: Width when aspect_ratio=custom (rounded to nearest multiple of 16).
              type: integer
            height:
              title: Height
              default: 1024
              maximum: 2560
              minimum: 0
              description: Height when aspect_ratio=custom (rounded to nearest multiple of
                16).
              type: integer
            prompt:
              title: Prompt
              description: Short text prompt for image generation.
              type: string
            thinking:
              enum:
                - very low
                - low
                - medium
                - high
              title: Thinking
              description: Controls the model's reasoning effort. Higher values prioritize
                image quality over generation speed.
              default: medium
              type: string
            image_size:
              enum:
                - 1K
                - 2K
              title: Image Size
              description: Output resolution budget (ignored when aspect_ratio=custom).
              default: 2K
              type: string
            aspect_ratio:
              enum:
                - 1:1
                - 16:9
                - 9:16
                - 4:3
                - 3:4
                - 3:2
                - 2:3
                - custom
              title: aspect_ratio
              description: Aspect ratio for generation. Use 'custom' to set width/height
                directly.
              default: 1:1
              type: string
            output_format:
              enum:
                - png
                - jpg
                - webp
              title: output_format
              description: Output image format.
              default: jpg
              type: string
            output_quality:
              title: Output Quality
              default: 80
              maximum: 100
              minimum: 0
              description: Output quality (0-100; ignored for png).
              type: integer
            prompt_upsampling:
              title: Prompt Upsampling
              default: true
              description: Enable prompt enhancement before image generation. Set to false to
                pass the raw prompt directly to the image model.
              type: boolean
          required:
            - prompt
          additionalProperties: false
      description: "High-quality text-to-image generation with configurable reasoning
        effort and output resolution. Rate limit: 500 requests per minute."
```
