---
title: "Generate Text"
method: POST
path: "/api/v1/text"
tags: ["Text"]
---

# Generate Text

`POST /api/v1/text`

Generate a text response from the character in a specific room.

## Request body

- object
  - `room_id` string, required — Room ID from the create room endpoint
  - `prompt` string, required — User's message or prompt

## Response `200`

Text generated successfully

- object
  - `content` string — Generated text response from the character

---

[API](https://skmtc.dev/oh/apis/ohapi-documentation.md) · [All operations](https://skmtc.dev/oh/apis/ohapi-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oh/ohapi-documentation/revisions/b623c2e9cb65/schema)
