Developer Platform

Music Generation
for Your Products

Add AI music generation to your app, website, or workflow. Beat creation, full viral songs, and vocal synthesis — accessible via a simple REST API.

Get Started → View Pricing
$0.15
per beat
$0.75
per full song
~45s
avg. generation
REST
JSON API
Capabilities

What You Can Build

Our API handles the complexity — you bring the creativity.

🎵

Beat Generation

Generate original instrumental tracks from a text description. Specify genre, mood, BPM, and key — get back a finished audio file in seconds.

Instrumental Genre-specific
🎤

Full Song Creation

Generate complete TikTok-ready songs with original vocals. Pass a topic, pick a style, and receive a mixed, mastered track with lyrics.

Beat + Vocals Mixed & Mastered
🗣️

Vocal Synthesis

Convert any text into expressive vocal audio. Choose from multiple voice profiles to match the tone of your project.

Text-to-Speech Multiple Voices

Use cases: music apps, content creation tools, social platforms, advertising, game audio, podcast intro/outro music, brand experiences, and more.

Integration

How It Works

1

Get Your API Key

Register for a free key. No credit card required to start.

2

Make API Calls

Send a POST request with your parameters. Most calls return in under a minute.

3

Receive Audio

Get back a direct URL to your generated audio file. Download or stream.

curl -X POST https://api.ifinessemusic.com/api/song \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"topic": "hustle and grind", "style": "phonk"}'

# Response:
{ "status": "queued", "jobId": "tkjob-abc123", "creditsUsed": 5 }
Reference

API Endpoints

Base URL: https://api.ifinessemusic.com

POST /api/beat 1 credit

Generate an instrumental beat. Returns MP3 audio directly. Typically completes in 30–60 seconds.

curl -X POST https://api.ifinessemusic.com/api/beat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "dark phonk beat 140bpm heavy 808s"}'
POST /api/song 5 credits

Create a full TikTok-ready song with original vocals. Async — poll /api/song/status/{jobId} for result.

Pass custom_lyrics with tags: [Verse] [Hook] [Chorus]

curl -X POST https://api.ifinessemusic.com/api/song \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"topic": "late night drives", "style": "phonk"}'
POST /api/vocals 2 credits

Text-to-speech vocal synthesis. Returns MP3 audio directly.

curl -X POST https://api.ifinessemusic.com/api/vocals \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Verse one: hustle never stops", "voice_id": "..."}'
GET /account Free

Check your current credit balance.

All endpoints return JSON responses. Songs are generated asynchronously — submit your request, poll the status endpoint, and download when ready. Audio files are available for at least 30 days.
🎛️ Production Audio

Sound Effects, Dialogue & Foley

Generate any production audio asset on demand — game SFX, character dialogue, or film foley. Commercial license included.

Base URL: https://ifinessemusic.com  ·  Auth: x-user-id header

🎧 Sound Effects (SFX)

Generate any sound effect from a text prompt. From UI clicks to cinematic explosions.

POST /api/sfx/generate

Generate a sound effect from a text description.

curl -X POST https://ifinessemusic.com/api/sfx/generate \
  -H "Content-Type: application/json" \
  -H "x-user-id: YOUR_USER_ID" \
  -d '{
    "text": "Thunder rumbling in the distance with light rain",
    "duration_seconds": 10,
    "prompt_influence": 0.5,
    "loop": false
  }'
Parameters: text (required) — Sound description   duration_seconds (1-30, optional)   prompt_influence (0-1, default 0.5)   loop (boolean, optional — seamless loop)
GET /api/sfx/status/:jobId Poll

Poll for job completion. Returns status: queued · generating · complete · failed

GET /api/sfx/presets Free

Returns 22 SFX preset categories with example prompts.

🎭 Game Dialogue

Character voices for games, film, and cinematic productions. 10 preset character voices included.

POST /api/dialogue/generate

Generate character dialogue audio from text using a preset voice.

curl -X POST https://ifinessemusic.com/api/dialogue/generate \
  -H "Content-Type: application/json" \
  -H "x-user-id: YOUR_USER_ID" \
  -d '{
    "text": "You dare enter my domain, mortal? Prepare to die!",
    "voice_preset": "warrior_deep",
    "speed": 1.0,
    "stability": 0.5
  }'
Voice Presets: narrator_deep · narrator_soft · warrior_deep · rogue_sneaky · mage_mystical · robot_ai · alien_weird · cartoon_fun · ...
GET /api/dialogue/status/:jobId
GET /api/dialogue/presets Free

🎬 Foley Generator

Production-quality foley sounds for film and TV. 16 common foley presets.

POST /api/foley/generate

Generate foley audio from text or preset ID.

