Video / Seedance 2

Seedance Asset Library

Overview

asset Video Generation reference asset (image / video / audio, ).asset can in Seedance 2.5 / 2.0 / 2.0 Fast / 2.0 Mini task, Method asasset://<asset Id>.

  • 📦 asset:asset, and
  • -⏳ localized example text:create asset after return Id, StatusProcessing asActive can use
  • -♻️ valid:asset when, first can
  • -🔁 localized example text:localized example textasset://<asset Id> Seedance videoModel

endpoint asAction localized example text:withPOST /api/v3/assets, Query ParameterAction, Request Body and field as PascalCase.

Base URL: https://mm-internal-cn.leonecloud.com


Authentication

All endpoints require a token in the request header for authentication:

Authorization: Bearer {YOUR_AUTH_TOKEN}

Failurereturned when applicable HTTP 401:```json
{
"ResponseMetadata": {
"RequestId": "c0a8011e-...",
"Action": "Create AssetGroup",
"Version": "2024-01-01",
"Error": {
"Code": "InvalidAuthorization",
"Message": "API Key no"
}
}
}


---

## localized example text```
POST /api/v3/assets?Action={Action}&Version=2024-01-01
Content-Type: application/json
Query ParameterRequiredDescription
ActionYes,Action localized example text
VersionYesas2024-01-01

Successlocalized example text (HTTP 200):

{
 "ResponseMetadata": {
 "RequestId": "c0a8011e-...",
 "Action": "Create Asset",
 "Version": "2024-01-01"
 },
 "Result": {
 "Id": "asset-20261026083012-k3x9a"
 }
}

Failurelocalized example text (HTTP 4xx / 5xx):localized example textResult, Error MessageinResponseMetadata.Error in,Error Codes.

RequestId as Request ID, when and provide.

Action localized example text| Action | Description | |---|---| | Create AssetGroup| create asset| | Get AssetGroup| query asset| | ListAssetGroups| query asset| | UpdateAssetGroup| asset /| | DeleteAssetGroup| asset ( asset )| | Create Asset| create asset ()| | Get Asset| query asset and Status| | ListAssets| query asset| | UpdateAsset| asset| | DeleteAsset| asset|

localized example text:Create AssetGroup → Create Asset → Polling Get Asset localized example textStatus asActive → in task inasset://<asset Id>.


asset### Create AssetGroup create asset| Parameter | Type | Required | Description | |---|---|---|---| | Name | string | Yes |, 1~64 characters | | Description | string | No |, up to 300 characters| | GroupType | string | No | Type, first only supportedAIGC (default) | | ProjectName | string | No | Item, defaultdefault, onlylocalized example text|

curl -X POST "https://mm-internal-cn.leonecloud.com/api/v3/assets?Action=Create AssetGroup&Version=2024-01-01" \
 -H "Authorization: Bearer your_auth_token_here" \
 -H "Content-Type: application/json" \
 -d '{
 "Name": "A",
 "Description": "asset"
 }'

returnResult:

{
 "Id": "group-20261026083000-p7m2q"
}

Get AssetGroup query asset| Parameter | Type | Required | Description | |---|---|---|---| | Id | string | Yes | asset Id|

returnResult:

{
 "Id": "group-20261026083000-p7m2q",
 "Name": "A",
 "Title": "A",
 "Description": "asset",
 "GroupType": "AIGC",
 "ProjectName": "default",
 "Create Time": "2026-10-26T08:30:00Z",
 "UpdateTime": "2026-10-26T08:30:00Z"
}
when field as UTC.Title andName localized example text.

ListAssetGroups query asset list| Parameter | Type | Required | Description | |---|---|---|---| | Filter.Name | string | No | localized example text| | Filter.GroupIds | string[] | No | Id, up to 100| | Filter.GroupType | string | No | Type, first onlyAIGC | | PageNumber | int | No |, default1 | | PageSize | int | No |, default10, maximum 100 |

Created Time.

curl -X POST "https://mm-internal-cn.leonecloud.com/api/v3/assets?Action=ListAssetGroups&Version=2024-01-01" \
 -H "Authorization: Bearer your_auth_token_here" \
 -H "Content-Type: application/json" \
 -d '{
 "Filter": { "Name": "localized example text" },
 "PageNumber": 1,
 "PageSize": 10
 }'

returnResult:

{
 "Items": [
 {
 "Id": "group-20261026083000-p7m2q",
 "Name": "A",
 "Title": "A",
 "Description": "asset",
 "GroupType": "AIGC",
 "ProjectName": "default",
 "Create Time": "2026-10-26T08:30:00Z",
 "UpdateTime": "2026-10-26T08:30:00Z"
 }
 ],
 "TotalCount": 1,
 "PageNumber": 1,
 "PageSize": 10
}

UpdateAssetGroup asset| Parameter | Type | Required | Description | |---|---|---|---| | Id | string | Yes | asset Id| | Name | string | No |, 1~64 characters | | Description | string | No |, up to 300 characters;|

Name andDescription, not field.SuccessreturnResult ({}).

DeleteAssetGroup asset| Parameter | Type | Required | Description | |---|---|---|---| | Id | string | Yes | asset Id|

asset will and, after can, task.SuccessreturnResult ({}).


asset### Create Asset create asset| Parameter | Type | Required | Description | |---|---|---|---| | GroupId | string | Yes | asset Id| | URL | string | Yes | asset file, as can http/https, maximum 2048 characters| | AssetType | string | Yes | asset Type:Image / Video / Audio | | Name | string | No | asset, up to 255 characters, only and|

assetProjectName asset, create when no.

