Voice AI Beta — Lyra

Estimate Characters

Changed on

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

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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status