---
title: P-Image | Runware Docs
url: https://runware.ai/docs/models/prunaai-p-image
description: Real-time text-to-image model for production graphics
---
# P-Image

P-Image is a real-time text-to-image model from Pruna. It delivers sub-second image generation with strong text rendering and tight prompt adherence. It targets production workloads that need fast inference, predictable output control, and efficient scaling through simple API integration.

- **ID**: `prunaai:1@1`
- **Status**: live
- **Release Date**: December 2, 2025
- **Capabilities**: Text to Image

## Pricing

- **1024x1024**: `$0.0044`
- **1024x1024 + LoRA**: `$0.005`

## Compatibility & Validation

`width` and `height` must be used together.

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/prunaai-p-image#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/prunaai-p-image#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/prunaai-p-image#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/prunaai-p-image#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/prunaai-p-image#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/prunaai-p-image#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/prunaai-p-image#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/prunaai-p-image#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/prunaai-p-image#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/prunaai-p-image#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking. When enabled, defaults to `fast` mode.

#### [mode](https://runware.ai/docs/models/prunaai-p-image#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for image generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Performs a single check.

### [ttl](https://runware.ai/docs/models/prunaai-p-image#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/prunaai-p-image#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/prunaai-p-image#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `20`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/prunaai-p-image#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `prunaai:1@1`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [positivePrompt](https://runware.ai/docs/models/prunaai-p-image#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `1`
- **Max**: `2000`

Text prompt describing elements to include in the generated output.

