"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Speech = void 0;
const routerAudioSpeechCreate_js_1 = require("../funcs/routerAudioSpeechCreate.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Speech extends sdks_js_1.ClientSDK {
    /**
     * Create speech
     *
     * @remarks
     * Generates audio from the input text.
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, routerAudioSpeechCreate_js_1.routerAudioSpeechCreate)(this, request, options));
    }
}
exports.Speech = Speech;
//# sourceMappingURL=speech.js.map