baodan/api/insurance/poster
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
..
__init__.py 0723 PPT加海报功能初步完成 2026-07-23 15:04:16 +08:00
copy_generator.py 0723 PPT加海报功能初步完成 2026-07-23 15:04:16 +08:00
image_generator.py feat: support configurable image generation models for poster creation 2026-07-24 16:11:37 +08:00
manual_parser.py 0723 PPT加海报功能初步完成 2026-07-23 15:04:16 +08:00
routes.py 0723 PPT加海报功能初步完成 2026-07-23 15:04:16 +08:00
service.py 0723 PPT加海报功能初步完成 2026-07-23 15:04:16 +08:00