> ## 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`（成功）或 `501`（失败），`data` 与查询任务返回的 `data` 相同。用 `X-DreamTo-Signature` 校验来源，返回任意 `2xx` 表示已收到。



## OpenAPI

````yaml /openapi/zh/pixverse-v6-max-text-to-video.json webhook pixverseTaskCompleted
openapi: 3.1.0
info:
  description: PixVerse V6 Max 文生视频：面向电影、短剧和广告调优的旗舰模型，1 ~ 15 秒、最高 1080p，可同步生成原生音频。
  title: PixVerse V6 Max 文生视频
  version: v1
servers:
  - url: https://api.dreamto.ai
security:
  - bearerAuth: []
tags:
  - name: PixVerse V6 Max 文生视频
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.