Embeddings
Create vector embeddings
Embeddings
POST /v1/embeddings
Authorization: Bearer YOUR_TOKENFLUX_KEY
Content-Type: application/jsoncurl https://tokenflux.ai/v1/embeddings \
-H "Authorization: Bearer YOUR_TOKENFLUX_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_EMBEDDING_MODEL_ID",
"input": "TokenFlux API documentation"
}'Select an embedding-capable model from Models & pricing. The response uses the OpenAI-compatible embeddings shape.