curl -X POST https://ifinessemusic.com/api/foley/generate \
  -H "Content-Type: application/json" \
  -H "x-user-id: YOUR_USER_ID" \
  -d '{"text": "Heavy boots walking on concrete", "duration_seconds": 5}'
GET /api/foley/status/:jobId GET /api/foley/presets Free
⚡ Audio AI

Transcription API

Production-quality audio transcription in seconds. Upload any audio format and get accurate text output.

POST /api/transcribe audio/*

Upload an audio file and receive an accurate transcription. Supports MP3, WAV, M4A, OGG, WebM. Max 100MB.

curl -X POST https://ifinessemusic.com/api/transcribe \
  -H "x-user-id: YOUR_USER_ID" \
  -F "file=@audio.mp3" \
  -F "timestamps=false"
Response: { "text": "...", "language": "en", "duration_seconds": 45.2, "segments": [...] }
GET /api/transcribe/usage Free

Check current monthly transcription usage and remaining minutes.

PlanMinutes/MonthCost
Free10 minFree
Starter+60–500 minIncluded
Premium2,000 minIncluded
EnterpriseUnlimitedCustom
🧠 AI Analysis

Music Intelligence API

Deep track analysis — genre classification, mood detection, BPM/key identification, and content profiling.

POST /api/intelligence/analyze

Analyze a track by audio URL, lyrics, or description. Returns genre, mood, BPM range, key, energy, instruments, similar artists.

curl -X POST https://ifinessemusic.com/api/intelligence/analyze \
  -H "Content-Type: application/json" \
  -H "x-user-id: YOUR_USER_ID" \
  -d '{"lyrics": "late night grind never stops", "genre": "trap", "mood": "motivational"}'
Response: { "genre": "trap", "mood": "motivational", "energy": "high", "bpm_range": "140-160", "tags": ["aggressive","hype"], "instruments": ["808","hi-hat","piano"] }
PlanRequests/MonthCost
Starter+100–1,000Included
Premium5,000Included
EnterpriseUnlimitedCustom
🤖 Full Pipeline

AI Music Agent Studio

Complete AI pipeline: transcribe → analyze → generate → deliver. One prompt, three finished tracks.

POST /api/agent/generate Pro+

Full AI music pipeline. Provide audio or lyrics + genre/mood. Returns tiktok, full, and mastered tracks.

curl -X POST https://ifinessemusic.com/api/agent/generate \
  -H "Content-Type: application/json" \
  -H "x-user-id: YOUR_USER_ID" \
  -d '{"lyrics": "boss money never sleeps", "genre": "trap", "mood": "aggressive", "duration": 30}'
Response: { "jobId": "...", "status": "queued", "pollUrl": "/api/agent/status/..." }
GET /api/agent/status/:jobId Pro+
PlanGenerations/MonthCost
Pro50Included
Premium200Included
EnterpriseUnlimitedCustom
Pricing

Credit Packages

No subscriptions. No monthly fees. Pay only for what you use.

Starter
50 credits
$15
$0.30 per credit
  • 50 beats, or 10 songs
  • REST API access
  • Credits never expire
Get Started
Popular
Creator
200 credits
$45
$0.225 per credit 25% off
  • 200 generations
  • Priority queue
  • Slack support
Get Started
Studio
1,000 credits
$180
$0.18 per credit 40% off
  • 1,000 generations
  • Webhook callbacks
  • Slack + email support
Get Started
Agency
5,000 credits — $650 ($0.13/credit)
Contact Us
Enterprise
20,000+ credits — $2,000+ ($0.10/credit)
Contact Us
EndpointCreditsCost per call
Beat generation1 credit$0.15
Full TikTok song5 credits$0.75
Full TikTok song5 credits$0.75
🎙️ Memo 2 Hit3 credits$0.45
Vocal synthesis2 credits$0.30
FAQ

Common Questions

Do I need a credit card to get started?
No. Register for a free API key to test connectivity. Credits are purchased when you're ready.
How long does generation take?
Beat generation typically completes in 30–60 seconds. Full songs take 45–90 seconds.
Are generated songs royalty-free?
Yes. All audio generated through the API is cleared for commercial use. See our Content License for full terms.
Can I use custom lyrics?
Yes. Pass your own lyrics via custom_lyrics using structure tags: [Verse], [Hook], [Chorus].
Do audio files expire?
Generated audio files are available for download for at least 30 days.
Is there a rate limit?
Standard accounts: 60 requests/minute. Higher limits for Agency and Enterprise.
Can I get a refund for unused credits?
Credits are non-refundable once purchased. We recommend starting with a Starter package to evaluate first.

Ready to Build?

Get your free API key. No credit card. No commitment.

Request Free API Key Enterprise Inquiries

Questions? Email api@ifinessemusic.com