feat(*): 创作配置 - 支持 Midjourney、多图保存与自定义公告

Co-authored-by: ddcat666 <26564566+ddcat666@users.noreply.github.com>
This commit is contained in:
DAO-QINandddcat666 authored and ddcat666 committed 2026-10-04 10:43:31 +08:00
1 parent 002a45f0c3
commit 853c7d2ce7
107 files changed
+9261 -408

No files matched your search

@@ -22,6 +22,12 @@ func validateChannelModelTierCapabilities(tiers []model.ChannelModelPriceTier, r
for _, resolution := range config.Video.Resolutions {
resolutionSupported[normalizeChannelModelTierResolution(resolution)] = true
}
// Keep preset prices when narrowing the selected list; tasks use only selected values.
if config.Video.FixedScreenSpec != nil {
for _, resolution := range config.Video.FixedScreenSpec.Resolutions {
resolutionSupported[normalizeChannelModelTierResolution(resolution)] = true
}
}
durationSupported := make(map[int]bool, len(config.Video.Duration.Values))
for _, seconds := range config.Video.Duration.Values {
durationSupported[seconds] = true