- 支持火山方舟(Volcengine Ark)真人人像素材API - AK/SK HMAC-SHA256签名(纯stdlib实现) - 素材组合(Asset Group)管理: 创建认证、查询、删除 - 素材资产(Asset)管理: 上传、状态同步、删除 - 多供应商可扩展架构 - 完整CRUD + 前端UI + uapi SQL配置 - 12个API端点 + 6个前端页面 - 数据库表: rl_asset_group, rl_asset
56 lines
1.7 KiB
XML
56 lines
1.7 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"padding": "16px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "从供应商同步素材组合",
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"marginBottom": "16px"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Form",
|
|
"id": "sync_form",
|
|
"options": {
|
|
"url": "{{entire_url('api/sync_from_vendor.dspy')}}",
|
|
"method": "POST",
|
|
"fields": [
|
|
{
|
|
"name": "vendor",
|
|
"label": "供应商",
|
|
"type": "select",
|
|
"options": [
|
|
{
|
|
"value": "volcengine",
|
|
"text": "火山方舟"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "project_name",
|
|
"label": "项目名",
|
|
"type": "text",
|
|
"default": "default"
|
|
},
|
|
{
|
|
"name": "apikey",
|
|
"label": "Access Key",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "secretkey",
|
|
"label": "Secret Key",
|
|
"type": "password"
|
|
}
|
|
],
|
|
"submit_label": "开始同步"
|
|
}
|
|
}
|
|
]
|
|
} |