API
Music by API
Royalty-free tracks for your videos, apps and games: send a prompt, get an audio file and a license record.
Instrumental or sung
19 languages for vocals. Lyrics written for you, or send your own.
A license with every track
Each finished track has a license record you can show: model, terms and checksums.
Safe to retry
Send an Idempotency-Key and a repeated request returns the same track.
One request
curl -X POST https://newsong.ai/api/v1/tracks \
-H "Authorization: Bearer ns_live_…" \
-H "Idempotency-Key: video-0427-bed" \
-H "Content-Type: application/json" \
-d '{"prompt":"warm lo-fi piano, rainy evening","duration_s":30}'You get 202 and the track. Poll GET /tracks/ until it succeeds; the audio comes as a link valid for an hour.
Read the API reference
API keys are issued on request for now; self-serve keys come later.