Skip to main content
POST
Generate embedding for text

Authorizations

Authorization
string
header
required

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

Body

application/json
text
string
required

The text to embed. Max length 300 characters

Example:

"People walking on the street"

Response

Successful Response

embedding
number[]
required

The embedding of the text, a list of 512 floats