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

cjwbw /pix2struct:e32d7748

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.
model_name
string (enum)
screen2words

Options:

textcaps, screen2words, widgetcaption, infographics, docvqa, ai2d

Choose a model.
text
string
Input text.

Output schema

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

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