stem_preset field are free on every paid plan. This guide shows you how to integrate stem_preset, how to tell whether a request was free, and how to keep your workload inside the free quota.
At a glance
Quick start
Use an API Key from a paid plan
Send stem_preset instead of stems
stems field with stem_preset. Leave stems out, or send [].For a YouTube video, send the link as audio_url. For any other track, upload the audio file as audio_file; if the track is hosted at a URL, download it first. Send one of the two, not both.Check that the request was free
"is_free_promo": true and "credit_estimate": 0.0, plus the free stems you have left.Pick the right preset
Each preset uses one free stem slot per stem it returns:2_stems uses 2 and 6_stems uses 6.
lead_vocal, male_vocal, kick_drum, acoustic_guitar, strings, or winds have no preset. Request them with stems, which is charged as usual.Read the free quota from the response
Every Extraction response now includes four promotion fields. Use them instead of counting requests yourself: the counters live on our servers and use UTC.Get the most out of the promotion
Send stem_preset, never the equivalent stems list
Send stem_preset, never the equivalent stems list
stem_preset field. A request with stems=["vocals","instrumental"] returns the same stems as 2_stems but is charged.Use 6_stems when you need more than vocals
Use 6_stems when you need more than vocals
6_stems request uses six slots and a 2_stems request uses two. Ask only for the preset you need: if you only need vocals and instrumental, 2_stems leaves room for three times as many tracks.Add preprocessing and keep full quality
Add preprocessing and keep full quality
preprocessing_options such as ["Denoise", "Dereverb"] cost nothing extra. Leave eco_mode at false for the highest quality output.Pace your batch with free_quota_resets_at
Pace your batch with free_quota_resets_at
2_stems or three 6_stems requests an hour. Queue your tracks and send them as the quota resets instead of all at once. The code below does this for you.Use webhooks instead of polling
Use webhooks instead of polling
webhook_url so results arrive as soon as each conversion finishes. Extraction counts towards your parallel request limit, so avoid holding slots open with long polling loops.Keep stem_preset after November
Keep stem_preset after November
stem_preset stays available after the promotion ends. From December 1, preset requests are charged like the matching stems list, so you don’t need to change your code back.Batch tracks inside the free quota
These examples send one preset request per track. Each track is either a YouTube link, sent asaudio_url, or an audio file on disk, uploaded as audio_file. Download any hosted files before you start the batch. After each response they check the remaining counts, wait until free_quota_resets_at when either one is lower than the preset’s stem count, and stop if a request comes back charged.
Errors
422 don’t use a free slot. Neither do requests that fail before they are queued.
FAQ
I sent stems=["vocals","instrumental"]. Why was I charged?
I sent stems=["vocals","instrumental"]. Why was I charged?
stem_preset field are free. Send stem_preset=2_stems instead.Is the limit per API Key?
Is the limit per API Key?
When does the hourly limit reset?
When does the hourly limit reset?
What happens when a preset needs more stems than I have left?
What happens when a preset needs more stems than I have left?
6_stems request is charged and the response shows "is_free_promo": false and "free_generations_remaining_hour": 4. A 2_stems request would still be free.I'm on the Free plan. Can I use stem_preset?
I'm on the Free plan. Can I use stem_preset?