You're looking at a specific version of this model. Jump to the model overview.
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 |
---|---|---|---|
image |
string
|
Input image
|
|
prompt |
string
|
Prompt to use for text generation
|
|
top_p |
number
|
1
Max: 1 |
When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
|
temperature |
number
|
0.2
|
Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic
|
max_tokens |
integer
|
1024
|
Maximum number of tokens to generate. A word is generally 2-3 tokens
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'type': 'string'},
'title': 'Output',
'type': 'array',
'x-cog-array-display': 'concatenate',
'x-cog-array-type': 'iterator'}