---
title: "Convert conversation to speech"
method: POST
path: "/api/audio/{agentId}/speech/conversation"
tags: ["audio"]
---

# Convert conversation to speech

`POST /api/audio/{agentId}/speech/conversation`

Convert a conversation (multiple messages) to speech

## Path parameters

- `agentId` string, uuid, required

## Request body

- object
  - `messages` object[], required
    - `text` string
    - `speaker` string
    - `timestamp` integer

## Response `200`

Conversation converted to speech successfully

## Other responses

- `400` — Invalid request
- `404` — Agent not found
- `500` — Error converting conversation

---

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