---
title: "Add Text To Speech"
method: POST
path: "/api/vmodel/v1/text/speech/task"
---

# Add Text To Speech

`POST /api/vmodel/v1/text/speech/task`

## Request

- Base URL: `https://api.videofaceswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.videofaceswap.io/api/vmodel/v1/text/speech/task`
- Auth: HTTP bearer

新增自定义文本转语音任务

## Query parameters

- `app_id` string, required

## Request body

- RoutersVmodelReplicateToVmodelTextToSpeechVmodelV1UploadTextToSpeechItem
  - `audio_url` string, required: The URL of the audio file
  - `text` string, required: The text to convert to speech
  - `language` string: The language for the text-to-speech conversion

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/videofaceswap/apis/videofaceswap-api.md) - [All operations](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/llms.txt) - [OpenAPI document](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/revisions/1b3dd1817626?raw)
