Skip to main content
POST
Authentication is optional. See Rate Limits for per-tier quotas. For available embedding models, see Models.

Request parameters

Text input

Multimodal input

Vision-language embedding models such as qwen/qwen3-vl-embedding-2b also accept image_url and video_url content parts in input, so you can embed images or sampled video frames into the same vector space as text, for example to build visual search or image-to-text retrieval. Confirm accepted input types in a model’s capabilities.supported_input_types on GET /v1/openai/models before relying on a modality, since not every embedding model on the catalog accepts images or video.

Models

Available embedding models.

Multimodal Inputs

Content part types shared across chat and embeddings.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

OpenAI-compatible embeddings request.

The input field is intentionally polymorphic to match both OpenAI's API (string / list-of-strings / list-of-token-ids) and vLLM's multimodal extension (list of content parts). The router normalises everything to a list of items before handing it to the backend, so individual backends only see one shape.

model
string
required
input
required
encoding_format
enum<string>
default:float
Available options:
float,
base64
dimensions
integer | null
user
string | null
truncate_prompt_tokens
integer | null

Response

Successful Response

OpenAI-compatible embeddings response with audit extras (served_model_id and backend).

model
string
required
data
EmbeddingData · object[]
required
id
string
object
string
default:list
Allowed value: "list"
created
integer
served_model_id
string | null
backend
string | null
usage
EmbeddingUsage · object