ai_v/services
公司git cf9100fcc3 ```
feat(api): 统一图像生成功能至generations接口

- 将gpt-image-2模型统一使用AI_BASE_URL下的generations接口,
  不再区分有无参考图走不同接口
- 在payload中添加response_format字段并移除output_format字段
- 更新图像数据处理逻辑,将image_data转换为image数组格式

refactor(config): 更新图像生成API配置

- 将GPT_IMAGE_GENERATION_API从硬编码URL改为使用AI_BASE_URL动态构建

refactor(generation_service): 简化图像生成请求验证逻辑

- 移除has_reference_images判断逻辑,统一使用generations接口
- 积分模式下gpt-image-2改用PREMIUM_KEY而非专用编辑key
- 移除不必要的image_data变量声明

refactor(task_service): 移除废弃的图像处理函数

- 删除_base64相关处理函数(_decode_base64_image等)
- 移除_minio上传相关函数(_upload_image_bytes_to_minio等)
- 移除gpt-image-2特定处理逻辑(_process_gpt_image_edit)
- 简化图像生成任务处理流程
```
2026-05-14 12:30:10 +08:00
..
__init__.py feat: Implement core application structure with new services, blueprints, templates, and database migrations. 2026-01-17 23:15:58 +08:00
alipay_service.py feat(payment): 添加订单状态同步功能和主动查询接口 2026-01-23 17:40:23 +08:00
captcha_service.py feat: Implement a comprehensive user authentication system, add video generation capabilities, and set up database migrations and API blueprints. 2026-01-16 22:24:14 +08:00
file_service.py ``` 2026-02-02 17:05:31 +08:00
generation_service.py ``` 2026-05-14 12:30:10 +08:00
history_service.py feat: Implement user history retrieval and MinIO file proxy with updated public URL configuration. 2026-01-21 19:32:02 +08:00
logger.py feat: Add admin panel for system management, new authentication and payment blueprints, logger and stats services, and related model updates. 2026-01-18 21:09:43 +08:00
sms_service.py feat(api): 实现图像生成及后台同步功能 2026-01-12 00:53:31 +08:00
stats_service.py feat: Add admin panel for system management, new authentication and payment blueprints, logger and stats services, and related model updates. 2026-01-18 21:09:43 +08:00
system_service.py ``` 2026-04-24 23:42:12 +08:00
task_service.py ``` 2026-05-14 12:30:10 +08:00