SenseAudio AI Rapper
Use this skill for SenseAudio music-generation tasks focused on rap, hip-hop, and other vocal-song creation requests.
Read First
references/music.md
Load the reference only when you need exact endpoint, parameter, polling, or response-shape details.
When To Use
Use this skill when the user wants to:
- generate rap or hip-hop lyrics from a prompt,
- turn lyrics into a full song with vocals,
- control song style, title, vocal gender, or instrumental mode,
- poll async lyric or song generation tasks,
- debug errors around SenseAudio music-generation requests.
Default Workflow
- Confirm the target output:
- lyrics only,
- full song from user-provided lyrics,
- or full song with platform-generated lyrics.
- Start with the minimal valid request:
- lyrics generation requires
promptandprovider: sensesong. - song generation requires
model: sensesong.
- Treat both pipelines as potentially asynchronous:
- if create returns
task_id, poll the matchingpendingendpoint, - wait for
status == SUCCESSbefore reading payload data, - surface
FAILEDclearly instead of assuming empty data.
- Add creative controls only when needed:
lyrics,title,style,style_weight,negative_tags,vocal_gender,instrumental.
- Return production-ready output:
- one minimal
curlexample, - one requested-language example,
- polling logic,
- and safe response parsing for
audio_url,cover_url,lyrics, andduration.
Rap-Specific Guidance
- For rap requests, make the prompt explicit about theme, tone, pacing, and era, such as trap, boom bap, drill, conscious rap, or melodic rap.
- If the user already has bars or a chorus, skip lyric generation and call song creation directly with
lyrics. - Use
stylefor positive steering andnegative_tagsfor exclusions. - Use
vocal_gender: "m"or"f"only when the user asks or when matching a clear creative brief. - Use
instrumental: trueonly for beat-only output; otherwise omit it.
Implementation Rules
- Keep API keys in environment variables; never hardcode secrets.
- Prefer
curlfirst for reproducibility, then provide Python or JavaScript if useful. - Do not invent extra request fields or undocumented endpoints.
- Do not assume lyric tags beyond what the docs examples show; if structure syntax matters, mirror the documented examples closely.
- When the docs show semicolon-separated section markers in lyrics, preserve that formatting unless the user provides a different valid lyric format.
Response Parsing Rules
- Lyrics polling success shape:
response.data[0].textand optionalresponse.data[0].title. - Song polling success shape:
response.data[0].audio_url,cover_url,duration,id,lyrics,title. - Guard every array/object access because
responseordatamay be absent before success.
Output Checklist
When producing an answer with this skill, include:
- which endpoint(s) are used,
- the minimal valid request body,
- whether polling is required,
- the final fields the caller should read,
- and any rap-specific prompt/style suggestions relevant to the user’s brief.