> ## 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.
</Warning>

## Next Steps

<CardGroup cols={3}>
  <Card title="API Inputs" icon="file-import" href="/guides/api-details/inputs">
    Review input parameter specifications
  </Card>

  <Card title="API Reference" icon="book" href="/api-reference/introduction">
    Browse our complete API documentation
  </Card>

  <Card title="Pricing" icon="dollar-sign" href="/pricing">
    Understand credit consumption
  </Card>
</CardGroup>
