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

chenxwh /onediffusion:1dfd75d6

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, inpainting, canny, depth2image, hed2image, pose2image, semanticmap2image, boundingbox2image, image_editing, faceid, multiview, subject_driven

Choose a task
prompt
string
[[text2image]] 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 in this format "[[your_chosen_task]] your/prompt/here
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
width
integer
1024
Width of output image
height
integer
1024
Height of output 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
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'}