You're looking at a specific version of this model. Jump to the model overview.
cjwbw /t2i-adapter:52e854f6
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 car with flying wings
|
Input prompt
|
negative_prompt |
string
|
ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, watermark, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face
|
Specify things to not see in the output
|
image |
string
|
Input image
|
|
model_checkpoint |
string
(enum)
|
sd-v1-4
Options: sd-v1-4, anything-v4.0-pruned |
Choose a model.
|
type_in |
string
(enum)
|
image
Options: sketch, image, keypose |
Choose type of your input. When image is chosen, output will be the extracted sketch and the generated images.
|
plms |
boolean
|
True
|
Use plms sampling if set to True.
|
dpm_solver |
boolean
|
False
|
Use se dpm_solver sampling if set to True.
|
width |
integer
(enum)
|
512
Options: 128, 256, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024 |
Width of output image. Lower the width if out of memory.
|
height |
integer
(enum)
|
512
Options: 128, 256, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024 |
Height of output image. Lower the height if out of memory.
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output.
|
num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
7.5
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}