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

# Lấy tác vụ (tương thích Volc)

> Lấy tác vụ tương thích Seedance theo ID cgt.

## Tổng quan

Các endpoint này dành cho nhóm đã dùng cấu trúc tác vụ Seedance kiểu Volc. Xác thực bằng TokenLab Bearer API key. ID tác vụ trả về bắt đầu bằng `cgt-`; hãy polling trạng thái cho đến khi `status` là `succeeded`, `failed`, `cancelled` hoặc `expired`.

Xem thêm [Mô hình video Seedance 2.0](/vi/guides/seedance-2-video) và [Tạo video](/vi/guides/video-generation).

## Dạng phản hồi

Phản hồi tác vụ dùng `queued`, `running`, `succeeded`, `failed`, `cancelled` hoặc `expired`. Tác vụ thành công trả về `content.video_url`; khi có sẵn, còn có `content.last_frame_url`, tham số được phản chiếu như `return_last_frame` và `watermark`, `usage` và `progress`. `error` là `null` nếu không có lỗi.

## Ví dụ

```bash theme={null}
curl https://api.tokenlab.sh/api/v3/contents/generations/tasks/cgt-0123456789abcdef0123456789abcdef \
  -H "Authorization: Bearer $TOKENLAB_API_KEY"
```
