---
title: "Generate Audio"
method: POST
path: "/api/test-data/generate-audio"
tags: ["test-data"]
---

# Generate Audio

`POST /api/test-data/generate-audio`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/test-data/generate-audio`
- Auth: HTTP bearer

Generate TTS audio from a transcript JSON.

## Request body

- GenerateAudioRequest
  - `transcript_json` object, required
  - `interviewer_voice` string
  - `candidate_voice` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
