본문으로 건너뛰기
cccskills
무료GitHub에 공개

tts-voice-synthesis

Generate speech from text for videos, audiobooks, and live interactions. The skill supports voice cloning from reference audio, emotion-based delivery, incremental audio generation, and Chinese, English, and dialect support, with quality-focused and faster model options.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

影片与视频编辑、内容创作者在制作视频配音或有声书时,当需要克隆音色、生成情感化配音或流式实时语音合成请用此技能。支持1.7B高质量与0.6B快速双模型,一键实现多语言方言配音,让语音创作更高效更自然。

설치 방법 보기

이럴 때 유용합니다

  • Generating narration for videos
  • Producing audiobook readings with emotional delivery
  • Reusing a voice cloned from reference audio
  • Generating long passages or live responses incrementally

포함된 파일(6)

  • SKILL.md5.2 KB
  • references/emotion_guide.md7.1 KB
  • references/model_config.md5.4 KB
  • references/usage_examples.md10.1 KB
  • scripts/tts_generate.py12.4 KB
  • scripts/voice_clone.py11.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

TTS 语音合成服务

任务目标

  • 本 Skill 用于:将文本转换为高质量语音,支持音色克隆、情感适配、流式生成和多语言支持
  • 能力包含:
    • 角色音色自动采集与克隆(从参考音频提取音色特征)
    • 拟人化语义适配配音(根据文本情绪自动调整语音语调、语速、音调)
    • 流式实时配音(支持边输入文本边生成语音)
    • 多语言与方言支持(中文、英文及多种方言)
    • 双模型选择(1.7B 高质量模型、0.6B 快速模型)
  • 触发条件:当需要将文本转换为语音、克隆特定音色、生成情感化配音时使用

前置准备

  • 模型下载:根据选择的 TTS 模型下载对应的权重,详见 references/model_config.md
  • 硬件要求:
    • GPU:推荐使用 8GB+ 显存的 GPU(0.6B 模型可在 CPU 上运行)
    • 内存:建议 16GB+ 系统内存
    • 磁盘空间:至少 10GB 可用空间(模型权重约 3-5GB)
  • 依赖配置:确保已安装所需的 Python 依赖包

操作步骤

模式一:基础语音合成

  1. 文本准备

    • 确认待合成的文本内容
    • 智能体将分析文本情绪和语义特征
  2. 选择音色

    • 使用预置音色(见 references/model_config.md)
    • 或使用已克隆的自定义音色
  3. 执行合成

    • 调用 scripts/tts_generate.py 进行语音生成
    • 根据情绪分析结果自动设置语音参数
  4. 验证输出

    • 检查生成的音频质量和情感匹配度
    • 如有需要,调整参数重新生成

模式二:音色克隆

  1. 准备参考音频

    • 提供目标音色的参考音频文件(3-30 秒,清晰语音)
    • 确保参考音频无背景噪音、音质清晰
  2. 提取音色特征

    • 调用 scripts/voice_clone.py 提取音色特征
    • 保存为可复用的音色模型
  3. 使用克隆音色

    • 使用提取的音色模型生成语音
    • 可应用于不同文本的配音

模式三:流式实时配音

  1. 文本分段

    • 将长文本分段处理(智能体自动完成)
    • 确保分段自然,不会截断语义
  2. 流式生成

    • 调用 scripts/tts_generate.py 启用流式模式
    • 逐步生成并输出音频片段
  3. 实时合并

    • 将生成的音频片段实时合并
    • 输出完整的配音文件

模式四:情感适配配音

  1. 文本情绪分析

    • 智能体分析文本的情绪倾向(高兴、悲伤、愤怒、平静等)
    • 识别关键情感词和语气
  2. 语音参数调整

    • 根据情绪自动调整:
      • 语速(悲伤时放慢,兴奋时加快)
      • 音调(悲伤时降低,兴奋时提高)
      • 音量(根据情感强度调整)
  3. 生成验证

    • 生成情感化语音
    • 验证情感表达是否准确

资源索引

注意事项

  • 模型选择:
    • 1.7B 模型:音质更高,适合高质量配音、有声书等场景
    • 0.6B 模型:速度更快,适合实时交互、智能客服等场景
  • 音色克隆:
    • 参考音频应清晰、无背景噪音
    • 时长建议 5-15 秒,最短不少于 3 秒
    • 单人语音效果最佳,避免多人混合音频
  • 流式生成:
    • 适合长文本和实时交互场景
    • 会产生多个临时音频片段
  • 情感适配:
    • 文本情绪分析由智能体完成
    • 最终效果取决于情感标注的准确性
    • 可手动调整语音参数进行微调

使用示例

  • 基础语音合成:
    python scripts/tts_generate.py \
      --text "你好,欢迎使用语音合成服务" \
      --output_path ./output/hello.wav \
      --model_size 1.7B \
      --voice default
    
  • 音色克隆:
    python scripts/voice_clone.py \
      --reference_audio ./reference.wav \
      --voice_name my_voice \
      --output_dir ./voices
    
  • 情感化配音:
    python scripts/tts_generate.py \
      --text "今天真是太开心了!" \
      --output_path ./output/happy.wav \
      --emotion happy \
      --speed 1.2 \
      --pitch 1.1
    
  • 流式生成:
    python scripts/tts_generate.py \
      --text_file ./long_text.txt \
      --output_path ./output/stream_output.wav \
      --streaming true
    

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Organize AI agents into execution, management, and review roles for complex projects. Choose preset or custom teams, share project context and decisions, and combine their discussions and work into meeting records, feasibility reports, or implementation outputs.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing a technical architecture from several perspectives
  • Discussing product pricing across market and cost considerations
  • Assessing a new product's feasibility
anbeime/skill8.5천2026년 10월 20일 업데이트

Generate character images, backgrounds, synthetic speech, and music for product videos featuring 小省导购员, a digital shopping presenter. Coordinate these assets with InfiniteTalk to produce a 25-second vertical video made from five scenes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Producing a 25-second vertical product presentation video
  • Generating reference images for the 小省导购员 character
  • Creating business setting backgrounds for a video
anbeime/skill8.5천2026년 10월 20일 업데이트

Convert PDF, Word, and Excel documents into structured Markdown for search and knowledge bases. The skill tries three parsers in sequence when needed and returns metadata, a confidence score, and the parser used.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Prepare documents for retrieval-augmented generation
  • Structure documents for an internal knowledge base
  • Extract structured text from contracts
anbeime/skill8.5천2026년 10월 20일 업데이트

Organize parsed documents into four color-coded cards covering facts, explanations, risks, and actions. Preserve source references and generation details so readers can review evidence, identify uncertainty, and consider next steps in research, financial, or legal analysis.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Separating facts from interpretations in financial reports
  • Organizing evidence and risks in legal documents
  • Turning research documents into evidence-linked analysis cards
anbeime/skill8.5천2026년 10월 20일 업데이트

Record operations across multiple AI agents and connect events into a traceable history. Search records by tracking ID, time window, or responsible component to support audits and investigations, with local storage available when the vector database fails.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Trace task dispatch and execution across agents
  • Search audit records by time or responsible component
  • Keep recording events during vector database failures
anbeime/skill8.5천2026년 10월 20일 업데이트

Screen documents and external URLs before they enter a processing workflow. Check blocked domains and document permissions, then produce a pass or reject decision, a risk report, and a tracking ID for later review.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Screening documents before adding them to a knowledge base
  • Checking external URLs against a domain blocklist
  • Reviewing document permissions before processing
anbeime/skill8.5천2026년 10월 20일 업데이트

anbeime의 스킬 모두 보기

이 스킬의 문제 신고