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

batouresearch /magic-image-refiner:507ddf6f

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
Prompt for the model
image
string
Image to refine
mask
string
When provided, refines some section of the image. Must be the same size as the image
resolution
string (enum)
original

Options:

original, 1024, 2048

Image resolution
resemblance
number
0.75

Max: 1

Conditioning scale for controlnet
creativity
number
0.25

Max: 1

Denoising strength. 1 means total destruction of the original image
hdr
number
0

Max: 1

HDR improvement over the original image
scheduler
string (enum)
DDIM

Options:

DDIM, DPMSolverMultistep, K_EULER_ANCESTRAL, K_EULER

Choose a scheduler.
steps
integer
20
Steps
guidance_scale
number
7

Min: 0.1

Max: 30

Scale for classifier-free guidance
seed
integer
Seed
negative_prompt
string
teeth, tooth, open mouth, longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, mutant
Negative prompt
guess_mode
boolean
False
In this mode, the ControlNet encoder will try best to recognize the content of the input image even if you remove all prompts. The `guidance_scale` between 3.0 and 5.0 is recommended.

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