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

cjwbw /latent-diffusion-text2img:61935d99

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
prompt
string
a painting of a virus monster playing guitar
Prompt for generating image.
n_samples
integer
8
Number of samples to produce for each given prompt.
scale
number
5
Unconditional guidance scale: eps = eps(x, empty) + scale * (eps(x, cond) - eps(x, empty)).
ddim_steps
integer
50
Number of ddim sampling steps.
ddim_eta
number
0
ddim eta (eta=0.0 corresponds to deterministic sampling).
plms
boolean
False
Whether use plms sampling.
seed
integer
42
The seed (for reproducible 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'}