Skip to content

ModelMusicConfiguration

HTTP API schema

← HTTP API reference

Music generation configuration.

ModelMusicConfiguration fields

supportsLyricsbooleanRequired

True when `lyrics` is accepted as a separate field. When false, put the lyrics in the prompt.

supportsGenresbooleanRequired

True when `genres` is accepted. When false, name the genre in the prompt.

genresarray<string>

Accepted values of `genres`. Empty when `genres` is unsupported.

supportsVocalGenderbooleanRequired

True when `vocalGender` is accepted.

supportsDurationbooleanRequired

True when `durationSeconds` is accepted.

maxDurationSecondsinteger

Longest accepted `durationSeconds`, when the model takes a duration.

minimum: 1

maxLyricsCharactersinteger

Longest accepted `lyrics`, when the vendor documents one.

minimum: 1

View source specification ↗