---
title: Ai Music Generator API | Music Generation | ModelsLab
description: Generate original music, melodies, instrumentals, and background tracks instantly with the Music Generator AI model on ModelsLab. Create high-quality AI music for videos, games, ads, podcasts, and creative projects.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ai-music-generator.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ai-music-generator.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-06-22T20:24:13.958814Z
---

[![ai music generator thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Ai Music Generator
---

[by ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Create high-quality, AI-generated music in seconds with lightning-fast inference speed. Generate up to 8 minutes of rich, dynamic audio tailored to your style whether it's cinematic scores, lo-fi beats, EDM, background music, or vocal-driven tracks

`ai-music-generator`

Open Source Model [Unlimited Usage](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ai-music-generator/llms.txt)

[API Playground](/models/modelslab/ai-music-generator)ShowcaseAPI DocumentationVibe CodeRelated ModelsDeveloper SupportModel Specs

Input
---

Prompt 

marimba, percussion, bass, tropical house, melodic riff, G# minor, 96 bpm

Init Audio 

Upload

File preview

 or record audio

Record Audio

Duration 

Bitrate 

Advanced Settings Customize your input with more control.

Configure

Add FundsLogin to Generate

**Per Audio generation** will cost **0.0047$ .**
**For premium plan Audio generation** will cost **0.00$** i.e **Free.**

Output
---

Idle

Unknown content type

Related Models
---

Discover similar models you might be interested in

 [View all Audio Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=audiogen)

[![ Shreya Ghoshal](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/fdf1485c-c632-4de4-8798-f74ec3b8e9f9.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/shreya)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [ Shreya Ghoshal

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/shreya)

[![Inworld Text to Speech](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/f269322f-f39c-4377-9ee9-b023978a059a.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/inworld/inworld-tts-1)[Inworld](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/inworld)

 [Inworld Text to Speech

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/inworld/inworld-tts-1)

[![scribe_v1](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/a19c43f8-e514-40b1-b970-ee134c0fd6c9.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/scribe_v1)[Eleven Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs)

 [scribe\_v1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/scribe_v1)

[![Song generation](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/546bbad1-1b61-4644-bfdd-424605d52aa0.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto/sonauto_song)[Sonauto](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto)

 [Song generation

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto/sonauto_song)

[![Baldi](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/baldi.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/baldi)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Baldi

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/baldi)

[![Kanye West](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/85d330df-0431-41f5-95e4-e2758dbf842a.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/kanyev2-redux)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Kanye West

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/kanyev2-redux)

[![Modi](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/45cccedb-738d-45db-81c6-78baa7e2ca7c.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/modi)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Modi

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/modi)

[![Elevenlabs Voice Changer](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/e2a59b53-8357-4899-9a76-a98fca545dfb.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/eleven_english_sts_v2)[Eleven Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs)

 [Elevenlabs Voice Changer

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/eleven_english_sts_v2)

[![Qwen Text to Speech](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/3d658d98-f5d6-4673-96c0-61f1cc72aca5.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/qwen-tts)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Qwen Text to Speech

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/qwen-tts)

[![eleven_multilingual_v2](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/35797b64-cfdd-460c-94cc-3501b4a67881.webp
)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/eleven_multilingual_v2)[Eleven Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs)

 [eleven\_multilingual\_v2

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/eleven_multilingual_v2)

[![Mina](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/mina.png)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mina)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Mina

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mina)

[![Music](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/bec501a8-4124-452e-b795-d7859217a267.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/music_v1)[Eleven Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs)

 [Music

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/music_v1)

[![Voice isolation](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/a898df5a-3208-4792-978f-c4bc36d9e4c8.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/vocal_isolator)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Voice isolation

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/vocal_isolator)

[![song extender](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/59b1dbe9-dac8-4033-98c6-68df9b2ae66b.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto/song-extender)[Sonauto](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto)

 [song extender

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto/song-extender)

[![song inpaint](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/8f0d9fc2-171c-4342-a15b-62b9c2cd0619.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto/song-inpaint)[Sonauto](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto)

 [song inpaint

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/sonauto/song-inpaint)

[![eleven_sound_effect](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/8172812c-dd54-438a-89cb-51471917b799.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/eleven_sound_effect)[Eleven Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs)

 [eleven\_sound\_effect

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/elevenlabs/eleven_sound_effect)

[![Kris - AI Character - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a7d6e5d8-1993-44eb-8fe1-6ef0e1a7c1ba/width=896/99157664.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/kris-ai-character-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Kris - AI Character - v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/kris-ai-character-v1-0)

[![SH_Models - Old Model](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d8e08e16-c57b-4d07-8b40-ab8b0ee7d86e/width=1024/15893037.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/shmodels-oldmodel)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [SH\_Models - Old Model

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/shmodels-oldmodel)

About Ai Music Generator
---

Ai Music Generator is a voice cloning AI model available on ModelsLab. Access Ai Music Generator through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDai-music-generator

ProviderModelslab

CategoryAudio Models

TaskVoice Cloning

Price$0.0047 per API call

AddedMay 13, 2026

### Key Features

- AI voice synthesis and text-to-speech
- Multiple language and accent support
- Voice cloning from short audio samples
- Real-time audio processing via API
- Customizable speech parameters

### Quick Start

Integrate Ai Music Generator into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v6/voice/music_gen"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "ai-music-generator",
        "prompt": "your prompt here",
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Ai Music Generator API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- Voice-over production for video content
- Podcast and audiobook narration
- Multilingual customer support automation
- Interactive voice response (IVR) systems

[Browse Audio Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=audiogen) [More from Modelslab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Ai Music Generator FAQ
---

### What is Ai Music Generator?

Ai Music Generator is a voice cloning AI model available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Ai Music Generator API?

You can integrate Ai Music Generator into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "ai-music-generator" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Ai Music Generator cost?

Ai Music Generator costs $0.0047 per API call. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Ai Music Generator model ID?

The model ID for Ai Music Generator is "ai-music-generator". Use this ID in your API requests to specify this model.

### Does Ai Music Generator have a free tier?

Yes, ModelsLab offers a free tier that lets you try Ai Music Generator and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-06-23*