credentials + object_key_prefix;在 object_key_prefix 下追加文件名拼出完整 object_key;用 STS 凭证直接上传音频文件到对象存储;调用喊话器资源创建接口登记资源(携带 object_key)。curl --location '/openapi/v2.0/speaker/api/v1/workspaces//sts?specify_path=&file_uuid=' \
--header 'x-user-token;' \
--header 'x-user-token;' \
--header 'X-Request-Id: 5dff27bd-693c-4ace-979d-e26e920d497a' \
--header 'X-Request-Id;' \
--header 'X-Project-Uuid;'{
"code": 0,
"message": "success",
"data": {
"credentials": {
"access_key_id": "STS.ABC123",
"access_key_secret": "EXAMPLEKEY",
"security_token": "sts.token.example",
"expire": 1717890600
},
"object_key_prefix": "speaker/{org_uuid}/{workspace_id}/",
"bucket": "your-deployment-bucket",
"endpoint": "minio.example.local:9000",
"provider": "minio",
"region": "cn-default"
}
}