跳转到内容

Music Generation

此内容尚不支持你的语言。

Generate original music with vocals in any style using Suno through HiAPI.

Terminal window
curl -X POST https://api.hiapi.ai/v1/audio/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "suno",
"prompt": "upbeat pop song about summer",
"duration": 60
}'
ParameterTypeDescription
modelstring"suno"
promptstringDescribe the style, mood, and lyrics
durationnumberLength in seconds (up to 120)
  • Specify genre: “jazz ballad”, “electronic dance”, “acoustic folk”
  • Describe mood: “melancholic”, “upbeat”, “dramatic”
  • Include lyrics: Add specific lyrics in your prompt for vocal tracks
  • Reference style: “in the style of 80s synthwave” or “lo-fi hip hop beat”

50 credits per song generation.