curl --request POST \ --url https://api.deapi.ai/api/v1/client/prompt/speech/price-calculation \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "Tell me a story about a brave knight", "lang_code": "en"}'
Copy
{ "price": 0.00012345}
Prompt Enhancement
Speech Prompt Booster Price
Calculate the cost of enhancing a text-to-speech prompt before execution.
POST
/
api
/
v1
/
client
/
prompt
/
speech
/
price-calculation
cURL
Copy
curl --request POST \ --url https://api.deapi.ai/api/v1/client/prompt/speech/price-calculation \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "Tell me a story about a brave knight", "lang_code": "en"}'