Matxa Multiaccent Endpoint

Input parameters

Parameter
Description
Type
Options/Range
Recommended Values

text

Input text to be converted to speech

string

Any text input

N/A

voice

Speaker name for voice output

string

8 speakers available

N/A

accent

Selected dialect for voice output

string

balear, central, nord-occidental, valencia

N/A

temperature

Controls sampling variance during inference. Lower values yield higher quality but less variability

float

0.2 to 0.67

0.2 to 0.67

length_scale

Related to speech speed. Higher values make the speech slower, while lower values make it faster

float

0.75 to 0.9

0.75 to 0.9

List of associated accents and speakers (female voice and male voice) available. Each integer value is associated with one of the speakers you see in the list below:

Accent
Name
speaker_id

Balear

Quim

0

Balear

Olga

1

Central

Grau

2

Central

Elia

3

Nord-occidental

Pere

4

Nord-occidental

Emma

5

Valencia

Lluc

6

Valencia

Gina

7

Code examples

Python

Curl

One effective way is to create a temporary JSON archive to pass text and input parameters for inference.

Javascript (Nodejs)

Executed with Nodejs. Install NPM (Node Package Manager) and with NPM install fetch-node library.

Last updated