--- title: Pruna AI | Scenario Docs --- > This page is auto-generated from model configurations. Last updated: 2026-04-09. This reference lists all available **Pruna AI** image generation models and their parameters. Use these parameter names when calling the [Generation API](/api/postgeneratecustom/index.md). - [P-Image](#p-image) - [P-Image Edit](#p-image-edit) --- ## P-Image **Model ID:** `model_p-image` **Capabilities:** `txt2img` **LLM Markdown:** | Parameter | Type | Required | Default | Min | Max | Allowed Values | Description | | --------- | ------ | -------- | ------- | --- | ---- | -------------- | ------------------------------------------------------------------------------------------------- | | `prompt` | string | Yes | - | - | - | - | Text prompt for image generation. | | `width` | number | No | `1216` | 256 | 1440 | - | Width of the generated image. Only used when Aspect Ratio is ‘custom’. Must be a multiple of 16. | | `height` | number | No | `832` | 256 | 1440 | - | Height of the generated image. Only used when Aspect Ratio is ‘custom’. Must be a multiple of 16. | | `seed` | number | No | - | - | - | - | Random seed. Set for reproducible generation. | ## P-Image Edit A sub 1 second cheap multi-image editing model built for production use cases. **Model ID:** `model_p-image-editing` **Capabilities:** `img2img` **LLM Markdown:** | Parameter | Type | Required | Default | Min | Max | Allowed Values | Description | | ----------------- | ----------- | -------- | ------------------- | --- | --- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | | `referenceImages` | file\_array | Yes | - | - | - | - | Images to use as a reference. For editing task, provide the main image as the first image. | | `prompt` | string | Yes | - | - | - | - | Text prompt for image generation. Make sure to describe your edit task clearly. You can refer to the images as ‘image 1’ and ‘image 2’ and so on. | | `turbo` | boolean | No | `true` | - | - | - | If turned on, the model will run faster with additional optimizations. For complicated tasks, it is recommended to turn this off. | | `aspectRatio` | string | No | `match_input_image` | - | - | `16:9`, `3:2`, `4:3`, `1:1`, `3:4`, `2:3`, `9:16`, `match_input_image` | Aspect ratio for the generated image. `match_input_image` will match the aspect ratio of the first image. | | `seed` | number | No | - | - | - | - | Random seed. Set for reproducible generation. |