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

afiaka87 /pyglide:60b29272

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
Text prompt to use. Keep it simple/literal and avoid using poetic language (unlike CLIP).
batch_size
integer
4

Min: 1

Max: 4

Batch size. Number of generations to predict
side_x
integer (enum)

Options:

32, 48, 64, 80, 96, 112, 128

Must be multiple of 8. Going above 64 is not recommended. Actual image will be 4x larger. Using 64 enables guidance with released noisy CLIP
side_y
integer (enum)

Options:

32, 48, 64, 80, 96, 112, 128

Must be multiple of 8. Going above 64 is not recommended. Actual image size will be 4x larger. Using 64 enables guidance with released noisy CLIP
guidance_scale
number
4.0
Classifier-free guidance scale. Higher values move further away from unconditional outputs. Lower values move closer to unconditional outputs. Negative values guide towards semantically opposite classes. 4-16 is a reasonable range.
upsample_temp
number
0.997

Min: 0.75

Max: 1.0

Upsample temperature. Consider lowering to ~0.997 for blurry images with fewer artifacts.
timestep_respacing
string (enum)
50

Options:

25, 50, 100, 150, 250

Number of timesteps to use for base model. Going above 150 has diminishing returns.
seed
integer
0
Seed for reproducibility

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'properties': {'file': {'format': 'uri',
                                   'type': 'string',
                                   'x-order': 0},
                          'text': {'type': 'string', 'x-order': 1}},
           'type': 'object'},
 'type': 'array',
 'x-cog-array-type': 'iterator'}