Create song generation
create_song_generationStart a SoundBreak song generation with an AI artist. ALWAYS pass the same end_user_id for this person (Dify: sys.user_id). Prefer artist_name from the user. Complimentary generations produce one song; a connected SoundBreak account defaults to two. After this returns, poll get_song_generation_status with generation_id and the same end_user_id until complete. There is no in-chat widget — share listen_url when ready. If end_user_id is missing, do not invent one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lyrics | No | Optional lyrics to use instead of AI-generated lyrics | |
| prompt | Yes | Song idea / creative direction only. Do not put take-count instructions here — set song_count instead. | |
| song_count | No | Pass 1 only if the user explicitly asked for one song / one take / not two. Pass 2 if they explicitly asked for two. Omit for ordinary requests like 'write me a song'. | |
| artist_name | No | Artist name from the user, e.g. "Kevin" or "Kevin Griffin". Preferred when the user names an artist. | |
| end_user_id | No | Stable per-person id for this caller. Required for complimentary gens and account linking. Dify: set Fixed from sys.user_id (string or number is fine). Pass the same value on every generate/status/library call. Do not invent a new id each turn. | |
| ai_cowriter_id | No | Artist id from list_artists / get_artist_details. Optional if artist_name is provided. | |
| instrumental_only | No | If true, generate instrumental music only |