Embeddings
Changed onEmbed text, images, audio, video or PDFs as dense vectors.
model selects the request shape as well as the model: each one below lists the inputs and options it accepts.
Request
- Base URLhttps://api.jina.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"embedding_type": "float",
"input": [
"A beautiful sunset over the beach",
"Jina AI - Your Search Foundation - Supercharged"
],
"model": "jina-embeddings-v2-base-en",
"normalized": true,
"truncate": false
}Response
Successful Response
Changes
- breaking
removed from the request body
oneOflist - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response400 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response401 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response403 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response404 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response409 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response429 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response500 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response503 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response504 - breaking
response property
errorslist-of-types was widened by adding typesnullto media typeapplication/jsonof response422 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response400 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response401 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response403 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response404 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response409 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response429 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response500 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response503 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response504 - info
removed
elser-v2mapping keys from the request discriminator - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status
- breaking
- info
added
jina-embeddings-v5-omni-smalljina-embeddings-v5-omni-nanomapping keys to the request discriminator - info
added to the
///request propertyanyOflist - info
added to the
/request propertyanyOflist - info
added the new
jina-embeddings-v5-omni-nanoenum value to the request property/ - info
added the new
jina-embeddings-v5-omni-smallenum value to the request property/ - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info