If you want to customize song generation but don’t want to write the lyrics yourself, you can use the lyrics generation API provided by XHuoAPI to generate lyrics through a prompt. The API is the Suno Lyrics Generation API. The main input parameter for this API isDocumentation Index
Fetch the complete documentation index at: https://docs.xhuoapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
prompt, with an optional model (default is chirp-v3). An example of how to fill it out is as follows:
Here, the prompt we input is A song about winter, generating a song related to winter.
Click to run, and the result is as follows:
text field in data contains the lyrics information.
With the lyrics in hand, we can then use the Suno Audios Generation API to generate a custom song.
