alexgenovese / instruct-blip-v2

Captioning images with BLIP 2 Instruct

  • Public
  • 8 runs

Run alexgenovese/instruct-blip-v2 with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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_url
string
image
prompt
string
describe the image
prompt
min_len
integer
1
min length
max_len
integer
250
max length
beam_size
integer
5
beam size
len_penalty
number
1
length penalty
repetition_penalty
number
2
repetition penalty
top_p
number
0.9
top p

Output schema

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

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