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

chenxwh /onediffusion:f69674f4

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
task
string (enum)
text2image

Options:

text2image, deblurring, image_inpainting, canny2image, depth2image, hed2img, pose2image, semanticmap2image, boundingbox2image, image_editing, faceid, multiview, subject_driven

Choose a task
prompt
string
A bipedal black cat wearing a huge oversized witch hat, a wizards robe, casting a spell,in an enchanted forest. The scene is filled with fireflies and moss on surrounding rocks and trees
Input prompt.
negative_prompt
string
monochrome, greyscale, low-res, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation
Specify things to not see in the output
image1
string
First input image for img2img tasks
image2
string
Optional, second input image for img2img tasks
image3
string
Optinal, third input image for img2img tasks
use_input_image_size
boolean
False
Set the dimension of the output image the same as the input image
width
integer
1024
Width of output image. Ignored when use_input_image_size is set to True. Multiview generation only supporst SQUARE image
height
integer
1024
Height of output image. Ignored when use_input_image_size is set to True. Multiview generation only supporst SQUARE image
num_inference_steps
integer
50

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
4

Min: 1

Max: 20

Scale for classifier-free guidance
seed
integer
Random seed. Leave blank to randomize the seed
denoise_mask
string
0
Denoise mask for output images, comma-separated 0s or/and 1s
azimuth
string
0
Azimuths degrees, comma-separated, for multiview generation
elevation
string
0
Elevations degrees, comma-separated, for multiview generation
distance
string
1.5
Distances, comma-separated, for multiview generation
focal_length
number
1.3887
Focal Length of camera for multiview generation

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