feat: genasset 离线素材管线(oMLX SVG 生成 + svg2png 打包 + 对比点评回填)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-08-13 16:04:54 +08:00
co-authored by Claude Opus 4.7
parent 950ca9194b
commit 0a8fd6c8a2
7 changed files with 1262 additions and 0 deletions
+8
View File
@@ -15,3 +15,11 @@ pool:
auth:
secret: "36wisdom-dev-secret-change-in-prod"
expire: 604800
# 离线素材生成(cmd/genasset,仅开发机运行;本机 oMLXQwen3.5-9B-MLX-4bit
genasset:
endpoint: http://127.0.0.1:18080
api_key: wenwu901 # 本机 oMLX 鉴权 keyrag-local model_config 表)
model: Qwen3.5-9B-MLX-4bit
timeout: 600 # 本地 ~5 tok/s,单张 SVG 1-3 分钟
max_tokens: 24576
retries: 3