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
| Parameter | Type | Description |
|---|---|---|
| prompt | string | Short text prompt describing the image to generate. |
Optional Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| thinking | string | "high" | Reasoning effort: "very low", "low", "medium", or "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. |