@tokenlabai/mcp-server 0.6.9 → 0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/contract/openapi.json +313 -3
- package/generated/public-contract.json +3 -3
- package/generated/tools.json +214 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ It exposes public catalog tools for agents that need to choose models, inspect s
|
|
|
10
10
|
|
|
11
11
|
## Generated Tool Profiles
|
|
12
12
|
|
|
13
|
-
The checked-in `generated/tools.json` manifest is generated from TokenLab's public OpenAPI document plus the small MCP-only overlay in `contract/mcp-overlay.json`. Version 0.6.
|
|
13
|
+
The checked-in `generated/tools.json` manifest is generated from TokenLab's public OpenAPI document plus the small MCP-only overlay in `contract/mcp-overlay.json`. Version 0.6.10 generates 75 endpoint tools; two composite discovery tools are registered at runtime.
|
|
14
14
|
|
|
15
15
|
| Profile | Endpoint tools | Coverage |
|
|
16
16
|
| --- | ---: | --- |
|
|
@@ -126,7 +126,7 @@ This repository includes `server.json` for the official MCP Registry.
|
|
|
126
126
|
|
|
127
127
|
Release metadata:
|
|
128
128
|
|
|
129
|
-
- npm package: `@tokenlabai/mcp-server@0.6.
|
|
129
|
+
- npm package: `@tokenlabai/mcp-server@0.6.10`
|
|
130
130
|
- MCP registry name: `io.github.hedging8563/tokenlab`
|
|
131
131
|
- `package.json.mcpName`: `io.github.hedging8563/tokenlab`
|
|
132
132
|
|
package/contract/openapi.json
CHANGED
|
@@ -977,6 +977,18 @@
|
|
|
977
977
|
]
|
|
978
978
|
},
|
|
979
979
|
"description": "Filter by material library class."
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "project_name",
|
|
983
|
+
"in": "query",
|
|
984
|
+
"required": false,
|
|
985
|
+
"schema": {
|
|
986
|
+
"type": "string",
|
|
987
|
+
"minLength": 1,
|
|
988
|
+
"maxLength": 128,
|
|
989
|
+
"default": "default"
|
|
990
|
+
},
|
|
991
|
+
"description": "Project scope for the material resource."
|
|
980
992
|
}
|
|
981
993
|
],
|
|
982
994
|
"responses": {
|
|
@@ -1042,6 +1054,18 @@
|
|
|
1042
1054
|
"type": "string"
|
|
1043
1055
|
},
|
|
1044
1056
|
"example": "asset-20260720123456-qn7wr"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "project_name",
|
|
1060
|
+
"in": "query",
|
|
1061
|
+
"required": false,
|
|
1062
|
+
"schema": {
|
|
1063
|
+
"type": "string",
|
|
1064
|
+
"minLength": 1,
|
|
1065
|
+
"maxLength": 128,
|
|
1066
|
+
"default": "default"
|
|
1067
|
+
},
|
|
1068
|
+
"description": "Project scope for the material resource."
|
|
1045
1069
|
}
|
|
1046
1070
|
],
|
|
1047
1071
|
"responses": {
|
|
@@ -1193,6 +1217,18 @@
|
|
|
1193
1217
|
"type": "string"
|
|
1194
1218
|
},
|
|
1195
1219
|
"example": "asset-20260720123456-qn7wr"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "project_name",
|
|
1223
|
+
"in": "query",
|
|
1224
|
+
"required": false,
|
|
1225
|
+
"schema": {
|
|
1226
|
+
"type": "string",
|
|
1227
|
+
"minLength": 1,
|
|
1228
|
+
"maxLength": 128,
|
|
1229
|
+
"default": "default"
|
|
1230
|
+
},
|
|
1231
|
+
"description": "Project scope for the material resource."
|
|
1196
1232
|
}
|
|
1197
1233
|
],
|
|
1198
1234
|
"responses": {
|
|
@@ -5538,6 +5574,18 @@
|
|
|
5538
5574
|
]
|
|
5539
5575
|
},
|
|
5540
5576
|
"description": "Filter by TokenLab material library class."
|
|
5577
|
+
},
|
|
5578
|
+
{
|
|
5579
|
+
"name": "project_name",
|
|
5580
|
+
"in": "query",
|
|
5581
|
+
"required": false,
|
|
5582
|
+
"schema": {
|
|
5583
|
+
"type": "string",
|
|
5584
|
+
"minLength": 1,
|
|
5585
|
+
"maxLength": 128,
|
|
5586
|
+
"default": "default"
|
|
5587
|
+
},
|
|
5588
|
+
"description": "Project scope for the material resource."
|
|
5541
5589
|
}
|
|
5542
5590
|
],
|
|
5543
5591
|
"responses": {
|
|
@@ -5610,6 +5658,18 @@
|
|
|
5610
5658
|
"type": "string"
|
|
5611
5659
|
},
|
|
5612
5660
|
"example": "group-20260720123456-vrt01"
|
|
5661
|
+
},
|
|
5662
|
+
{
|
|
5663
|
+
"name": "project_name",
|
|
5664
|
+
"in": "query",
|
|
5665
|
+
"required": false,
|
|
5666
|
+
"schema": {
|
|
5667
|
+
"type": "string",
|
|
5668
|
+
"minLength": 1,
|
|
5669
|
+
"maxLength": 128,
|
|
5670
|
+
"default": "default"
|
|
5671
|
+
},
|
|
5672
|
+
"description": "Project scope for the material resource."
|
|
5613
5673
|
}
|
|
5614
5674
|
],
|
|
5615
5675
|
"responses": {
|
|
@@ -5748,6 +5808,18 @@
|
|
|
5748
5808
|
"type": "string"
|
|
5749
5809
|
},
|
|
5750
5810
|
"example": "group-20260720123456-vrt01"
|
|
5811
|
+
},
|
|
5812
|
+
{
|
|
5813
|
+
"name": "project_name",
|
|
5814
|
+
"in": "query",
|
|
5815
|
+
"required": false,
|
|
5816
|
+
"schema": {
|
|
5817
|
+
"type": "string",
|
|
5818
|
+
"minLength": 1,
|
|
5819
|
+
"maxLength": 128,
|
|
5820
|
+
"default": "default"
|
|
5821
|
+
},
|
|
5822
|
+
"description": "Project scope for the material resource."
|
|
5751
5823
|
}
|
|
5752
5824
|
],
|
|
5753
5825
|
"responses": {
|
|
@@ -6192,7 +6264,7 @@
|
|
|
6192
6264
|
"Seedance Volc Compatible"
|
|
6193
6265
|
],
|
|
6194
6266
|
"summary": "Seedance Action dispatcher (POST)",
|
|
6195
|
-
"description": "Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation
|
|
6267
|
+
"description": "Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation and material asset Actions use Version=2024-01-01 and are POST-only. The same POST contract is also available at the API root for endpoint-only migration from Volcengine.",
|
|
6196
6268
|
"operationId": "dispatchVolcCompatibleSeedanceActionPost",
|
|
6197
6269
|
"parameters": [
|
|
6198
6270
|
{
|
|
@@ -6207,7 +6279,17 @@
|
|
|
6207
6279
|
"ListContentsGenerationsTasks",
|
|
6208
6280
|
"DeleteContentsGenerationsTasks",
|
|
6209
6281
|
"CreateVisualValidateSession",
|
|
6210
|
-
"GetVisualValidateResult"
|
|
6282
|
+
"GetVisualValidateResult",
|
|
6283
|
+
"CreateAssetGroup",
|
|
6284
|
+
"ListAssetGroups",
|
|
6285
|
+
"GetAssetGroup",
|
|
6286
|
+
"UpdateAssetGroup",
|
|
6287
|
+
"DeleteAssetGroup",
|
|
6288
|
+
"CreateAsset",
|
|
6289
|
+
"ListAssets",
|
|
6290
|
+
"GetAsset",
|
|
6291
|
+
"UpdateAsset",
|
|
6292
|
+
"DeleteAsset"
|
|
6211
6293
|
]
|
|
6212
6294
|
}
|
|
6213
6295
|
},
|
|
@@ -6233,6 +6315,9 @@
|
|
|
6233
6315
|
{
|
|
6234
6316
|
"$ref": "#/components/schemas/VolcGetVisualValidateResultRequest"
|
|
6235
6317
|
},
|
|
6318
|
+
{
|
|
6319
|
+
"$ref": "#/components/schemas/VolcMaterialActionRequest"
|
|
6320
|
+
},
|
|
6236
6321
|
{
|
|
6237
6322
|
"type": "object",
|
|
6238
6323
|
"additionalProperties": true
|
|
@@ -6244,7 +6329,7 @@
|
|
|
6244
6329
|
},
|
|
6245
6330
|
"responses": {
|
|
6246
6331
|
"200": {
|
|
6247
|
-
"description": "Action response. Content-generation actions return task JSON; real-person validation actions return the official ResponseMetadata + Result envelope.",
|
|
6332
|
+
"description": "Action response. Content-generation actions return task JSON; real-person validation and material asset actions return the official ResponseMetadata + Result envelope.",
|
|
6248
6333
|
"content": {
|
|
6249
6334
|
"application/json": {
|
|
6250
6335
|
"schema": {
|
|
@@ -6263,6 +6348,9 @@
|
|
|
6263
6348
|
},
|
|
6264
6349
|
{
|
|
6265
6350
|
"$ref": "#/components/schemas/VolcGetVisualValidateResultResponse"
|
|
6351
|
+
},
|
|
6352
|
+
{
|
|
6353
|
+
"$ref": "#/components/schemas/VolcMaterialActionResponse"
|
|
6266
6354
|
}
|
|
6267
6355
|
]
|
|
6268
6356
|
}
|
|
@@ -8281,6 +8369,13 @@
|
|
|
8281
8369
|
"type": "string",
|
|
8282
8370
|
"description": "TokenLab material group ID. Required for liveness_face materials; optional for aigc_avatar."
|
|
8283
8371
|
},
|
|
8372
|
+
"project_name": {
|
|
8373
|
+
"type": "string",
|
|
8374
|
+
"minLength": 1,
|
|
8375
|
+
"maxLength": 128,
|
|
8376
|
+
"default": "default",
|
|
8377
|
+
"description": "Project scope for the material asset. Assets and groups are isolated by project inside the authenticated organization."
|
|
8378
|
+
},
|
|
8284
8379
|
"metadata": {
|
|
8285
8380
|
"type": "object",
|
|
8286
8381
|
"nullable": true,
|
|
@@ -8316,6 +8411,10 @@
|
|
|
8316
8411
|
"nullable": true,
|
|
8317
8412
|
"description": "TokenLab material group ID that owns this material asset."
|
|
8318
8413
|
},
|
|
8414
|
+
"project_name": {
|
|
8415
|
+
"type": "string",
|
|
8416
|
+
"description": "Project scope for this material asset."
|
|
8417
|
+
},
|
|
8319
8418
|
"library_type": {
|
|
8320
8419
|
"type": "string",
|
|
8321
8420
|
"enum": [
|
|
@@ -8360,6 +8459,10 @@
|
|
|
8360
8459
|
"created_at": {
|
|
8361
8460
|
"type": "integer",
|
|
8362
8461
|
"description": "Unix timestamp when the material asset record was created."
|
|
8462
|
+
},
|
|
8463
|
+
"updated_at": {
|
|
8464
|
+
"type": "integer",
|
|
8465
|
+
"description": "Unix timestamp when the material asset record was last updated."
|
|
8363
8466
|
}
|
|
8364
8467
|
}
|
|
8365
8468
|
},
|
|
@@ -11783,6 +11886,13 @@
|
|
|
11783
11886
|
"default": "aigc_avatar",
|
|
11784
11887
|
"description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through CreateVisualValidateSession followed by GetVisualValidateResult."
|
|
11785
11888
|
},
|
|
11889
|
+
"project_name": {
|
|
11890
|
+
"type": "string",
|
|
11891
|
+
"minLength": 1,
|
|
11892
|
+
"maxLength": 128,
|
|
11893
|
+
"default": "default",
|
|
11894
|
+
"description": "Project scope for the material group."
|
|
11895
|
+
},
|
|
11786
11896
|
"metadata": {
|
|
11787
11897
|
"type": "object",
|
|
11788
11898
|
"nullable": true,
|
|
@@ -11803,6 +11913,12 @@
|
|
|
11803
11913
|
"nullable": true,
|
|
11804
11914
|
"maxLength": 500
|
|
11805
11915
|
},
|
|
11916
|
+
"project_name": {
|
|
11917
|
+
"type": "string",
|
|
11918
|
+
"minLength": 1,
|
|
11919
|
+
"maxLength": 128,
|
|
11920
|
+
"default": "default"
|
|
11921
|
+
},
|
|
11806
11922
|
"metadata": {
|
|
11807
11923
|
"type": "object",
|
|
11808
11924
|
"nullable": true,
|
|
@@ -11836,6 +11952,10 @@
|
|
|
11836
11952
|
"liveness_face"
|
|
11837
11953
|
]
|
|
11838
11954
|
},
|
|
11955
|
+
"project_name": {
|
|
11956
|
+
"type": "string",
|
|
11957
|
+
"description": "Project scope for this material group."
|
|
11958
|
+
},
|
|
11839
11959
|
"group_name": {
|
|
11840
11960
|
"type": "string",
|
|
11841
11961
|
"nullable": true
|
|
@@ -11855,6 +11975,10 @@
|
|
|
11855
11975
|
"created_at": {
|
|
11856
11976
|
"type": "integer",
|
|
11857
11977
|
"format": "int64"
|
|
11978
|
+
},
|
|
11979
|
+
"updated_at": {
|
|
11980
|
+
"type": "integer",
|
|
11981
|
+
"format": "int64"
|
|
11858
11982
|
}
|
|
11859
11983
|
}
|
|
11860
11984
|
},
|
|
@@ -11899,6 +12023,12 @@
|
|
|
11899
12023
|
"Audio"
|
|
11900
12024
|
]
|
|
11901
12025
|
},
|
|
12026
|
+
"project_name": {
|
|
12027
|
+
"type": "string",
|
|
12028
|
+
"minLength": 1,
|
|
12029
|
+
"maxLength": 128,
|
|
12030
|
+
"default": "default"
|
|
12031
|
+
},
|
|
11902
12032
|
"metadata": {
|
|
11903
12033
|
"type": "object",
|
|
11904
12034
|
"nullable": true,
|
|
@@ -12891,6 +13021,186 @@
|
|
|
12891
13021
|
},
|
|
12892
13022
|
"additionalProperties": false
|
|
12893
13023
|
},
|
|
13024
|
+
"VolcMaterialActionRequest": {
|
|
13025
|
+
"type": "object",
|
|
13026
|
+
"description": "PascalCase request body for the material Action selected by the Action query parameter. Required fields depend on the selected Action.",
|
|
13027
|
+
"properties": {
|
|
13028
|
+
"Id": {
|
|
13029
|
+
"type": "string",
|
|
13030
|
+
"description": "Asset or Asset Group identifier for get, update, and delete Actions."
|
|
13031
|
+
},
|
|
13032
|
+
"Name": {
|
|
13033
|
+
"type": "string",
|
|
13034
|
+
"minLength": 1,
|
|
13035
|
+
"maxLength": 64
|
|
13036
|
+
},
|
|
13037
|
+
"Description": {
|
|
13038
|
+
"type": "string",
|
|
13039
|
+
"maxLength": 300
|
|
13040
|
+
},
|
|
13041
|
+
"GroupType": {
|
|
13042
|
+
"type": "string",
|
|
13043
|
+
"enum": [
|
|
13044
|
+
"AIGC",
|
|
13045
|
+
"LivenessFace"
|
|
13046
|
+
]
|
|
13047
|
+
},
|
|
13048
|
+
"GroupId": {
|
|
13049
|
+
"type": "string"
|
|
13050
|
+
},
|
|
13051
|
+
"URL": {
|
|
13052
|
+
"type": "string",
|
|
13053
|
+
"format": "uri"
|
|
13054
|
+
},
|
|
13055
|
+
"AssetType": {
|
|
13056
|
+
"type": "string",
|
|
13057
|
+
"enum": [
|
|
13058
|
+
"Image",
|
|
13059
|
+
"Video",
|
|
13060
|
+
"Audio"
|
|
13061
|
+
]
|
|
13062
|
+
},
|
|
13063
|
+
"Filter": {
|
|
13064
|
+
"type": "object",
|
|
13065
|
+
"properties": {
|
|
13066
|
+
"GroupIds": {
|
|
13067
|
+
"type": "array",
|
|
13068
|
+
"maxItems": 100,
|
|
13069
|
+
"items": {
|
|
13070
|
+
"type": "string"
|
|
13071
|
+
}
|
|
13072
|
+
},
|
|
13073
|
+
"GroupType": {
|
|
13074
|
+
"type": "string",
|
|
13075
|
+
"enum": [
|
|
13076
|
+
"AIGC",
|
|
13077
|
+
"LivenessFace"
|
|
13078
|
+
]
|
|
13079
|
+
},
|
|
13080
|
+
"Statuses": {
|
|
13081
|
+
"type": "array",
|
|
13082
|
+
"items": {
|
|
13083
|
+
"type": "string",
|
|
13084
|
+
"enum": [
|
|
13085
|
+
"Active",
|
|
13086
|
+
"Processing",
|
|
13087
|
+
"Failed"
|
|
13088
|
+
]
|
|
13089
|
+
}
|
|
13090
|
+
},
|
|
13091
|
+
"Name": {
|
|
13092
|
+
"type": "string",
|
|
13093
|
+
"minLength": 1,
|
|
13094
|
+
"maxLength": 64
|
|
13095
|
+
}
|
|
13096
|
+
},
|
|
13097
|
+
"additionalProperties": false
|
|
13098
|
+
},
|
|
13099
|
+
"PageNumber": {
|
|
13100
|
+
"type": "integer",
|
|
13101
|
+
"minimum": 1,
|
|
13102
|
+
"default": 1
|
|
13103
|
+
},
|
|
13104
|
+
"PageSize": {
|
|
13105
|
+
"type": "integer",
|
|
13106
|
+
"minimum": 1,
|
|
13107
|
+
"maximum": 100,
|
|
13108
|
+
"default": 10
|
|
13109
|
+
},
|
|
13110
|
+
"SortBy": {
|
|
13111
|
+
"type": "string",
|
|
13112
|
+
"enum": [
|
|
13113
|
+
"CreateTime",
|
|
13114
|
+
"UpdateTime",
|
|
13115
|
+
"GroupId"
|
|
13116
|
+
],
|
|
13117
|
+
"default": "CreateTime"
|
|
13118
|
+
},
|
|
13119
|
+
"SortOrder": {
|
|
13120
|
+
"type": "string",
|
|
13121
|
+
"enum": [
|
|
13122
|
+
"Desc",
|
|
13123
|
+
"Asc"
|
|
13124
|
+
],
|
|
13125
|
+
"default": "Desc"
|
|
13126
|
+
},
|
|
13127
|
+
"ProjectName": {
|
|
13128
|
+
"type": "string",
|
|
13129
|
+
"minLength": 1,
|
|
13130
|
+
"maxLength": 128,
|
|
13131
|
+
"default": "default",
|
|
13132
|
+
"description": "Project isolation scope within the authenticated organization."
|
|
13133
|
+
}
|
|
13134
|
+
},
|
|
13135
|
+
"additionalProperties": false
|
|
13136
|
+
},
|
|
13137
|
+
"VolcMaterialResponseMetadata": {
|
|
13138
|
+
"type": "object",
|
|
13139
|
+
"required": [
|
|
13140
|
+
"RequestId",
|
|
13141
|
+
"Action",
|
|
13142
|
+
"Version",
|
|
13143
|
+
"Service",
|
|
13144
|
+
"Region"
|
|
13145
|
+
],
|
|
13146
|
+
"properties": {
|
|
13147
|
+
"RequestId": {
|
|
13148
|
+
"type": "string"
|
|
13149
|
+
},
|
|
13150
|
+
"Action": {
|
|
13151
|
+
"type": "string",
|
|
13152
|
+
"enum": [
|
|
13153
|
+
"CreateAssetGroup",
|
|
13154
|
+
"ListAssetGroups",
|
|
13155
|
+
"GetAssetGroup",
|
|
13156
|
+
"UpdateAssetGroup",
|
|
13157
|
+
"DeleteAssetGroup",
|
|
13158
|
+
"CreateAsset",
|
|
13159
|
+
"ListAssets",
|
|
13160
|
+
"GetAsset",
|
|
13161
|
+
"UpdateAsset",
|
|
13162
|
+
"DeleteAsset"
|
|
13163
|
+
]
|
|
13164
|
+
},
|
|
13165
|
+
"Version": {
|
|
13166
|
+
"type": "string",
|
|
13167
|
+
"enum": [
|
|
13168
|
+
"2024-01-01"
|
|
13169
|
+
]
|
|
13170
|
+
},
|
|
13171
|
+
"Service": {
|
|
13172
|
+
"type": "string",
|
|
13173
|
+
"enum": [
|
|
13174
|
+
"ark"
|
|
13175
|
+
]
|
|
13176
|
+
},
|
|
13177
|
+
"Region": {
|
|
13178
|
+
"type": "string",
|
|
13179
|
+
"enum": [
|
|
13180
|
+
"cn-beijing"
|
|
13181
|
+
]
|
|
13182
|
+
}
|
|
13183
|
+
},
|
|
13184
|
+
"additionalProperties": false
|
|
13185
|
+
},
|
|
13186
|
+
"VolcMaterialActionResponse": {
|
|
13187
|
+
"type": "object",
|
|
13188
|
+
"required": [
|
|
13189
|
+
"ResponseMetadata",
|
|
13190
|
+
"Result"
|
|
13191
|
+
],
|
|
13192
|
+
"properties": {
|
|
13193
|
+
"ResponseMetadata": {
|
|
13194
|
+
"$ref": "#/components/schemas/VolcMaterialResponseMetadata"
|
|
13195
|
+
},
|
|
13196
|
+
"Result": {
|
|
13197
|
+
"type": "object",
|
|
13198
|
+
"description": "Action-dependent result. List Actions return Items, TotalCount, PageNumber, and PageSize; create and update Actions return Id; delete Actions return an empty object.",
|
|
13199
|
+
"additionalProperties": true
|
|
13200
|
+
}
|
|
13201
|
+
},
|
|
13202
|
+
"additionalProperties": false
|
|
13203
|
+
},
|
|
12894
13204
|
"VolcVisualValidationError": {
|
|
12895
13205
|
"type": "object",
|
|
12896
13206
|
"required": [
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"id": "tokenlab-mcp-server",
|
|
6
6
|
"name": "@tokenlabai/mcp-server",
|
|
7
7
|
"title": "TokenLab MCP Server",
|
|
8
|
-
"version": "0.6.
|
|
8
|
+
"version": "0.6.10",
|
|
9
9
|
"registry_name": "io.github.hedging8563/tokenlab",
|
|
10
10
|
"source_url": "https://github.com/hedging8563/tokenlab-mcp-server",
|
|
11
11
|
"landing_url": "https://tokenlab.sh/mcp",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"openapi": "3.0.3",
|
|
26
26
|
"title": "TokenLab AI Gateway",
|
|
27
27
|
"version": "1.0.0",
|
|
28
|
-
"sha256": "
|
|
29
|
-
"tool_manifest_sha256": "
|
|
28
|
+
"sha256": "40661266d5b182d7a9f829ae480a1c86d5f141c2b75b25f40ba4bfdf50a42c08",
|
|
29
|
+
"tool_manifest_sha256": "7d609ec553e0ff57721fd45637d720afda1079d8c99ec17c29b13b7d02b39d50"
|
|
30
30
|
},
|
|
31
31
|
"profiles": {
|
|
32
32
|
"catalog": {
|
package/generated/tools.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"openapi": "3.0.3",
|
|
7
7
|
"title": "TokenLab AI Gateway",
|
|
8
8
|
"version": "1.0.0",
|
|
9
|
-
"sha256": "
|
|
9
|
+
"sha256": "40661266d5b182d7a9f829ae480a1c86d5f141c2b75b25f40ba4bfdf50a42c08"
|
|
10
10
|
},
|
|
11
11
|
"default_profile": "core",
|
|
12
12
|
"profiles": [
|
|
@@ -3059,6 +3059,13 @@
|
|
|
3059
3059
|
"type": "string",
|
|
3060
3060
|
"description": "TokenLab material group ID. Required for liveness_face materials; optional for aigc_avatar."
|
|
3061
3061
|
},
|
|
3062
|
+
"project_name": {
|
|
3063
|
+
"type": "string",
|
|
3064
|
+
"minLength": 1,
|
|
3065
|
+
"maxLength": 128,
|
|
3066
|
+
"default": "default",
|
|
3067
|
+
"description": "Project scope for the material asset. Assets and groups are isolated by project inside the authenticated organization."
|
|
3068
|
+
},
|
|
3062
3069
|
"metadata": {
|
|
3063
3070
|
"anyOf": [
|
|
3064
3071
|
{
|
|
@@ -3087,6 +3094,7 @@
|
|
|
3087
3094
|
"asset_type",
|
|
3088
3095
|
"library_type",
|
|
3089
3096
|
"group_id",
|
|
3097
|
+
"project_name",
|
|
3090
3098
|
"metadata"
|
|
3091
3099
|
],
|
|
3092
3100
|
"files": []
|
|
@@ -3142,6 +3150,13 @@
|
|
|
3142
3150
|
"default": "aigc_avatar",
|
|
3143
3151
|
"description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through CreateVisualValidateSession followed by GetVisualValidateResult."
|
|
3144
3152
|
},
|
|
3153
|
+
"project_name": {
|
|
3154
|
+
"type": "string",
|
|
3155
|
+
"minLength": 1,
|
|
3156
|
+
"maxLength": 128,
|
|
3157
|
+
"default": "default",
|
|
3158
|
+
"description": "Project scope for the material group."
|
|
3159
|
+
},
|
|
3145
3160
|
"metadata": {
|
|
3146
3161
|
"anyOf": [
|
|
3147
3162
|
{
|
|
@@ -3164,6 +3179,7 @@
|
|
|
3164
3179
|
"group_name",
|
|
3165
3180
|
"description",
|
|
3166
3181
|
"library_type",
|
|
3182
|
+
"project_name",
|
|
3167
3183
|
"metadata"
|
|
3168
3184
|
],
|
|
3169
3185
|
"files": []
|
|
@@ -4397,6 +4413,13 @@
|
|
|
4397
4413
|
"properties": {
|
|
4398
4414
|
"assetId": {
|
|
4399
4415
|
"type": "string"
|
|
4416
|
+
},
|
|
4417
|
+
"project_name": {
|
|
4418
|
+
"type": "string",
|
|
4419
|
+
"minLength": 1,
|
|
4420
|
+
"maxLength": 128,
|
|
4421
|
+
"default": "default",
|
|
4422
|
+
"description": "Project scope for the material resource."
|
|
4400
4423
|
}
|
|
4401
4424
|
},
|
|
4402
4425
|
"required": [
|
|
@@ -4408,7 +4431,9 @@
|
|
|
4408
4431
|
"path": [
|
|
4409
4432
|
"assetId"
|
|
4410
4433
|
],
|
|
4411
|
-
"query": [
|
|
4434
|
+
"query": [
|
|
4435
|
+
"project_name"
|
|
4436
|
+
],
|
|
4412
4437
|
"header": [],
|
|
4413
4438
|
"body": [],
|
|
4414
4439
|
"files": []
|
|
@@ -4440,6 +4465,13 @@
|
|
|
4440
4465
|
"properties": {
|
|
4441
4466
|
"groupId": {
|
|
4442
4467
|
"type": "string"
|
|
4468
|
+
},
|
|
4469
|
+
"project_name": {
|
|
4470
|
+
"type": "string",
|
|
4471
|
+
"minLength": 1,
|
|
4472
|
+
"maxLength": 128,
|
|
4473
|
+
"default": "default",
|
|
4474
|
+
"description": "Project scope for the material resource."
|
|
4443
4475
|
}
|
|
4444
4476
|
},
|
|
4445
4477
|
"required": [
|
|
@@ -4451,7 +4483,9 @@
|
|
|
4451
4483
|
"path": [
|
|
4452
4484
|
"groupId"
|
|
4453
4485
|
],
|
|
4454
|
-
"query": [
|
|
4486
|
+
"query": [
|
|
4487
|
+
"project_name"
|
|
4488
|
+
],
|
|
4455
4489
|
"header": [],
|
|
4456
4490
|
"body": [],
|
|
4457
4491
|
"files": []
|
|
@@ -4619,7 +4653,7 @@
|
|
|
4619
4653
|
"profiles": [
|
|
4620
4654
|
"full"
|
|
4621
4655
|
],
|
|
4622
|
-
"description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation
|
|
4656
|
+
"description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation and material asset Actions use Version=2024-01-01 and are POST-only. The same POST contract is also available at the API root for endpoint-only migration from Volcengine.",
|
|
4623
4657
|
"input_schema": {
|
|
4624
4658
|
"type": "object",
|
|
4625
4659
|
"properties": {
|
|
@@ -4631,7 +4665,17 @@
|
|
|
4631
4665
|
"ListContentsGenerationsTasks",
|
|
4632
4666
|
"DeleteContentsGenerationsTasks",
|
|
4633
4667
|
"CreateVisualValidateSession",
|
|
4634
|
-
"GetVisualValidateResult"
|
|
4668
|
+
"GetVisualValidateResult",
|
|
4669
|
+
"CreateAssetGroup",
|
|
4670
|
+
"ListAssetGroups",
|
|
4671
|
+
"GetAssetGroup",
|
|
4672
|
+
"UpdateAssetGroup",
|
|
4673
|
+
"DeleteAssetGroup",
|
|
4674
|
+
"CreateAsset",
|
|
4675
|
+
"ListAssets",
|
|
4676
|
+
"GetAsset",
|
|
4677
|
+
"UpdateAsset",
|
|
4678
|
+
"DeleteAsset"
|
|
4635
4679
|
]
|
|
4636
4680
|
},
|
|
4637
4681
|
"Version": {
|
|
@@ -4677,6 +4721,119 @@
|
|
|
4677
4721
|
},
|
|
4678
4722
|
"additionalProperties": false
|
|
4679
4723
|
},
|
|
4724
|
+
{
|
|
4725
|
+
"type": "object",
|
|
4726
|
+
"description": "PascalCase request body for the material Action selected by the Action query parameter. Required fields depend on the selected Action.",
|
|
4727
|
+
"properties": {
|
|
4728
|
+
"Id": {
|
|
4729
|
+
"type": "string",
|
|
4730
|
+
"description": "Asset or Asset Group identifier for get, update, and delete Actions."
|
|
4731
|
+
},
|
|
4732
|
+
"Name": {
|
|
4733
|
+
"type": "string",
|
|
4734
|
+
"minLength": 1,
|
|
4735
|
+
"maxLength": 64
|
|
4736
|
+
},
|
|
4737
|
+
"Description": {
|
|
4738
|
+
"type": "string",
|
|
4739
|
+
"maxLength": 300
|
|
4740
|
+
},
|
|
4741
|
+
"GroupType": {
|
|
4742
|
+
"type": "string",
|
|
4743
|
+
"enum": [
|
|
4744
|
+
"AIGC",
|
|
4745
|
+
"LivenessFace"
|
|
4746
|
+
]
|
|
4747
|
+
},
|
|
4748
|
+
"GroupId": {
|
|
4749
|
+
"type": "string"
|
|
4750
|
+
},
|
|
4751
|
+
"URL": {
|
|
4752
|
+
"type": "string",
|
|
4753
|
+
"format": "uri"
|
|
4754
|
+
},
|
|
4755
|
+
"AssetType": {
|
|
4756
|
+
"type": "string",
|
|
4757
|
+
"enum": [
|
|
4758
|
+
"Image",
|
|
4759
|
+
"Video",
|
|
4760
|
+
"Audio"
|
|
4761
|
+
]
|
|
4762
|
+
},
|
|
4763
|
+
"Filter": {
|
|
4764
|
+
"type": "object",
|
|
4765
|
+
"properties": {
|
|
4766
|
+
"GroupIds": {
|
|
4767
|
+
"type": "array",
|
|
4768
|
+
"maxItems": 100,
|
|
4769
|
+
"items": {
|
|
4770
|
+
"type": "string"
|
|
4771
|
+
}
|
|
4772
|
+
},
|
|
4773
|
+
"GroupType": {
|
|
4774
|
+
"type": "string",
|
|
4775
|
+
"enum": [
|
|
4776
|
+
"AIGC",
|
|
4777
|
+
"LivenessFace"
|
|
4778
|
+
]
|
|
4779
|
+
},
|
|
4780
|
+
"Statuses": {
|
|
4781
|
+
"type": "array",
|
|
4782
|
+
"items": {
|
|
4783
|
+
"type": "string",
|
|
4784
|
+
"enum": [
|
|
4785
|
+
"Active",
|
|
4786
|
+
"Processing",
|
|
4787
|
+
"Failed"
|
|
4788
|
+
]
|
|
4789
|
+
}
|
|
4790
|
+
},
|
|
4791
|
+
"Name": {
|
|
4792
|
+
"type": "string",
|
|
4793
|
+
"minLength": 1,
|
|
4794
|
+
"maxLength": 64
|
|
4795
|
+
}
|
|
4796
|
+
},
|
|
4797
|
+
"additionalProperties": false
|
|
4798
|
+
},
|
|
4799
|
+
"PageNumber": {
|
|
4800
|
+
"type": "integer",
|
|
4801
|
+
"minimum": 1,
|
|
4802
|
+
"default": 1
|
|
4803
|
+
},
|
|
4804
|
+
"PageSize": {
|
|
4805
|
+
"type": "integer",
|
|
4806
|
+
"minimum": 1,
|
|
4807
|
+
"maximum": 100,
|
|
4808
|
+
"default": 10
|
|
4809
|
+
},
|
|
4810
|
+
"SortBy": {
|
|
4811
|
+
"type": "string",
|
|
4812
|
+
"enum": [
|
|
4813
|
+
"CreateTime",
|
|
4814
|
+
"UpdateTime",
|
|
4815
|
+
"GroupId"
|
|
4816
|
+
],
|
|
4817
|
+
"default": "CreateTime"
|
|
4818
|
+
},
|
|
4819
|
+
"SortOrder": {
|
|
4820
|
+
"type": "string",
|
|
4821
|
+
"enum": [
|
|
4822
|
+
"Desc",
|
|
4823
|
+
"Asc"
|
|
4824
|
+
],
|
|
4825
|
+
"default": "Desc"
|
|
4826
|
+
},
|
|
4827
|
+
"ProjectName": {
|
|
4828
|
+
"type": "string",
|
|
4829
|
+
"minLength": 1,
|
|
4830
|
+
"maxLength": 128,
|
|
4831
|
+
"default": "default",
|
|
4832
|
+
"description": "Project isolation scope within the authenticated organization."
|
|
4833
|
+
}
|
|
4834
|
+
},
|
|
4835
|
+
"additionalProperties": false
|
|
4836
|
+
},
|
|
4680
4837
|
{
|
|
4681
4838
|
"type": "object",
|
|
4682
4839
|
"additionalProperties": true
|
|
@@ -5443,6 +5600,13 @@
|
|
|
5443
5600
|
"properties": {
|
|
5444
5601
|
"assetId": {
|
|
5445
5602
|
"type": "string"
|
|
5603
|
+
},
|
|
5604
|
+
"project_name": {
|
|
5605
|
+
"type": "string",
|
|
5606
|
+
"minLength": 1,
|
|
5607
|
+
"maxLength": 128,
|
|
5608
|
+
"default": "default",
|
|
5609
|
+
"description": "Project scope for the material resource."
|
|
5446
5610
|
}
|
|
5447
5611
|
},
|
|
5448
5612
|
"required": [
|
|
@@ -5454,7 +5618,9 @@
|
|
|
5454
5618
|
"path": [
|
|
5455
5619
|
"assetId"
|
|
5456
5620
|
],
|
|
5457
|
-
"query": [
|
|
5621
|
+
"query": [
|
|
5622
|
+
"project_name"
|
|
5623
|
+
],
|
|
5458
5624
|
"header": [],
|
|
5459
5625
|
"body": [],
|
|
5460
5626
|
"files": []
|
|
@@ -5486,6 +5652,13 @@
|
|
|
5486
5652
|
"properties": {
|
|
5487
5653
|
"groupId": {
|
|
5488
5654
|
"type": "string"
|
|
5655
|
+
},
|
|
5656
|
+
"project_name": {
|
|
5657
|
+
"type": "string",
|
|
5658
|
+
"minLength": 1,
|
|
5659
|
+
"maxLength": 128,
|
|
5660
|
+
"default": "default",
|
|
5661
|
+
"description": "Project scope for the material resource."
|
|
5489
5662
|
}
|
|
5490
5663
|
},
|
|
5491
5664
|
"required": [
|
|
@@ -5497,7 +5670,9 @@
|
|
|
5497
5670
|
"path": [
|
|
5498
5671
|
"groupId"
|
|
5499
5672
|
],
|
|
5500
|
-
"query": [
|
|
5673
|
+
"query": [
|
|
5674
|
+
"project_name"
|
|
5675
|
+
],
|
|
5501
5676
|
"header": [],
|
|
5502
5677
|
"body": [],
|
|
5503
5678
|
"files": []
|
|
@@ -6227,6 +6402,13 @@
|
|
|
6227
6402
|
"liveness_face"
|
|
6228
6403
|
],
|
|
6229
6404
|
"description": "Filter by TokenLab material library class."
|
|
6405
|
+
},
|
|
6406
|
+
"project_name": {
|
|
6407
|
+
"type": "string",
|
|
6408
|
+
"minLength": 1,
|
|
6409
|
+
"maxLength": 128,
|
|
6410
|
+
"default": "default",
|
|
6411
|
+
"description": "Project scope for the material resource."
|
|
6230
6412
|
}
|
|
6231
6413
|
},
|
|
6232
6414
|
"additionalProperties": false
|
|
@@ -6237,7 +6419,8 @@
|
|
|
6237
6419
|
"page_size",
|
|
6238
6420
|
"page_token",
|
|
6239
6421
|
"status",
|
|
6240
|
-
"library_type"
|
|
6422
|
+
"library_type",
|
|
6423
|
+
"project_name"
|
|
6241
6424
|
],
|
|
6242
6425
|
"header": [],
|
|
6243
6426
|
"body": [],
|
|
@@ -6297,6 +6480,13 @@
|
|
|
6297
6480
|
"liveness_face"
|
|
6298
6481
|
],
|
|
6299
6482
|
"description": "Filter by material library class."
|
|
6483
|
+
},
|
|
6484
|
+
"project_name": {
|
|
6485
|
+
"type": "string",
|
|
6486
|
+
"minLength": 1,
|
|
6487
|
+
"maxLength": 128,
|
|
6488
|
+
"default": "default",
|
|
6489
|
+
"description": "Project scope for the material resource."
|
|
6300
6490
|
}
|
|
6301
6491
|
},
|
|
6302
6492
|
"additionalProperties": false
|
|
@@ -6308,7 +6498,8 @@
|
|
|
6308
6498
|
"page_token",
|
|
6309
6499
|
"group_id",
|
|
6310
6500
|
"status",
|
|
6311
|
-
"library_type"
|
|
6501
|
+
"library_type",
|
|
6502
|
+
"project_name"
|
|
6312
6503
|
],
|
|
6313
6504
|
"header": [],
|
|
6314
6505
|
"body": [],
|
|
@@ -7246,6 +7437,12 @@
|
|
|
7246
7437
|
"Audio"
|
|
7247
7438
|
]
|
|
7248
7439
|
},
|
|
7440
|
+
"project_name": {
|
|
7441
|
+
"type": "string",
|
|
7442
|
+
"minLength": 1,
|
|
7443
|
+
"maxLength": 128,
|
|
7444
|
+
"default": "default"
|
|
7445
|
+
},
|
|
7249
7446
|
"metadata": {
|
|
7250
7447
|
"anyOf": [
|
|
7251
7448
|
{
|
|
@@ -7274,6 +7471,7 @@
|
|
|
7274
7471
|
"asset_url",
|
|
7275
7472
|
"asset_name",
|
|
7276
7473
|
"asset_type",
|
|
7474
|
+
"project_name",
|
|
7277
7475
|
"metadata"
|
|
7278
7476
|
],
|
|
7279
7477
|
"files": []
|
|
@@ -7322,6 +7520,12 @@
|
|
|
7322
7520
|
}
|
|
7323
7521
|
]
|
|
7324
7522
|
},
|
|
7523
|
+
"project_name": {
|
|
7524
|
+
"type": "string",
|
|
7525
|
+
"minLength": 1,
|
|
7526
|
+
"maxLength": 128,
|
|
7527
|
+
"default": "default"
|
|
7528
|
+
},
|
|
7325
7529
|
"metadata": {
|
|
7326
7530
|
"anyOf": [
|
|
7327
7531
|
{
|
|
@@ -7348,6 +7552,7 @@
|
|
|
7348
7552
|
"body": [
|
|
7349
7553
|
"group_name",
|
|
7350
7554
|
"description",
|
|
7555
|
+
"project_name",
|
|
7351
7556
|
"metadata"
|
|
7352
7557
|
],
|
|
7353
7558
|
"files": []
|
package/package.json
CHANGED