Resource Groups
Resource management APIs for managing material resources referenced by models. Currently used for Volcano Seedance series. Seedance 2.0 does not support directly uploading images/videos with real faces; use the material library instead.
Auth:
Authorization: Bearer <api-key>Enums:
status:1Available /2Processing /3Failed /4Deleted
Create Resource Group
http
POST /api/model-resources/groups| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Group name |
description | string | No | Group description |
bash
curl --location 'https://neolink.com/api/api/model-resources/groups' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "User Group 1",
"description": "This is a note"
}'Response:
json
{
"success": true,
"message": "",
"data": {
"id": 8,
"name": "User Group 1",
"description": "This is a note",
"busi_type": 1,
"created_at": 1779330365,
"updated_at": 1779330365,
"deleted_at": null
}
}Query Resource Group List
http
GET /api/model-resources/groups| Field | Type | Required | Description |
|---|---|---|---|
p | int | No | Page number, default 1 |
page_size | int | No | Items per page |
keyword | string | No | Search by name or description |
bash
curl --location 'https://neolink.com/api/api/model-resources/groups?p=1&page_size=20' \
--header 'Authorization: Bearer <api-key>'Response:
json
{
"success": true,
"message": "",
"data": {
"page": 1,
"page_size": 20,
"total": 1,
"items": [
{
"id": 8,
"name": "User Group 1",
"description": "This is a note",
"busi_type": 1,
"created_at": 1779330365,
"updated_at": 1779330365,
"deleted_at": null
}
]
}
}Query Resource Group Details
http
GET /api/model-resources/groups/{id}bash
curl --location 'https://neolink.com/api/api/model-resources/groups/8' \
--header 'Authorization: Bearer <api-key>'Response fields are the same as creating a resource group.
Update Resource Group
http
PATCH /api/model-resources/groups/{id}
PUT /api/model-resources/groups/{id}| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | New group name |
description | string | No | New description |
bash
curl --location --request PATCH 'https://neolink.com/api/api/model-resources/groups/8' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "User Group 1 - Updated",
"description": "New note"
}'