#What is a set duration? And does the API charge fractions of seconds? The API is charged at 100 cha

1 messages · Page 1 of 1 (latest)

shut iceBOT
#
AI-generated Answer for mojavehigh

A set duration refers to the specific length of time you choose for the generated sound effect. When you set the duration, you have control over how long the sound effect will be, as opposed to letting the AI determine the optimal duration automatically.

Regarding charging, the API charges based on the set duration at a rate of 25 characters per second. This means that if you specify a duration, the cost will be calculated per second, and fractions of seconds are indeed considered in the billing.

patent tulip
#

So I am getting charged 29 characters from one of my api calls, that means the audio is just over 1 second long?

shut iceBOT
#
AI-generated Answer for mojavehigh

The API is charged at 1000 characters per minute of audio. If you are charged for 29 characters, it means the audio is approximately 1.74 seconds long.

#
AI-generated Answer for mojavehigh

Yes, if you are being charged 29 characters for an API call with a set duration, it means the audio is just over 1 second long. The API charges 25 characters per second with a set duration, so 29 characters would indicate slightly more than 1 second of audio.

patent tulip
#

For text to speech, isn't pricing based simply on number of characters in my text?

shut iceBOT
#
AI-generated Answer for mojavehigh

Yes, for text-to-speech, the pricing is generally based on the number of characters in your text. Each character in your input text typically counts towards your character quota. However, certain models or features might have different character usage rates, so it's always good to check the specific details of the model or feature you are using.