priv/docs/workers_ai_text_embeddings.md

# Workers AI Text Embeddings

## Execute @cf/baai/bge-base-en-v1.5 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/bge-base-en-v1.5`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/bge-large-en-v1.5 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/bge-large-en-v1.5`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/bge-m3 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/bge-m3`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/bge-small-en-v1.5 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/bge-small-en-v1.5`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/omni-bge-base-en-v1.5 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/omni-bge-base-en-v1.5`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/omni-bge-large-en-v1.5 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/omni-bge-large-en-v1.5`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/omni-bge-m3 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/omni-bge-m3`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/omni-bge-small-en-v1.5 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/omni-bge-small-en-v1.5`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/baai/ray-bge-large-en-v1.5 model.

**POST** `/accounts/{account_id}/ai/run/@cf/baai/ray-bge-large-en-v1.5`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/google/embeddinggemma-300m model.

**POST** `/accounts/{account_id}/ai/run/@cf/google/embeddinggemma-300m`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/google/omni-embeddinggemma-300m model.

**POST** `/accounts/{account_id}/ai/run/@cf/google/omni-embeddinggemma-300m`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/pfnet/plamo-embedding-1b model.

**POST** `/accounts/{account_id}/ai/run/@cf/pfnet/plamo-embedding-1b`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```



## Execute @cf/qwen/qwen3-embedding-0.6b model.

**POST** `/accounts/{account_id}/ai/run/@cf/qwen/qwen3-embedding-0.6b`



### Responses

#### 200 Object with user data.

> Data is at `body["result"]`

```json
{}
```

#### 400 Bad request

```json
{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}
```