מפתחים

Make music from your own app

A small REST API on plans that include it. Create a key in your account, then send a request.

Authentication

Send your key as a Bearer token. Keys start with rs_live_ and are shown once when you create them.

Authorization: Bearer rs_live_xxxxxxxxxxxxxxxx

POST /api/v1/songs

Starts a song. Credits are taken from your account. The song is ready after a short wait.

curl -X POST https://market.biply.org/resona/api/v1/songs \
  -H "Authorization: Bearer rs_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"warm lo-fi beat for studying","styles":"lofi, piano","duration":60,"instrumental":true}'

Fields: prompt, styles, lyrics, title, duration (seconds), instrumental (true/false), vocal (female, male, duet), engine (optional).

GET /api/v1/songs/{id}

Poll until status is ready, then download the file from audio_url.

{"id":"k3x9a1b2cd","status":"ready","title":"Warm Study Beat","audio_url":"https://market.biply.org/resona/media/tracks/2026/12/k3x9a1b2cd.wav","duration":60,"credits_left":240}

GET /api/v1/me

Your plan and remaining credits.