You're looking at a specific version of this model. Jump to the model overview.
laion-ai /conditioned-prior:1ab8f05e
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
|
|
Caption to invert to a CLIP image embed
|
candidates |
integer
|
2
Min: 2 Max: 32 |
Numer of image embeds to draw from in the prior. Increasing may improve performance.
|
cond_scale |
number
|
1
Max: 5 |
How much prior guidance to use.
|
overwrite |
boolean
|
False
|
Re-predict any cached embeddings.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'description': 'Pydantic class for specifying the return type of the prior '
'prediction API endpoint.',
'properties': {'image_embedding': {'items': {'type': 'number'},
'title': 'Image Embedding',
'type': 'array'},
'text_embedding': {'items': {'type': 'number'},
'title': 'Text Embedding',
'type': 'array'}},
'required': ['text_embedding', 'image_embedding'],
'title': 'PriorOutput',
'type': 'object'}