---
title: "Synthesize"
method: POST
path: "/v1/speech"
---

# Synthesize

`POST /v1/speech`

## Query parameters

- `stream` boolean

## Request body

- BodySynthesizeV1SpeechPost
  - `text` string, required
  - `voice` 'sade' | 'segun' | 'femi' | 'funmi'
  - `language` 'yo' | 'en' | 'ha' | 'ig', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2024-10-07** `44bf59bcade3` — 1 breaking, 1 info
  - removed the media type `audio/wav` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`
- **2024-10-07** `04c6e17471d2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/spi-tch/apis/spitch-api-2/changes/v1/speech/post.md)

---

[API](https://skmtc.dev/spi-tch/apis/spitch-api-2.md) · [All operations](https://skmtc.dev/spi-tch/apis/spitch-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spi-tch/spitch-api-2/revisions/44bf59bcade3/schema)
