V-API
  1. 音乐创作(suno)
V-API
  • 前言(必读)
  • OpenAI官方SDK使用教程
  • 批量请求示例
  • 聊天模型(Chat)
    • 列出可用模型
      GET
    • 聊天接口(通用)
      POST
    • 聊天接口(图片分析)
      POST
    • 聊天接口(函数调用)
      POST
    • 聊天接口(o1-o3系列模型)
      POST
    • gpt-4o-all 文件分析
      POST
    • gpt-4-all 文件分析
      POST
    • 聊天补全
      POST
    • Claude (OpenAI格式)-可PDF分析
      POST
    • Claude (原生格式)-可PDF分析
      POST
    • Gemini (OpenAI格式)-可文件分析
      POST
    • GPTs
      POST
  • 内容审查
    • 文本审查
      POST
    • 图片审查
      POST
  • 向量嵌入
    • 创建嵌入
      POST
  • 图片处理
    • 特别说明
    • 任务:智能抠图
      POST
    • 任务:图片清晰化(无损放大)
      POST
    • 任务:图片添加背景
      POST
    • 任务:去水印-自动
      POST
    • 任务:去水印
      POST
    • 任务:OCR服务
      POST
    • 任务:证件照
      POST
    • 任务:照片上色
      POST
    • 查询:任务结果
      GET
  • 绘画模型(Painting)
    • MidJourney
      • 提交模式与状态码说明
      • 任务:文生图、文图生图 Imagine
      • 任务:换脸 swap_face
      • 任务:绘图变化
      • 任务:绘图变化-simple
      • 任务:执行动作
      • 任务:图生图 Blend
      • 任务:图生文 Describe
      • 任务:局部重绘 Modal
      • 任务:提示词缩短 Shorten
      • 查询:根据ID列表查任务
      • 查询:根据ID查询任务
      • 查询:根据ID获取图片
      • 查询:根据ID获取图片 Seed
      • 上传:上传图片到Discord
    • dalle和gpt-image-1
      • 图像生成 dall-e-2、dall-e-3
      • 图像生成 gpt-image-1
      • 图像编辑 gpt-image-1
      • 图像编辑 DreamO-弃用
    • Grok
      • 图像生成
    • Flux
      • Flux绘画 Dalle格式
      • Flux绘画 Chat格式
    • Ideogram
      • README
      • Generate (文生图)
      • Remix(混合图)
      • Upscale(高清放大)
      • Describe(图生描述)
    • stable-diffusion
      • stable-diffusion (chat格式)
      • stable-diffusion (dalle格式)
    • 即梦AI
      • 即梦3.0生图
      • 即梦AI 生图-旧版
    • 可灵AI
      • README
  • 视频模型(Video)
    • 视频模型说明
    • 快手可灵AI
      • Callback 协议
      • 任务:图像生成
      • 任务:虚拟试穿
      • 任务:文生视频
      • 任务:图生视频
      • 任务:视频延长
      • 任务:视频配音-对口型
      • 任务:视频特效-单图
      • 任务:视频特效-双人互动
      • 查询:任务结果
      • 查询:批量查询
    • vidu视频
      • 模板生视频template参数
      • 任务:模板生视频(推荐)
      • 任务:文生视频
      • 任务:图生视频
      • 任务:参考生视频
      • 任务:首尾帧视频
      • 查询:任务结果
    • 即梦AI
      • 任务:图生视频
      • 任务:文生视频
      • 查询:任务结果
    • pika视频
      • 任务:生成视频
      • 查询:任务结果
    • luma视频
      • 任务:生成视频
      • 任务:拓展视频
      • 查询:单个任务
      • 查询:批量查询任务
      • 获取:无水印视频
    • runway 官方API
      • 任务:生成视频
      • 查询:单个任务
    • runway 旧版API-暂时失效
      • 任务:生成视频.gen2
      • 任务:生成视频.gen3
      • 任务:拓展视频
      • 查询:单个任务
      • 上传:参考图 A认证
      • 上传:参考图 C 获取
    • 数字人
      • 必读指南
      • 任务:生成数字人视频
      • 查询:任务结果
      • 获取:默认voice 列表
  • 音频模型(Audio)
    • Realtime (实时语音对话)
    • 文字转语音TTS
      • 模型 TTS-1
      • 模型 ChatTTS
      • 模型 fish-speech-1.5
      • 模型 fish-speech-1.2-sft
      • 模型 MegaTTS3
      • 模型 Step-Audio-TTS-3B
      • 模型 FunAudioLLM-CosyVoice-300M
    • 语音转文字 whisper
      • 模型 whisper-1
      • 模型 whisper-base
      • 模型 whisper-large
      • 模型 whisper-large-v3
      • 模型 whisper-large-v3-turbo
      • 创建翻译
      • 模型 SenseVoiceSmall
  • 音乐创作(suno)
    • 接口介绍
    • 聊天方式:生成歌曲
      POST
    • 任务:生成歌曲
      POST
    • 任务:生成歌词
      POST
    • 查询:批量查询任务
      POST
    • 查询:单个任务
      GET
  • 文档处理
    • OCR识别
    • 任务:PDF解析
    • 查询:PDF解析结果
  • 3D模型
    • 任务:图片转3D模型
    • 查询:任务结果
  • 网络爬虫
    • 任务:爬取网页
    • 爬取网页并返回结果
    • 查询:异步任务结果
  • 更多接口开发中...
    • test
  • 查询令牌用量
    GET
  • 查询令牌限额
    GET
  • 查询账户信息
    GET
  1. 音乐创作(suno)

