Skip to content
Back to skills

Voice Cloning Local

ASecurity

Use when cloning a voice locally (offline, free, no API) from 3 seconds of reference audio with Qwen3-TTS, or when comparing free open-source voice stacks (Voice Studio adds video dubbing). Triggers on "clonar voz local", "voice clone offline", "alternativa ElevenLabs grátis", "Qwen3-TTS", "Voice Studio", "dublar vídeo de graça", "TTS local Apache 2.0".

  • 2 stars
  • 0 votes
  • 2 copies
  • 38 views
  • Added September 19, 2026
ai-agentspythongobashfastapigitapi

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 13 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add majinmagros/magros.ai-skills --skill voice-cloning-local --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Voice Cloning Local?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Voice Cloning Local
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-voice-cloning-local/badge)](https://www.skillsdirectory.com/skills/majinmagros-voice-cloning-local)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: voice-cloning-local
description: Use when cloning a voice locally (offline, free, no API) from 3 seconds of reference audio with Qwen3-TTS, or when comparing free open-source voice stacks (Voice Studio adds video dubbing). Triggers on "clonar voz local", "voice clone offline", "alternativa ElevenLabs grátis", "Qwen3-TTS", "Voice Studio", "dublar vídeo de graça", "TTS local Apache 2.0".
metadata:
  origin: ECC
  validated: 2026-08-22
  source_video: npVm4tBalp8
  official_sources:
    - https://huggingface.co/spaces/Qwen/Qwen3-TTS
    - https://github.com/Qwen-TTS/Qwen3-TTS
    - https://localaimaster.com/blog/qwen3-tts-local-setup (2026-08-16)
---

## Pipeline Qwen3-TTS (Voice Cloning Local)

Qwen3-TTS (Alibaba, Apache 2.0): **voice cloning** (3s de referência → qualquer texto), **voice design** (descrição natural), 10 idiomas, modelos 0.6B (1.8GB) e 1.7B (3.9GB) — roda em GPU consumer, 100% offline.

## Quando usar

- Clonar voz localmente sem API, grátis, offline
- Criar voz via descrição natural (idade, gênero, estilo)
- Batch de narrações com a mesma voz clonada
- Servidor local com Web UI para testes rápidos

## Quando NÃO usar

- Síntese genérica sem referência → use `fal-ai-media`
- Streaming TTS real-time ou 50+ idiomas (Qwen suporta 10)

### Validação Oficial (2026-08-22)
| Claim | Status | Fonte |
|---|---|---|
| Apache 2.0 | ✅ | HF model cards, GitHub LICENSE |
| Clone 3s / roda local (`pip install qwen-tts`) | ✅ | Base models, vLLM-Omni, ComfyUI |
| 10 idiomas | ✅ | Model card |
| Similarity 0.789 vs ElevenLabs 0.75/MiniMax 0.72 | ✅ | Benchmark (`references/benchmark-comparison.md`) |

---

## Passo a Passo

### 1. Ambiente

```bash
pip install -U qwen-tts          # simples; + FFmpeg; Python 3.10+, CUDA 4GB+ (0.6B) / 8GB+ (1.7B)
# Pesos manuais:
huggingface-cli download Qwen/Qwen3-TTS-Tokenizer-12Hz --local-dir ./Qwen3-TTS-Tokenizer-12Hz
huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-Base --local-dir ./Qwen3-TTS-12Hz-1.7B-Base
```

### 2. Clone / Design / Batch (scripts prontos em `scripts/`)

```bash
python scripts/voice_clone.py '<texto>' ref.wav '<transcrição EXATA do ref>' Portuguese 1.7B
python scripts/voice_design.py  # voz via descrição natural
python scripts/tts_cli.py clone "Texto" ref.wav "Transcrição" --lang Portuguese --model 1.7B
python scripts/tts_cli.py design "Texto" "young female, warm, Portuguese" --lang Portuguese
python scripts/batch_clone.py    # múltiplos textos, mesma voz
```

Regras: `ref_text` = match EXATO do áudio (crítico p/ qualidade); ref limpo 10-30s, 16kHz+; cross-lingual funciona mas pode vazar sotaque — prefira ref no idioma alvo.

### 3. Web UI local (`http://localhost:7861`, modelo em cache)

```bash
python scripts/web_clone_server.py   # FastAPI + UI; carrega o modelo UMA vez
```

Fluxo: solta o `ref.wav` no navegador, cola/grava o texto, clona. Bom para
testar uma voz antes de rodar batch.

### 4. Alternativa: Voice Studio (grátis, open source, com dublagem)

`github.com/debpalash/VoiceStudio` (AGPL-3.0, ~97k estrelas, `voicestudio.sh`):
ElevenLabs local — clona voz, gera áudio e **dubla vídeo de um idioma para
outro** com a voz clonada, tudo na máquina. O @maestrosdaia testou em PT-BR e
chamou o resultado de surpreendente, com uma ressalva honesta: **não é melhor
que as opções pagas** — eles seguem pagando (~US$100/mês) nos projetos sérios.
Vale quando o requisito é ilimitado e grátis: VPS, pipeline 24h, 100 vídeos/dia.

| Critério | Qwen3-TTS (esta skill) | Voice Studio |
|---|---|---|
| Clone + TTS | sim, script/API | sim, com UI |
| Dublar vídeo inteiro | não | **sim** |
| Licença | Apache 2.0 | AGPL-3.0 (copyleft de rede) |
| Qualidade vs pago | boa | boa, abaixo do pago |

Detalhes, licença e quando escolher cada um: `references/voice-studio.md`.

Files in this skill

  • SKILL.md2.6 KB
  • references/benchmark-comparison.md3.6 KB
  • references/license-apache2.txt7.9 KB
  • references/qwen3-tts-model-card.md5.8 KB
  • references/supported-languages.txt786 B
  • scripts/.gitignore127 B
  • scripts/batch_clone.py1016 B
  • scripts/index.html17.4 KB
  • scripts/requirements.txt177 B
  • scripts/tts_cli.py2.2 KB
  • scripts/voice_clone.py2.2 KB
  • scripts/voice_design.py1.5 KB
  • scripts/web_clone_server.py11.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.