---
title: P-Image-Edit | Runware Docs
url: https://runware.ai/docs/models/prunaai-p-image-edit
description: High precision multi image AI editor for fast workflows
---
# P-Image-Edit

![P-Image-Edit](https://assets.runware.ai/covers/prunaai-p-image-edit.jpg)

P-Image-Edit is a real-time image editing model from Pruna AI. It supports multi image refinement, layout control, and style safe transformations while following prompts with high accuracy. Ideal for production pipelines that need consistent edits and tight latency budgets.

- **Status**: live
- **ID**: `prunaai:2@1`
- Try in Playground
- **Creator**: Pruna AI
- **Release Date**: November 10, 2025
- **Capabilities**: Image to Image, Edit, Checkpoint

## Pricing

$0.0088 from, per run · ~7s per request

**Rates** (per run)

- 1K: `$0.0088`
- 1K + LoRA: `$0.01`

**4 example generations**

- [reference-to-image](https://runware.ai/docs/models/prunaai-p-image-edit/examples#example-space-capsule-catalog-image-cleanup): `$0.0088` (~7s)
- [reference-to-image](https://runware.ai/docs/models/prunaai-p-image-edit/examples#example-arborist-safetywear-virtual-try-on): `$0.0088` (~7s)
- [reference-to-image](https://runware.ai/docs/models/prunaai-p-image-edit/examples#example-dinosaur-exhibition-photo-cleanup): `$0.0088` (~7s)
- [reference-to-image](https://runware.ai/docs/models/prunaai-p-image-edit/examples#example-airport-falconry-campaign-photograph): `$0.0088` (~5s)

times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Compatibility & Validation

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

---

The following dimension combinations are supported:

| Configuration | Dimensions |
| --- | --- |
| `1K (1:1)` | `1024x1024` |
| `1K (4:3)` | `1184x896` |
| `1K (3:4)` | `896x1184` |
| `1K (16:9)` | `1376x768` |
| `1K (9:16)` | `768x1376` |
| `1K (3:2)` | `1248x832` |
| `1K (2:3)` | `832x1248` |

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/prunaai-p-image-edit#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-edit#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-edit#request-outputtype)

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

Image output type.

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

### [outputFormat](https://runware.ai/docs/models/prunaai-p-image-edit#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-edit#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-edit#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses 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/models-api/webhooks) (platform)

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

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

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

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

### [uploadEndpoint](https://runware.ai/docs/models/prunaai-p-image-edit#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-edit#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (1 property)`

Content safety checking configuration for image generation.

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

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

Enable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.

### [ttl](https://runware.ai/docs/models/prunaai-p-image-edit#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-edit#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/prunaai-p-image-edit#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.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [referenceImages](https://runware.ai/docs/models/prunaai-p-image-edit#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`
- **Required**: true
- **Min items**: `1`
- **Max items**: `4`

List of reference images (UUID, URL, Data URI, or Base64).

**Core Parameters**

Primary parameters that define the task output.

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

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

Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

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

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

Text prompt describing elements to include in the generated output.

**Learn more** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

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

- **Type**: `integer`
- **Paired with**: height

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

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

- **Type**: `integer`
- **Paired with**: width

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

**Features**

Standalone addons and post-processing features.

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

- **Path**: `advancedFeatures.watermark`
- **Type**: `object (6 properties)`

Configuration object for adding watermarks to generated videos. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either `text` or `image` content for the watermark, but not both.

**Text watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "© 2025 Company",
    "displayPosition": "bottom-right",
    "opacity": 0.6,
    "fontColor": "#ffffff",
    "bgColor": "#000000"
  }
}
```

**Image watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "image": "c64351d5-4c59-42f7-95e1-eace013eddab",
    "displayPosition": "top-left",
    "opacity": 0.6
  }
}
```

**Tiled watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "PREVIEW",
    "tiled": true,
    "opacity": 0.4,
    "fontColor": "#cccccc"
  }
}
```

#### [text](https://runware.ai/docs/models/prunaai-p-image-edit#request-advancedfeatures-watermark-text)

- **Path**: `advancedFeatures.watermark.text`
- **Type**: `string`
- **Min**: `2`
- **Max**: `32`

Watermark text.

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

- **Path**: `advancedFeatures.watermark.image`
- **Type**: `string`

Watermark image (UUID, URL, Data URI, or Base64).

#### [displayPosition](https://runware.ai/docs/models/prunaai-p-image-edit#request-advancedfeatures-watermark-displayposition)

- **Path**: `advancedFeatures.watermark.displayPosition`
- **Type**: `string`

Watermark position.

**Allowed values**: `top-left` `top-center` `top-right` `center-left` `center-center` `center-right` `bottom-left` `bottom-center` `bottom-right` `tiled`

#### [opacity](https://runware.ai/docs/models/prunaai-p-image-edit#request-advancedfeatures-watermark-opacity)

- **Path**: `advancedFeatures.watermark.opacity`
- **Type**: `float`
- **Min**: `0.1`
- **Max**: `1`
- **Step**: `0.01`

Watermark opacity.

#### [fontColor](https://runware.ai/docs/models/prunaai-p-image-edit#request-advancedfeatures-watermark-fontcolor)

- **Path**: `advancedFeatures.watermark.fontColor`
- **Type**: `string`

Text color in hex format.

#### [bgColor](https://runware.ai/docs/models/prunaai-p-image-edit#request-advancedfeatures-watermark-bgcolor)

- **Path**: `advancedFeatures.watermark.bgColor`
- **Type**: `string`

Background color in hex format.

**Provider Settings**

Parameters specific to this model provider. These must be nested inside the \`providerSettings.prunaai\` object.

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

- **Path**: `providerSettings.prunaai.turbo`
- **Type**: `boolean`

Enable turbo mode for faster generation. May reduce subtle details in complex tasks.

## Response Parameters

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

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

Identifier for the type of task this response belongs to.

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

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

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

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

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

UUID of the output image.

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

- **Type**: `string`
- **Format**: `uri`

URL of the output image.

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

- **Type**: `string`

Base64-encoded image data.

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

- **Type**: `string`
- **Format**: `uri`

Data URI of the output image.

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

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

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

- **Type**: `float`

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

## Examples

### reference-to-image (reference-to-image)

![Space Capsule Catalog Image Cleanup](https://assets.runware.ai/examples/prunaai-p-image-edit/3ccb8b74-8280-4539-b047-e0564e8a5098.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "dc4fc348-1f7c-4017-9215-e1f1aab88c7e",
  "model": "prunaai:2@1",
  "positivePrompt": "Create a finished, publication-ready museum catalog photograph from the reference image. Remove every conservator, the aluminum scaffolding, rolling tool cart, work lights, power cables, caution cones, loose equipment, and translucent plastic sheeting. Use seamless generative fill to reconstruct all obscured portions of the capsule, its low display plinth, the polished concrete floor, and the neutral conservation-bay wall behind it. Preserve the historic space capsule exactly: same identity, conical geometry, panel seams, circular hatch, antennas, weathered metal, atmospheric scorch patterns, patina, small authentic markings, orientation, scale, and centered three-quarter pose. Preserve the original square crop, camera position, perspective, museum architecture, and cool overhead lighting. The cleared space must look physically coherent and naturally photographed, with accurate contact shadows and subtle reflections. Do not redesign, restore, polish, recolor, relocate, or beautify the capsule. Do not add people, barriers, signage, display graphics, text, or new objects.",
  "width": 1024,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/162867b7-8885-441a-89d5-a4779bbd88ff.jpg"
    ]
  }
}
```

---

### reference-to-image (reference-to-image)

![Arborist Safetywear Virtual Try-On](https://assets.runware.ai/examples/prunaai-p-image-edit/8f623827-5eab-4da3-a538-15d9c7b04d0d.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "a2044c1b-fe72-4a76-9a27-65383fbd31e3",
  "model": "prunaai:2@1",
  "positivePrompt": "Create a premium virtual try-on image for a specialist arborist safetywear collection. Preserve the reference subject’s exact face, freckles, auburn braid, age, physique, expression, hands, stance, rope placement, brown boots, camera angle, and full-body square composition. Replace only her charcoal shirt and black trousers with a fitted forest-green weatherproof arborist jacket featuring a high-visibility burnt-orange shoulder yoke, articulated sleeves, reinforced forearms, and practical zip pockets; add matching burnt-orange Type C chainsaw-protection trousers with black reinforced knees and a professional climbing harness around her waist and thighs. Show believable garment construction, protective padding, seams, buckles, hardware loops, natural fabric tension, and realistic fit without changing her body. Replace the studio backdrop with a misty managed eucalyptus grove just after rain, damp leaf litter underfoot and softly blurred silver trunks behind her. Cool blue-gray dawn atmosphere with a restrained warm rim light, safety orange as the dominant accent. Polished outdoor workwear campaign photography, crisp subject detail, realistic skin and textiles, confident understated mood, no lettering, no logos.",
  "width": 1024,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/5854684c-ac30-497f-81d1-7fa97edcb811.jpg"
    ]
  }
}
```

---

### reference-to-image (reference-to-image)

![Dinosaur Exhibition Photo Cleanup](https://assets.runware.ai/examples/prunaai-p-image-edit/25c4d8a2-8cd5-4fdd-9111-4c1ad7ba37a3.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "4306f807-a837-47fe-a01c-edb836fc3aed",
  "model": "prunaai:2@1",
  "positivePrompt": "Transform the supplied installation photograph into a finished museum publicity image. Remove all conservators, the blue scissor lift, ladders, safety cones, hanging cables, padded braces, tool cases, protective materials, and every other temporary installation object. Generatively reconstruct the areas they conceal: anatomically plausible bones continuing the existing Tyrannosaurus rex skeleton, uninterrupted charcoal plinth, clean dark terrazzo flooring, and matching warm ochre gallery walls. Preserve the dinosaur skeleton's exact identity, skull shape, proportions, mid-stride pose, orientation, and placement. Keep the full skeleton visible in the same side-profile composition and retain the original vaulted architecture, camera viewpoint, perspective, warm museum lighting, shadows, and natural photographic texture. The cleaned gallery should look open to the public, immaculate and credible, with no people, no barriers, no signage, and no evidence of retouching.",
  "width": 1024,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/008863fb-2342-4f54-aa9d-ff2e4519a5ee.jpg"
    ]
  }
}
```

