---
title: "Create Embeddings"
method: POST
path: "/v1/embeddings"
tags: ["chat"]
---

# Create Embeddings

`POST /v1/embeddings`

Creates embeddings for the text

## Query parameters

- `model_name` string

## Request body

- EmbeddingsRequest
  - `model` string, nullable
  - `engine` string, nullable
  - `input` union, required
    - string
    - unknown[]
      - unknown
  - `user` string, nullable
  - `encoding_format` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/transformerlab/apis/transformerlab-api.md) · [All operations](https://skmtc.net/transformerlab/apis/transformerlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/transformerlab/transformerlab-api/revisions/44da5f6e34ca/schema)
