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
|
Input prompt
|
|
| max_length |
integer
|
512
|
Maximum number of tokens to generate
|
| top_k |
integer
|
5
|
top k for sampling
|
| do_sample |
boolean
|
True
|
Whether you do sampling or not
|
| agree_to_research_only |
boolean
|
True
|
You must agree to use this model only for research. It is not for commercial use.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'string'}