dingxin150015-commits
ea236b5956
feat(provider): add plugin system for service-specific model discovery
...
Model discovery currently assumes every provider exposes all models via
GET {baseURL}/models. Providers like Alibaba Cloud Bailian serve video,
3D and some image models through dedicated endpoints, so 21 models across
5 families (HappyHorse / Wan / Kling / PixVerse / Vidu / Tripo) are never
discoverable - a functional blocker for a video creation workbench.
This introduces a ModelDiscovery plugin interface with a registry that
matches vendor plugins by base URL and falls back to the standard OpenAI
implementation, keeping core discovery logic vendor-agnostic.
- add provider.ModelDiscovery interface and plugin registry
- add openai plugin (standard behaviour, default fallback)
- add bailian plugin (standard + 21 extended multimodal models)
- gate behind ENABLE_PROVIDER_PLUGINS, default false
- register plugins lazily from service layer to avoid import cycle
Verified locally: flag off -> 238 models (unchanged); flag on -> 257
models (238 + 19 net new after dedup). OpenAI and Gemini channels
unaffected in both modes.
2026-08-17 13:47:27 +08:00
ddCat
e26ed02c2e
fix(admin): 渠道模型 - 补充 1440P 分辨率并支持自定义档位
2026-08-15 22:11:02 +08:00
ddCat
b9d432f218
fix(canvas): 创作工作台 - 恢复连续对话并完善附件、媒体占位与生成分辨率
...
Fixes #231
Fixes #233
2026-08-15 22:01:42 +08:00
ddCat
c4deacd730
fix(api): 素材同步 - 增加 ID 长度边界校验
2026-08-15 17:00:30 +08:00
ddCat
5dfd74d938
fix(database): 素材存储 - 扩容生成素材 ID 及关联字段
2026-08-15 17:00:17 +08:00
WindC0X
0e251c3c8f
feat(canvas): 画布媒体工作流 - 支持批量连线、失败重试与模型能力增强
...
合并 PR #230。保留当前主线样式与组件结构,吸收批量连线、失败批次重试、媒体模型能力和相关后端增强,并修复集成检查发现的分辨率选择器启用条件与测试稳定性问题。
2026-08-15 15:48:16 +08:00
ddCat
49ea744f05
fix(features): 功能开放 - 兼容历史系统代理任务并修正前端格式
2026-08-15 14:00:14 +08:00
MasterChiefCN
f83ff03df3
feat(features): 功能开放 - 增加自定义渠道开关
2026-08-15 13:25:50 +08:00
ddCat
b2a7eef35d
feat(billing): 火山方舟视频计费 - 支持真实 Token 预授权与结算
...
Refs #228
Co-authored-by: MasterChiefCN <49179444+MasterChiefCN@users.noreply.github.com >
2026-08-15 12:58:05 +08:00
ddCat
476348a322
feat(storage): 素材库容量 - 展示账号文件使用进度
...
Refs #227
Co-authored-by: MasterChiefCN <49179444+MasterChiefCN@users.noreply.github.com >
2026-08-15 12:52:11 +08:00
ddCat
57e1820f41
feat(runtime): 即梦本机运行时 - 接入安全生成闭环与桌面本机渠道
...
Refs #225
Co-authored-by: zkhyww <127009345+zkhyww@users.noreply.github.com >
2026-08-15 12:45:29 +08:00
ddCat
8f2232feee
fix(media): 对象存储 CDN - 修复对象路径编码并明确访问控制边界
2026-08-15 11:22:29 +08:00
MasterChiefCN
3e8f1f1d9e
feat(media): 对象存储 CDN - 支持阿里云 OSS 与腾讯云 COS 下载加速
...
合并平台与个人对象存储 CDN 下载域名配置,上传继续使用原始 Endpoint。\n\n后续修复对象路径二次编码并补充 CDN 访问控制说明。
2026-08-15 11:21:42 +08:00
dlh
4f28847543
test(media): Grok 图片 - 修正宽高比用例格式
...
Co-authored-by: dlh <2773843782@qq.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/223
2026-08-14 20:47:26 +08:00
dlh
b484615608
fix(media): Grok 图片 - 补齐像素尺寸的常用宽高比识别
...
Co-authored-by: dlh <2773843782@qq.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/223
2026-08-14 20:45:38 +08:00
ddCat
920cd92c16
perf(platform): 创作页加载 - 合并用户数据与余额请求并按路由延迟加载
2026-08-14 18:35:17 +08:00
爱笑的毛毛虫
7946625be9
feat(canvas): 前端重构与渠道兼容 - 重构工作区、任务中心等多页面,修复智能体对话与节点生成
...
Co-authored-by: sikongyue <3155157671@qq.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/217
2026-08-14 12:01:21 +08:00
dyhhhhh
239c1bcd37
fix(prompt): 角色提取 - 解析代码块与前缀中的有效 JSON
...
Co-authored-by: dyhhhhhqwer <1613203335@qq.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/221
2026-08-14 11:54:34 +08:00
dependabot[bot]
2f08397eb0
build(dependencies): 后端依赖 - 升级 go-redis 至 9.22.0
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/211
2026-08-14 10:27:31 +08:00
MasterChiefCN
95cb4a39ee
feat(media): 对象存储 - 新增腾讯云 COS 与历史凭据兼容
...
Co-authored-by: MasterChiefCN <49179444+MasterChiefCN@users.noreply.github.com >
Co-authored-by: Codex <codex@openai.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/218
2026-08-14 10:10:15 +08:00
jax-novita
7f0229463e
feat(media): 视频渠道 - 新增 Novita 异步视频生成协议
...
Co-authored-by: jax-novita <jax-novita@users.noreply.github.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/206
2026-08-14 10:04:21 +08:00
yep
477aebded5
fix(canvas): Grok 图片生成 - 移除冲突的 size 参数并锁定请求体格式
...
Co-authored-by: yepwait <1239738103@qq.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/209
2026-08-14 09:59:18 +08:00
dyhhhhh
1e4cf84c10
fix(media): 火山方舟图片 - 归一化最小像素尺寸
...
Co-authored-by: dyhhhhhqwer <1613203335@qq.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/204
2026-08-14 09:58:59 +08:00
dyhhhhh
4b8b699526
fix(security): 系统渠道密钥 - 加密落库并在运行时解密
...
Co-authored-by: dyhhhhhqwer <1613203335@qq.com >
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/202
2026-08-14 09:52:01 +08:00
Devin Kw Zhu
55cd037485
reference_images ( #208 )
2026-08-12 12:14:00 +08:00
ddCat
cfe4b4b4e2
fix(canvas): NewAPI 视频生成 - 拒绝缺少参考视频的纯音频请求
2026-08-11 22:54:09 +08:00
ddCat
75602595f2
fix(admin): 模型测试 - 按图片能力使用默认尺寸与质量参数
2026-08-10 01:45:49 +08:00
爱笑的毛毛虫
5088f66e91
fix(canvas): 分镜与视频模型 - 按端点协议适配并修复分镜生成
...
* fix(backend): 分镜生成 - 自动修复携带原始剧情并支持有界重试
* fix(canvas): 视频模型 - 按端点协议拉取模型并适配分镜视频节点
* fix(canvas): 视频模型 - 保留已有协议并刷新分镜节点模型
* fix(canvas): 引用图预览 - 修正提示面板代码格式
---------
Co-authored-by: sikongyue <3155157671@qq.com >
Co-authored-by: ddCat <2695092045@qq.com >
2026-08-10 01:42:47 +08:00
ddCat
a8c220e5ef
fix(canvas): 提示词生成 - 移除本地长度限制并交由上游判断
2026-08-10 00:26:06 +08:00
爱笑的毛毛虫
b26b641ec3
fix(canvas): 画布节点 hover - 消除指针跟随位移导致的抖动(修复 #186) ( #190 )
...
* fix(ci): 后端测试 - 修复 responses 流式测试数据与 Grok 生图测试 SSRF 放行
* fix(canvas): 画布节点 hover - 消除指针跟随位移导致的抖动(修复 #186)
---------
Co-authored-by: zhaoyue <zhaoyue@rongshantech.com >
2026-08-08 18:28:10 +08:00
Andrew
554eb49000
fix: grok-image 补齐 aspect_ratio 与 resolution 传参 ( #184 )
...
* fix: grok-image 补齐 aspect_ratio 与 resolution 传参
- 能力配置开放比例与 1k/2k 分辨率
- 请求体映射 size→aspect_ratio、quality→resolution
- 画布设置展示「分辨率」选项
- 补充单测
Closes #182
* fix(create): 创作页图片质量支持 1k/2k 分辨率选项
创作页原先硬编码 auto/low/medium/high,导致 grok 能力配置里的 1k/2k
无法显示;改为按模型 quality.values 动态渲染,有 1k/2k 时标题显示「分辨率」。
2026-08-08 18:27:36 +08:00
ddCat
8d4f656ae9
fix(canvas): 视频生成 - 仅使用输入框提示词并保留结构化媒体引用
2026-08-08 08:38:11 +08:00
ddCat
1aeaf2aba3
fix(backend): 分镜生成 - 合并流式保活与超时调整 ( #172 )
...
保留主分支图片能力配置,并合入 PR #172 的上游 SSE 保活实现。
Co-authored-by: yepwait <1239738103@qq.com >
2026-08-07 18:52:31 +08:00
yepwait
48b911d395
fix(backend): 分镜生成 - 增加流式保活并延长任务超时
2026-08-07 17:06:30 +08:00
ddCat
6b5f176baa
feat(*): 图片模型渠道 - 新增 Grok JSON 生图与单图编辑协议
2026-08-07 14:58:26 +08:00
yepwait
30648bd34c
提高分镜任务默认超时时间至20分钟,解决腾讯1环境任务在2分钟内快速失败的问题
2026-08-07 13:40:18 +08:00
yepwait
6fb77afce1
提高分镜任务默认超时时间至15分钟,解决腾讯1环境任务在2分钟内快速失败的问题
2026-08-07 13:32:35 +08:00
ddCat
43f41d9e00
fix(*): 持续集成 - 修复锁文件、格式门禁与生成链路构建失败
2026-08-07 12:35:03 +08:00
ddCat
9957419be3
feat(*): 生成工作台 - 新增项目画风配置与图片模型能力裁剪
2026-08-07 11:46:23 +08:00
ddCat
deedc789fc
fix(database): 计费巡检 - 清理未使用依赖并恢复后端构建
2026-08-06 16:40:57 +08:00
ddCat
7acaa71d28
refactor(database): 仓储边界 - 标注通用写入口与计费状态约束
2026-08-06 16:37:47 +08:00
ddCat
e20df8e29b
refactor(*): 代码质量治理 - 收敛接口客户端、模型职责与异步计费巡检
2026-08-06 16:36:51 +08:00
ddCat
b518489fdd
feat(*): 模型能力配置 - 支持模型级视频限制校验与协议管理
2026-08-06 15:34:45 +08:00
Danborad
bb76e8b22b
fix(video): 视频结果下载 - 补齐 Grok 同源认证 ( #158 )
...
Co-authored-by: Danborad <Danborad@users.noreply.github.com >
2026-08-06 13:20:06 +08:00
ddCat
2b13aa6436
fix(database): 跨库迁移 - 补齐结构化资产与工作流表清单
2026-08-06 12:34:14 +08:00
ddCat
f5ce3e1366
fix(database): 文本回放 - 统一增量表名并补齐跨库迁移清单
2026-08-06 12:24:27 +08:00
dependabot[bot]
32a9d9b36c
chore(deps): bump github.com/volcengine/volc-sdk-golang in /backend ( #147 )
...
Bumps [github.com/volcengine/volc-sdk-golang](https://github.com/volcengine/volc-sdk-golang ) from 1.0.252 to 1.0.253.
- [Release notes](https://github.com/volcengine/volc-sdk-golang/releases )
- [Changelog](https://github.com/volcengine/volc-sdk-golang/blob/main/Changelog )
- [Commits](https://github.com/volcengine/volc-sdk-golang/compare/v1.0.252...v1.0.253 )
---
updated-dependencies:
- dependency-name: github.com/volcengine/volc-sdk-golang
dependency-version: 1.0.253
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ddCat <2695092045@qq.com >
2026-08-06 11:08:17 +08:00
dependabot[bot]
c9f0f8879d
chore(deps): bump gorm.io/driver/postgres in /backend ( #148 )
...
Bumps [gorm.io/driver/postgres](https://github.com/go-gorm/postgres ) from 1.6.0 to 1.6.2.
- [Commits](https://github.com/go-gorm/postgres/compare/v1.6.0...v1.6.2 )
---
updated-dependencies:
- dependency-name: gorm.io/driver/postgres
dependency-version: 1.6.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-06 11:06:19 +08:00
ddCat
10a0aa772f
docs(deploy): 文本事件流 - 补充 SSE 反向代理与断线恢复指南 ( #143 )
...
Fixes #143
2026-08-06 11:02:52 +08:00
ddCat
670595a3aa
fix(canvas): 任务取消 - 向异步 Provider 传播取消并完成费用对账 ( #142 )
...
Fixes #142
2026-08-06 10:42:39 +08:00