---

### reference-to-image (reference-to-image)

![Airport Falconry Campaign Photograph](https://assets.runware.ai/examples/prunaai-p-image-edit/33d0e69b-f44b-4ab2-86d0-f1a27a178f48.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "1ab2a429-f143-4675-a00d-d0c3ca789cc6",
  "model": "prunaai:2@1",
  "positivePrompt": "Replace the plain studio background with a photorealistic regional airport airfield at cool early dawn. Keep the exact Harris's hawk from the reference completely unchanged: preserve its identity, pose, proportions, gaze direction, individual feather markings, folded wings, sharp talons, leather anklets, jesses, gauntlet, handler's forearm, and the original square composition. Behind the bird, show a broad concrete apron, subtle runway markings, low blue taxiway lights, distant amber approach lights, a softly defocused utility hangar, and one small parked turboprop far in the background. Use restrained aviation-campaign art direction with slate blue, pale cyan, concrete gray, and sparse safety amber. Match the subject to crisp dawn side light, add believable cool ambient reflections and a soft contact shadow without altering feather color or anatomy. Shallow depth of field keeps the hawk dominant while the airport remains clearly recognizable. Clean premium documentary photography for an aviation wildlife-management brochure, no text, no logos, no borders.",
  "width": 1024,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/7549b030-fb86-4357-b452-d42510532140.jpg"
    ]
  }
}
```