新增图片生成像素艺术后处理

新增确定性像素网格规整模块并保留第三方 MIT 许可证。

为普通图片、角色和图标图集接入像素艺术选项、并发预算和失败降级。

同步前端交互、请求契约、OpenAPI、项目文档与测试。
This commit is contained in:
2026-07-29 03:46:03 +00:00
parent 271d5d7bd3
commit 732fcf0b45
25 changed files with 2343 additions and 72 deletions
+32
View File
@@ -7079,6 +7079,33 @@ button.image-canvas-editor__reference-chip:disabled {
width: 8.5rem;
}
.image-canvas-editor__image-style-toggle {
grid-column: 3;
display: inline-flex;
min-height: 2.25rem;
align-items: center;
justify-self: end;
gap: 0.38rem;
padding: 0 0.5rem;
color: #475569;
font-size: 0.78rem;
font-weight: 760;
white-space: nowrap;
cursor: pointer;
}
.image-canvas-editor__image-style-toggle input {
width: 0.95rem;
height: 0.95rem;
margin: 0;
accent-color: var(--image-canvas-brand-fill);
}
.image-canvas-editor__image-style-toggle:has(input:disabled) {
color: #94a3b8;
cursor: wait;
}
.image-canvas-editor__model-trigger-label {
display: inline-flex;
min-width: 0;
@@ -8904,6 +8931,7 @@ button.image-canvas-editor__reference-chip:disabled {
.image-canvas-editor__option-cluster--dimensions,
.image-canvas-editor__option-cluster--model,
.image-canvas-editor__image-style-toggle,
.image-canvas-editor__readonly-generation-option,
.image-canvas-editor__generation-submit,
.image-canvas-editor__character-animation-submit {
@@ -8913,6 +8941,10 @@ button.image-canvas-editor__reference-chip:disabled {
justify-self: stretch;
}
.image-canvas-editor__image-style-toggle {
justify-content: flex-start;
}
.image-canvas-editor__generation-submit {
width: 100%;
}