You're looking at a specific version of this model. Jump to the model overview.
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 |
|---|---|---|---|
| image |
string
|
Image file uploaded to Cog (jpeg, png, gif, or webp).
|
|
| prompt |
string
|
Enhance image quality, sharpen fine textures, restore natural colors and contrast
|
Prompt hint: `Enhance image quality, sharpen fine textures, restore natural colors` and add a quick scene description so the LoRA knows what details to recover.
|
| aspect_ratio |
None
|
match_input_image
|
Aspect ratio for the generated image
|
| go_fast |
boolean
|
If num_inference_steps is omitted, true runs the 8-step Lightning preset and false runs the 40-step detailed preset.
|
|
| num_inference_steps |
integer
|
Min: 1 Max: 40 |
Explicit denoising step count (1-40). Leave blank to use the go_fast presets (fast = 8 steps, slow = 40 steps).
|
| lora_weights |
string
|
|
LoRA weights to apply. Leave blank to use the proxy's default adapter.
|
| lora_scale |
number
|
Max: 4 |
Strength applied to the selected LoRA. Leave blank for the proxy default.
|
| true_guidance_scale |
number
|
1
Max: 10 |
True classifier-free guidance scale passed to the pipeline.
|
| seed |
integer
|
Random seed. Set for reproducible generation.
|
|
| output_format |
None
|
webp
|
Format of the output images.
|
| output_quality |
integer
|
95
Max: 100 |
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs.
|
| 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
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}