Skip to content

voicevox-client/typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voicevox-client

Dependencies

Installation

$ yarn add voicevox-client

Example

import Client from "voicevox-client";

const client = new Client("http://127.0.0.1:50021");

async function main() {
  const audioquery = await client.createAudioQuery("こんにちは", 1);
  await audioquery.synthesis(1);
}