Skip to main content
POST
/
models
/
v2
/
nomic-ai
/
nomic-embed-text-v1.5
feature-extraction
curl --request POST \
  --url https://api.bytez.com/models/v2/nomic-ai/nomic-embed-text-v1.5 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "search_document: Turn this text into a vector"
}
'
{
  "error": "<string>",
  "output": [
    0.1,
    0.2,
    0.3,
    0.4
  ]
}

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_BYTEZ_KEY_HERE'

Body

application/json

Schema for feature-extraction models

text
string
required

The input text

Example:

"search_document: Turn this text into a vector"

Response

Successful feature-extraction response.

error
string | null
required

Null on success; otherwise an error message.

output
array
required

Successful response with extracted features

Example:
[0.1, 0.2, 0.3, 0.4]