POST
/
v1
/
experimental
/
image
/
embeddings

Authorizations

Authorization
string
headerrequired

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

Body

application/json
id
string

Unique identifier of the request.

created_at
string

Date and time when the request was created (in UTC timezone)

file_id
string | null

The ID of the uploaded file.

image
string | null

Base64 encoded image to embed (at least one of image or text is required).

text
string | null

Text to embed (at least one of image or text is required).

model
enum<string>
required

The model to use for generating the response.

Available options:
vlm-1
batch
boolean
default: false

Whether to process the document in batch mode (async).

metadata
object | null

Optional metadata to pass to the model.

Response

201 - application/json

The response is of type any.