# Assets

> Video API reference, generated from the OpenAPI spec.

HTML version: https://www.mux.com/docs/api-reference/video/assets. Full OpenAPI spec: https://www.mux.com/api-spec.json

## Create a static rendition for an asset

`POST https://api.mux.com/video/v1/assets/{ASSET_ID}/static-renditions`

Creates a static rendition (i.e. MP4) for an asset

Operation ID: `create-asset-static-rendition`. HTML version: https://www.mux.com/docs/api-reference/video/assets/create-asset-static-rendition

### Path parameters

- `ASSET_ID` (string, required): The asset ID.

### Request body

- `resolution` (string, required) Possible values: `"highest"`, `"audio-only"`, `"2160p"`, `"1440p"`, `"1080p"`, `"720p"`, `"540p"`, `"480p"`, `"360p"`, `"270p"`.
- `passthrough` (string): Arbitrary user-supplied metadata set for the static rendition. Max 255 characters.

Example request body:

```json
{
  "resolution": "highest"
}
```

### Response `201`

Created

- `data` (object, required)
  - `name` (string): Name of the static rendition file Possible values: `"low.mp4"`, `"medium.mp4"`, `"high.mp4"`, `"highest.mp4"`, `"audio.m4a"`, `"capped-1080p.mp4"`, `"2160p.mp4"`, `"1440p.mp4"`, `"1080p.mp4"`, `"720p.mp4"`, `"540p.mp4"`, `"480p.mp4"`, `"360p.mp4"`, `"270p.mp4"`.
  - `ext` (string): Extension of the static rendition file Possible values: `"mp4"`, `"m4a"`.
  - `height` (integer, format: int32): The height of the static rendition's file in pixels
  - `width` (integer, format: int32): The width of the static rendition's file in pixels
  - `bitrate` (integer, format: int64): The bitrate in bits per second
  - `filesize` (string, format: int64): The file size in bytes
  - `type` (string): Indicates the static rendition type of this specific MP4 version of this asset. Only present for static renditions created with the Static Renditions API. Not set for renditions created with the deprecated `mp4_support` option. Possible values: `"standard"`, `"advanced"`.
  - `status` (string): Indicates the status of this specific MP4 version of this asset. Only present for static renditions created with the Static Renditions API. Not set for renditions created with the deprecated `mp4_support` option. For `mp4_support` renditions, see the top-level `static_renditions.status` field on the asset instead. * `ready` indicates the MP4 has been generated and is ready for download * `preparing` indicates the asset has not been ingested or the static rendition is still being generated after an asset is ready * `skipped` indicates the static rendition will not be generated because the requested resolution conflicts with the asset attributes after the asset has been ingested * `errored` indicates the static rendition cannot be generated. For example, an asset could not be ingested Possible values: `"ready"`, `"preparing"`, `"skipped"`, `"errored"`.
  - `resolution_tier` (string): Indicates the resolution tier of this specific MP4 version of this asset. Only present for static renditions created with the Static Renditions API. Not set for renditions created with the deprecated `mp4_support` option. Possible values: `"2160p"`, `"1440p"`, `"1080p"`, `"720p"`, `"audio-only"`.
  - `resolution` (string): Indicates the resolution of this specific MP4 version of this asset. Only present for static renditions created with the Static Renditions API. Not set for renditions created with the deprecated `mp4_support` option. Possible values: `"highest"`, `"audio-only"`.
  - `id` (string): The ID of this static rendition, used in managing this static rendition. Only present for static renditions created with the Static Renditions API. Not set for renditions created with the deprecated `mp4_support` option.
  - `passthrough` (string): Arbitrary user-supplied metadata set for the static rendition. Max 255 characters.
