- 发出请求
- OpenAI接口
- Realtime文档
- 聊天接口(Chat)
- 自动补全接口(Completions)
- 图像接口(Images)
- 向量生成接口(Embeddings)
- 音频接口(Audio)
- 图片接口
- Midjourney
- Stable Diffusion(官方格式)
- Flux
- Ideogram(官方格式)
- 其他图像API1(开发中)
- 其他图像API2(开发中)
- 开放API接口
- 示例
- 生成图片融合示例
- 1.自定义调用- 普通示例(艺术二维码调用示例)
- 2.自定义调用 - 不同版本(艺术二维码调用示例)
- 3.自定 义调用 -二维码强度(艺术二维码调用示例)
- 4.模版调用 - 普通示例(艺术二维码调用示例)
- 5.模版调用 - 二维码强度(艺术二维码调用示例)
- 6.自定义调用 - 上传图片(艺术二维码调用示例)
- 7.不同码眼调用(艺术二维码调用示例)
- 8.不同版本(艺术二维码调用示例)
- 1.光影文字 - 使用模版(AI艺术字调用示例)
- 2.光影文字 - 自定义prompt调用(AI艺术字调用示例)
- 3.艺术字调用 - 使用模版(AI艺术字调用示例)
- 基础调用(MX绘画-生成类接口-Cute-生成示例(必看))
- 基础调用 - 自定义尺寸(MX绘画-生成类接口-Cute-生成示例(必看))
- 基础调用-开启审核(MX绘画-生成类接口-Cute-生成示例(必看))
- 融合模型调用(MX绘画-生成类接口-Cute-生成示例(必看))
- 反词 - 替换默认反词(MX绘画-生成类接口-Cute-生成示例(必看))
- 反词 - 追加反词(MX绘画-生成类接口-Cute-生成示例(必看))
- 音乐接口
- 视频接口
- Luma
- CogVideoX(官方格式)
- Vidu(开发中)
- Pika
- Runway
- Pixverse
- 可灵(官方格式)
- Viggle(开发中)
- PPT接口
- 文多多(官方格式)
- 韦尼克(官方格式)
- 申请PPT生成任务(PPT描述/主题一键生成)
- 获取PPT生成状态和预览页(PPT描述/主题一键生成)
- 通过描述生成PPT标题大纲(逐步生成PPT)
- 申请PPT生成任务(逐步生成PPT)
- 获取PPT生成状态和预览页(逐步生成PPT)
- 根据标题生成封面预览图(模版封面图预览)
- 根据标题以及封面预览信息生成不同主题色的预览(设置主题色)
- 通过task_id增加PPT单页(PPT中插入单页)
- 基于当前模板生成(基于当前模版生成)
- 短文本文件生成PPT(文件内容解析)
- 获取PPT生成状态和预览页(文件内容解析)
- 获取PPT生成状态和预览页(文件内容解析)
- 通过文件生成PPT(文件内容解析)
- 更换模版(更换模版)
- 生成PPT备注(演讲稿备注)
- 获取PPT下载链接(获取下载链接)
- 帮助中心
获取音乐
GET
/suno/v1/v3.0/music/{{id}}
请求参数
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/v3.0/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"
}