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

pratos /sd-2-1-img2img:c20b3006

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
A gentleman otter
Prompt for the model
negative_prompt
string
((((ugly)))), (((duplicate))), ((morbid)), ((mutilated)), out of frame, extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck)))
Negative prompt for the model. Add things that you'd want to avoid in the image.
image
string
Image to use as a prompt. Upload image in following formats: jpg, jpeg, png, heic, webp, heif, avif.
scheduler
string (enum)
euler

Options:

euler, ddim, ddpm, dpm-solver-single-step, dmp-solver-multi-step, heun, kdpm2, kdpm2-ancestral, lms, pndm, ipndm, euler-ancestral

Sampler to use
cfg_scale
number
7.5

Min: 1

Max: 30

Higher values mean the text prompt will be more important than the image prompt. Also results in higher saturated images. Ideally keep values between 6-13.
noise
number
0.5

Max: 1

Percent of noise to add to the image. Higher values will result in image deviating away from original image.
num_inference_steps
integer
50

Min: 1

Max: 500

Number of inference steps
num_output_images
integer
1

Min: 1

Max: 5

Number of output images
seed
integer
-1
Seed for the model

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