You're looking at a specific version of this model. Jump to the model overview.
laion-ai /conditioned-prior:ff02cce3
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.
|
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': {'format': 'uri',
'title': 'Image Embedding',
'type': 'string'},
'text_embedding': {'format': 'uri',
'title': 'Text Embedding',
'type': 'string'},
'text_tokens': {'format': 'uri',
'title': 'Text Tokens',
'type': 'string'}},
'required': ['text_tokens', 'text_embedding', 'image_embedding'],
'title': 'PriorOutput',
'type': 'object'}