Skip to main content
Use the client from request setup. These examples assume api, userAddress, and the returned songId are available. api includes the session token and selected account headers. Lyrics are one string. Keep section labels and vocal directions in that text. Catalog tags are a separate string array.
Use a keyScale and vocalLanguage ID returned by /api/options. The lyrics canvas reference describes the app’s section and direction tags. They guide generation; they are not a timed arrangement or a strict parser contract.

Format existing text

Generate suggested text and settings

The sample route returns text and settings, not audio. Let your user review them, validate against the generation bounds, then submit proposed with the account, mode and selling terms. Set instrumental: true to request music without vocals. Blank lyrics with vocal generation use automatic sampling; they do not guarantee English lyrics. Provide lyrics and the language when your product needs a particular sung text.