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

yoadtew/zero-shot-image-to-text:ac3d3e81

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
model_type
string (enum)
caption

Options:

caption, arithmetics

choose model type
image1
string
input image, for caption model, only image1 is valid, for arithmetics, up to 4 images are supported
image2
string
input image2, optional, valid for arithmetics model
image3
string
input image3, optional, valid for arithmetics model
image4
string
input image4, optional, valid for arithmetics model
cond_text
string
Image of a
conditional text
arithmetics_weights
string
valid for arithmetics model, determine the weights for each image, input weights, support comma separated weights, eg. 1, 1, -1

Output schema

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

Schema
{'items': {'properties': {'file': {'format': 'uri',
                                   'type': 'string',
                                   'x-order': 0},
                          'text': {'type': 'string', 'x-order': 1}},
           'type': 'object'},
 'type': 'array',
 'x-cog-array-type': 'iterator'}