# Model

Represents a FakeYou TTS model

# Constructor

new Model(client, data);
PARAMETER TYPE DESCRIPTION OPTIONAL
client Client The client that instantiated this No
data APIData The model API data No

# Properties

# algorithm

The algorithm type used in the model


# category

The category group in which the model is located


# categoryTokens

The list of category tokens in which the model is located


# client

The client that instantiated this


# count

The count of generated requests by the model


# createdAt

The date this model was created


# createdTimestamp

The time in seconds this model was created


# description

The model description (markdown style)


# features

The model featured info


# lang

The ISO 639-1 language code


# locate

The IEFT BCP 47 language tag


# name

A maybe suggested name for use in apps


# partial

Checks if has partial data


# pipeline

The model text pipeline type


# setVisibility

The visibility of the model


# title

The title of the model


# token

The model token


# type

The type of the model


# updatedAt

The date this model was updated


# updatedTimestamp

The time in seconds this model was updated


# user

The user who created the model


# userToken

The user token who created the model


# vocoder

The model's default pretrained vocoder

# Methods

# fetch()

Get all data about this model


# isVisible()

Checks if the category is visible to public


# modelURL()

Obtains the URL of FakeYou model page


# request(text)

Make a TTS request

PARAMETER TYPE DESCRIPTION OPTIONAL
text String The text to speech No