任务:生成歌曲

POST
/suno/submit/music
总三种创作方式
一、灵感模式
只需提交以下参数:suno会自动生成歌名、歌词、风格、歌曲。
gpt_description_prompt make_instrumental mv
二、定制模式
需要提交以下参数
prompt title tags mv
三、续写模式
需要在定制模式基础上携带以下参数
task_id continue_at continue_clip_id

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Body 参数application/json
make_instrumental
boolean 
是否纯音乐(灵感模式专用)
可选
gpt_description_prompt
string 
歌曲提示词(灵感模式专用)
可选
mv
enum<string> 
模型版本
可选
枚举值:
chirp-v3-0chirp-v3-5chirp-v4chirp-auk
示例值:
chirp-v3-0
prompt
string 
歌词(定制模式专用)
可选
空字符串将自动转为纯音乐
title
string 
歌名(定制模式专用)
可选
tags
string 
风格标签(定制模式专用)
可选
task_id
string 
任务ID
可选
用于对之前的任务进行再操作
continue_at
number 
歌曲续写时长
可选
Float,歌曲延长时间,单位秒
continue_clip_id
string 
续写歌曲ID
可选
指定需要续写的歌曲ID
notify_hook
string 
回调地址
可选
示例
1. 灵感模式

{
    "gpt_description_prompt": "欢快的磁性女声歌曲,中文,主题:难忘周末"
}

2. 定制模式

{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'm alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it's music to my ears\nThe hustle and the bustle\nWiping away my fears",
    "tags": "emotional punk",
    "mv": "chirp-v3-0",
    "title": "City Lights"
}

3. 续写模式

{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'm alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it's music to my ears\nThe hustle and the bustle\nWiping away my fears",
    "tags": "bass-driven atmospheric heavy metal",
    "mv": "chirp-v3-0",
    "title": "City Lights",
    "task_id": "736a6f88-bd29-4b1e-b110-37132a5325ac"
    "continue_clip_id": "ce2cfbce-9ea0-45b0-9386-020c0ff54a49",
    "continue_at": 80
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gpt.ge/suno/submit/music' \
--header 'Content-Type: application/json' \
--data-raw '1. 灵感模式

{
    "gpt_description_prompt": "欢快的磁性女声歌曲,中文,主题:难忘周末"
}

2. 定制模式

{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'\''m alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it'\''s music to my ears\nThe hustle and the bustle\nWiping away my fears",
    "tags": "emotional punk",
    "mv": "chirp-v3-0",
    "title": "City Lights"
}

3. 续写模式

{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'\''m alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it'\''s music to my ears\nThe hustle and the bustle\nWiping away my fears",
    "tags": "bass-driven atmospheric heavy metal",
    "mv": "chirp-v3-0",
    "title": "City Lights",
    "task_id": "736a6f88-bd29-4b1e-b110-37132a5325ac"
    "continue_clip_id": "ce2cfbce-9ea0-45b0-9386-020c0ff54a49",
    "continue_at": 80
}'

返回响应

🟢200成功
application/json
Body
code
string 
必需
message
string 
必需
data
string 
必需
示例
{
    "code": "success",
    "message": "",
    "data": "2a145658-3342-4228-b779-b8323a2b77df"
}
修改于 2025-05-11 15:03:05
上一页
聊天方式:生成歌曲
下一页
任务:生成歌词
Built with