mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 13:20:39 -07:00
- Added new Tauri plugins: @tauri-apps/plugin-process and @tauri-apps/plugin-updater to improve application capabilities. - Introduced UpdateStatus component to display update information in the UI. - Enhanced GenerationForm to include an optional instruct field for additional input. - Refactored various components for improved styling and responsiveness, including Sidebar, AudioPlayer, and ProfileCard. - Updated API models and schemas to accommodate new instruct parameter in generation requests and responses. - Improved documentation for autoupdater setup and usage.
47 lines
874 B
TypeScript
47 lines
874 B
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
export const $GenerationRequest = {
|
|
description: `Request model for voice generation.`,
|
|
properties: {
|
|
profile_id: {
|
|
type: 'string',
|
|
isRequired: true,
|
|
},
|
|
text: {
|
|
type: 'string',
|
|
isRequired: true,
|
|
maxLength: 5000,
|
|
minLength: 1,
|
|
},
|
|
language: {
|
|
type: 'string',
|
|
pattern: '^(en|zh)$',
|
|
},
|
|
seed: {
|
|
type: 'any-of',
|
|
contains: [
|
|
{
|
|
type: 'number',
|
|
},
|
|
{
|
|
type: 'null',
|
|
},
|
|
],
|
|
},
|
|
model_size: {
|
|
type: 'any-of',
|
|
contains: [
|
|
{
|
|
type: 'string',
|
|
pattern: '^(1\\.7B|0\\.6B)$',
|
|
},
|
|
{
|
|
type: 'null',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
} as const;
|