curl -X POST "https://mm-internal-cn.leonecloud.com/api/v3/assets?Action=Create Asset&Version=2024-01-01" \
 -H "Authorization: Bearer your_auth_token_here" \
 -H "Content-Type: application/json" \
 -d '{
 "GroupId": "group-20261026083000-p7m2q",
 "URL": "https://example.com/figure-front.jpg",
 "AssetType": "Image",
 "Name": "image"
 }'

returnResult:

{
 "Id": "asset-20261026083012-k3x9a"
}

Description:

  • endpointaslocalized example text:return Id when asset Status asProcessing, localized example textGet Asset query, asActive after.when File size, video asset when, recommended 3~5 secondsPollinglocalized example text.
  • will asset.complete after, create when () use.
  • file exceeds 100MB; file Type andAssetType localized example text.
  • RequestCreate a asset.

Get Asset query asset| Parameter | Type | Required | Description | |---|---|---|---| | Id | string | Yes | asset Id|

returnResult:

{
 "Id": "asset-20261026083012-k3x9a",
 "Name": "image",
 "URL": "https://<asset>/materials/20261026/083012_ab12cd34ef56.jpg",
 "AssetType": "Image",
 "GroupId": "group-20261026083000-p7m2q",
 "Status": "Active",
 "Moderation": { "Strategy": "Default" },
 "ProjectName": "default",
 "Create Time": "2026-10-26T08:30:12Z",
 "UpdateTime": "2026-10-26T08:30:41Z"
}
fieldDescription
StatusProcessing processing / Active can use /Failed Failure
Erroronly Failed returned when applicable { "Code", "Message" }, localized example textasset Failure
URLasset file: complete after as (valid), complete first as create when

Failure:```json
{
"Id": "asset-20261026083012-k3x9a",
"Status": "Failed",
"Error": {
"Code": "InvalidParameter.SensitiveContentDetected",
"Message": "asset or, not"
}
}


### ListAssets query asset list| Parameter | Type | Required | Description |
|---|---|---|---|
| Filter.GroupIds | string[] | No | asset Id, up to 100|
| Filter.Statuses | string[] | No | Status:`Processing` / `Active` / `Failed` |
| Filter.Name | string | No | asset|
| Filter.GroupType | string | No | Type, first only`AIGC` |
| PageNumber | int | No |, default`1` |
| PageSize | int | No |, default`10`, maximum `100` |
| SortBy | string | No | field:`Create Time` (default)/ `UpdateTime` / `Name` / `GroupId` |
| SortOrder | string | No | `Desc` (default)/ `Asc` |

Condition when ().

```bash

curl -X POST "https://mm-internal-cn.leonecloud.com/api/v3/assets?Action=ListAssets&Version=2024-01-01" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"Filter": {
"GroupIds": ["group-20261026083000-p7m2q"],
"Statuses": ["Active", "Processing"]
},
"PageNumber": 1,
"PageSize": 10
}'


return`Result`:`{ "Items": [asset...], "TotalCount", "PageNumber", "PageSize" }`, `Items` and Get Asset.

### UpdateAsset asset| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | Yes | asset Id|
| Name | string | Yes |, up to 255 characters;|

onlysupported, asset file can ( asset ).Successreturn`Result` (`{}`).

### DeleteAsset asset| Parameter | Type | Required | Description |
|---|---|---|---|
| Id | string | Yes | asset Id|

processingasset can.after can, task; execute in task asset, task can Failure.Successreturn`Result` (`{}`).

---

## in Video Generation in use 

 asset as`Active` after, in task`content` localized example text`image_url.url` / `video_url.url` / `audio_url.url` in`asset://<asset Id>`, and URL:```bash
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v3/contents/generations/tasks" \
 -H "Authorization: Bearer your_auth_token_here" \
 -H "Content-Type: application/json" \
 -d '{
 "model": "seedance-2-5",
 "content": [
 {
 "type": "text",
 "text": "Image 1in the,"
 },
 {
 "type": "image_url",
 "image_url": { "url": "asset://asset-20261026083012-k3x9a" },
 "role": "reference_image"
 }
 ],
 "ratio": "16:9",
 "resolution": "720p"
 }'
  • Seedance 2.5 / 2.0 / 2.0 Fast / 2.0 Mini Model,model Model; V2 endpointcontent, supported.
  • Request in can when useasset:// asset and URL.
  • Promptin「Image 1」「Video 1」「Audio 1」asset incontent in the,localized example textin Prompt asset Id.
  • localized example textProcessing orFailed Statusasset when, Create Task return HTTP 400 (InvalidParameter), will.
  • asset create use, API Key can.

asset Failure

assetStatus asFailed when,Error.Code can.after Create Asset:Error.CodeDescription
InvalidParameter.DownloadFailedasset no (,, return etc. )
InvalidParameter.InvalidURLasset
InvalidParameter.FileTooLargefile exceeds 100MB
InvalidParameter.AssetTypeMismatchfile Type andAssetType localized example text
InvalidParameter.InvalidAssetfile valid image / video / audio, or
InvalidParameter.SensitiveContentDetectedasset or, not
InvalidParameter.* ()Resolution, Duration, Formatetc.,Message in
InternalErrorwhen, create

Error Codes

HTTPError.Codelocalized example text
400InvalidActionOrVersionlocalized example textAction, Action in, orVersion localized example text2024-01-01
400InvalidParameterParameter, FormatError or Limit
401InvalidAuthorizationToken or API Key no
403AccessDeniedno
404ResourceNotFoundasset / asset in or
413InvalidParameterRequest Bodyexceeds 1MB
500InternalErrorError, can after
Updated 2026-10-27