API Doc-CometAPI
HomeDashBoardModel_Price
HomeDashBoardModel_Price
Discord_Support
  1. Suno
  • GET START
    • Model New Release Announcement
    • Platform notification
    • Help Center
    • Quick Start
    • About Pricing
    • About Grouping
    • Interface Stability
    • Privacy policy
    • Terms of service
    • Error code description
    • Code example
    • Must see for use
    • Common Misconceptions
    • Confusion about use
    • Best Practices
      • CometAPI Account Balance Query API Usage Instructions
      • Retry Logic Documentation for CometAPI and OpenAI Official API
      • Midjourney Best Practices
      • Runway Best Practices
  • OpenAI Compatiable Endpoint
    • gpt-4o-image generates image
    • Chat
    • Recognizing Images
    • Models
    • Embeddings
    • Images
    • Realtime
    • Image Editing (gpt-image-1)
    • response
  • Audio
    • Create speech
    • Create transcription
    • Create translation
  • Anthropic Compatiable Endpoint
    • Anthropic Claude
  • Music Generation Endpoint
    • Suno
      • Setting suno Version
      • Suno API Scenario Application Guide
      • Generate lyrics
        POST
      • Generate music clip
        POST
      • Upload clip
        POST
      • Submit concatenation
        POST
      • Full Track Audio Separation
        POST
      • Single Track Audio Separation
        POST
      • Create New Persona
        POST
      • Single task query
        GET
      • Generate mp4 mv video
        GET
      • Timing: lyrics, audio timeline
        GET
      • Get wav format file
        GET
      • Batch query tasks
        POST
    • Udio(Temporarily unavailable)
      • Generate music
      • Task query
    • test
      • Suno
        • Create music using persona_id
  • Image Generation Endpoint
    • Midjourney(images)
      • Quick Tutorial - Complete Process in One Go
      • Task Fetching API
        • List by Condition
        • Fetch Single Task (most recommended)
      • Imagine
      • Submit Video
      • Action (UPSCALE; VARIATION; REROLL; ZOOM, etc.)
      • Blend (image -> image)
      • Describe (image -> text)
      • Modal (Area Redesign & Zoom)
    • Ideogram(images)
      • Official documentation (updated in real time)
      • Generate 3.0 (text to image)
      • Remix 3.0 (hybrid image)
      • Reframe 3.0(Reconstruction)
      • Replace Background 3.0(Background replacement)
      • Edit 3.0(Editing images)
      • ideogram Text Raw Image
      • ideogram Hybrid image
      • ideogram enlargement HD
      • ideogram describes the image
      • ideogram Edit image((legacy))
    • Flux(images)
      • Generate image (replicate format)
      • flux fine-tune images(Temporarily unavailable)
      • flux generate image(Temporarily unavailable)
      • flux query
    • Replicate(image)
      • replicate Generate
      • replicate query
    • Recraft(images)
      • Appendix
      • Recraft Generate Image
      • Recraft Vectorize Image
      • Recraft Remove Background
      • Recraft Clarity Upscale
      • Recraft Create style
      • Recraft Generative Upscale
  • Video Generation Ednpoint
    • veo3
      • veo3
    • runway(video)
      • official format
        • runway images raw video
        • runway to get task details
      • Reverse Format
        • generate(text)
        • generate(Reference images)
        • Video to Video Style Redraw
        • Act-one Expression Migration
        • feed-get task
    • kling (video)
      • callback_url
      • Expanded
      • Generating images
      • Text Generation Video
      • Image Generation Video
      • Video Extension
      • virtual try-on
      • lip sync
      • effects
      • Individual queries (videos)
    • MiniMax Conch(video)
      • MiniMax Conch Official Documentation
      • MiniMax Conch Generation
      • MiniMax Conch Query
      • MiniMax Conch Download
    • luma (video)
      • Official api interface format
        • luma generate
        • luma search
    • PIKA(video)
      • pika feed
      • PIKA Reference Video Generation
      • PIKA Reference Image Generation
      • PIKA reference text generation
    • sora
      • Reverse Format
        • Create Video
        • Query Video Task
        • Create Video
  • Software Integration Guide
    • cometapi Site API Call Testing
    • OpenManus
    • Chatbox
    • CherryStudio
    • Cursor
    • ChatHub
    • COZE
    • FastGPT
    • cline
    • dify
    • gptme
    • Immersive Translation
    • Lobe-Chat
    • Zotero
    • LangChain
    • AnythingLLM
    • Eudic Translation
    • OpenAI Translator
    • ChatAll Translation
    • Pot Translation
    • GPT Academic Optimization (gpt_academic)
    • NEXT CHAT (ChatGPT Next Web)
    • Obsidian's Text Generator Plugin
    • Open WebUI
    • avante.nvim
    • librechat
    • Lazy Customer Service
    • utools-ChatGPT Friend
    • IntelliJ Translation Plugin
    • n8n
  1. Suno

Full Track Audio Separation

POST
https://api.cometapi.com/suno/submit/music
Maintainer:Not configured

🎵 Audio Track Generation Process 🎵#

🚀 Operation Steps:#

1.
step1. Generate music using any of the music generation scenarios 1, 2, or 3 to obtain the task id
2.
step2. After getting the task id, obtain the corresponding clip_id value of the song as needed
3.
step3. Input the corresponding task id and clip_id parameters into this interface to get a new task id
4.
step4. Perform a single task query using the task_id obtained in step3 to get the clip_id and corresponding url for each separated track

💡 Key Notes:#

