Quickstart

Your first embedding in one call.

Copy-paste recipes for the OpenAI-compatible Embedding API — each with a runnable curl and a Python (OpenAI SDK) version, and a one-click Open in Explorer to try it live in your browser.

Base URL /v1
API key

Point the OpenAI SDK at this base URL and send your key as the bearer token. Need a key? Create one in the Portal. Full reference: API reference (/docs) · ReDoc (/redoc).

Embedding many / large images? The whole request body is capped (10 GiB by default) and an over-limit body returns a clean 413. base64 data URIs inflate raw bytes ~33%, so send fewer images per request or use the multipart /v1/embeddings/upload endpoint (raw bytes, no base64 inflation).