Files
video-create/accounts/军事账号/account.json
sion123 18fce1b5a1 feat(video-from-script): 添加 TTS 音色管理和解析功能
- 在 config.json 中添加 `ttsVoices` 音色库,支持音色名称到 ID 的映射
- 实现 `resolveVoice` 函数,将音色名称解析为实际 ID
- 更新账号系统和批量管道,支持通过音色名称配置 TTS 语音
- Excel 导入和 CLI 参数新增音色字段,支持按行指定不同音色
2026-05-08 23:53:37 +08:00

77 lines
2.7 KiB
JSON

{
"id": "军事账号",
"name": "军事账号",
"description": "军事主题短视频账号,暗黑漫画风格,深紫焦橙双色调",
"pipeline": "image-video",
"defaultFormat": "9:16",
"imageModel": "mj",
"videoModel": "kling",
"batchSize": 30,
"styles": {
"暗黑军事": {
"references": [
{ "file": "grunge_br.png", "url": "https://muye-ai-chat.oss-cn-hangzhou.aliyuncs.com/tmp/grunge_br.png?OSSAccessKeyId=LTAI5tPV9Ag3csf41GZjaLTA&Expires=1809176475&Signature=lFfcYyOD2M4T%2F4xYAigkYsTu9%2Fc%3D" }
]
}
},
"ttsVoice": "斯内普",
"ttsInstruction": "用沉稳有力的男性声音朗读,语速适中偏慢,语气低沉、坚定、有压迫感,像是一个看透人性的老手在冷静地讲述残酷的真相",
"storyboardPrompt": "prompts/分镜.md",
"imageStylePrompt": "prompts/图片提示词.md",
"videoStylePrompt": "prompts/视频提示词.md",
"capcut": {
"effects": ["录制边框 III"],
"filter": "质感电影:40",
"subtitleStyle": {
"font": "思源黑体 Heavy",
"fontSize": 24,
"color": "#FFFFFF",
"highlightColor": "#FF6B35",
"bold": true,
"hasShadow": true,
"shadowColor": "#000000",
"shadowAlpha": 0.8,
"transformY": -380,
"alignment": 1,
"inAnimation": "淡入",
"outAnimation": "淡出"
},
"keywordStyle": {
"textEffect": "简约白色黑边花字",
"fontSize": 60,
"color": "#FFFFFF",
"bold": true,
"transformY": 0,
"inAnimation": "打字机效果",
"outAnimation": "模糊淡出",
"inAnimDuration": 300000,
"outAnimDuration": 300000
},
"defaultBGM": "",
"transitions": {
"strategy": "rhythm",
"default": { "name": "闪白", "duration": 150000 },
"byPosition": {
"hook": { "name": "闪白", "duration": 100000 },
"keypoint": { "name": "闪白", "duration": 120000 },
"body": { "name": "溶解", "duration": 300000 },
"closing": { "name": "闪黑", "duration": 200000 }
},
"byDirector": {
"tarantino": { "name": "闪白", "duration": 100000 },
"kitano": { "name": "溶解", "duration": 400000 },
"fincher": { "name": "闪黑", "duration": 200000 }
}
},
"kenBurns": {
"enabled": true,
"default": { "startScale": 1.0, "scaleRate": 0.8, "panXRate": 0, "panYRate": 0 },
"byDirector": {
"tarantino": { "startScale": 1.0, "scaleRate": 0.9, "panXRate": 0, "panYRate": 0 },
"kitano": { "startScale": 1.03, "scaleRate": 0.5, "panXRate": 0, "panYRate": 0 },
"fincher": { "startScale": 1.0, "scaleRate": 0.4, "panXRate": 0, "panYRate": 0 }
}
}
}
}