    URL   = "https://hut.openintegrations.dev/localai/";
    Токен = "12We34...";

    Текст  = "Attack ships on fire off the shoulder of Orion bright as magnesium";
    Модель = "bark-cpp-small";

    ДопПараметры = Новый Структура("response_format", "wav");

    Результат = OPI_OpenAI.СгенерироватьРечь(URL, Токен, Модель, Текст, , ДопПараметры);