Last updated 1 month ago
Was this helpful?
This documentation is valid for the following list of our models:
voyage-large-2
Voyage’s most powerful generalist embedding model, outperforming popular competing models.
If you don’t have an API key for the AI/ML API yet, feel free to use our .
Input text to embed, encoded as a string or array of tokens.
The type of input data for the model.
document
POST /v1/embeddings HTTP/1.1 Host: api.aimlapi.com Authorization: Bearer <YOUR_AIMLAPI_KEY> Content-Type: application/json Accept: */* Content-Length: 65 { "model": "voyage-large-2", "input": "text", "input_type": "document" }
No content