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

prunaai /p-image-lora:92b5ff09

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.
aspect_ratio
None
16:9
Aspect ratio for the generated image.
width
integer

Min: 256

Max: 1440

Width of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16.
height
integer

Min: 256

Max: 1440

Height of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16.
prompt_upsampling
boolean
False
upsample the prompt with an llm
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'}