---
title: "Query Video Generation Task"
method: GET
path: "/v1/video/generations/{task_id}"
---

# Query Video Generation Task

`GET /v1/video/generations/{task_id}`

Retrieve the status and result of a Wan2 video generation task.

## Path parameters

- `task_id` string, required

## Response `200`

Task status retrieved

- object
  - `code` string
  - `data` object
    - `task_id` string
    - `status` 'queued' | 'processing' | 'succeeded' | 'failed'
    - `format` string
    - `url` string — Video download URL (valid ~24 hours, only when succeeded).
    - `error` string, nullable — Error message (only when failed).
    - `metadata` object, nullable

## Other responses

- `401` — Unauthorized
- `404` — Task not found

---

[API](https://skmtc.net/anyfast/apis/anthropic-claude-compatible-endpoint.md) · [All operations](https://skmtc.net/anyfast/apis/anthropic-claude-compatible-endpoint/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anyfast/anthropic-claude-compatible-endpoint/revisions/edfc53e182a1/schema)
