---
title: Jina Embeddings V3
emoji: 🦀
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.12.0
app_file: app.py
pinned: false
short_description: jina-embeddings-v3
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

## Usage

You can generate embeddings by sending a POST request to one of the following endpoints:

- `/generate_embeddings`
- `/api/v1/embeddings`
- `/hf/v1/embeddings`
- `/api/v1/chat/completions`
- `/hf/v1/chat/completions`

Example request using `curl`:

``` bash

curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/v1/embeddings \
  -H "Content-Type: application/json" \
  -d '{
    "input": "Your text string goes here",
    "model": "jinaai/jina-embeddings-v3"
  }'

curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/embed \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Your text string goes here",
    "model": "jinaai/jina-embeddings-v3"
  }'

curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/embed \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Your text string goes here",
    "model": "jinaai/jina-embeddings-v3"
  }'


curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/hf/v1/embeddings \
  -H "Content-Type: application/json" \
  -d '{
    "input": "Your text string goes here",
    "model": "jinaai/jina-embeddings-v3"
  }'





curl https://api.jina.ai/v1/embeddings \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer jina_xxxx" \
  -d @- <<EOFEOF
  {
    "model": "jina-clip-v2",
    "dimensions": 1024,
    "normalized": true,
    "embedding_type": "float",
    "input": [
        {
            "text": "A beautiful sunset over the beach"
        },
        {
            "text": "Un beau coucher de soleil sur la plage"
        },
        {
            "text": "海滩上美丽的日落"
        },
        {
            "text": "浜辺に沈む美しい夕日"
        },
        {
            "image": "https://i.ibb.co/nQNGqL0/beach1.jpg"
        },
        {
            "image": "https://i.ibb.co/r5w8hG8/beach2.jpg"
        },
        {
            "image": "R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7"
        }
    ]
  }
EOFEOF

```