baodan/api/insurance
wsb1224 02e299682e feat: support configurable image generation models for poster creation
- Expand poster image model settings with provider, model name, API key,
  and base URL fields (was only model name + API key)
- Add presets for OpenAI (gpt-image-1), Doubao (火山引擎), and Zhipu (CogView)
- Refactor image_generator.py to read config from system_settings DB instead
  of hardcoding gpt-image-1 and OPENAI_API_KEY env var
- All OpenAI-compatible image APIs work via configurable base URL
- Add doubao and cogview to brand name mapping

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 16:11:37 +08:00
..
admin feat: support configurable image generation models for poster creation 2026-07-24 16:11:37 +08:00
auth 0712 修复一个版本 2026-07-12 14:17:18 +08:00
chat 0712 修复一个版本 2026-07-12 14:17:18 +08:00
db fix: 添加 PyMuPDF 详细错误信息并创建缺失的迁移文件 2026-07-24 11:29:49 +08:00
instance 第一次提交。可以使用企微群消息 2026-07-02 23:13:23 +08:00
kb 0712 修复一个版本 2026-07-12 14:17:18 +08:00
middleware 0712 修复一个版本 2026-07-12 14:17:18 +08:00
models 0723 PPT加海报功能初步完成 2026-07-23 15:04:16 +08:00
poster feat: support configurable image generation models for poster creation 2026-07-24 16:11:37 +08:00
ppt feat: add model configuration for PPT and poster generation 2026-07-24 13:46:04 +08:00
recommend 0723 代码整理 2026-07-23 08:52:59 +08:00
stats 0712 修复一个版本 2026-07-12 14:17:18 +08:00
utils 0712 修复一个版本 2026-07-12 14:17:18 +08:00
wecom 0712 提交一个版本 2026-07-22 18:09:03 +08:00
__init__.py 第一次提交。可以使用企微群消息 2026-07-02 23:13:23 +08:00
app.py fix: add api/ to sys.path so app.py can run from project root 2026-07-24 12:39:57 +08:00
config.py 第一次提交。可以使用企微群消息 2026-07-02 23:13:23 +08:00
requirements.txt fix: replace Chinese comments in requirements.txt with English to fix pip decode error on Windows 2026-07-24 12:36:09 +08:00
routes.py 0723 PPT加海报功能初步完成 2026-07-23 15:04:16 +08:00