Skip to content
Developer Portal

P-Image-Ideogram

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

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:

thinkingimage_size 1Kimage_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
Terminal window
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.

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

Terminal window
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"
}
}'
ParameterTypeDescription
promptstringShort text prompt describing the image to generate.
ParameterTypeDefaultDescription
thinkingstring"high"Reasoning effort: "very low", "low", "medium", "high", or "very 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.