alexgenovese / blip-captions

Create a ZIP file with images (png, jpg, jpeg, webp) to describe the image with BLIP 2. This endpoint provides a fashion training model too.

  • Public
  • 21 runs

Run alexgenovese/blip-captions 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
images
string
Upload here all images in ZIP format
one_string_for_all
string
Use only this string for all captions
prepend_string
string
prepend (at the start) text. Example: a photo of
append_string
string
append (at the end) text. Example: reica fashion foto style
type
string (enum)
default

Options:

default, fashion

If default train with base BLIP2 model.
output_filename
string
If none train with base BLIP2 model. Types: fashion
remove_background
boolean
False
Remove background based on object to keep variable

Output schema

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

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