ccapi
🇺🇸English
  • 🇨🇳简体中文
  • 🇺🇸English
Home
Home
🇺🇸English
  • 🇨🇳简体中文
  • 🇺🇸English
🇺🇸English
  • 🇨🇳简体中文
  • 🇺🇸English
  1. Producer
  • OpenClaw + CCAPI LLM Integration Guide
  • claude code integration
  • codex cli integration
  • gemini cli integration
  • Chat
    • OpenAI
      • Create Chat Completion
      • Create Response
    • Google
      • Generate Content
      • Stream Generate Content
    • Anthropic
      • Create Message
    • DeepSeek
      • Create Chat Completion
    • MiniMax
      • Create Chat Completion
  • Image
    • nano banana
      • Generate Image
    • z-image-turbo
      • integration docs
    • seedream
      • integration doc
  • Video
    • seedance
    • vidu
  • Audio
    • Producer
      • Generate Music
        POST
      • Generate Lyrics
        POST
      • Extend Music
        POST
      • Create Cover
        POST
      • Create Variation
        POST
      • Replace Segment
        POST
      • Vocals Swap
        POST
      • Instrumentals Swap
        POST
      • Stem Separation
        POST
      • Download Audio
        POST
      • Upload Audio
        POST
      • Generate Video
        POST
      • Fetch Task Status
        GET
      • Batch Fetch Tasks
        POST
    • Suno
      • Generate Music
      • Fetch Task Status
      • Generate Lyrics
      • Extend Music
      • Create Cover
      • Extract Stems
      • Extract All Stems
      • Add Vocals
      • Add Instrumental
      • Replace Section
      • Remaster Song
      • Mashup
      • Sample Section
      • Generate Sounds
      • Generate MIDI
      • Upload Audio
      • Concatenate Music
      • Get Aligned Lyrics
      • Generate Music Video
      • Export as WAV
      • Create Voice Persona(unavailable)
      • Detect BPM
      • Extract Vocals
      • Upsample Tags
      • Batch Fetch Tasks
  1. Producer

Fetch Task Status

GET
https://api.ccapi.ai//producer/fetch/{id}
Poll the status of any Producer async job.

Status Flow#

NOT_START -> SUBMITTED -> QUEUED -> IN_PROGRESS -> SUCCESS / FAILURE

Polling#

Single task: GET /producer/fetch/{id}
Batch task lookup: POST /producer/fetch with {"ids":["task_xxx"]}
Recommended interval: 10-15 seconds
Returned records are scoped to the current authenticated user or token owner
Failed tasks are auto-refunded

Result Shape#

data is the persisted CCAPI task record
data.status is the task state
data.progress is a string like 20% or 100%
data.data is the normalized operation result payload
Music-style actions typically return data.data.clips[]
CCAPI keeps the response shape stable and does not expose upstream provider internals.

请求参数

Authorization
or
Path 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.ccapi.ai//producer/fetch/task_7f11c4b772f44710ac0fae0d5b3dc4c1'

返回响应

🟢200成功
application/json
Task status
Body

示例
{
    "code": "success",
    "message": "",
    "data": {
        "id": 3,
        "created_at": 1773385820,
        "updated_at": 1773385828,
        "task_id": "task_BE5vsWPK0pWHyONbGVEXqsPqD6IkcBY6",
        "platform": "producer",
        "user_id": 3,
        "group": "producer-A",
        "channel_id": 28,
        "quota": 30000,
        "action": "MUSIC",
        "status": "IN_PROGRESS",
        "fail_reason": "",
        "submit_time": 1773385820,
        "start_time": 1773385828,
        "finish_time": 0,
        "progress": "20%",
        "properties": {
            "input": "",
            "upstream_model_name": "producer_music",
            "origin_model_name": "producer_music"
        },
        "data": {
            "progress": "20%",
            "status": "IN_PROGRESS",
            "task_id": "ef74a9d9-6c9f-47aa-a771-1006e987e331"
        }
    }
}
🟠400请求有误
🟠401未认证
修改于 2026-03-27 07:48:23
上一页
Generate Video
下一页
Batch Fetch Tasks
Built with