> ## 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` 请求（只发送一次）：成功时为 `{"code": 200, "msg": "All generated successfully.", "data": {"callbackType": "complete", "task_id", "data": {"resultUrls": [风格文本]}}}`，`data.task_id` 为任务 ID，`data.data` 与查询任务的 `response` 相同；失败时 `code` 为失败代码（非 `200`），`msg` 为原因，`data` 只有 `callbackType` 和 `task_id`。本接口同步返回，通常只会收到成功回调，失败会直接在创建任务的响应中返回。用 `X-DreamTo-Signature` 校验来源，返回任意 `2xx` 表示已收到。



## OpenAPI

````yaml /openapi/zh/suno-boost-style.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.