AI KNOWLEDGE DESK

Models · entities · concepts · comparisons · practical tools

GETLLMS.ORG

MusicGen LoRA

Discover MusicGen LoRA, an advanced model designed for seamless music generation from text and audio. Let's explore what this AI model can do for you!

Platform: Replicate
Music GenerationLoRA ModelAudio SynthesisMelody Continuation
57 runs
L40S
License Check Required

🚀Function Overview

Generates new music tracks based on text prompts and audio inputs, with options for continuation or melody mimicry.

Key Features

  • Creates music from text descriptions
  • Continuation of input audio tracks
  • Melody mimicry from reference audio
  • Duration control for audio length
  • Sampling parameters for diversity (top_k, top_p, temperature)
  • Multi-band diffusion for enhanced audio quality
  • Multiple output formats

Use Cases

  • Background music composition
  • Remixing and extending existing tracks
  • Creative audio experimentation
  • Melody-based music generation

⚙️Input Parameters

prompt

string

A description of the music you want to generate.

input_audio

string

An audio file that will influence the generated music. If `continuation` is `True`, the generated music will be a continuation of the audio file. Otherwise, the generated music will mimic the audio file's melody.

duration

integer

Duration of the generated audio in seconds.

continuation

boolean

If `True`, generated music will continue `melody`. Otherwise, generated music will mimic `audio_input`'s melody.

continuation_start

integer

Start time of the audio file to use for continuation.

continuation_end

integer

End time of the audio file to use for continuation. If -1 or None, will default to the end of the audio clip.

multi_band_diffusion

boolean

If `True`, the EnCodec tokens will be decoded with MultiBand Diffusion. Only works with non-stereo models.

normalization_strategy

string

Strategy for normalizing audio.

top_k

integer

Reduces sampling to the k most likely tokens.

top_p

number

Reduces sampling to tokens with cumulative probability of p. When set to `0` (default), top_k sampling is used.

temperature

number

Controls the 'conservativeness' of the sampling process. Higher temperature means more diversity.

classifier_free_guidance

integer

Increases the influence of inputs on the output. Higher values produce lower-varience outputs that adhere more closely to inputs.

output_format

string

Output format for generated audio.

seed

integer

Seed for random number generator. If None or -1, a random seed will be used.

💡Usage Examples

Example 1

Input Parameters

{
  "top_k": 250,
  "top_p": 0,
  "prompt": "a flower blossoming",
  "duration": 60,
  "temperature": 1,
  "continuation": false,
  "output_format": "wav",
  "continuation_start": 0,
  "multi_band_diffusion": false,
  "normalization_strategy": "loudness",
  "classifier_free_guidance": 3
}

Output Results

https://replicate.delivery/xezq/eR0WpZkce8rfyop2jfULeBEUzGmm7grJfBtW9wZygfHOHt3NKA/out.wav

Quick Actions

Technical Specifications

Hardware Type
L40S
Run Count
57
Commercial Use
Unknown/Restricted
Platform
Replicate

Related Keywords

Music generation from textAudio track continuationMelody mimicryBackground music compositionCreative audio experimentationMultiple output formats