Skip to content
Open CastalyConsole

Video

Create an asset group

Create a group for image, video, and audio assets used by Seedance workflows.

This page documents the Modelflare asset-management route. Calls require a valid media API key, an available media channel, and the required permission.

POST https://modelflare.dev/volc/asset/CreateAssetGroup

Use a Modelflare API key:

Terminal windowbash
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY"

Send Idempotency-Key with create, update, and delete requests. Retrying the same key for the same user replays the saved response without repeating the mutation.

Create a group for image, video, and audio assets used by Seedance workflows.

Field Type Required Description Example
Name string Yes Name of the asset group. my-project-assets
model string No Billing model. Defaults to volc-asset. volc-asset

JSON example:

JSON
{
"Name": "my-project-assets",
"model": "volc-asset"
}

cURL example:

Terminal windowbash
curl --request POST https://modelflare.dev/volc/asset/CreateAssetGroup \
--header "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"Name": "my-project-assets",
"model": "volc-asset"
}'

The group was created.

Field Type Required Description Example
Id string Yes The new asset group ID. group-20260320141746-zsf6b

Response example:

JSON
{
"Id": "group-20260320120601-hsw4s"
}
Status Meaning
400 The request is invalid.
401 The API key is missing or unauthorized.

Error body example (when returned):

JSON
{
"error": {
"code": "invalid_request",
"message": "Request validation failed."
}
}

Image, video, and audio creation are asynchronous. After receiving an asset ID, call GetAsset and use the asset://<ID> reference only when the status is Active.