Video

Update Seedance material asset

Updates a Seedance material asset owned by the authenticated organization.

put/v1/videos/assets/{assetId}

Request

  • Base URL: https://api.tokenlab.sh
  • URL: https://api.tokenlab.sh/v1/videos/assets/{assetId}
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

assetIdstring required

TokenLab material asset ID.

Request body

asset_urlstring uri

Replacement publicly reachable material asset URL.

asset_namestring

Updated display name stored with the material asset.

asset_type'Image' | 'Video' | 'Audio'
project_namestring
metadataobject nullable

Updated client metadata stored with the material asset.

Response

Material asset updated

idstring required

TokenLab material asset ID. Use this as material_asset_id after the asset becomes ACTIVE.

object'seedance.material_asset' required
group_idstring nullable

TokenLab material group ID that owns this material asset.

project_namestring

Project scope for this material asset.

library_type'aigc_avatar' | 'liveness_face' required
asset_namestring nullable
asset_type'Image' | 'Video' | 'Audio' required
status'PROCESSING' | 'ACTIVE' | 'FAILED' | 'DELETED' required
readyboolean required

True when the asset is active and not deleted.

error_messagestring nullable

Public-safe terminal processing error. Permanent source validation failures include the rejected dimension constraint.

metadataobject nullable
created_atinteger

Unix timestamp when the material asset record was created.

updated_atinteger

Unix timestamp when the material asset record was last updated.

Changes

No recorded changes to this operation across all 1 revision of this API.