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

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

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
cond_text
string
Image of a
conditional text
beam_size
integer
5

Min: 1

Max: 10

Number of beams to use
end_factor
number
1.01

Min: 1.0

Max: 1.1

Higher value for shorter captions

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'}