Audio generation API
Make speech in four languages, short tracks and sound effects. Audio is a job: you start it, then ask until it is done. You can ask for the exact price before you run anything.
Models open for the API now
Read live from the API's own model list, so the prices here are the prices charged.
| ಮಾದರಿ | Modes | ದರ |
|---|---|---|
| Seed Audio 1.0 | tts music sfx | from 807 credits per 1,000 characters |
| Eleven v4 | tts | from 135 credits per 1,000 characters |
| Eleven v3 | tts | from 168 credits per 1,000 characters |
| MiniMax Speech 2.8 HD | tts | from 168 credits per 1,000 characters |
| Seed Speech TTS 2.0 | tts | from 51 credits per 1,000 characters |
| Gemini Flash TTS | tts | from 76 credits per 1,000 characters |
| Grok Voice TTS | tts | from 26 credits per 1,000 characters |
| Cello | tts clone | from 25 credits per 1,000 characters |
| Viola | tts clone | from 20 credits per 1,000 characters |
| Harp | tts clone | from 30 credits per 1,000 characters |
| Oboe | clone | from 20 credits per 1,000 characters |
| Eleven Music v2.5 | music | from 1,008 credits per minute |
| Lyria 3 | music | from 68 credits per run |
| Etude | music sfx | from 20 credits per run |
| Sonata | music | from 12 credits per minute |
| Nocturne | music | from 20 credits per minute |
| MiniMax-Music3 | music | from 110 credits per minute |
| Eleven Sound Effects v2 | sfx | from 202 credits per minute |
| Mirelo SFX 1.6 | sfx | from 1,008 credits per minute |
| Mirelo SFX 2.0 | sfx | from 1,512 credits per minute |
| Kling Video-to-Audio | sfx | from 59 credits per run |
| ThinkSound | sfx | from 17 credits per run |
Your first request
Ask for the price. Asking never charges.
# 1. the price: asking never charges
curl https://pickshot.ai/api/v1/estimate \
-H "Authorization: Bearer $PICKSHOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"audio","request":{"model":"viola","mode":"tts","text":"Hello from Pickshot.","lang":"en"}}'
# 2. the run, capped at the price you were quoted (a higher price is refused before anything is taken)
curl https://pickshot.ai/api/v1/audio \
-H "Authorization: Bearer $PICKSHOT_API_KEY" \
-H "Idempotency-Key: my-run-0001" \
-H "Content-Type: application/json" \
-d '{"model":"viola","mode":"tts","text":"Hello from Pickshot.","lang":"en","max_credits":QUOTED_CREDITS}'ಇದು ಕೆಲಸ ಮಾಡುವ ರೀತಿ
- Make an API key on the API page.
- Ask for the price of your exact request: POST /api/v1/estimate.
- Run it with max_credits set to that price and an Idempotency-Key header. A higher price is refused before anything is taken.
- A clip or sound returns a job id: ask GET /api/v1/jobs/{id} until it is done.
Try it in the Playground · Get an API key · OpenAPI description
ಪ್ರಶ್ನೆಗಳು
Is there a free trial through the API?
No. Every generation through a key costs credits, including models that are free on the website. Reading prices and asking for a quote cost nothing.
What if a run fails?
What was not delivered is given back to your credits. The job or the reply says so.
Can I retry safely?
Yes. Send the same Idempotency-Key with the same request and you get the first result back instead of a second charge. Receipts are kept for 24 hours.