Recipes

Generate a song from style and lyrics with YuE2.

Changed on
post/v2/consumer/recipes/yuE2

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

stylestring required

Musical style, instrumentation, mood, tempo, and vocal description.

lyricsstring required

Lyrics with section markers such as [verse] and [chorus].

seedinteger required
maxDurationnumber float

Maximum song duration in seconds; generation can stop earlier.

stepsinteger

Diffusion steps using the upstream dpm_2 / sgm_uniform sampler.

modestring required

Score planning: full (melody and chords), melody, or off.

abcstring nullable

Optional ABC score to use instead of generating a score. Ignored in off mode.

modelstring nullable

Optional YuE2 checkpoint override containing the model, text encoder, and audio VAE.

lorasobject required

Optional LoRAs for both YuE2 experts.

Response

OK

Changes