#API cost per TTS request

1 messages · Page 1 of 1 (latest)

ebon beacon
#

When making an API request for TTS, how can I determine the cost for that request in credits?

I have a multi tenant platform that is integrated with the EL API, but I can't get any data / metrics on cost per tenant (or ideally more granular).

The documentation just shows the API endpoint response as a file without any metadata at all, plus I can't see any breakdown of requests in the account area, just shows a basic progress bar of credits spent with zero additional information.

ElevenLabs

API that converts text into lifelike speech with best-in-class latency & uses the most advanced AI audio model ever. Create voiceovers for your videos, audiobooks, or create AI chatbots for free.

lofty hedge
#
: 
{history_item_id: "L6PLYv3kBLWAJ8EnF4Az", request_id: "GyB4xrgXR0IHeA0CLp4s",…}
alignments
: 
null
character_count_change_from
: 
9785
character_count_change_to
: 
10017```

the char usage is availible from the history endpoint, I know people have used it in a similar fashion
ebon beacon
#

thanks for the quick response 🙌 but how is it possible to extrapolate credits based on duration from character counts?

#

oh, these guys

"alignment": {
          "characters": [
            "<string>"
          ],
          "character_start_times_seconds": [
            123
          ],
          "character_end_times_seconds": [
            123
          ]
        },```