You're looking at a specific version of this model. Jump to the model overview.
cjwbw /unidiffuser:da53018d
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_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
{'properties': {'generated_image': {'format': 'uri',
'title': 'Generated Image',
'type': 'string'},
'generated_text': {'title': 'Generated Text',
'type': 'string'}},
'title': 'ModelOutput',
'type': 'object'}