POST
/
doubao
/
embeddings
/
image
curl -X POST https://api.example.com/doubao/embeddings/image \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/image.jpg"
  }'
Convert images to vectors using the Doubao embedding model.

Request Parameters

image
string
required
Image (URL or base64).
model
string
Model name.
curl -X POST https://api.example.com/doubao/embeddings/image \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/image.jpg"
  }'