# The asset object For active assets, size_bytes and sha256 are required. Images and videos also include width and height; audio and video include duration_ms. Images omit duration_ms; audio omits dimensions. Active assets omit failure_reason. Unavailable assets include failure_reason and omit all these measurements. Processing assets omit both measurements and failure_reason. ## Attributes | Field | Type | Requirement | Description | | --- | --- | --- | --- | | `asset_id` | string | Required | ID assigned to the asset by the platform. Length: 36–36. Format: ast- and 32 hex digits. | | `status` | string | Required | Current state; see the value notes for its meaning. `processing`: Processing; `active`: Asset is ready to use; `unavailable`: Unavailable; | | `object` | string | Required | Identifies the kind of object returned. Always: asset. | | `media_type` | string | Required | The kind of media in this file. `image`: Image media; `audio`: Audio media; `video`: Video media; | | `model` | string | Required | ID of the model used for this request. `dreamina-seedance-2-0-260128`: Seedance 2.0; `dreamina-seedance-2-0-fast-260128`: Seedance 2.0 Fast; `dreamina-seedance-2-0-mini-260615`: Seedance 2.0 Mini; | | `name` | string | Optional | Optional display name. Control characters, line or paragraph separators and bidirectional text controls are not accepted. Length: 1–64. | | `created_at` | integer | Required | Creation time as whole seconds since the Unix epoch. Range: ≥ 0. | | `updated_at` | integer | Required | Most recent update time as whole Unix seconds. Range: ≥ 0. | | `width` | integer | Optional | Width in pixels, required for active images and videos. Omitted for audio, processing assets and unavailable assets. Range: ≥ 1. | | `height` | integer | Optional | Height in pixels, required for active images and videos. Omitted for audio, processing assets and unavailable assets. Range: ≥ 1. | | `duration_ms` | integer | Optional | Measured duration in milliseconds, required for active audio and video. Omitted for images and for assets that are processing or unavailable. Range: ≥ 1. | | `size_bytes` | integer | Optional | Stored size in bytes, required when active and omitted while processing or unavailable. Range: ≥ 1. | | `sha256` | string | Optional | SHA-256 of the bytes actually stored, required when active and omitted while processing or unavailable. Length: 64–64. Format: 64 hex digits. | | `failure_reason` | string | Optional | Required reason when unavailable. Omitted while processing and when active. `source_url_not_allowed`: The source address does not meet the fetch policy; `source_fetch_failed`: The source file could not be fetched; `source_too_large`: The source file is too large; `media_type_mismatch`: The media type does not match; `media_constraints_violated`: The file does not meet the media requirements; `review_rejected`: The asset did not pass review; `review_unavailable`: Asset review is temporarily unavailable; `internal_error`: The service could not complete the request; | ## Example ```json { "asset_id": "ast-11111111111111111111111111111111", "object": "asset", "media_type": "image", "model": "dreamina-seedance-2-0-260128", "name": "reference", "created_at": 1700000000, "updated_at": 1700000100, "status": "processing" } ``` Read this object with [Check an asset](./api-docs-en-api-assets-retrieve.md).