# Query Video Generation Task This file is the focused AI-readable context for one UniAll documentation page. URL: https://docs.uniall.ai/models/video/happy-horse/query-task Locale: en Markdown: https://docs.uniall.ai/ai/pages/models/video/happy-horse/query-task.md Description: Happy-Horse query video generation task endpoint. Agent guidance: - Use this page when the user is asking about this specific route or model capability. - Preserve endpoint paths, JSON keys, model IDs, and placeholder values exactly. - Treat examples such as `sk-***`, `{BASE_URL}`, and `task_xxx` as safe placeholders, not real secrets. ## Page Markdown ## Endpoint ```http GET /v1/videos/{task_id} ``` ## Header Parameters | Name | Type | Required | Description | Example | | --- | --- | --- | --- | --- | | `Authorization` | string | No | | Bearer {your_token} | ## Path Parameters | Name | Type | Required | Description | Example | | --- | --- | --- | --- | --- | | `task_id` | string | Yes | | | ## Response Fields | Field | Type | Required | Title | Description | | --- | --- | --- | --- | --- | | `id` | string | Yes | task ID | | | `model` | string | Yes | Model name | | | `object` | string | Yes | Task type | | | `prompt` | string | Yes | prompt | | | `status` | string | Yes | Status | queued:, in_progress: generation, completed: completed, failed: Failed | | `duration` | string | Yes | task | | | `metadata` | string | Yes | // | | | `progress` | string | Yes | | | | `video_url` | string | Yes | video URL | | | `created_at` | string | Yes | Created time | | | `thumbnail_url` | string | Yes | | | ## Response Examples ### Example 1 ```json { "id": "task_xxxxxxxxxxxxxxx", "error": null, "model": "happy-horse-edit-720p", "object": "video.generation.job", "result": { "outputs": [ "https://xxxxxxxxxxx.cn/xxxxxxxx.mp4" ], "video_url": "https://xxxxxxxxxxx.cn/xxxxxxxx.mp4" }, "status": "completed", "task_id": "task_xxxxxxxxxxxxxxxxxxxxxxx", "progress": 100, "video_url": "https://xxxxxxxxxxx.cn/xxxxxxxx.mp4", "created_at": 1777355454, "raw_status": "COMPLETED" } ```