Test keys
A test key calls the real API without generating anything or spending credits. Use it to check sign-in, request shapes and error handling.
What each call returns
- Reads, such as
GET /v1/me, credits, limits, models and songs: your real account data.GET /v1/meshowstest_mode: true. The credit balance reads 0, because test calls never spend. - Songs and covers: the job is accepted and settles at once with one sample take, not two, and the same sample song id every time. Nothing is generated. You can read the sample song with
GET /v1/songs/{song_id}, its waveform and a download link; itsproject_idis null. - Lyrics, audio to MIDI, stems, mastering and cover art: a dry-run answer, with
dry_run: trueand empty results.
What a test key cannot test
- Changing or spending on the sample song: updating or deleting it, splitting it, converting it to MIDI, mastering it or making cover art for it answers 404.
- Real audio, real song lengths and downloads of a generated song.
- Credit and daily limits: test calls skip them, so you will not see out-of-credit or limit refusals.
Idempotency keys stay within one key mode
An Idempotency-Key replays only between keys of the same mode. A test key never gets a live key's stored answer, and a live key never gets a test key's. Two keys of the same mode share replays, so a retry with a rotated key still gets the first answer.