You're looking at a specific version of this model. Jump to the model overview.

prunaai /p-image-edit-lora:191152bf

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.
turbo
boolean
True
If turned on, the model will run faster with additional optimizations. For complicated tasks, it is recommended to turn this off.
aspect_ratio
None
match_input_image
Aspect ratio for the generated image. `match_input_image` will match the aspect ratio of the first image.
seed
integer
Random seed. Set for reproducible generation.
disable_safety_checker
boolean
False
Disable safety checker for generated images.
lora_weights
string
Load LoRA weights. Supports HuggingFace URLs in the format huggingface.co/<owner>/<model-name>[/<lora-weights-file.safetensors>]. HuggingFace LoRAs may require an API token to access, which you can provide in the `hf_api_token` input.
lora_scale
number
1

Min: -1

Max: 3

Determines how strongly the main LoRA should be applied.
hf_api_token
string
HuggingFace API token. If you're using a HuggingFace LoRAs that needs authentication, you'll need to provide an API token.

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'}