Turn text into vectors
embedRead-onlyIdempotent
Embeds one text or up to 64 through POST /v1/embeddings with an embedding model id from list_models (type embedding) and returns one vector per text, in order, with the token usage and the charge. Billed to the key in the MCP request's Authorization header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | One text, or up to 64 texts, to embed. | |
| model | Yes | An embedding model id from list_models (type embedding). |