Ecovai
首页AI主站API用量查询API测试
首页AI主站API用量查询API测试
  1. Suno(音乐)
  • OpenAI通用接口
    • 聊天(Chat)
      • 分类模型接口
        • 阿里-通义
          • 聊天接口
        • 百度-文心
          • 聊天接口
        • Claude
          • 聊天接口
        • Google-Gemini
          • 聊天接口
        • 腾讯-混元
          • 聊天接口
        • 讯飞星火
          • 聊天接口
        • 智谱
          • 聊天接口
        • 字节-豆包
          • 聊天接口
      • 通用聊天接口
      • 重点模型备份聊天接口
    • 图像接口(Images)
      • DALL·E 3
    • 模型整理(Models)
      • 列出模型
    • 自动补全(Completions)
      • 内容补全接口
    • 音频接口(Audio)
      • 创建转录
      • 创建翻译
      • TTS文本转语音
    • 向量接口(Embeddings)
      • 创建嵌入
    • 实时语音(Realtime)
      • realtime
  • 全能模型接口
    • kimi
      • kimi全能版(Chat)
      • kimi全能版(文档解读)
    • 通义千问
      • 通义千问全能版(Chat)
    • 智谱
      • 智谱全能版(Chat)
      • 智谱全能版(图像解析)
      • 智谱全能版(文档解读)
    • 秘塔搜索
      • 秘塔搜索(简洁搜索)
      • 秘塔搜索(深入搜索)
      • 秘塔搜索(研究搜索)
      • 秘塔搜索(学术简洁搜索)
      • 秘塔搜索(学术深入搜索)
      • 秘塔搜索(学术研究搜索)
    • 讯飞星火
      • 讯飞星火全能版(Chat)
      • 讯飞星火全能版(文档解读)
      • 讯飞星火全能版(图像解析)
    • 海螺
      • 海螺全能版(Chat)
      • 海螺全能版(文档解读)
      • 海螺全能版(图像解析)
    • deepseek
      • Deepseek全能版(Chat)
    • Openai
      • GPT-4o全能版(联网&Chat)
      • GPT-4o全能版(生成图片)
      • GPT-4o全能版(分析图片)
      • GPT-4o全能版(文档解读)
  • Suno(音乐)
    • 生成音乐-自定义模式
      POST
    • 生成音乐-灵感模式
      POST
    • 生成歌词
      POST
    • 上传音乐
      POST
    • 歌曲拼接
      POST
    • 查询单个任务
      GET
    • 批量查询任务
      POST
  • Midjourney(绘画)
    • 任务提交
      • 提交Imagine任务
      • 提交Blend任务
      • 提交Describe任务
      • 提交Shorten任务
      • 图片选型Change
      • 局部重绘Modal
      • 单图调整Action
    • 外挂任务提交
      • 提交swap_face任务
    • 任务查询
      • 指定ID获取任务
      • 根据ID列表查询任务
      • 根据ID列表查询任务-字段displays
      • 获取任务图片的seed
  • Flux(绘图)
    • Flux-Dalle3格式
    • Flux-官方格式
    • 查询任务
  • Recraft(绘图)
    • 生成图片
  • Ideogram(绘画)
    • 文生图
    • 图片编辑
    • 混图
    • 图像放大
    • 图生文
  • Luma(视频)
    • Luma视频生成
    • 指定ID获取任务
  • Runway(视频)
    • 扩展接口
      • 文生视频
      • 图生视频
      • 根据ID获取任务
      • 视频风格重绘
      • Act-one 表情迁移
    • 官方格式接口
      • 图生视频
      • 根据ID获取任务
  • 可灵(视频)
    • 文生视频
    • 图生视频
    • 视频延长
    • 对口型
    • 虚拟试穿
    • 查询任务id
  1. Suno(音乐)

批量查询任务

测试中
POST
https://api.ecovai.cn/suno/fetch

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数

Body 参数application/json

示例
{
    "ids": [
        "string"
    ],
    "action": "string"
}

