Files
Genarrative/server-rs/crates/platform-image/src/vector_engine
k88936 34c6ed8756 自动扩缩edit图片的大小适应gptimage2的生成图片大小参数要求 (#82)
尺寸严格限制规则 (Strict Size Constraints):
图片最大边长 ≤ 3840px <- by hardcoded length
宽高两边像素均为 16px 的倍数 <- by backend do crop
长边 / 短边 比值 ≤ 3:1 <- by hardcoded aspect ratio
总像素范围:最小 655360 ~ 最大 8294400 <- by auto scale in this pr

logic impl in the backend

---------

Co-authored-by: 段舒康 <kdletters@qq.com>
Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/82
Co-authored-by: kvtodev <kvtodev@outlook.com>
Co-committed-by: kvtodev <kvtodev@outlook.com>
2026-07-14 21:04:54 +08:00
..
2026-06-17 20:52:45 +08:00
2026-06-17 20:52:45 +08:00