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

andreasjansson /blip-2:f677695e

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 to query or caption
caption
boolean
False
Select if you want to generate image captions instead of asking questions
question
string
What is this a picture of?
Question to ask about this image. Leave blank for captioning
context
string
Optional - previous questions and answers to be used as context for answering current question
use_nucleus_sampling
boolean
False
Toggles the model using nucleus sampling to generate responses
temperature
number
1

Min: 0.5

Max: 1

Temperature for use with nucleus sampling

Output schema

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

Schema
{'title': 'Output', 'type': 'string'}