Music Models - Parameters Reference

This document provides a comprehensive reference for the parameters available across various audio generation models in the Scenario API. Each model has a unique modelId and a set of specific parameters that can be used to control the music generation process. Understanding these parameters is crucial for effectively utilizing the API to achieve desired audio outputs.

Below, you will find detailed information for each audio model, including its modelId, the types of parameters it accepts, allowed values, default settings, and a clear description of each parameter's function.

Beatoven Music Generation

Model ID: beatoven-music-generation

InputLabelTypeDefaultMinMaxAllowed ValuesNotes
promptPromptstringRequired. Describe the music you want to generate
negativePromptNegative Promptstring""Describe instruments, moods, or styles to avoid
durationDurationnumber905150Length in seconds
refinementRefinementnumber10010200Higher values can improve quality
creativityCreativitynumber16120Higher values allow more creative interpretation
seedSeednumber02147483647Optional reproducibility seed

Google Lyria 2

Model ID: model_lyria-2

InputLabelTypeDefaultNotes
promptPromptstringRequired. Up to 2048 chars
negativePromptNegative PromptstringExcludes elements from generation
seedSeednumberOptional reproducible seed

Meta MusicGen

Model ID: model_meta-musicgen

InputLabelTypeDefaultMinMaxAllowed ValuesNotes
modelVersionModel Versionselectstereo-melody-largestereo-melody-large, stereo-large, melody-large, large
promptPromptstringRequired if no input_audio
inputAudioInput Audiofileoptional conditioning
durationDurationnumber8130seconds
continuationContinuationbooleanfalsecontinues from input_audio
continuationStartStartnumber00start time (s)
continuationEndEndnumber0defaults to end
multiBandDiffusionMulti Band Diffusionbooleanfalseonly for non-stereo models
normalizationStrategyNormalization Strategyselectloudnessloudness, clip, peak, rms
temperatureTemperaturenumber1controls diversity
classifierFreeGuidanceGuidancenumber3010higher = more faithful
seedSeednumberoptional RNG seed

Minimax

Minimax Music 1.5

Model ID: model_minimax-music-1.5

InputLabelTypeDefaultAllowed ValuesNotes
promptPromptstring10-300 characters required
lyricsLyricsstring10-600 characters
sampleRateSample Ratenumber4410016000, 24000, 32000, 44100
bitrateBitratenumber25600032000, 64000, 128000, 256000

Minimax Music 01

Model ID: model_minimax-music-01

InputLabelTypeDefaultAllowed ValuesNotes
lyricsLyricsstring""required. Supports newline and ## for accompaniment
songFileSong Filefilemust be >15s
voiceFileVoice Filefilerequired if lyrics given
instrumentalFileInstrumental Filefileinstrumental reference
sampleRateSample Ratenumber4410016000, 24000, 32000, 44100
bitrateBitratenumber25600032000, 64000, 128000, 256000

MM Audio

Model ID: model_mm-audio

InputLabelTypeDefaultMinMaxNotes
promptPromptstringrequired
videoVideofilerequired
negativePromptNegative Promptstring
durationDurationnumber8130seconds
numStepsStepsnumber25450
cfgStrengthGuidancenumber4.5120higher = closer to prompt
seedSeednumber-1-1 or blank = random