Skip to main content
POST

Headers

string
required
Bearer token authentication. Format: Authorization: Bearer sk-xxxxxx

Body

Format: application/json
string
required
Model ID
string | string[]
required
Text to embed
string
default:"float"
Encoding format, allowed values: float, base64
integer
Output vector dimensions

Response

200 Success

Format: application/json
string
Always list
object[]
List of embedding vectors
string
Model ID used
object
Token usage statistics
Last modified on October 28, 2026