ByteDance
Doubao Vision Embedding
ByteDance Doubao vision embedding model, supporting vectorization of images and multimodal content
Model TypeVision Embedding Model
Supported ContentImages and Multimodal
Key FeaturesVisual Semantic Understanding
Pricing & Specs
💰 Pricing
Input$0.7 / M tokens
Output$0 / M tokens
⚙️ Specs
Model TypeVision Embedding Model
Supported ContentImages and Multimodal
Key FeaturesVisual Semantic Understanding
Training CutoffOctober 2024
API Examples
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="doubao-embedding-vision",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "doubao-embedding-vision",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'