elementtech / internvl-chat-v1-5
InternVL 1.5, an open-source multimodal large language model (MLLM) to bridge the capability gap between open-source and proprietary commercial models
Run elementtech/internvl-chat-v1-5 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 |
---|---|---|---|
prompt |
string
|
Text prompt to send to the model.
|
|
image_url |
string
|
Image to send to the model.
|
|
num_beams |
integer
|
1
Min: 1 |
Number of beams
|
max_new_tokens |
integer
|
512
Min: 1 |
Maximum number of tokens to generate. A word is generally 2-3 tokens
|
do_sample |
boolean
|
False
|
Do a Sample.
|
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"image_url"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt to send to the model."
},
"do_sample": {
"type": "boolean",
"title": "Do Sample",
"default": false,
"x-order": 4,
"description": "Do a Sample."
},
"image_url": {
"type": "string",
"title": "Image Url",
"x-order": 1,
"description": "Image to send to the model."
},
"num_beams": {
"type": "integer",
"title": "Num Beams",
"default": 1,
"minimum": 1,
"x-order": 2,
"description": "Number of beams"
},
"max_new_tokens": {
"type": "integer",
"title": "Max New Tokens",
"default": 512,
"minimum": 1,
"x-order": 3,
"description": "Maximum number of tokens to generate. A word is generally 2-3 tokens"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}