feat: 新增短剧音频/编码模块、MCP 文件工具与 WebSocket 支持

- 短剧: 新增 ShortDramaAudio 实体/Mapper/BO/VO,扩展 ShortDramaServiceImpl
  合成逻辑与 FfmpegFilterGraphBuilder 滤镜图
- MCP: 新增 WriteFileTool/DeleteFileTool/ExecuteCommandTool,重构
  EditFileTool/ReadFileTool/ListDirectoryTool
- 编码: 新增 coding 模块(CodingAgent/WorkspaceService/SSE 事件通道)
- Atlas: 新增音频生成实现,扩展音视频/媒体实体与预测服务
- WebSocket: 新增公众号聊天 WebSocket 处理器与握手拦截
- 忽略 logs/ 目录,避免合成产物入库

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ageerle@163.com
2026-07-17 11:52:53 +08:00
parent 06d110ed16
commit fece90b307
52 changed files with 3110 additions and 103 deletions

View File

@@ -26,4 +26,19 @@ public class AudioContext {
private Double speed;
private String instructions;
/** Atlas seed-audio 参考资源:[{speaker, audioUrl, audioData, imageData}]speaker 为音色名 */
private java.util.List<java.util.Map<String, String>> references;
/** Atlas seed-audio 采样率 */
private Integer sampleRate;
/** Atlas seed-audio 音调调整 (-12~12) */
private Integer pitchRate;
/** Atlas seed-audio 语速调整 (-50~100) */
private Integer speechRate;
/** Atlas seed-audio 响度调整 (-50~100) */
private Integer loudnessRate;
}

View File

@@ -25,4 +25,7 @@ public class MediaGenerationResponse {
private String status;
private String rawResponse;
/** 末帧图片 URLAtlas return_last_frame=true 时返回,用于下一镜首帧承接) */
private String lastFrameUrl;
}

View File

@@ -31,5 +31,17 @@ public class VideoContext {
/** 多参考图 URL多参考图生视频模式配合 @imageN prompt 使用) */
private java.util.List<String> referenceImages;
/** 参考音频 URL 列表(对白口型对齐模式) */
private java.util.List<String> referenceAudios;
/** 是否让模型生成同步音频(环境音/动效) */
private Boolean generateAudio;
/** 是否要求返回末帧,用于下一镜首帧承接 */
private Boolean returnLastFrame;
/** 上一镜末帧 URL同场景连续镜头首帧承接用作为额外参考图传入 */
private String lastFrameUrl;
private String videoId;
}