feat: 完善Topaz Video AI SDK并重新组织models目录结构
主要改进: AI引擎和基准测试支持: - 完整支持所有AI引擎标志 (Artemis, Gaia, Theia, Proteus, Iris) - 实现引擎特定的参数优化和FFmpeg命令生成 - 添加基准测试模板和性能测试功能 - 新增专用预设模板 (animation_enhance, detail_recovery等) 音频编码器智能化: - 完善音频编码器配置和自动选择 - 支持AAC, AC3, PCM, Vorbis等多种编码器 - 实现质量级别自动映射和容器格式兼容性检查 - 添加音频编码器演示示例 目录结构重新组织: - 将models目录按功能分类重新组织 - 视觉-语言模型配置 -> 视觉-语言模型配置/ - 编码解码配置 -> 编码解码配置/ - 基准测试配置 -> config/ - 其他配置文件 -> 其他配置/ 技术增强: - 增强TemplateBuilder功能 (ai_engine, focus_fix_level, benchmark_mode等) - 完善FFmpeg参数生成和模型映射 - 添加智能推荐系统和性能优化 - 新增多个演示示例 (benchmarks_demo, audio_codecs_demo等) 完整性提升: - 模板属性使用率达到100% - 所有AI引擎和编码器都有明确用途和处理方案 - 完整的文档分析和使用指南
This commit is contained in:
@@ -33,18 +33,37 @@ impl FfmpegCommandGenerator {
|
||||
// Artemis series (animation/cartoon)
|
||||
self.model_mappings.insert("art-1".to_string(), "art-1".to_string());
|
||||
self.model_mappings.insert("art-2".to_string(), "art-2".to_string());
|
||||
self.model_mappings.insert("alq-13".to_string(), "ahq-12".to_string()); // Artemis benchmark model
|
||||
|
||||
// Gaia series (natural scenes)
|
||||
self.model_mappings.insert("gai-1".to_string(), "gai-1".to_string());
|
||||
self.model_mappings.insert("gai-2".to_string(), "gai-2".to_string());
|
||||
self.model_mappings.insert("ghq-5".to_string(), "ahq-12".to_string()); // Gaia benchmark model
|
||||
|
||||
// Theia series (detail recovery)
|
||||
self.model_mappings.insert("the-1".to_string(), "the-1".to_string());
|
||||
self.model_mappings.insert("the-2".to_string(), "the-2".to_string());
|
||||
|
||||
// Iris series (low light/noise)
|
||||
self.model_mappings.insert("iris-1".to_string(), "nyx-3".to_string());
|
||||
self.model_mappings.insert("iris-2".to_string(), "nyx-3".to_string());
|
||||
self.model_mappings.insert("iris-3".to_string(), "nyx-3".to_string()); // Iris benchmark model
|
||||
|
||||
// Nyx series (noise reduction)
|
||||
self.model_mappings.insert("nyx-1".to_string(), "nyx-3".to_string());
|
||||
self.model_mappings.insert("nyx-2".to_string(), "nyx-3".to_string()); // Nyx benchmark model
|
||||
self.model_mappings.insert("nxf-1".to_string(), "nyx-3".to_string()); // Nyx Fast benchmark model
|
||||
|
||||
// Specialized models
|
||||
self.model_mappings.insert("rhea-1".to_string(), "ahq-12".to_string()); // Rhea benchmark model
|
||||
self.model_mappings.insert("rxl-1".to_string(), "ahq-12".to_string()); // RXL benchmark model
|
||||
|
||||
// Frame interpolation models
|
||||
self.model_mappings.insert("apo-8".to_string(), "chr-2".to_string());
|
||||
self.model_mappings.insert("chf-3".to_string(), "chr-2".to_string());
|
||||
self.model_mappings.insert("apo-8".to_string(), "chr-2".to_string()); // Apollo
|
||||
self.model_mappings.insert("apf-1".to_string(), "chr-2".to_string()); // Apollo Fast
|
||||
self.model_mappings.insert("chr-2".to_string(), "chr-2".to_string()); // Chronos
|
||||
self.model_mappings.insert("chf-3".to_string(), "chr-2".to_string()); // Chronos Fast
|
||||
self.model_mappings.insert("aion-1".to_string(), "chr-2".to_string()); // Aion (16X)
|
||||
|
||||
// Motion blur models
|
||||
self.model_mappings.insert("thm-2".to_string(), "thm-2".to_string());
|
||||
|
||||
Reference in New Issue
Block a user