#What does the response header `character-cost` mean?

1 messages · Page 1 of 1 (latest)

mighty spearBOT
#
AI-generated Answer for shrey_kant

The character-cost response header indicates the number of characters (or credits) consumed during a specific text-to-speech generation request. This cost is calculated based on the total characters processed in the synthesis, regardless of whether the audio is downloaded or just previewed. Each time you click "Generate," the character cost is incurred for that request.

For more details on how characters or credits are consumed, you can refer to the updated terminology where "characters" are now referred to as "credits" in some contexts. For example, in text-to-speech, each text character typically consumes 1 credit, though this may vary depending on the model or custom rates applied.

muted gale
#

for scribe_v1 api, is it the number of characters or final cost?