---
title: "Voice Clone Embeddings"
method: POST
path: "/api/v1/tts/voice-clone/embeddings"
tags: ["Voice Clone"]
---

# Voice Clone Embeddings

`POST /api/v1/tts/voice-clone/embeddings`

## Request

- Base URL: `https://api.vachana.ai`
- URL: `https://api.vachana.ai/api/v1/tts/voice-clone/embeddings`
- Auth: API key in header `X-API-Key-ID`
- TypeScript: <https://skmtc.dev/gnani/apis/vachana-speech-to-text-api/docs/api/v1/tts/voice-clone/embeddings/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate voice clone embeddings from a provided audio file.

## Headers

- `X-API-Key-ID` string, required

## Request body `multipart/form-data`

- object
  - `audio_file` string, binary, required: The audio file to generate embeddings for

## Response `200`

Voice embeddings generated successfully

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `voice_clone_embedding` object
      - `embedding` string: The generated voice clone embedding string
      - `shape` integer[]: The shape of the embedding tensor
      - `dtype` string: The data type of the embedding

---

[API](https://skmtc.dev/gnani/apis/vachana-speech-to-text-api.md) - [All operations](https://skmtc.dev/gnani/apis/vachana-speech-to-text-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gnani/apis/vachana-speech-to-text-api/revisions/d9f838824278?raw)
