Skip to content

Embeddings ​

POST /v1/embeddings

bash
curl https://api.layso.ai/v1/embeddings \
  -H "Authorization: Bearer $LAYSO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"embedding-model-id","input":"Text to embed"}'

Use the exact model ID listed in the current model catalog.

LAYSO AI API 文档