Qwen2.5-VL-7B-Instruct
Qwen/Qwen2.5-VL-7B-Instruct
Overview
Qwen2.5-VL-7B-Instruct is a vision-language model with 7 billion parameters designed for processing both text and visual inputs. It shows enhanced capabilities in understanding texts, charts, icons, graphics, and layouts within images and can act as a visual agent for tasks requiring reasoning and tool direction. This model supports visual localization and generating structured outputs from visual data like invoices and forms.
Tags
CentML Optimized
Chat
Dedicated
LLM
Serverless
VLM
API
curl -X POST "https://api.centml.com/openai/v1/chat/completions" \
-H "Authorization: Bearer *******************************************" \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen/Qwen2.5-VL-7B-Instruct",
"messages": [{ "role": "system", "content": "You are a helpful assistant." }],
"stream": false
}'
from openai import OpenAI
client = OpenAI(
api_key="*******************************************",
base_url="https://api.centml.com/openai/v1"
)
completion = client.chat.completions.create(
model="Qwen/Qwen2.5-VL-7B-Instruct",
messages=[{ "role": "system", "content": "You are a helpful assistant." }],
stream=False,
)
print(completion.choices[0].message)
import OpenAI from "openai";
const client = new OpenAI(
api_key="*******************************************",
base_url="https://api.centml.com/openai/v1"
)
async function main() {
const completion = await client.chat.completions.create({
model: "Qwen/Qwen2.5-VL-7B-Instruct",
messages: [{ "role": "system", "content": "You are a helpful assistant." }],
stream: false,
});
console.log(completion.choices[0])
}
main()