P-Image-Ideogram

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

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

Price: Coming soon

Quickstart

Asynchronous Request (Default)

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)

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

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

Required Parameters

ParameterTypeDescription
promptstringShort text prompt describing the image to generate.

Optional Parameters

ParameterTypeDefaultDescription
thinkingstring"high"Reasoning effort: "very low", "low", "medium", or "high".
image_sizestring"1K"Output resolution budget: "1K" or "2K". Ignored for custom dimensions.
prompt_upsamplingbooleantrueEnhance the prompt before generation.
aspect_ratiostring"1:1"One of "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", or "custom".
widthinteger1024Width for a custom aspect ratio, up to 2560 pixels.
heightinteger1024Height for a custom aspect ratio, up to 2560 pixels.
seedintegerrandomRandom seed for reproducible generation.
output_formatstring"jpg"Output format: "png", "jpg", or "webp".
output_qualityinteger80Output quality from 0 to 100; ignored for PNG.