示例代码

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.ecovai.cn/suno/fetch' \
--header 'Authorization: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ids": [
        "string"
    ],
    "action": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": "success",
    "message": "",
    "data": [
        {
            "task_id": "346c5d10-a4a1-4f49-a851-66a7dae6cfaf",
            "notify_hook": "",
            "action": "MUSIC",
            "status": "IN_PROGRESS",
            "fail_reason": "",
            "submit_time": 1716191749,
            "start_time": 1716191786,
            "finish_time": 0,
            "progress": "0%",
            "data": [
                {
                    "id": "e9893d04-6a63-4007-8473-64b706eca4d1",
                    "title": "Electric Dance Party",
                    "status": "streaming",
                    "metadata": {
                        "tags": "club banger high-energy edm",
                        "prompt": "[Verse]\nEverybody in the place\nLet's go\nJump and dance\nFeel the rhythm\nLose control (ooh-yeah!)\nHands up in the air\nIt's time to show\nMove your body like you're on a roll\n\nShake it to the left\nShake it to the right\nFeel the bass\nFeel the beat\nAll night (ooh-yeah!)\nMiku's in the house\nGonna set the stage on fire\nGet ready for a wild ride\nIt's our desire\n\n[Verse 2]\nLights are flashing\nColors everywhere (ooh-yeah!)\nFeel the energy\nIt's in the air\nWe're unstoppable\nNothing can bring us down\nDancing to the beat\nThe whole world around",
                        "duration": null,
                        "error_type": null,
                        "error_message": null,
                        "audio_prompt_id": null,
                        "gpt_description_prompt": "miku dance"
                    },
                    "audio_url": "https://audiopipe.suno.ai/?item_id=e9893d04-6a63-4007-8473-64b706eca4d1",
                    "image_url": "https://cdn1.suno.ai/image_e9893d04-6a63-4007-8473-64b706eca4d1.png",
                    "video_url": "",
                    "model_name": "chirp-v3",
                    "image_large_url": "https://cdn1.suno.ai/image_large_e9893d04-6a63-4007-8473-64b706eca4d1.png",
                    "major_model_version": "v3"
                },
                {
                    "id": "fe69611b-fc72-4f6e-b476-5eef0b88c2e3",
                    "title": "Electric Dance Party",
                    "status": "streaming",
                    "metadata": {
                        "tags": "club banger high-energy edm",
                        "prompt": "[Verse]\nEverybody in the place\nLet's go\nJump and dance\nFeel the rhythm\nLose control (ooh-yeah!)\nHands up in the air\nIt's time to show\nMove your body like you're on a roll\n\nShake it to the left\nShake it to the right\nFeel the bass\nFeel the beat\nAll night (ooh-yeah!)\nMiku's in the house\nGonna set the stage on fire\nGet ready for a wild ride\nIt's our desire\n\n[Verse 2]\nLights are flashing\nColors everywhere (ooh-yeah!)\nFeel the energy\nIt's in the air\nWe're unstoppable\nNothing can bring us down\nDancing to the beat\nThe whole world around",
                        "duration": null,
                        "error_type": null,
                        "error_message": null,
                        "audio_prompt_id": null,
                        "gpt_description_prompt": "miku dance"
                    },
                    "audio_url": "https://audiopipe.suno.ai/?item_id=fe69611b-fc72-4f6e-b476-5eef0b88c2e3",
                    "image_url": "https://cdn1.suno.ai/image_fe69611b-fc72-4f6e-b476-5eef0b88c2e3.png",
                    "video_url": "",
                    "model_name": "chirp-v3",
                    "image_large_url": "https://cdn1.suno.ai/image_large_fe69611b-fc72-4f6e-b476-5eef0b88c2e3.png",
                    "major_model_version": "v3"
                }
            ]
        }
    ]
}
修改于 2024-12-13 05:26:40
上一页
查询单个任务
下一页
Midjourney(绘画)
Built with