124 Commits

Author SHA1 Message Date
00cef71be7 暂停欠费生图线路并修正 98K 文生图尺寸传递
## Summary

生图线路确认欠费后立即停止新请求,跳过同一上游账户的其他模型,保留已生成结果和已提交任务。欠费状态须经管理员恢复,不再定时自动解封,也不会被旧任务的成功回执清除。旧模型选择仅使用明确配置且尺寸、比例和参考图数量兼容的备用模型;固定模型模式仍要求用户自行选择。

98K 文生图优先使用其公开声明的任务接口,原生传递分辨率和比例,清除文生图请求中的示例参考图片。

## Scope

- [x] API / backend logic
- [x] Settings / admin configuration

## Required Verification

验证普通 Pro、Banana 2、两个 Plus 和 GPT Image 2 共 10 个真实文生图及参考图编辑用例,均获得可下载的 2048×2048 图片。625 项 helper 回归通过,1 项跳过;TypeScript、日志/品牌/CI/环境/凭据/元数据/测试/产物检查通过。全仓 Biome 仍有历史格式和 lint 诊断(1005 项)。构建机执行生产构建及路由烟测;生产切换前核对任务与请求,保留旧构建和模型配置回滚记录。

## Release Readiness

仅修改本次生图运行逻辑与测试,凭据和验证产物保存在仓库外或忽略目录中。内部生成接口的权限与访问方式保持兼容。
2026-11-03 19:20:18 +08:00
134
01485340b5 fix(agent): ask before replacing refused pinned image models and settle completed actions 2026-10-21 16:10:09 +08:00
134
f38488b546 fix(agent): recover image parameter compatibility errors without false model bans 2026-10-21 10:35:23 +08:00
134
36761e37a4 fix(agent): retain image fault records and show actionable recovery messages 2026-10-21 10:30:30 +08:00
134
d4a6b54078 fix(agent): preserve legacy automatic image model selection 2026-10-21 10:22:54 +08:00
134
d8aa51185e feat(agent): recover automatic image generation without switching user-pinned models 2026-10-21 10:22:54 +08:00
134
55ad5b21f0 fix(canvas): validate template replacement direction and product identity 2026-10-19 19:23:44 +08:00
134
96d67955cb fix(canvas): preserve uncertain image submissions without paid failover 2026-10-03 17:29:31 +08:00
134
365bad8539 fix(canvas): distinguish provider balance from image rate limits 2026-10-01 07:45:39 +08:00
134
924c8065b6 fix: match video canvas models to real capabilities and remove simulated processing 2026-09-16 16:29:31 +08:00
134
725a93331a feat(ai): add VIP98K provider foundation on 48 baseline 2026-08-08 16:52:14 +08:00
134
e8d1aa25aa feat: add Atlas Cloud image provider 2026-07-21 11:08:13 +08:00
134
80e9771790 feat: add Visionary image provider 2026-07-14 14:12:27 +08:00
134
5a7121dceb fix: handle complex canvas scale adjustments 2026-07-14 09:03:14 +08:00
134
ede6f080a2 feat: add BananaImage image provider 2026-07-13 23:04:54 +08:00
134
43837e5048 feat: add canvas product position adjustment 2026-07-13 19:12:53 +08:00
134
8119219c15 backup: preserve verified canvas scale adjustment 2026-07-13 19:12:53 +08:00
134
48134a1bbe merge: integrate canvas and UI refinements
# Conflicts:
#	app/(chat)/api/files/direct-upload/route.ts
#	app/canvas/[id]/CanvasEditorLegacyPageClient.tsx
#	components/canvas/CanvasChatPanel.tsx
#	components/home/lovart-home.tsx
#	components/home/lovart/lovart-featured-gallery.tsx
#	components/home/lovart/lovart-hero-composer.tsx
#	components/home/lovart/lovart-projects-section.tsx
#	components/home/lovart/lovart-sidebar.tsx
#	components/layout/brand-top-bar.tsx
2026-07-10 13:18:21 +08:00
root
2398930ecb Merge remote-tracking branch 'origin/main' into codex/scale-adjust-main-merge 2026-07-08 22:16:02 +08:00
134
ff71e3935c fix: reject scale adjust old footprint remnants 2026-07-08 20:33:10 +08:00
134
d48e26fe9a allow agent multi image generation 2026-07-08 14:48:29 +08:00
134
599abc5021 allow agent multi image generation 2026-07-08 14:37:07 +08:00
134
8fad43c597 fix: refine scale adjust product lock repair mask 2026-07-08 01:11:14 +08:00
134
0add599427 fix: use alpha channel for product lock repair mask 2026-07-08 00:55:36 +08:00
134
e67aab87c5 fix: rebase product lock scale composite on source 2026-07-08 00:37:28 +08:00
134
0405113d52 fix: stabilize scale adjust fal timeout and uploads 2026-07-07 22:53:09 +08:00
134
fb9f0541fa fix: restrict scale adjust mask failover 2026-07-06 04:49:56 +08:00
134
c79da3e1d0 fix: preserve single-channel scale adjust masks after blur 2026-07-06 03:41:56 +08:00
134
f7a5accb61 fix: protect people in product locked scale adjust 2026-07-06 02:29:49 +08:00
134
26aa4fb12f fix: lock scale adjust product over repaired background 2026-07-06 01:08:37 +08:00
134
14e75197cf fix: composite full-frame scale edits 2026-07-05 21:52:48 +08:00
134
dde159ea7c fix: tighten scale adjust patch compositing 2026-07-04 22:06:35 +08:00
134
290f36b44e fix: timeout stalled canvas scale providers 2026-07-04 21:48:09 +08:00
134
4d4507489f fix: use fal edit as final scale adjust failover 2026-07-04 20:05:31 +08:00
134
d724a542bb fix: avoid failed providers during canvas image failover 2026-07-04 19:33:18 +08:00
134
9ee2d2b50b fix: clip scale adjust patch composites 2026-07-04 17:13:39 +08:00
134
40fa7b1e26 fix: filter scale adjust haze in patch composites 2026-07-04 16:46:04 +08:00
134
360cba0873 fix: avoid false seam rejection on scale shrink 2026-07-04 11:26:29 +08:00
134
6baeb57cde fix: accept visual shrink scale edits 2026-07-04 11:06:21 +08:00
134
53be242e89 fix: clamp scale patch alpha to edit regions 2026-07-03 23:19:17 +08:00
134
b9e1671777 fix: apply scale diff masks as alpha 2026-07-03 22:44:18 +08:00
134
b4db755c45 fix: composite scale patches with diff masks 2026-07-03 22:33:27 +08:00
134
0a591456c4 fix: limit scale patch composite to edit regions 2026-07-03 20:58:30 +08:00
134
ea52d65971 fix: use cutout drafts for scale adjustment 2026-07-03 19:47:54 +08:00
134
ec1bdb7396 fix: keep agent text image routing safe 2026-07-03 00:36:54 +08:00
134
2ca0c54de2 fix: accept visible scale shrink footprints 2026-07-02 23:04:43 +08:00
134
c38003a382 fix: allow scale shrink footprint tolerance 2026-07-02 22:40:04 +08:00
134
90a9edcd56 fix: edit scale adjust through ai patch workspace 2026-07-02 21:31:32 +08:00
134
2f312a01df fix: support mask guided scale adjust 2026-07-02 20:20:01 +08:00
134
98e987e75b fix: focus scale adjust subject guide 2026-07-02 19:38:24 +08:00