cURL
curl --request POST \ --url https://api.gravixlayer.com/v1/inference/embeddings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "<string>", "input": "<string>", "encoding_format": "float", "user": "<string>" } '
Generate vector embeddings from text for semantic search and similarity
API key authentication. Get your API key from the Gravix Layer Dashboard.
ID of the model to use
Input text to embed
Encoding format
float
base64
User identifier
Embeddings created successfully