Mindket

UnlimitedMusicGen

Newversion 1 · updated

Overview

Generates music of any length from a text description or a guiding melody, by joining generated segments. It extends Meta's Audiocraft and suits musicians, video makers and developers.

UnlimitedMusicGen is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python 3.12.8 and pip
  • The Python packages in requirements.txt
  • A capable GPU for a local copy, since the Audiocraft notes it builds on ask for 16 GB of memory for the medium model
Runs in
  • A web browser: the Space runs on Hugging Face with nothing to install
  • Your own computer, running Python 3.12.8 on Windows, macOS or Linux
  • Docker, because the repository holds a Dockerfile
  • Your own programs, through the REST API
Start with
pip install -U huggingface_hub
hf download Surn/UnlimitedMusicGen --repo-type space --local-dir UnlimitedMusicGen
cd UnlimitedMusicGen

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system
DockerContainer

About

What it is

UnlimitedMusicGen is a modified Audiocraft project that makes music of any length. It builds a long track by joining generated segments, and it can follow an existing melody to keep the original arrangement. It adds a history, file storage and an API.

Who it suits

Musicians, video makers and developers who want background music of a chosen length without a hard time cap. It also suits researchers who want to try MusicGen with a friendlier interface.

Who makes music with it
IndustryWho uses itHow they use itExample
MusicComposers and hobbyistsGenerate tracks and guide them with an existing melodyExtend a melody sketch into a longer piece
VideoContent creatorsMake background music and a music video with a custom imageAdd a long backing track to a video
SoftwareDevelopersCall the REST API to generate music from a programGenerate tracks from a script
ResearchAudio researchersTry MusicGen and its segment-stitching approachCompare short and long generations

If you need a finished, mastered song with vocals, you can skip it, since the source describes generated music from the MusicGen family.

Where to use it

  • A web browser: the Space runs on Hugging Face with nothing to install
  • Your own computer, running Python 3.12.8 on Windows, macOS or Linux
  • Docker, because the repository holds a Dockerfile
  • Your own programs, through the REST API
Use caseWhoWhat they get back
Make a long music trackCreatorsAudio of any length, built from joined segments
Follow an existing melodyMusiciansNew music that keeps the arrangement of your melody
Generate from codeDevelopersMusic returned through the REST API
Make a music videoVideo makersA video with your own background image and settings

How to set it up

  • Python 3.12.8 and pip
  • The Python packages in requirements.txt
  • A capable GPU for a local copy, since the Audiocraft notes it builds on ask for 16 GB of memory for the medium model
  1. Install the Hugging Face hub package and download the Space into a folder.
  2. Move into that folder.
  3. Install Gradio 5.49.1, then the packages from requirements.txt.
  4. Start the app with Python.
pip install -U huggingface_hub
hf download Surn/UnlimitedMusicGen --repo-type space --local-dir UnlimitedMusicGen
cd UnlimitedMusicGen
pip install gradio==5.49.1
pip install -r requirements.txt
python app.py

How to use it

Open the Space in your browser, or start the local copy with the command below and open the page Gradio serves. Describe the music you want, set how long it should run and generate. Your results are kept in a history you can return to.

python app.py

Example

You describe a calm piano piece, set a length of several minutes and generate. The app builds it segment by segment, each one conditioned on the one before, and returns one long track with its generation settings saved as metadata.

For newcomers and experts

If you are new to this, open the Space and generate one short track first. Then raise the length to see the unlimited part, and try giving it a melody to follow.

If you know the field, the key change is in the extend utility. It segments the melody input, then conditions each next segment on the current tensors and on the tensors from the matching point in the melody file. That is how it keeps the arrangement of the original. The Space names MAGNeT and EnCodec models, such as facebook/magnet-medium-10secs and facebook/encodec_32khz.

  1. You describe the music you want
  2. A first segment is generated
  3. Each next segment follows the last
  4. Segments join into one long track

Good to know

  • Hardware: the Space runs on ZeroGPU at Hugging Face
  • Storage: generated files are stored automatically in a Hugging Face repository with shareable addresses
  • Metadata: each file records the settings used to generate it
  • Data it reaches: a Hugging Face repository that stores your generated files
  • License: creativeml-openrail-m
  • Cost to run: none named

