logo算法裁剪去背景

This commit is contained in:
menghaiwen@fusen.cn 2024-01-24 10:04:50 +08:00
parent b79c053e00
commit 77243bf29e

View File

@ -37,7 +37,7 @@ service resource {
rpc LogoInfoSet(LogoInfoSetReq) returns (LogoInfoSetRes) {}
// logo裁剪处理
rpc LogoCropping(LogoCroppingReq) returns (LogoCroppingRes) {}
rpc LogoAiCropping(LogoAiCroppingReq) returns (LogoAiCroppingRes) {}
// logo缩略处理
rpc LogoResize(LogoResizeReq) returns (LogoResizeRes) {}
@ -117,7 +117,7 @@ message ResourceDeleteRes {}
/* 删除资源详情 */
/* logo裁剪处理 */
message LogoCroppingReq {
message LogoAiCroppingReq {
string is_remove_bg=1; //
string logo_file=2; //
string width=3; //
@ -128,7 +128,7 @@ message LogoCroppingReq {
int64 user_id = 101; // ID
int64 guest_id = 102; // 访ID
}
message LogoCroppingRes {
message LogoAiCroppingRes {
string resource_id=1;// ID
string resource_url=2;//
bool ismax_proportion=3; //