You're looking at a specific version of this model. Jump to the model overview.
cjwbw /anything-v4.0:42a996d3
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
|
1boy, bishounen, casual, indoors, sitting, coffee shop, bokeh
|
Input prompt
|
negative_prompt |
string
|
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.
|
|
width |
integer
(enum)
|
512
Options: 128, 256, 512, 640, 704, 768, 896, 1024 |
Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
|
height |
integer
(enum)
|
512
Options: 128, 256, 512, 640, 704, 768, 896, 1024 |
Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
|
num_outputs |
integer
(enum)
|
1
Options: 1, 4 |
Number of images to output
|
num_inference_steps |
integer
|
20
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
7
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
scheduler |
string
(enum)
|
DPMSolverMultistep
Options: DDIM, K_EULER, DPMSolverMultistep, K_EULER_ANCESTRAL, PNDM, KLMS |
Choose a scheduler.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
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'}