logo算法裁剪去背景
This commit is contained in:
parent
b79c053e00
commit
77243bf29e
|
@ -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; // 最大
|
||||
|
|
Loading…
Reference in New Issue
Block a user