You're looking at a specific version of this model. Jump to the model overview.
zsxkib /sd3-controlnet:cc3669d7
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 |
---|---|---|---|
input_image |
string
|
Input image
|
|
prompt |
string
|
Prompt
|
|
negative_prompt |
string
|
NSFW, nude, naked, porn, ugly
|
Negative prompt
|
structure |
string
(enum)
|
canny
Options: canny, pose, tile |
Structure type
|
aspect_ratio |
string
(enum)
|
1:1
Options: 1:1, 16:9, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21 |
Aspect ratio for the generated image. Note that the model performs best at 1024x1024 resolution. Other sizes may yield suboptimal results.
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output.
|
inference_steps |
integer
|
25
Min: 1 Max: 50 |
Inference steps
|
guidance_scale |
number
|
7
Max: 50 |
Guidance scale
|
control_weight |
number
|
0.7
Max: 1 |
Control weight
|
low_threshold |
integer
|
100
Min: 1 Max: 255 |
[Canny only] Line detection low threshold
|
high_threshold |
integer
|
200
Min: 1 Max: 255 |
[Canny only] Line detection high threshold
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
disable_safety_checker |
boolean
|
False
|
Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)
|
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'}