README and files

README

UnlimitedMusicGen

Generates music of any length from a text description or a guiding melody, by joining generated segments. It extends Meta's Audiocraft and suits musicians, video makers and developers.

Made by Surn on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: UnlimitedMusicGen is a modified Audiocraft project that makes music of any length. It builds a long track by joining generated segments, and it can follow an existing melody to keep the original arrangement. It adds a history, file storage and an API.

Who it suits: Musicians, video makers and developers who want background music of a chosen length without a hard time cap. It also suits researchers who want to try MusicGen with a friendlier interface.

Title: Who makes music with it
Industry | Who uses it | How they use it | Example
Music | Composers and hobbyists | Generate tracks and guide them with an existing melody | Extend a melody sketch into a longer piece
Video | Content creators | Make background music and a music video with a custom image | Add a long backing track to a video
Software | Developers | Call the REST API to generate music from a program | Generate tracks from a script
Research | Audio researchers | Try MusicGen and its segment-stitching approach | Compare short and long generations

If you need a finished, mastered song with vocals, you can skip it, since the source describes generated music from the MusicGen family.

Where to use it:

  • A web browser: the Space runs on Hugging Face with nothing to install
  • Your own computer, running Python 3.12.8 on Windows, macOS or Linux
  • Docker, because the repository holds a Dockerfile
  • Your own programs, through the REST API
Use case | Who | What they get back
Make a long music track | Creators | Audio of any length, built from joined segments
Follow an existing melody | Musicians | New music that keeps the arrangement of your melody
Generate from code | Developers | Music returned through the REST API
Make a music video | Video makers | A video with your own background image and settings

How to set it up:

  • Python 3.12.8 and pip
  • The Python packages in requirements.txt
  • A capable GPU for a local copy, since the Audiocraft notes it builds on ask for 16 GB of memory for the medium model
  1. Install the Hugging Face hub package and download the Space into a folder.
  2. Move into that folder.
  3. Install Gradio 5.49.1, then the packages from requirements.txt.
  4. Start the app with Python.
pip install -U huggingface_hub
hf download Surn/UnlimitedMusicGen --repo-type space --local-dir UnlimitedMusicGen
cd UnlimitedMusicGen
pip install gradio==5.49.1
pip install -r requirements.txt
python app.py

How to use it: Open the Space in your browser, or start the local copy with the command below and open the page Gradio serves. Describe the music you want, set how long it should run and generate. Your results are kept in a history you can return to.

python app.py

Example: You describe a calm piano piece, set a length of several minutes and generate. The app builds it segment by segment, each one conditioned on the one before, and returns one long track with its generation settings saved as metadata.

For newcomers and experts: If you are new to this, open the Space and generate one short track first. Then raise the length to see the unlimited part, and try giving it a melody to follow.

If you know the field, the key change is in the extend utility. It segments the melody input, then conditions each next segment on the current tensors and on the tensors from the matching point in the melody file. That is how it keeps the arrangement of the original. The Space names MAGNeT and EnCodec models, such as facebook/magnet-medium-10secs and facebook/encodec_32khz.

You describe the music you want
A first segment is generated
Each next segment follows the last
Segments join into one long track

Good to know:

  • Hardware: the Space runs on ZeroGPU at Hugging Face
  • Storage: generated files are stored automatically in a Hugging Face repository with shareable addresses
  • Metadata: each file records the settings used to generate it
  • Data it reaches: a Hugging Face repository that stores your generated files
  • License: creativeml-openrail-m
  • Cost to run: none named

On Hugging Face, 13 November 2026

  • Likes: 379
  • Built with: gradio
  • License: creativeml-openrail-m

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
UnlimitedMusicGen This page379gradiocreativeml-openrail-m
Kızagan TTS v1.0Shares mcp-server-track · gradio16gradioapache-2.0
Intelligent Content Organizer MCP AgentShares mcp-server-track · gradio16gradiomit
MusicGenShares gradio5,116gradiocc-by-nc-4.0
Kokoro TTSShares gradio3,556gradioapache-2.0
Background RemovalShares gradio2,988gradiomit
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Productivity

See all in Productivity

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k