You're looking at a specific version of this model. Jump to the model overview.
cjwbw /unidiffuser:616c28e0
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 |
|---|---|---|---|
| mode |
None
|
text-to-image generation
|
Choose between Visual Question Answering and Image Captioning
|
| prompt |
string
|
Input prompt
|
|
| image |
string
|
Input image
|
|
| num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output.
|
| num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
| guidance_scale |
number
|
8
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
| 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
{'title': 'Output'}