OpenAI Compatible

Create OpenAI-compatible text embeddings via the configured background model

Inbound OpenAI-compatible facade over the configured Cernion LLM provider (default Gemini). Forwards one or more input strings to the background embedding model and returns vectors in the standard OpenAI embeddings response shape. Only encoding_format: "float" is supported.

post/v1/embeddings

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/v1/embeddings
  • Auth: none declared

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

modelstring
encoding_format'float' | 'base64'
tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Response

OpenAI-compatible embeddings response

object'list' required
modelstring required
usageobject
cernionobject

Changes

No recorded changes to this operation across all 2 revisions of this API.