feat: 使用banana模型生成分镜图片,修复数据库列类型问题

- 修改RealAIService.submitTextToImageTask使用nano-banana/nano-banana-hd模型
- 支持根据hdMode参数选择模型(标准/高清)
- 修复数据库列类型:将result_url等字段改为TEXT类型以支持Base64图片
- 添加数据库修复SQL脚本(fix_database_columns.sql, update_database_schema.sql)
- 改进StoryboardVideoService的错误处理和空值检查
- 添加GlobalExceptionHandler全局异常处理
- 优化图片URL提取逻辑,支持url和b64_json两种格式
- 改进响应格式验证,确保data字段不为空
This commit is contained in:
AIGC Developer
2025-11-05 18:18:53 +08:00
parent 0b0ad442a0
commit b5820d9be2
63 changed files with 2207 additions and 341 deletions

29
demo/frpc.ini.example Normal file
View File

@@ -0,0 +1,29 @@
# FRP 客户端配置文件示例
# 使用 OpenFrp 或其他免费 FRP 服务时使用此配置
[common]
# 服务器地址(从 FRP 服务提供商控制台获取)
server_addr = frp.example.com
# 服务器端口(通常是 7000
server_port = 7000
# 认证 token从 FRP 服务提供商控制台获取)
token = your_token_here
[payment]
# 隧道类型http
type = http
# 本地 IP通常是 127.0.0.1
local_ip = 127.0.0.1
# 本地端口Spring Boot 运行端口)
local_port = 8080
# 自定义域名(从 FRP 服务提供商控制台获取)
custom_domains = your-domain.openfrp.net
# 如果需要多个服务,可以添加更多配置段
# [other-service]
# type = http
# local_ip = 127.0.0.1
# local_port = 3000
# custom_domains = other-domain.openfrp.net