🧠 Generate Embeddings API

🏠 Back to Home

✨ Generate sentence embeddings using Sentence Transformers models. This endpoint runs on this domain and proxies to the embeddings service.

Edit the JSON body above and click Generate. Selecting a model updates the model field. The first request to a model may take longer while it warms up.


    

🚀 How to Use

Make a POST request to /generate-embeddings/ with a JSON body containing the sentences to embed and the model to use:

{
    "sentences": ["Sentence one.", "Sentence two."],
    "model": "all-MiniLM-L6-v2"
}

Available models:

  • all-MiniLM-L6-v2 — fast, lightweight general-purpose embeddings
  • intfloat/e5-large-v2 — larger, higher-quality embeddings

For the authoritative, always-up-to-date request/response schema, see the interactive docs: API Docs

📝 Response Format

The API returns a JSON object containing the embeddings for each input sentence.

🚀 Benefits

  • 🧠 Turn text into vector embeddings for semantic search, clustering, and similarity
  • ⚡ Choose a fast lightweight model or a larger high-quality one
  • 🔗 Available directly on this domain alongside the other SEO APIs
  • 🆓 Free and simple JSON interface