Embeddings
Create embedding
Generate vector embeddings for one or more text inputs. Returns numerical arrays representing semantic meaning, useful for search, classification, and retrieval.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
model*|
The name of the embedding model to use. See all of Together AI's embedding models
input*|array<>
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/embeddings" \ -H "Content-Type: application/json" \ -d '{ "model": "WhereIsAI/UAE-Large-V1", "input": "string" }'{ "object": "list", "model": "string", "data": [ { "object": "embedding", "embedding": [ 0 ], "index": 0 } ]}