You're looking at a specific version of this model. Jump to the model overview.
prunaai /p-image-edit:2261e95d
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
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.
|
|
| images |
array
|
[]
|
Images to use as a reference. For editing task, provide the main image as the first image.
|
| task |
None
|
default
|
Task to perform with P-Edit.
|
| aspect_ratio |
None
|
match_input_image
|
Aspect ratio for the generated image. `match_input_image` will match the aspect ratio of the first image.
|
| go_fast |
boolean
|
False
|
Run faster predictions with additional optimizations.
|
| seed |
integer
|
Random seed. Set for reproducible generation.
|
|
| disable_safety_checker |
boolean
|
False
|
Disable safety checker for generated images.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}