Using Interface: Generate Music interface notes:**
mv should be chirp-auk
task should be gen_stem
continue_clip_id is the clip_id from step A
stem_type_group_name should be Twelve
stem_task should be twelve
Copy other parameters as they are
Can be operated across accounts

💰 Billing Details:#

Charged at 5 times the base price
Price for 5 times 10 songs

Request

Header Params
Authorization
string 
required
Example:
Bearer {{api-key}}
Body Params application/json
task
string 
required
task_id
string 
required
generation_type
string 
required
title
string 
required
mv
string 
required
make_instrumental
boolean 
required
continue_clip_id
string 
required
continued_aligned_prompt
null 
required
continue_at
null 
required
stem_type_id
integer 
required
stem_type_group_name
string 
required
stem_task
string 
required
Example
{
    "task": "gen_stem",
    "task_id": "e3f492cb-27d9-41b6-aa1d-bdf7f3781a61",
    "generation_type": "TEXT",
    "title": "Security String",
    "mv": "chirp-auk",
    "make_instrumental": true,
    "continue_clip_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
    "continued_aligned_prompt": null,
    "continue_at": null,
    "stem_type_id": 91,
    "stem_type_group_name": "Twelve",
    "stem_task": "twelve"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.cometapi.com/suno/submit/music' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "task": "gen_stem",
    "task_id": "e3f492cb-27d9-41b6-aa1d-bdf7f3781a61",
    "generation_type": "TEXT",
    "title": "Security String",
    "mv": "chirp-auk",
    "make_instrumental": true,
    "continue_clip_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
    "continued_aligned_prompt": null,
    "continue_at": null,
    "stem_type_id": 91,
    "stem_type_group_name": "Twelve",
    "stem_task": "twelve"
}'

Responses

🟢200Successful Response
application/json
Body
id
string 
required
clips
array [object {23}] 
required
id
string 
optional
entity_type
string 
optional
video_url
string 
optional
audio_url
string 
optional
major_model_version
string 
optional
model_name
string 
optional
metadata
object 
optional
is_liked
boolean 
optional
user_id
string 
optional
display_name
string 
optional
handle
string 
optional
is_handle_updated
boolean 
optional
avatar_image_url
string 
optional
is_trashed
boolean 
optional
flag_count
integer 
optional
created_at
string 
optional
status
string 
optional
title
string 
optional
play_count
integer 
optional
upvote_count
integer 
optional
is_public
boolean 
optional
allow_comments
boolean 
optional
more
string 
optional
metadata
object 
required
prompt
string 
required
history
array [object {8}] 
required
stem_from_id
string 
required
stem_task
string 
required
stem_type_id
integer 
required
stem_type_group_name
string 
required
edited_clip_id
string 
required
type
string 
required
stream
boolean 
required
infill
boolean 
required
task
string 
required
can_remix
boolean 
required
is_remix
boolean 
required
priority
integer 
required
major_model_version
string 
required
status
string 
required
created_at
string 
required
batch_size
integer 
required
Example
{
    "id": "b19ee87f-574d-42c7-9761-df6aafc0fd9c",
    "clips": [
        {
            "id": "0e5be1db-4834-4890-acfb-2fea7fd24eb9",
            "entity_type": "song_schema",
            "video_url": "",
            "audio_url": "",
            "major_model_version": "",
            "model_name": "chirp-stem",
            "metadata": {
                "prompt": "",
                "history": [
                    {
                        "id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
                        "type": "gen",
                        "source": "web",
                        "infill": false,
                        "stem_type_id": 91,
                        "stem_type_group_name": "Twelve",
                        "stem_task": "twelve",
                        "stem_from_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc"
                    }
                ],
                "stem_from_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
                "stem_task": "twelve",
                "stem_type_id": 91,
                "stem_type_group_name": "Vocals",
                "edited_clip_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
                "type": "gen",
                "stream": true,
                "infill": false,
                "task": "gen_stem",
                "can_remix": true,
                "is_remix": false,
                "priority": 10
            },
            "is_liked": false,
            "user_id": "a8a4d117-d5aa-4a9f-ab5b-88cc2c2eb79d",
            "display_name": "ugknurymt91r",
            "handle": "ugknurymt91r",
            "is_handle_updated": false,
            "avatar_image_url": "https://cdn1.suno.ai/sAura20.jpg",
            "is_trashed": false,
            "flag_count": 0,
            "created_at": "2025-06-06T11:22:30.753Z",
            "status": "submitted",
            "title": "Security String (Vocals)",
            "play_count": 0,
            "upvote_count": 0,
            "is_public": false,
            "allow_comments": true
        },
        {
            "more": "There are 24 things like this."
        }
    ],
    "metadata": {
        "prompt": "",
        "history": [
            {
                "id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
                "type": "gen",
                "source": "web",
                "infill": false,
                "stem_type_id": 91,
                "stem_type_group_name": "Twelve",
                "stem_task": "twelve",
                "stem_from_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc"
            }
        ],
        "stem_from_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
        "stem_task": "twelve",
        "stem_type_id": 91,
        "stem_type_group_name": "Twelve",
        "edited_clip_id": "4720ad51-6d31-417c-a3a7-346b0b99abbc",
        "type": "gen",
        "stream": true,
        "infill": false,
        "task": "gen_stem",
        "can_remix": true,
        "is_remix": false,
        "priority": 10
    },
    "major_model_version": "",
    "status": "complete",
    "created_at": "2025-06-06T11:22:30.737Z",
    "batch_size": 1
}
Previous
Submit concatenation
Next
Single Track Audio Separation
Built with