logo算法信息提取

This commit is contained in:
menghaiwen@fusen.cn
2024-01-22 16:42:00 +08:00
parent e4c7d23772
commit 138bcb304d

View File

@@ -61,13 +61,17 @@ message SetExampleRes {
/* logo算法信息提取 */ /* logo算法信息提取 */
message LogoAiInfoGetReq { message LogoAiInfoGetReq {
string logo_url = 1;// logo地址 string logo_url = 1;// logo地址
int64 logo_id = 2;// logoID optional int64 logo_id = 2;// logoID
string version = 3;// 算法版本 optional string version = 3;// 算法版本
string is_reverse = 4; // 是否反白 optional string is_reverse = 4; // 是否反白
string logo_crop_type = 5; // 可拆类型 optional string logo_crop_type = 5; // 可拆类型
string is_all_template = 7; // 是否全部模版 optional string is_all_template = 7; // 是否全部模版
repeated string recommend_templates = 6; // 推荐模版 repeated string recommend_templates = 6; // 推荐模版
bytes preprocess_logo_metadata =8; // logo数据库额外参数 bytes preprocess_logo_metadata = 8; // logo数据库额外参数
optional int64 user_id = 101; // 用户ID
optional int64 guest_id = 102; // 访客ID
} }
message LogoAiInfoGetRes { message LogoAiInfoGetRes {
bytes metadata =1; // AI返回基础信息 bytes metadata =1; // AI返回基础信息