Merge branch 'master' of gitlab.fusenpack.com:backend/proto

This commit is contained in:
laodaming@fusen.cn 2024-01-22 15:10:43 +08:00
commit 65c1397855

View File

@ -41,7 +41,25 @@ service resource {
// logo缩略处理 // logo缩略处理
rpc LogoResize(LogoResizeReq) returns (LogoResizeRes) {} rpc LogoResize(LogoResizeReq) returns (LogoResizeRes) {}
// logo算法信息提取
rpc LogoAiInfoGet(LogoAiInfoGetReq) returns (LogoAiInfoGetRes) {}
} }
/* logo算法信息提取 */
message LogoAiInfoGetReq {
string logo_url = 1;// logo地址
string version = 2;//
string is_reverse = 3; //
string logo_crop_type = 4; //
repeated string recommend_templates = 5; //
string is_all_template = 6; //
}
message LogoAiInfoGetRes {
bytes metadata =1;
}
/* logo算法信息提取 */
/* logo缩略处理 */ /* logo缩略处理 */
message LogoResizeReq{ message LogoResizeReq{
string resource_id=1; // ID string resource_id=1; // ID