Repository navigation
v1.6.12 — 生成的图片恢复原图尺寸
只需更新服务,浏览器插件不用升级(仍为 1.0.3),油猴脚本仍为 1.1.2。
修复
- #62:muse.ai 从 2026-11-19 起,聊天里的生成图片只显示约 498px 宽的缩略图,原图要点开图片查看器才会加载,所以通过接口拿到的图片变小了。现在图片任务会自动打开该结果自己的查看器,取回原图后关闭;取不到时仍返回缩略图,并在服务日志写一条提示,任务不会因此失败。
- 只在结果看起来是缩略图(长边小于 1000px)时才打开查看器;视频、对话和参考素材上传都不受影响。
测试
- 新增
tests/test_full_image_viewer.py(真实 Chromium,10 项):选中并保存原图及真实尺寸;查看器打不开时短时间内退回缩略图;查看器里只有同尺寸图片不算原图;聊天里已是大图不点击;只点击结果卡片自己的按钮。 - 现有测试全部通过(
test_release_integration需在 Git 目录运行;test_vm_wait在 v1.6.11 上原本就失败,与本次改动无关)。 - 实际部署验证:同样的 3:4 生图请求,修复前返回 498x664,修复后返回 1344x1792。
感谢 @sandy131433 报告 #62。
English
Update the service only; the extension (1.0.3) and userscript (1.1.2) are unchanged.
- Fix #62: since 2026-11-19 muse.ai shows generated images in the chat as a ~498px thumbnail and loads the original only when the image viewer opens, so the API returned small images. Image tasks now open that result's own viewer, fetch the full-size picture and close the viewer. If it cannot be opened, the thumbnail is still returned and a warning is logged; the task does not fail.
- The viewer is only opened when the result looks like a thumbnail (long side under 1000px). Video, chat and reference uploads are unaffected.
- Tests: new
tests/test_full_image_viewer.py(real Chromium, 10 checks); existing tests pass. Measured on a live deployment: 1344x1792 instead of 498x664.
Thanks to @sandy131433 for reporting #62.