feat: AI生图弹窗新增生图模型点选 (v1.4.11)

- 弹窗按通道分组列出8个可选模型(CF Workers AI/Pollinations), 点击即选中高亮
- 所选模型存localStorage下次沿用; 自动初始化=设置默认模型
- generate带model参数(effModel=前端所选>设置默认), 后端加ALLOWED_MODELS白名单, 未知模型400
- 实测点选Pollinations动漫出图返回model=pollinations-flux-anime; 白名单拦截bogus-model
- 版本号4处升至1.4.11, CHANGELOG补条目
This commit is contained in:
jinghui committed 2026-11-19 14:38:18 +08:00
1 parent cac9484861
commit c25f8b474c
7 files changed
+84 -16

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { useState, useEffect } from 'react';
import { X, ScanText, Info, Save, FlaskConical, Github, ExternalLink, Wand2, Film } from 'lucide-react';
import { settingsAPI, aigenAPI } from '../api';
const APP_VERSION = 'v1.4.10';
const APP_VERSION = 'v1.4.11';
const REPO_URL = 'https://gitea.88531.cn/jinghui/flypic';
/**