---
title: "POST /api/v1/client/prompt/speech/price-calculation"
method: POST
path: "/api/v1/client/prompt/speech/price-calculation"
tags: ["Client API"]
---

# POST /api/v1/client/prompt/speech/price-calculation

`POST /api/v1/client/prompt/speech/price-calculation`

Calculate the price for enhancing text-to-speech prompts

## Request body

- object
  - `prompt` string
  - `lang_code` string, nullable

## Response `200`

Price calculation returned successfully

- object
  - `price` number, float

## Other responses

- `422` — Validation failed

---

[API](https://skmtc.net/deapi/apis/deapi-rest-api.md) · [All operations](https://skmtc.net/deapi/apis/deapi-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deapi/deapi-rest-api/versions/c70b8b231ca8/schema)
