Skip to main content
GET
Estimate audio credits

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API key. To get your API key, go to Developer Hub and click "Create new API Key".

Query Parameters

tool
enum<string>
required

The create endpoint to price, named by its path. For example ai-voice-generator for POST /v1/ai-voice-generator.

Available options:
ai-voice-generator,
ai-voice-cloner,
ai-music-generator
Example:

"ai-voice-generator"

character_count
integer

The number of characters in the style.prompt of the create request. Used by ai-voice-generator, ai-voice-cloner.

Example:

120

duration
integer

The duration of the create request. Used by ai-music-generator.

Response

Success

Success

estimated_credits
integer
required

Credits a create request with these fields charges.

Example:

150