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

afiaka87 /retrieval-augmented-diffusion:ceb91cf3

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
model will try to generate this text.
prompt_scale
number
5
unconditional guidance scale: eps = eps(x, empty) + scale * (eps(x, cond) - eps(x, empty))
num_lookup_images
integer
20

Min: 1

Max: 20

The number of included neighbors in the knn search
num_generations
integer
4
how many times to repeat the query
height
integer
768
image height, in pixel space
width
integer
768
image width, in pixel space
steps
integer
50
how many steps to run the model for

Output schema

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

Schema
{'description': 'Helper Output class for CodeGen. Allows for output to be '
                'markdown file or string.',
 'properties': {'generations': {'items': {'format': 'uri', 'type': 'string'},
                                'title': 'Generations',
                                'type': 'array'},
                'relevant_metadata': {'items': {},
                                      'title': 'Relevant Metadata',
                                      'type': 'array'}},
 'required': ['generations'],
 'title': 'Generation',
 'type': 'object'}