> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreamto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 上传并翻唱音乐：任务完成回调

> 创建任务时传了 `callBackUrl`，任务成功或失败后 DreamTo 向该地址发送此 `POST` 请求（只发送一次，`data.callbackType` 固定为 `complete`）。成功时 `code` 为 `200`、`data.data` 为结果；失败时 `code` 为失败代码、`msg` 为原因。用 `X-DreamTo-Signature` 校验来源，返回任意 `2xx` 表示已收到。



## OpenAPI

````yaml /openapi/zh/suno-upload-and-cover-audio.json webhook sunoTaskCompleted
openapi: 3.1.0
info:
  description: 上传一段音频或选择已生成的歌曲，保留原曲旋律，用新的风格、歌词或纯音乐重新演绎；每次生成两首。
  title: Suno 上传并翻唱音乐
  version: v1
servers:
  - url: https://api.dreamto.ai
security:
  - bearerAuth: []
tags:
  - name: Suno 上传并翻唱音乐
paths: {}
components:
  securitySchemes:
    bearerAuth:
      description: 'DreamTo 控制台创建的 API Key，格式 `Authorization: Bearer <API Key>`。'
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.