You're looking at a specific version of this model. Jump to the model overview.
deutschla /character-generator:47074fbc
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
|
head of a snake
|
Input prompt
|
negative_prompt |
string
|
|
The prompt or prompts not to guide the image generation. Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
|
additional_prompt |
string
|
white-background, tk-char, prop
|
Additional prompts to guide the image generation. Ignored when not using guidance.
|
additional_negative_prompt |
string
|
shadow, texture, (worst quality, low quality:1.4)
|
The prompt or prompts not to guide the image generation (what you do not want to see in the generation). Ignored when not using guidance.
|
image |
string
|
@test-scribbles/full-paperdoll.png
|
Input image to in-paint. Width and height should both be divisible by 8. If they're not, the image will be center cropped to the nearest width and height divisible by 8
|
control_image |
string
|
@test-scribbles/full-paperdoll.png
|
Input image to use as control. Width and height should be the same as the mask image
|
mask |
string
|
@masks/mask-head.png
|
Black and white image to use as mask. White pixels are inpainted and black pixels are preserved.
|
invert_mask |
boolean
|
False
|
If this is true, then black pixels are inpainted and white pixels are preserved.
|
invert_control |
boolean
|
True
|
Invert the colors of the control image. Use this for scribbles with black strokes on a white background.
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output. NSFW filter in enabled, so you may get fewer outputs than requested if flagged
|
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
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
remove_background |
boolean
|
False
|
Remove the background of the final output image.
|
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'}