Venice Embeddings
venice_embeddingsCompute OpenAI-compatible text embeddings for up to 128 inputs per call, batching larger jobs to avoid oversized requests and using wallet or API key auth.
Instructions
Compute embeddings for text input (OpenAI-compatible). Accepts up to 128 texts per call; split larger jobs into separate batches. Oversized batches are rejected before submission. Supports x402 wallet auth (no Venice account needed) and API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>",
"model": "<model>"
},
"name": "venice_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text or array of at most 128 texts. | |
| model | Yes | Embedding model id. | |
| encoding_format | No |