Documentation
README
9Router — Embeddings
Requires NINEROUTER_URL (and NINEROUTER_KEY if auth enabled). See https://raw.githubusercontent.com/decolua/9router/refs/heads/master/skills/9router/SKILL.md for setup.
Discover
curl $NINEROUTER_URL/v1/models/embedding | jq '.data[].id'
# Per-model dimensions
curl "$NINEROUTER_URL/v1/models/info?id=openai/text-embedding-3-small"
Endpoint
POST $NINEROUTER_URL/v1/embeddings
| Field | Required | Notes |
|---|---|---|
model |
yes | from /v1/models/embedding |
input |
yes | string OR array of strings |
encoding_format |
no | float (default) / base64 |
dimensions |
no | OpenAI v3 only |
Examples
This is the opening of the README. Read the full README on GitHub.