- 系统介绍
- 系统 优势
- 补充说明
- 辅助功能
- 功能介绍
- 账户余额查询
- 文件上传
- 文件解析(无特定接口)
- 按量计费
- 按次计费
- MJ Chat
- Suno-Proxy
- sora
- 可灵(官方格式)
- MJ Proxy
- SD Chat
- SD Proxy
- Suno Chat
- Suno Proxy 旧
- Luma Chat
- Lumvip Proxy
- Luma Proxy
- Pika
- Domo
- urlanalysis
/v1/song/create
开发中
POST
/v1/song/create
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{secret}}
Body 参数application/json
prompt
string
可选
mv
string
必需
tags
string
必需
title
string
必需
make_instrumental
boolean
可选
gpt_description_prompt
string
可选
continue_clip_id
string
可选
continue_at
integer
可选
示例
{
"prompt": "情歌",
"mv": "chirp-v3-0",
"tags": "classic",
"title": "ai",
"make_instrumental": true,
"gpt_description_prompt": "纯音乐描述",
"continue_clip_id": "0773657e-f8b1-4426-8882-9da1603e863d",
"continue_at": 30
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/song/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "情歌",
"mv": "chirp-v3-0",
"tags": "classic",
"title": "ai",
"make_instrumental":true,
"gpt_description_prompt":"纯音乐描述",
"continue_clip_id":"0773657e-f8b1-4426-8882-9da1603e863d",
"continue_at": 30
}'
返回响应
🟢200成功
application/json
Body
id
string
必需
clips
array [object {18}]
必需
id
string
必需
video_url
string
必需
audio_url
string
必需
image_url
null
必需
image_large_url
null
必需
major_model_version
string
必需
model_name
string
必需
metadata
object
必需
is_liked
boolean
必需
user_id
string
必需
is_trashed
boolean
必需
reaction
null
必需
created_at
string
必需
status
string
必需
title
string
必需
play_count
integer
必需
upvote_count
integer
必需
is_public
boolean
必需
metadata
object
必需
tags
string
必需
prompt
string
必需
gpt_description_prompt
null
必需
audio_prompt_id
null
必需
history
null
必需
concat_history
null
必需
type
string
必需
duration
null
必需
refund_credits
null
必需
stream
boolean
必需
error_type
null
必需
error_message
null
必需
major_model_version
string
必需
status
string
必需
created_at
string
必需
batch_size
integer
必需
示例
{
"id": "string",
"clips": [
{
"id": "string",
"video_url": "string",
"audio_url": "string",
"image_url": null,
"image_large_url": null,
"major_model_version": "string",
"model_name": "string",
"metadata": {
"tags": "string",
"prompt": "string",
"gpt_description_prompt": null,
"audio_prompt_id": null,
"history": null,
"concat_history": null,
"type": "string",
"duration": null,
"refund_credits": null,
"stream": true,
"error_type": null,
"error_message": null
},
"is_liked": true,
"user_id": "string",
"is_trashed": true,
"reaction": null,
"created_at": "string",
"status": "string",
"title": "string",
"play_count": 0,
"upvote_count": 0,
"is_public": true
}
],
"metadata": {
"tags": "string",
"prompt": "string",
"gpt_description_prompt": null,
"audio_prompt_id": null,
"history": null,
"concat_history": null,
"type": "string",
"duration": null,
"refund_credits": null,
"stream": true,
"error_type": null,
"error_message": null
},
"major_model_version": "string",
"status": "string",
"created_at": "string",
"batch_size": 0
}