Embeddings

Create embeddings

Accepts a string or array of strings. Provider limits and model eligibility apply.

post/embeddings

Request

  • Base URL: https://api.voidai.app/v1
  • URL: https://api.voidai.app/v1/embeddings
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

modelstring required

Exact model ID from GET /models. Endpoint support and account eligibility are required.

encoding_format'float' | 'base64'
dimensionsnumber

Response

Successful response.

idstring
object'list'
dataobject[]
modelstring
usageobject

Changes

No recorded changes to this operation across all 1 revision of this API.