**Learn more** (2 resources):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [width](https://runware.ai/docs/models/prunaai-p-image#request-width)

- **Type**: `integer`
- **Min**: `512`
- **Max**: `2048`
- **Step**: `16`

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

### [height](https://runware.ai/docs/models/prunaai-p-image#request-height)

- **Type**: `integer`
- **Min**: `512`
- **Max**: `2048`
- **Step**: `16`

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

## Response Parameters

### [taskType](https://runware.ai/docs/models/prunaai-p-image#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/prunaai-p-image#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/prunaai-p-image#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/prunaai-p-image#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/prunaai-p-image#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/prunaai-p-image#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [seed](https://runware.ai/docs/models/prunaai-p-image#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/prunaai-p-image#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/prunaai-p-image#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Clockwork Orchard Parade Float (Text to Image)

![Clockwork Orchard Parade Float](https://assets.runware.ai/examples/prunaai-p-image/4b6df22f-e9ae-475b-ae25-d2c44e1ccd55.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "2c03cd24-9fe2-4a99-9b82-899a7413f525",
  "model": "prunaai:1@1",
  "positivePrompt": "A grand floating parade wagon shaped like a sprawling orchard tree made of brass, copper, lacquered wood, and porcelain fruit, drifting above a cobblestone plaza in a hill town at sunrise. The canopy branches hold polished gear-driven pears, apples, and plums with tiny rotating leaves, silk pennants, carved songbirds, and hanging lantern globes. Below, musicians in embroidered coats ride the platform, surrounded by curling steam, confetti ribbons, flower petals, and mechanical bees. Children point upward from balconies and stone archways. Painted signboards on the float display crisp decorative text reading \"VERNAL ENGINE SOCIETY\" and a smaller plaque reading \"No. 7\". Highly detailed, whimsical engineering, warm golden light, atmospheric depth, cinematic composition, sharp focus, vibrant but refined color palette, imaginative festival-procession energy, premium illustration quality.",
  "width": 1024,
  "height": 1024
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "2c03cd24-9fe2-4a99-9b82-899a7413f525",
  "imageUUID": "a5f266ac-181d-416f-b45f-85edc8cde94b",
  "imageURL": "https://im.runware.ai/image/os/a10d08/ws/2/ii/a5f266ac-181d-416f-b45f-85edc8cde94b.jpg",
  "seed": 235485269,
  "cost": 0.0044
}
```

---

### Glasshouse Bakery on Jupiter (Text to Image)

![Glasshouse Bakery on Jupiter](https://assets.runware.ai/examples/prunaai-p-image/86e522a2-b772-4f70-9bdc-ee3df30af9ab.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "8288c2db-42cd-4021-9e8e-b901f8a36025",
  "model": "prunaai:1@1",
  "positivePrompt": "A whimsical glass-domed bakery floating above Jupiter's striped clouds, brass ovens glowing warmly, rows of pastries shaped like planets and comets, bakers in cream aprons working beside hanging herb baskets, a curved window revealing the giant planet below, elegant hand-lettered shop sign reading 'Cloud Crust Bakery', polished copper counters, flour dust in the air, richly detailed reflections in the glass, soft amber and coral color palette, imaginative yet believable design, ultra-clean composition, high detail, cinematic depth, sharp focus",
  "width": 1344,
  "height": 768
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "8288c2db-42cd-4021-9e8e-b901f8a36025",
  "imageUUID": "f8e68f87-dbe4-44db-9f74-1dd66cf8a711",
  "imageURL": "https://im.runware.ai/image/os/a14d18/ws/2/ii/f8e68f87-dbe4-44db-9f74-1dd66cf8a711.jpg",
  "seed": 1039618124,
  "cost": 0.0044
}
```

---

### Submerged Railway Dining Pavilion (Text to Image)

![Submerged Railway Dining Pavilion](https://assets.runware.ai/examples/prunaai-p-image/e3b4b8a7-478e-41c9-b92d-54f2ca332602.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "39e8dae4-aa52-4b5a-848e-e1f37ee041cd",
  "model": "prunaai:1@1",
  "positivePrompt": "A luxurious glass-walled dining pavilion built inside a decommissioned underwater rail tunnel, long curved ceiling with riveted steel arches, polished wood tables set for dinner, velvet chairs anchored to the floor, warm amber pendant lights reflecting across the glass, outside the transparent tunnel walls a vast blue-green ocean with drifting manta rays, schools of silver fish, and ancient submerged stone statues half-buried in seagrass, a vintage station clock above an elegant sign reading \"TIDE PLATFORM 3\" in crisp legible letters, waitstaff in formal attire, depth haze in the distance, intricate textures, dramatic perspective down the tunnel, cinematic realism, highly detailed, rich color contrast, sharp focus",
  "width": 1344,
  "height": 768
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "39e8dae4-aa52-4b5a-848e-e1f37ee041cd",
  "imageUUID": "f3665374-3288-4662-939f-0e2216c76ecb",
  "imageURL": "https://im.runware.ai/image/os/a04d20/ws/2/ii/f3665374-3288-4662-939f-0e2216c76ecb.jpg",
  "seed": 1448301743,
  "cost": 0.0044
}
```

---

### Hand-Painted Tram Stop Signage (Text to Image)

![Hand-Painted Tram Stop Signage](https://assets.runware.ai/examples/prunaai-p-image/49d05f79-df6e-4139-83e2-4ddc33248d8c.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "a32bdf0a-305a-4c85-96e6-085b0acaee52",
  "model": "prunaai:1@1",
  "positivePrompt": "A whimsical illustrated street corner in a hillside harbor town at blue hour, centered on a hand-painted tram stop kiosk with crisp readable signage that says 'PINE WHARF', a route board that reads 'Line 3', and a small enamel placard that reads 'Tickets Here'. Cobblestone pavement, hanging flower baskets, weathered plaster walls, striped awning, parked bicycle, narrow stairway between buildings, distant fishing boats, warm shop windows, textured gouache and ink style, charming travel-book illustration look, clean composition, high detail, expressive brushwork, soft atmospheric depth, inviting and polished.",
  "width": 1024,
  "height": 768
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "a32bdf0a-305a-4c85-96e6-085b0acaee52",
  "imageUUID": "8f9f85fa-aa3d-428d-8a53-f86d04b45a7d",
  "imageURL": "https://im.runware.ai/image/os/a15d18/ws/2/ii/8f9f85fa-aa3d-428d-8a53-f86d04b45a7d.jpg",
  "seed": 2046599584,
  "cost": 0.0044
}
```