YuE2 creates vocal songs or instrumental tracks. Describe the genre, mood, and instruments, then supply your lyrics for vocals or choose Instrumental only in Advanced. Optional instrumental lyrics or section tags help shape the track's flow and duration, with no minimum length and a 10,000-character maximum. Lyrics guide planning only; exact duration and section order are not guaranteed. Instrumental tracks may still include singing or wordless vocalizations, such as humming. On MachGen it takes a style prompt of up to 1,000 characters and, for vocal songs, 400 to 10,000 characters of lyrics. It returns lossless FLAC and accepts a seed for repeatable takes. Audio is capped at approximately six minutes; songs reaching the limit are truncated and returned successfully. Hosted on MachGen with one flat price per generation.
| All supported sizes | $0.10/generation |
YuE2 creates vocal songs or instrumental tracks. Describe the genre, mood, and instruments, then supply your lyrics for vocals or choose Instrumental only in Advanced. Optional instrumental lyrics or section tags help shape the track's flow and duration, with no minimum length and a 10,000-character maximum. Lyrics guide planning only; exact duration and section order are not guaranteed. Instrumental tracks may still include singing or wordless vocalizations, such as humming. On MachGen it takes a style prompt of up to 1,000 characters and, for vocal songs, 400 to 10,000 characters of lyrics. It returns lossless FLAC and accepts a seed for repeatable takes. Audio is capped at approximately six minutes; songs reaching the limit are truncated and returned successfully. Hosted on MachGen with one flat price per generation.
YuE2 API on MachGen. Compare supported generation modes, examples, and current pricing from the live pricebook.
This table reflects the model routes and controls currently exposed by MachGen.
| Mode | Required input | Available settings |
|---|---|---|
| Music | Style description and lyrics; lyrics or section tags are optional for instrumental tracks | Length: automatic, up to 6 minutes Output formats: flac Instrumental only option Seed control Style limit: 1,000 characters Lyrics: 400-10,000 characters (vocal tracks) Instrumental planning lyrics: optional, up to 10,000 characters |
For model background, technical details, and architecture, see the YuE GitHub repository.
Try this model in the MachGen Playground.
Official documentation may describe capabilities or parameters that are not currently exposed by MachGen. Use the Inputs and output settings section above as the source of truth for this page.
See Pricing for currently published MachGen rates. When available, the Playground estimate reflects the selected task and output settings.
Deployment: MachGen Hosted. YuE2 runs on MachGen-managed inference infrastructure rather than being forwarded to a provider API.
The Playground and API sections on this page list the inputs and output settings exposed for this model.