Create embeddings

Creates an embedding vector representing the input text using the same interface as the OpenAI Embeddings API. Request and response formats follow the OpenAI Create embedding API.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body follows the OpenAI Create embedding API format.

Request format follows OpenAI Embeddings API (create embedding). Required: model, input. All other OpenAI fields pass through.

string
required

Model ID in <provider>/<model> format. Use /api/v1/model/info to discover available models.

required

Input text to embed: a single string or an array of strings (batch).

string
enum
Defaults to float

The format to return the embeddings in.

Allowed:
integer
≥ 1

Number of dimensions for output embeddings. Only supported in text-embedding-3 and later models.

string

Optional end-user identifier for abuse monitoring.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json