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!
🚀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
stringA description of the music you want to generate.
input_audio
stringAn 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
integerDuration of the generated audio in seconds.
continuation
booleanIf `True`, generated music will continue `melody`. Otherwise, generated music will mimic `audio_input`'s melody.
continuation_start
integerStart time of the audio file to use for continuation.
continuation_end
integerEnd 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
booleanIf `True`, the EnCodec tokens will be decoded with MultiBand Diffusion. Only works with non-stereo models.
normalization_strategy
stringStrategy for normalizing audio.
top_k
integerReduces sampling to the k most likely tokens.
top_p
numberReduces sampling to tokens with cumulative probability of p. When set to `0` (default), top_k sampling is used.
temperature
numberControls the 'conservativeness' of the sampling process. Higher temperature means more diversity.
classifier_free_guidance
integerIncreases the influence of inputs on the output. Higher values produce lower-varience outputs that adhere more closely to inputs.
output_format
stringOutput format for generated audio.
seed
integerSeed 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 }
Quick Actions
Technical Specifications
- Hardware Type
- L40S
- Run Count
- 57
- Commercial Use
- Unknown/Restricted
- Platform
- Replicate