You're looking at a specific version of this model. Jump to the model overview.

adirik /styletts2:989cb5ea

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
weights
string
Replicate weights url for inference with model that is fine-tuned on new speakers. If provided, a reference speech must also be provided. If not provided, the default model will be used.
text
string
Text to convert to speech
reference
string
Reference speech to copy style from
alpha
number
0.3

Max: 1

Only used for long text inputs or in case of reference speaker, determines the timbre of the speaker. Use lower values to sample style based on previous or reference speech instead of text.
beta
number
0.7

Max: 1

Only used for long text inputs or in case of reference speaker, determines the prosody of the speaker. Use lower values to sample style based on previous or reference speech instead of text.
diffusion_steps
integer
10

Max: 50

Number of diffusion steps
embedding_scale
number
1

Max: 5

Embedding scale, use higher values for pronounced emotion
seed
integer
0
Seed for reproducibility

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}