APIFree
APIFree
Volengine Assets

POST /v1/files/volengine/assets/get

Retrieve a Volcano Engine material asset.

Retrieve a single Volcano Engine material asset owned by the current MaaS user. This endpoint supports Seedance 2.0 workflows that need to inspect asset metadata before use.

Description

Use this endpoint to inspect one material asset by asset_id.

Content types

  • application/json

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token in the format Bearer YOUR_API_KEY.
Content-TypestringYesMust be application/json.

Request body parameters

NameTypeRequiredDescription
asset_idstringYesVolcano Engine material asset identifier to retrieve.

Example request

curl https://api.apifree.ai/v1/files/volengine/assets/get \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "asset_id": "asset_abc123"
  }'

Response schema

A successful response returns asset information. The exact response fields can vary by upstream provider, but typical fields include:

FieldTypeDescription
asset_idstringVolcano Engine material asset identifier.
asset_typestringAsset type.
namestringAsset display name when available.
urlstringSource URL associated with the asset when available.
statusstringCurrent asset status when available.
created_atintegerUnix timestamp for asset creation time when available.

Example response:

{
  "asset_id": "asset_abc123",
  "asset_type": "video",
  "name": "source-video",
  "url": "https://example.com/assets/source-video.mp4",
  "status": "created",
  "created_at": 1767000000
}

Errors

Typical error cases include:

  • Missing asset_id
  • Authentication failure
  • Asset not found
  • Asset does not belong to the current user
  • Upstream asset retrieval failure