logo算法信息提取

This commit is contained in:
menghaiwen@fusen.cn 2024-01-22 15:02:31 +08:00
parent 5980a39330
commit d4d8c66ee4

View File

@ -41,7 +41,25 @@ service resource {
// logo缩略处理
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缩略处理 */
message LogoResizeReq{
string resource_id=1; // ID