Embeddings

POST /v1/embeddings — OpenAI-compatible. Pass any chat-compatible embedding model from the catalogue.

POST /v1/embeddings
Authorization: Bearer im_live_...
Content-Type: application/json

{
  "model": "im/openai-text-embedding-3-small",
  "input": "The quick brown fox jumped over the lazy dog."
}

Batch input

Pass an array of strings to embed multiple inputs in one call:

{
  "model": "im/openai-text-embedding-3-small",
  "input": ["one", "two", "three"]
}

Pricing

Embedding models charge input tokens only (no output cost). See the catalogue for current rates.