Kuri kugirango

in Umurongo Na:. Kugena Amabwiriza, Umurongo -, Ubutumwa, na ya: Seriveri: - ku 20 + Umurongo Udushushondanga na A Byoroheje.

Amaboneza Amasimbuka Kugena Igihe cyarenze gito API

Kugerageza

Bishyurwa mu buryo bwa Kokoro, Piper, VITS, na MeloTTS.
Audio Kugaragara
Byaremwe
0:00
Iyimura
TTS.ai? Abayobozi!
Bwite Koresha Kuva: 5 /

Ibiranga

Kuri Kongeramo Kuri Seriveri

in

Na: Gushyiraho Inyumvo na Ubutumwa Na: na.

Kugena Ukoresha:

Bisanzwe Kuri Abakoresha Cyangwa. Kubona Ijwi.

& Sub Alerts

Ijwi kugirango,, na Seriveri:. Ubutumwa Soma in Ijwi Na: Urwego:.

Igihe cyarenze:

Kokoro and Piper deliver audio in under 2 seconds, ensuring bot responses feel immediate and natural in live voice channel conversations.

Bihari

Kuva: Birenzeho 100 +. Seriveri: Umunyamuryango Hitamo... Icyinjijwe Igikorwa ya: A Bisanzwe.

Gushyiramo

API Na:,, na Icyo ari cyo cyose Ikadiri. Inyandikoporogaramu Urugero: na Inyandiko.

kugirango

, Bisanzwe - kugirango Igihe

KokoroKokoro

Free

Lightweight 82M parameter model delivering studio-quality speech with blazing-fast inference.

Bihagaritse 5/5

kugirango: Ubuziranenge Ihitamo kugirango Igihe

Gushaka Kokoro

MeloTTSMeloTTS

Free

High-quality multilingual text-to-speech that runs on CPU with minimal latency.

Bihagaritse 4/5

kugirango: Urugero

Gushaka MeloTTS

BarkBark

Standard

Transformer-based text-to-audio model that generates realistic speech, music, and sound effects.

Guca umurongo 4/5

kugirango: Ijwi Ingaruka na ya:

Gushaka Bark

PiperPiper

Free

A fast, local neural text to speech system optimized for Raspberry Pi and embedded devices.

Bihagaritse 3/5

kugirango: Bihuta Urugero kugirango Igice Ubutumwa

Gushaka Piper

ChatterboxChatterbox

Premium

State-of-the-art zero-shot voice cloning with emotion control from Resemble AI.

Bisanzwe 5/5 Guca umurongo

kugirango: Kugena Na: Igenzura ya: Seriveri:

Gushaka Chatterbox

Kuri Seriveri

Zeru Kuri a in

1

Urufunguzo

Sign up for a free TTS.ai account and generate an API key from your dashboard. Free tier includes 15,000 characters plus 10,000 free characters every month.

2

Kugena imiterere

A Porogaramu, Kuri Seriveri:, na Kwinjiza porogaramu JS Cyangwa. Inyandikoporogaramu Urugero: Kuri Kwihuza i.

3

Kugena Imiterere Amabwiriza

Hejuru Slash Amabwiriza Nka /, /, na /. Mburabuzi, Ibikorwa:, Cyangwa Umukoresha. Umubare Kuri Ubutumwa.

4

Gushyiraho

ku A,, Cyangwa. Ijwi ku command na Ubutumwa Na:.

Gukoresha

How Discord communities use TTS.ai

Kuri

A Umwandiko Ubutumwa in A & Igice. Ubwoko: in A Umwandiko, na i Ubutumwa Na:. Kuri Abakoresha Cyangwa Hitamo... Na: A command Nka!.

  • Umwandiko in
  • Umukoresha Ijwi
  • Ururimi:
  • Mbere

< guimenuitem >

Gishya Na: A & Ubutumwa Ryari: Kwinjira A Ijwi. Ibyabaye, Seriveri:, Cyangwa & Game Umukoro Na: Kugena. ya: & Ubutumwa Ibyiciro - A Ijwi ya:, A Ijwi ya:.

  • Kwinjira Kwiruka
  • Icyabaye
  • kugirango Ubwoko
  • Ubutumwa

Umukoro

Imikoro Na: -,, Cyangwa Ikiganiro ya:. A & D & D Inyuguti: ya:, Soma Ikintu, Cyangwa - Birenzeho.

  • Inyuguti kugirango
  • Na
  • Na ku
  • kugirango Inyuguti

Guhindura

Na: Umwandiko wahinduwe ururimi ya: A Seriveri:. Cyangwa Ubwoko: in Ururimi:, i na i Igisubizo in i Intego: Ururimi:. ya:, Ururimi: Seriveri:, na.

  • Igihe Ubutumwa Umwandiko wahinduwe ururimi +
  • Ururimi: Gushigikira
  • Ururimi:
  • Inkomoko Ururimi:

Gushyiramo

Add TTS to your Discord bot with discord.js and the TTS.ai API

JavaScript (Js V) REST API
const { Client, GatewayIntentBits } = require('discord.js');
const { joinVoiceChannel, createAudioPlayer,
        createAudioResource } = require('@discordjs/voice');
const fetch = require('node-fetch');
const fs = require('fs');

const client = new Client({
    intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages,
              GatewayIntentBits.GuildVoiceStates, GatewayIntentBits.MessageContent]
});

