Voice AI Beta — Lyra

Estimate Characters

Count the billable characters of a text without creating a task. Free. Lyra is billed 1 credit per character, so the cost equals characters.

Rate limit: 60 requests/minute

post/v1/tts/lyra/estimate

Request body

contentstring required

Response

Estimate

charactersinteger

Billable characters (encoder units ≈ UTF-8 bytes — ASCII = 1, most CJK = 3, emoji = 4)

Example response

{
  "characters": 1234
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.