You're looking at a specific version of this model. Jump to the model overview.
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 |
---|---|---|---|
task |
string
(enum)
|
Image Captioning
Options: Image Captioning, Story Generation |
Choose a task.
|
image |
string
|
Input image.
|
|
title |
string
|
Title for story generation (not used for Image Captioning). 5 sentences will be generated for a story.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'contrastive_search_result': {'title': 'Contrastive Search '
'Result',
'type': 'string'},
'image_caption': {'title': 'Image Caption', 'type': 'string'},
'magic_search_result': {'title': 'Magic Search Result',
'type': 'string'}},
'title': 'Output',
'type': 'object'}