client.on('messageCreate', async (message) => {
    if (!message.content.startsWith('!say ')) return;
    const text = message.content.slice(5);

    // Generate speech with TTS.ai API
    const res = await fetch('https://api.tts.ai/v1/tts', {
        method: 'POST',
        headers: {
            'Authorization': 'Bearer YOUR_API_KEY',
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            text: text,
            model: 'kokoro',
            voice: 'af_heart',
            format: 'wav'
        })
    });

    // Play in voice channel
    const buffer = await res.buffer();
    fs.writeFileSync('/tmp/tts.wav', buffer);
    const connection = joinVoiceChannel({
        channelId: message.member.voice.channelId,
        guildId: message.guildId,
        adapterCreator: message.guild.voiceAdapterCreator
    });
    const player = createAudioPlayer();
    player.play(createAudioResource('/tmp/tts.wav'));
    connection.subscribe(player);
});

kugirango Seriveri

Urwego: ya: Igerageza, ya: Gikora Seriveri:.

Urwego rworoheje

$0

ku Kwiyandikisha

  • 4. Kigenga
  • Iboneza
  • Bya ngombwa

Gutangira

$9

Inyuguti Ukwezi

  • 20+ Imigaragarire
  • Kuri hagati Ingano Seriveri
  • Uburenganzira bw' umukoresha

Igihe kya karere

$29

Ukwezi

  • Seriveri
  • Ibyahiswemo
  • Guhindura izina
Kugaragaza

Ibibazo bizwa kenshi

Bigyanye kugirango

Create a Discord bot application, use discord.js or discord.py to handle commands, and call the TTS.ai API to generate audio. The API returns audio bytes that your bot streams to Discord voice channels using @discordjs/voice or discord.py voice.

Kokoro itanga amajwi mu gihe gito cy'amasegonda 2 gusa, mu byari byiza. Ubuvugizi bwa Discord bugatanga umwanya, bityo igihe hagati y'umwanzuro ushinzwe no gutanga ijambo ni hagati y'amasegonda 2 na 4. Piper ni cyane cyane cyihuta kandi cyihutishije mu gutanga amajwi, cyane cyane mu byamenyekanye.

. Ijwi Ibyahiswemo Umukoresha in Ububikoshingiro A Umukoresha A command, Kureba Hejuru Ijwi na Urugero:, Hanyuma Inyumvo Na: Igenamiterere Guhindura... Ijwi Na: A / Ijwi command

Yego. Kokoro, Piper, VITS, na MeloTTS zifite amahugurwa aziguye kandi nta mirimo itazigobotse. Ku server itoya ya Discord, amahugurwa aziguye akwaba akwihariye ibyo ushaka gukoresha mu buryo bwo guhindura ijambo mu mvugo (TTS). Server zikora cyane zishobora gushaka ibicuruzwa by'inzoga kugira ngo zifashe mu kuvuga neza ndetse no mu kuvuga amashyirahamwe.

< X- Ngenderwaho = "" / < X- Ngenderwaho = "" / < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / > < X- Ngenderwaho = "" / >

. ya: & Ubutumwa Ibyabaye in na mu buryo bwikora: Kohereza Kuri i. Umubare w' ibihano (& eg;, Rimwe & Ubutumwa 5 amasogonda) na & Ubutumwa Uburebure Amabwiriza Kuri. Kuri Guhindura>> mu buryo bwikora: - Soma.

Imikoresho yacu itandukanye itanga serivisi mu cyerekano cya 30 cyangwa cyinshi cy'ururimi. Umukoresho witwa "Kokoro" utanga serivisi mu rurimi runini 9, "Piper" utanga serivisi mu rurimi 30 cyangwa cyinshi, kandi "MeloTTS" utanga serivisi mu rurimi 6, ariko akoresheje amayerukano anyuranye. Robot yawe ya Discord ishobora guhita yumva ururimi rwa message (umushyikirwa) cyangwa kugira ngo abantu babashe gusobanura ururimi bashaka.

Umubare in (& eg;, 3 UMUNOTA Umukoresha). A hagati Ubutumwa, Kuri Cyangwa, Gushyiraho A Kinini Inyuguti: Impera:, na & Ongera A Akayunguruzo: Mbere Umwandiko Kuri i.

Yego. Murikore ibikorwa byo gukopisha ijwi mu buryo bwa "clone" mu gihe cy'amasegonda 5-30, murikoreshe amagambo "Chatterbox" cyangwa "GPT-SoVITS". Shyira ifishi y'ijwi mwenegeye kuri API y'ukopisha ijwi, hanyuma murikoreshe numaraherero (ID) w'ijwi rwakopewe mu byo ushaka ko robot yawe itanga (TTS) kugira ngo ifite ubwenge bw'umuntu.

. Gushyiraho Nka A na Ijwi. ni ya: Ibyabaye, & Q, na i Cyangwa.

Mu gihe wifashisha imodel z'imodeli z'izamurwa (Kokoro, Piper), intambwe y'ikiguzi cyo gukoresha API ya TTS ni icyaba. Ibyo wifashisha byonyine ni gukora serivisi y'imodeli, kandi icyo gishingiro gishobora kuba kigera kuri $5 ku kwezi ku serivisi itangirwaho. Immodel z'icyiciro cya nyuma zifite ibindi bimenyetso, ariko zigakoreshwa mu buryo bw'igice cyangwa zigakoreshwa kugira ngo amajwi abe meze neza kandi zigifite ibindi bishobora.

. Na:, Indirimbo, Cyangwa & Game. Urugero:, Gutangaza:% S Ibikorwa in Ijwi, Soma & Game Imibare, Cyangwa Kurema Ikiganiro Ijwi - ikoresha ya: i.
5.0/5 (1)

Twebwe?

Kuri

Urufunguzo na Tangira & vendorShortName; A - UYUMUNSI. 20 + Ijwi Udushushondanga, Hasi, Byoroheje.