- API文档
- 快速开发指南
- PPT API 文档
- 文多多(官方格式)
- 韦尼克(官方格式)
- 申请PPT生成任务(PPT描述/主题一键生成)
- 通过描述生成PPT标题大纲(逐步生成PPT)
- 根据标题生成封面预览图(模版封面图预览)
- 根据标题以及封面预览信息生成不同主题色的预览(设置主题色)
- 通过task_id增加PPT单页(PPT中插入单页)
- 短文本文件生成PPT(文件内容解析)
- 基于当前模板生成(基于当前模版生成)
- 获取PPT生成状态和预览页(文件内容解析)
- 获取PPT生成状态和预览页(文件内容解析)
- 更换模版(更换模版)
- 通过文件生成PPT(文件内容解析)
- 申请PPT生成任务(逐步生成PPT)
- 获取PPT生成状态和预览页(逐步生成PPT)
- 获取PPT生成状态和预览页(PPT描述/主题一键生成)
- 生成PPT备注(演讲稿备注)
- 获取PPT下载链接(获取下载链接)
- API文档(KEY 认证方式)
- API文 档(HEAD认证方式)
- 聊天接口(Chat)
- 自动补全接口(Completions)
- 图像接口(Images)
- 向量生成接口(Embeddings)
- 音频接口(Audio)
- 图像接口(Midjourney)
- 图像接口(Recraft V3)
- 图像接口 (Ideogram)
- 图像接口(Flux)
- 图像接口(jimeng)
- 图像接口(Stable Diffusion)
- Suno音乐接口
- Luma视频接口
- kling可灵视频图片接口
- 视频接口(混元视频API)
- 海螺Hailuo AI视频接口
- 佐糖API
- MewXAI星月熊开放API
- Claude
- Google Gemini
- 帮助中心
- 语音克隆
- 数字人
获取音乐
GET
/suno/v1/music/{{id}}
请求参数
Authorization
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/suno/v1/music/{{id}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
task_id
string
必需
status
string
必需
input
string
必需
clips
object
必需
message
string
必需
示例
{
"code": 200,
"data": {
"task_id": "56ea8da3-8507-4118-9f1e-111111111111",
"status": "completed",
"input": "{\"custom_mode\":false,\"gpt_description_prompt\":\"blowing in the wind\",\"make_instrumental\":false,\"prompt\":\"\",\"title\":\"\",\"continue_at\":0,\"continue_clip_id\":\"\",\"mv\":\"chirp-v3-0\",\"tags\":\"\"}",
"clips": {
"e0fe8bba-fac8-460b-bf1c-111111111111": {
"id": "e0fe8bba-fac8-460b-bf1c-111111111111",
"video_url": "https://cdn1.suno.ai/e0fe8bba-fac8-460b-bf1c-111111111111.mp4",
"audio_url": "https://cdn1.suno.ai/e0fe8bba-fac8-460b-bf1c-111111111111.mp3",
"image_url": "https://cdn1.suno.ai/image_e0fe8bba-fac8-460b-bf1c-111111111111.png",
"image_large_url": "https://cdn1.suno.ai/image_large_e0fe8bba-fac8-460b-bf1c-111111111111.png",
"is_video_pending": false,
"major_model_version": "v3",
"model_name": "chirp-v3",
"metadata": {
"tags": "acoustic folk ballad",
"prompt": "[Verse]\nLeaves whisper\nTrees sway\nIn the wind\nWe all play\nQuestions fly\nAnswers hide\nIn this world\nSide by side\n\n[Verse 2]\nBirds soar\nClouds roam\nIn the breeze\nWe find home\nSearching for truth\nIn the sky\nAs the wind carries our sigh\n\n[Chorus]\nBlowin' in the breeze\nWe're like the leaves\nWonderin' where life takes us\nWhere it leads\nWith every gust\nWe let go of what we know\nBlowin' in the breeze\nWe're free to grow",
"gpt_description_prompt": "blowing in the wind",
"audio_prompt_id": "",
"history": null,
"concat_history": null,
"type": "gen",
"duration": 108.8,
"refund_credits": false,
"stream": true,
"error_type": null,
"error_message": null
},
"is_liked": false,
"is_handle_updated": false,
"is_trashed": false,
"reaction": null,
"created_at": "2024-04-18T14:29:31.760Z",
"status": "complete",
"title": "Blowin' in the Breeze",
"play_count": 0,
"upvote_count": 0,
"is_public": false
},
"f66f7a6f-a868-464f-b280-111111111111": {
"id": "f66f7a6f-a868-464f-b280-111111111111",
"video_url": "https://cdn1.suno.ai/f66f7a6f-a868-464f-b280-111111111111.mp4",
"audio_url": "https://cdn1.suno.ai/f66f7a6f-a868-464f-b280-111111111111.mp3",
"image_url": "https://cdn1.suno.ai/image_f66f7a6f-a868-464f-b280-111111111111.png",
"image_large_url": "https://cdn1.suno.ai/image_large_f66f7a6f-a868-464f-b280-111111111111.png",
"is_video_pending": false,
"major_model_version": "v3",
"model_name": "chirp-v3",
"metadata": {
"tags": "acoustic folk ballad",
"prompt": "[Verse]\nLeaves whisper\nTrees sway\nIn the wind\nWe all play\nQuestions fly\nAnswers hide\nIn this world\nSide by side\n\n[Verse 2]\nBirds soar\nClouds roam\nIn the breeze\nWe find home\nSearching for truth\nIn the sky\nAs the wind carries our sigh\n\n[Chorus]\nBlowin' in the breeze\nWe're like the leaves\nWonderin' where life takes us\nWhere it leads\nWith every gust\nWe let go of what we know\nBlowin' in the breeze\nWe're free to grow",
"gpt_description_prompt": "blowing in the wind",
"audio_prompt_id": "",
"history": null,
"concat_history": null,
"type": "gen",
"duration": 103.2,
"refund_credits": false,
"stream": true,
"error_type": null,
"error_message": null
},
"is_liked": false,
"is_handle_updated": false,
"is_trashed": false,
"reaction": null,
"created_at": "2024-04-18T14:29:31.761Z",
"status": "complete",
"title": "Blowin' in the Breeze",
"play_count": 0,
"upvote_count": 0,
"is_public": false
}
}
},
"message": "success"
}
修改于 2024-09-24 03:47:02