Canonical: https://weaveos.com/reference/voyage-ai/create-embeddings

1. [Software capabilities](https://weaveos.com/reference)
2. /[Voyage AI](https://weaveos.com/reference/voyage-ai)
3. /How to create Voyage AI embeddings

[![](https://weaveos.com/reference/logos/voyage-ai.svg)Voyage AI](https://weaveos.com/reference/voyage-ai)

# How to create Voyage AI embeddings

Create embeddings with REST or the official Python client, batching within model and account limits.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: POST /v1/embeddings](https://weaveos.com/reference/voyage-ai/create-embeddings#method-1)
2. [2SDK: voyageai.Client.embed](https://weaveos.com/reference/voyage-ai/create-embeddings#method-2)

API

### POST /v1/embeddings

Generate vectors for texts.

[Read source: Voyage embeddings API reference](https://docs.voyageai.com/reference/embeddings-api)

- Requirements

  Voyage API key, supported model, and JSON input.

- Limitations

  The input list can contain up to 1,000 texts. The voyage-3.5 model accepts up to 320,000 total tokens per request.

Example shell

Copy

```
curl --fail https://api.voyageai.com/v1/embeddings -H "Authorization: Bearer $VOYAGE_API_KEY" -H "Content-Type: application/json" -d '{"input":["A short document"],"model":"voyage-3.5"}'
```

SDK

### voyageai.Client.embed

Generate embeddings in Python.

[Read source: Voyage embeddings guide](https://docs.voyageai.com/docs/embeddings)

- Requirements

  Python, voyageai, and API key.

- Limitations

  The default truncation setting shortens individual texts that exceed the model context length. Set truncation=False to surface an error instead.

Example text

Copy

```
import voyageai
client = voyageai.Client()
result = client.embed(["A short document"], model="voyage-3.5", input_type="document")
```

## More from Voyage AI

[View all 1 Voyage AI tasks](https://weaveos.com/reference/voyage-ai)
