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

# Materials

> Video and audio assets for Open API tasks

## What a material is

A **material** is a registered video or audio file stored for Open API use. After the full [material upload](/guides/assets/material-upload) flow completes, you get a usable **`materialId`** to pass to tasks such as [media translation](/guides/products/media-translation).

Do not use a `materialId` from an unfinished upload (for example, only gen-upload-url or multipart initiate). Materials are API-only — not shared with uploads on vmeg.ai. See [Assets overview](/guides/assets/overview).

## Material type

The `category` field on a material describes the asset type, for example:

| `category` | Typical use                        |
| ---------- | ---------------------------------- |
| `video`    | Video translation (`taskType: vt`) |
| `audio`    | Audio translation (`taskType: at`) |

Other fields on a material include `name`, CDN URLs (`addressUrl`, `thumbnailUrl`, `audioUrl`), `mimeType`, `duration`, and `filesize`. For every field and type, see the response body in [List materials](/api-reference/assets/materials/list-materials).

## Lifecycle

1. Finish the full [upload](/guides/assets/material-upload) flow → registered `materialId`
2. Reference that `materialId` in a product request
3. **List** or **delete** when no longer needed

## Operations

| Action | Endpoint                                  |
| ------ | ----------------------------------------- |
| List   | `GET /openapi/v1/assets/material/list`    |
| Delete | `POST /openapi/v1/assets/material/delete` |

Upload flows are on [Material upload](/guides/assets/material-upload).

Request and response fields: [List materials](/api-reference/assets/materials/list-materials), [Delete material](/api-reference/assets/materials/delete-material), and other **Assets - Materials** endpoints under the [API reference](/api-reference/introduction) tab.
