/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import dotenv from "dotenv"; dotenv.config(); /** * Example usage of the @supertone/supertone SDK * * To run this example from the examples directory: * npm run build && npx tsx textToSpeechCreateSpeech.example.ts */ import { Supertone } from "@supertone/supertone"; const supertone = new Supertone({ apiKey: "", }); async function main() { const result = await supertone.createSpeech({ voiceId: "", apiConvertTextToSpeechUsingCharacterRequest: { text: "", language: "ja", }, }); console.log(result); } main().catch(console.error);