#Is there a re-payment for voicing the same text using the API?

1 messages · Page 1 of 1 (latest)

somber orbitBOT
#
AI-generated Answer for oberlado

When using the API, free regenerations are not available. Each generation, even if it's the same text with different voices, will consume credits. This is because generating audio with each voice involves computational resources. If you are testing multiple voices, it's recommended to keep the length of the generations short to conserve credits.

woven ledge
#

What if it's the same voice and the same text?

somber orbitBOT
#
AI-generated Answer for oberlado

When using the API, credits are deducted for each audio generation, even if the same text and voice are used. This is because generating audio involves computational resources. There are no free regenerations available through the API, unlike the website, where you can regenerate audio twice for free under specific conditions.

woven ledge
#

What if I generated a certain audio once using the API, and then requested the same audio?

somber orbitBOT
#
AI-generated Answer for oberlado

When using the ElevenLabs API for text-to-speech generation, you will be charged credits for each generation, even if you're using the same text or voice. This is because each request requires computational resources to process and generate the audio.

Free regenerations are only available when using the Speech Synthesis feature on the website, not through the API. These free regenerations are limited to two attempts and have specific conditions:

  1. The prompt, voice, and model must remain the same (though you can adjust voice settings).
  2. The first generation must have been made within the last two hours.
  3. You must not have refreshed the page since the original audio generation.

Unfortunately, there is currently no way to preview or regenerate audio without using credits when working with the API. Each API call will result in credit deduction, regardless of whether it's the same text, voice, or a repeat of a previous request.

If you need to generate the same audio multiple times, it's recommended to save the generated audio file from your initial API call and reuse it as needed, rather than making repeated API requests for the same content.

If you have any specific use cases or concerns about credit usage, you may want to reach out to the ElevenLabs support team for more detailed guidance or to discuss potential solutions for your particular needs.

woven ledge
#

This generated text is not cached, no matter how much snow it takes to get through it?

somber orbitBOT
#
AI-generated Answer for oberlado

When using the API, you will be charged credits for each generation, even if you're using the same text and voice. There are no free regenerations available when using the API.

The system does not cache generated audio, so each request will result in a new generation and credit deduction, regardless of whether you've generated the same audio before. This applies even if you're using identical parameters like the same text, voice, and settings.

It's worth noting that free regenerations are only available when using the Speech Synthesis feature on the website, and even then, under specific conditions:

  1. The prompt (for text-to-speech) or file (for speech-to-speech), voice, and model must remain the same.
  2. The first generation must have been made less than two hours ago.
  3. You haven't refreshed the page since generating the original audio.

These free regenerations are not available through the API or in other features like Studio (previously Projects) or Dubbing Studio.

If you're concerned about credit usage, especially when working with the same content repeatedly, you might want to consider storing the generated audio on your end for reuse, rather than regenerating it each time through the API.

woven ledge
#

That is, the generated text is not cached and cannot be used again, only re-created?