Skip to main content
Music API

A music API on the same key as your images and video.

Songs with vocals, instrumentals, lyrics, extensions and stems, over REST. 19 models from the Suno and Mureka families, billed per track at base model cost plus a flat 20% platform fee, shown before you spend.

  • 19 music models
  • Suno and Mureka families
  • Priced per track
  • No plan
  • Same key as image and video

Most media APIs stop at image and video.

If your product makes songs, jingles or soundtracks alongside images or video, music is often a second vendor with a second bill and a second set of limits.

The usual setup
  • An image and video gateway, plus a separate music vendor
  • Two balances, two dashboards, two sets of keys
  • Music sold on a monthly plan sized in songs or credits
On FairStack
  • Music, image, video and voice on one key and one balance
  • Each track priced before you generate it
  • Caps per key and per project cover music too

What the music API does

Songs with vocals

Send a prompt and, if you like, your own lyrics. Get a finished track.

Instrumentals and beds

Background music for video and apps, with no vocals.

Lyrics

Generate lyrics on their own, or with timestamps for karaoke-style captions.

Extend and edit

Extend a track, replace a section, add vocals or add an instrumental.

Formats

Convert a track to WAV or MIDI for a production workflow.

Video in the same call chain

Score a video you generated with the same key and the same balance.

Video models →

One request, one track

Send estimate: true first to get the price without generating. Drop it to generate.

curl -X POST https://api.fairstack.ai/v1/music/generate \
  -H "Authorization: Bearer $FAIRSTACK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mureka-v9",
    "prompt": "Warm acoustic folk, finger-picked guitar, hopeful",
    "lyrics": "[Verse]\nMorning light on the kitchen floor...",
    "estimate": true
  }'

Music prices, per track

Live catalog prices for the music models builders call most.

Live catalog prices: base model cost plus a flat 20% platform fee. Every call is priced before it runs. All models

From prompt to track

  1. 01
    Price it

    Call the music endpoint with estimate set to true. You get the dollar price and nothing is charged.

  2. 02
    Generate

    Send the same request without estimate. Long tracks run async: you get a job id to poll, or a webhook.

  3. 03
    Use it

    The track lands in your asset library with a download URL. Extend it, add vocals or convert it to WAV.

Where music sits in each option

Billing terms and coverage. Coverage varies by vendor; check each one's current catalog.

FairStackA music app on a planAn image and video gateway
Music over an API YesOften app-onlySome carry music, some do not
Pricing Per track, prepaid balance, no planMonthly planPay as you go
Image and video on the same key YesNoYes
Price before you generate Yes, in dollarsPlan credits per songList price per model

Frequently asked questions

Can I call Suno models through an API? +

Yes. FairStack serves Suno-family music models over its REST API, on the same key as image, video and voice. Suno Generate Music is $0.072/track.

How much does a song cost through the FairStack music API? +

It depends on the model. Suno Generate Music is $0.072/track and Mureka V9 (Song) is $0.054/track. Every price is base model cost plus a flat 20% platform fee, shown before you spend, and you can get it from the API before generating.

Can I send my own lyrics? +

Yes. Pass a lyrics field with verse and chorus markers. You can also generate lyrics on their own first.

Is there a subscription? +

No. FairStack has no plans. You add funds to one balance, $1 minimum, and pay per track. Your balance never expires.

Can I use the music in my product? +

Commercial use follows the terms of each model's provider, which are linked from its model page. Check the terms for the model you pick before you ship.

Still have questions? We're here to help.