Embeddings
DONNA Chiodi
Produces numerical vector representations of text in 30+ languages.
Beta Preview
Models
| Model | Use case |
|---|---|
donna-chiodi-v20260320 | Multilingual text embedding (30+ languages, Matryoshka 1024/512/256) |
Pricing
per 1,000 input tokens
Rounded up to whole credits per request, minimum 1 credit.
/v1/embeddingsEmbedding endpoint. Produces one vector per text input. Authentication via Bearer token in the Authorization header.
Parameter
modelstringYesModel id: 'donna-chiodi-v20260320'
inputstring | array<string>YesText as a string or an array of up to 64 strings for batch embedding. Maximum length: 512 tokens per text.
dimensions1024 | 512 | 256OptionalOutput dimension: 1024 (default), 512 or 256. Matryoshka truncation.
encoding_format'float' | 'base64'OptionalVector encoding in the response: 'float' (default) or 'base64'.
Request
curl -X POST "https://api.centra.dbpg.io/v1/embeddings" \
-H "Authorization: Bearer sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"model": "donna-chiodi-v20260320",
"input": [
"Die schnelle braune Füchsin springt über den faulen Hund.",
"The quick brown fox jumps over the lazy dog."
],
"dimensions": 512
}'Response
{
"object": "list",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [0.0214, -0.0532, 0.0118, /* … 509 weitere Werte … */]
},
{
"object": "embedding",
"index": 1,
"embedding": [0.0207, -0.0541, 0.0124, /* … 509 weitere Werte … */]
}
],
"model": "donna-chiodi-v20260320",
"usage": {
"prompt_tokens": 24,
"total_tokens": 24
}
}Limits
Maximum inputs per request: 64. Maximum token length per input: 512.
Supported languages
Arabic, Bulgarian, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Irish, Italian, Latvian, Lithuanian, Maltese, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Turkish, Ukrainian and others.