You're looking at a specific version of this model. Jump to the model overview.
cjwbw /vq-diffusion:be7cfa9e
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 |
---|---|---|---|
generation_type |
None
|
in-the-wild text
|
Choose generating images from in-the-wild text, MSCOCO datasets, or ImageNet class label.
|
prompt |
string
|
|
Prompt for generating image. Valid when generation_type is set to in-the-wild text and MSCOCO datasets.
|
image_class |
None
|
None
|
Choose the ImageNet label. Valid when generation_type is set to ImageNet class label.
|
num_images |
integer
|
4
Min: 1 Max: 8 |
Number of generated images.
|
truncation_rate |
number
|
0.86
Max: 1 |
Sample with truncation.
|
guidance_scale |
number
|
1
|
Improved VQ-Diffusion with learnable classifier-free sampling.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'properties': {'image': {'format': 'uri',
'title': 'Image',
'type': 'string'}},
'required': ['image'],
'title': 'ModelOutput',
'type': 'object'},
'title': 'Output',
'type': 'array'}