Skip to content

The open-source AI voice studio. Clone, dictate, create.

874 B
Raw Blame
/* 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;