Use case
AI music API for apps, games and video
A music API returns a finished song, with vocals and instruments, from a text prompt. Suno is billed per song, and each request returns two variants, so you can pick one.
Prices checked Nov 26, 2026
What you can build
- Background tracks for a game or app, generated per level or mood
- A jingle generator for short videos
- A library of instrumentals for your own video tool
Models to start with
These are starting points to test on your own inputs, chosen by price and listed capabilities. We publish no quality or speed benchmarks.
| Task | Model | Price | Why start here |
|---|---|---|---|
| Songs from a prompt | Suno | $0.075 per song (Per song (2 variants)) | Billed per song with two variants returned, plus edits, extensions and stems. |
Worked cost example
200 tracks for a game. One request per track, two variants returned each. You keep one variant per request.
| Item | Model and tier | Quantity | Cost |
|---|---|---|---|
| Songs | Suno, Per song (2 variants) | 200 songs | $15.00 |
| Total | $15.00 |
Prices checked 2026-11-26, in dollars at 100 credits = $1. Failed tasks are not charged. Put your own numbers into the media cost calculator or the LLM cost calculator.
How to build it
- Write a prompt template per mood: genre, tempo, instruments.
- Generate in batches and have a person pick.
- Check the licence terms for commercial use before you ship the tracks.
- Store the prompt next to each track.
A request to Suno looks like this. Same key and endpoint for every model; see the API docs for the full reference.
curl https://api.tapmodels.com/v1/tasks \
-H "Authorization: Bearer $TAPMODELS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "suno",
"input": {
"prompt": "A matte white ceramic mug on grey stone, soft window light",
"instrumental": false
},
"callback_url": "https://your.app/hooks/tapmodels"
}'Frequently asked questions
Can I use the songs commercially?
Commercial rights depend on the provider's terms for your plan. Read them before you ship anything; we do not grant music licences.
Keep reading
- Suno API pricingWhat Suno costs per unit, with a worked example
- Music generation APIEvery model we sell for this, ranked by price
- Image and video API cost calculatorFree tool
- AI API for game art, concept images and trailersModels, cost and a worked example
- AI video API for ecommerce product videos
- AI image and video API for ad creative