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

# API Output Formats

> Understanding video output formats and response specifications

After a task succeeds, the `GET /v1/tasks/{task_id}` endpoint will return a response like this:

```json theme={null}
{
  "code": 0,
  "data": {
    "task_id": "<TASK_ID>",
    "id": "<TASK_ID>",
    "status": "SUCCESS",
    "category": "TEXT_TO_VIDEO",
    "callback_url": null,
    "seconds": 5,
    "output_videos": [
      {
        "url": "<VIDEO_URL>",
        "width": 1024,
        "height": 1024
      }
    ],
    "credits": 10,
    "inputs": {
      "model": "t2v-2.4-faster",
      "prompt": "<YOUR_PROMPT>",
      "seconds": 5,
      "image_url": null,
      "aspect_ratio": "1:1"
    },
    "created_at": "<TIMESTAMP>"
  }
}
```

> [!WARNING]
>
> **Video URLs expire after 8 hours.** Download and store videos on your own infrastructure for long-term access. Do not expose these temporary URLs directly to end users.

## Next Steps

> [card] [API Inputs](https://docs.domoai.app/guides/api-details/inputs.md)
>
> Review input parameter specifications

> [card] [API Reference](https://docs.domoai.app/api-reference/introduction.md)
>
> Browse our complete API documentation

> [card] [Pricing](https://docs.domoai.app/pricing.md)
>
> Understand credit consumption


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.