Microsoft Text to Speech avatar

Microsoft Text to Speech

Try for free

No credit card required

Go to Store
Microsoft Text to Speech

Microsoft Text to Speech

jupri/microsoft-tts
Try for free

No credit card required

💫 Use Microsoft Edge TTS service to convert texts into speech

You can access the Microsoft Text to Speech programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "P4QJYdxvvtKBWCrWb"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/jupri~microsoft-tts/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-jupri-microsoft-tts",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/jupri~microsoft-tts/runs": {
50      "post": {
51        "operationId": "runs-sync-jupri-microsoft-tts",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/jupri~microsoft-tts/run-sync": {
93      "post": {
94        "operationId": "run-sync-jupri-microsoft-tts",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "properties": {
134          "query": {
135            "title": "Query",
136            "type": "string",
137            "description": "💡 Text to translate"
138          },
139          "voice": {
140            "title": "Voice",
141            "enum": [
142              "af-ZA-AdriNeural",
143              "af-ZA-WillemNeural",
144              "sq-AL-AnilaNeural",
145              "sq-AL-IlirNeural",
146              "am-ET-AmehaNeural",
147              "am-ET-MekdesNeural",
148              "ar-DZ-AminaNeural",
149              "ar-DZ-IsmaelNeural",
150              "ar-BH-AliNeural",
151              "ar-BH-LailaNeural",
152              "ar-EG-SalmaNeural",
153              "ar-EG-ShakirNeural",
154              "ar-IQ-BasselNeural",
155              "ar-IQ-RanaNeural",
156              "ar-JO-SanaNeural",
157              "ar-JO-TaimNeural",
158              "ar-KW-FahedNeural",
159              "ar-KW-NouraNeural",
160              "ar-LB-LaylaNeural",
161              "ar-LB-RamiNeural",
162              "ar-LY-ImanNeural",
163              "ar-LY-OmarNeural",
164              "ar-MA-JamalNeural",
165              "ar-MA-MounaNeural",
166              "ar-OM-AbdullahNeural",
167              "ar-OM-AyshaNeural",
168              "ar-QA-AmalNeural",
169              "ar-QA-MoazNeural",
170              "ar-SA-HamedNeural",
171              "ar-SA-ZariyahNeural",
172              "ar-SY-AmanyNeural",
173              "ar-SY-LaithNeural",
174              "ar-TN-HediNeural",
175              "ar-TN-ReemNeural",
176              "ar-AE-FatimaNeural",
177              "ar-AE-HamdanNeural",
178              "ar-YE-MaryamNeural",
179              "ar-YE-SalehNeural",
180              "az-AZ-BabekNeural",
181              "az-AZ-BanuNeural",
182              "bn-BD-NabanitaNeural",
183              "bn-BD-PradeepNeural",
184              "bn-IN-BashkarNeural",
185              "bn-IN-TanishaaNeural",
186              "bs-BA-GoranNeural",
187              "bs-BA-VesnaNeural",
188              "bg-BG-BorislavNeural",
189              "bg-BG-KalinaNeural",
190              "my-MM-NilarNeural",
191              "my-MM-ThihaNeural",
192              "ca-ES-EnricNeural",
193              "ca-ES-JoanaNeural",
194              "zh-HK-HiuGaaiNeural",
195              "zh-HK-HiuMaanNeural",
196              "zh-HK-WanLungNeural",
197              "zh-CN-XiaoxiaoNeural",
198              "zh-CN-XiaoyiNeural",
199              "zh-CN-YunjianNeural",
200              "zh-CN-YunxiNeural",
201              "zh-CN-YunxiaNeural",
202              "zh-CN-YunyangNeural",
203              "zh-CN-liaoning-XiaobeiNeural",
204              "zh-TW-HsiaoChenNeural",
205              "zh-TW-YunJheNeural",
206              "zh-TW-HsiaoYuNeural",
207              "zh-CN-shaanxi-XiaoniNeural",
208              "hr-HR-GabrijelaNeural",
209              "hr-HR-SreckoNeural",
210              "cs-CZ-AntoninNeural",
211              "cs-CZ-VlastaNeural",
212              "da-DK-ChristelNeural",
213              "da-DK-JeppeNeural",
214              "nl-BE-ArnaudNeural",
215              "nl-BE-DenaNeural",
216              "nl-NL-ColetteNeural",
217              "nl-NL-FennaNeural",
218              "nl-NL-MaartenNeural",
219              "en-AU-NatashaNeural",
220              "en-AU-WilliamNeural",
221              "en-CA-ClaraNeural",
222              "en-CA-LiamNeural",
223              "en-HK-SamNeural",
224              "en-HK-YanNeural",
225              "en-IN-NeerjaExpressiveNeural",
226              "en-IN-NeerjaNeural",
227              "en-IN-PrabhatNeural",
228              "en-IE-ConnorNeural",
229              "en-IE-EmilyNeural",
230              "en-KE-AsiliaNeural",
231              "en-KE-ChilembaNeural",
232              "en-NZ-MitchellNeural",
233              "en-NZ-MollyNeural",
234              "en-NG-AbeoNeural",
235              "en-NG-EzinneNeural",
236              "en-PH-JamesNeural",
237              "en-US-AvaNeural",
238              "en-US-AndrewNeural",
239              "en-US-EmmaNeural",
240              "en-US-BrianNeural",
241              "en-PH-RosaNeural",
242              "en-SG-LunaNeural",
243              "en-SG-WayneNeural",
244              "en-ZA-LeahNeural",
245              "en-ZA-LukeNeural",
246              "en-TZ-ElimuNeural",
247              "en-TZ-ImaniNeural",
248              "en-GB-LibbyNeural",
249              "en-GB-MaisieNeural",
250              "en-GB-RyanNeural",
251              "en-GB-SoniaNeural",
252              "en-GB-ThomasNeural",
253              "en-US-AnaNeural",
254              "en-US-AriaNeural",
255              "en-US-ChristopherNeural",
256              "en-US-EricNeural",
257              "en-US-GuyNeural",
258              "en-US-JennyNeural",
259              "en-US-MichelleNeural",
260              "en-US-RogerNeural",
261              "en-US-SteffanNeural",
262              "et-EE-AnuNeural",
263              "et-EE-KertNeural",
264              "fil-PH-AngeloNeural",
265              "fil-PH-BlessicaNeural",
266              "fi-FI-HarriNeural",
267              "fi-FI-NooraNeural",
268              "fr-BE-CharlineNeural",
269              "fr-BE-GerardNeural",
270              "fr-CA-ThierryNeural",
271              "fr-CA-AntoineNeural",
272              "fr-CA-JeanNeural",
273              "fr-CA-SylvieNeural",
274              "fr-FR-VivienneMultilingualNeural",
275              "fr-FR-RemyMultilingualNeural",
276              "fr-FR-DeniseNeural",
277              "fr-FR-EloiseNeural",
278              "fr-FR-HenriNeural",
279              "fr-CH-ArianeNeural",
280              "fr-CH-FabriceNeural",
281              "gl-ES-RoiNeural",
282              "gl-ES-SabelaNeural",
283              "ka-GE-EkaNeural",
284              "ka-GE-GiorgiNeural",
285              "de-AT-IngridNeural",
286              "de-AT-JonasNeural",
287              "de-DE-SeraphinaMultilingualNeural",
288              "de-DE-FlorianMultilingualNeural",
289              "de-DE-AmalaNeural",
290              "de-DE-ConradNeural",
291              "de-DE-KatjaNeural",
292              "de-DE-KillianNeural",
293              "de-CH-JanNeural",
294              "de-CH-LeniNeural",
295              "el-GR-AthinaNeural",
296              "el-GR-NestorasNeural",
297              "gu-IN-DhwaniNeural",
298              "gu-IN-NiranjanNeural",
299              "he-IL-AvriNeural",
300              "he-IL-HilaNeural",
301              "hi-IN-MadhurNeural",
302              "hi-IN-SwaraNeural",
303              "hu-HU-NoemiNeural",
304              "hu-HU-TamasNeural",
305              "is-IS-GudrunNeural",
306              "is-IS-GunnarNeural",
307              "id-ID-ArdiNeural",
308              "id-ID-GadisNeural",
309              "ga-IE-ColmNeural",
310              "ga-IE-OrlaNeural",
311              "it-IT-GiuseppeNeural",
312              "it-IT-DiegoNeural",
313              "it-IT-ElsaNeural",
314              "it-IT-IsabellaNeural",
315              "ja-JP-KeitaNeural",
316              "ja-JP-NanamiNeural",
317              "jv-ID-DimasNeural",
318              "jv-ID-SitiNeural",
319              "kn-IN-GaganNeural",
320              "kn-IN-SapnaNeural",
321              "kk-KZ-AigulNeural",
322              "kk-KZ-DauletNeural",
323              "km-KH-PisethNeural",
324              "km-KH-SreymomNeural",
325              "ko-KR-HyunsuNeural",
326              "ko-KR-InJoonNeural",
327              "ko-KR-SunHiNeural",
328              "lo-LA-ChanthavongNeural",
329              "lo-LA-KeomanyNeural",
330              "lv-LV-EveritaNeural",
331              "lv-LV-NilsNeural",
332              "lt-LT-LeonasNeural",
333              "lt-LT-OnaNeural",
334              "mk-MK-AleksandarNeural",
335              "mk-MK-MarijaNeural",
336              "ms-MY-OsmanNeural",
337              "ms-MY-YasminNeural",
338              "ml-IN-MidhunNeural",
339              "ml-IN-SobhanaNeural",
340              "mt-MT-GraceNeural",
341              "mt-MT-JosephNeural",
342              "mr-IN-AarohiNeural",
343              "mr-IN-ManoharNeural",
344              "mn-MN-BataaNeural",
345              "mn-MN-YesuiNeural",
346              "ne-NP-HemkalaNeural",
347              "ne-NP-SagarNeural",
348              "nb-NO-FinnNeural",
349              "nb-NO-PernilleNeural",
350              "ps-AF-GulNawazNeural",
351              "ps-AF-LatifaNeural",
352              "fa-IR-DilaraNeural",
353              "fa-IR-FaridNeural",
354              "pl-PL-MarekNeural",
355              "pl-PL-ZofiaNeural",
356              "pt-BR-ThalitaNeural",
357              "pt-BR-AntonioNeural",
358              "pt-BR-FranciscaNeural",
359              "pt-PT-DuarteNeural",
360              "pt-PT-RaquelNeural",
361              "ro-RO-AlinaNeural",
362              "ro-RO-EmilNeural",
363              "ru-RU-DmitryNeural",
364              "ru-RU-SvetlanaNeural",
365              "sr-RS-NicholasNeural",
366              "sr-RS-SophieNeural",
367              "si-LK-SameeraNeural",
368              "si-LK-ThiliniNeural",
369              "sk-SK-LukasNeural",
370              "sk-SK-ViktoriaNeural",
371              "sl-SI-PetraNeural",
372              "sl-SI-RokNeural",
373              "so-SO-MuuseNeural",
374              "so-SO-UbaxNeural",
375              "es-AR-ElenaNeural",
376              "es-AR-TomasNeural",
377              "es-BO-MarceloNeural",
378              "es-BO-SofiaNeural",
379              "es-CL-CatalinaNeural",
380              "es-CL-LorenzoNeural",
381              "es-ES-XimenaNeural",
382              "es-CO-GonzaloNeural",
383              "es-CO-SalomeNeural",
384              "es-CR-JuanNeural",
385              "es-CR-MariaNeural",
386              "es-CU-BelkysNeural",
387              "es-CU-ManuelNeural",
388              "es-DO-EmilioNeural",
389              "es-DO-RamonaNeural",
390              "es-EC-AndreaNeural",
391              "es-EC-LuisNeural",
392              "es-SV-LorenaNeural",
393              "es-SV-RodrigoNeural",
394              "es-GQ-JavierNeural",
395              "es-GQ-TeresaNeural",
396              "es-GT-AndresNeural",
397              "es-GT-MartaNeural",
398              "es-HN-CarlosNeural",
399              "es-HN-KarlaNeural",
400              "es-MX-DaliaNeural",
401              "es-MX-JorgeNeural",
402              "es-NI-FedericoNeural",
403              "es-NI-YolandaNeural",
404              "es-PA-MargaritaNeural",
405              "es-PA-RobertoNeural",
406              "es-PY-MarioNeural",
407              "es-PY-TaniaNeural",
408              "es-PE-AlexNeural",
409              "es-PE-CamilaNeural",
410              "es-PR-KarinaNeural",
411              "es-PR-VictorNeural",
412              "es-ES-AlvaroNeural",
413              "es-ES-ElviraNeural",
414              "es-US-AlonsoNeural",
415              "es-US-PalomaNeural",
416              "es-UY-MateoNeural",
417              "es-UY-ValentinaNeural",
418              "es-VE-PaolaNeural",
419              "es-VE-SebastianNeural",
420              "su-ID-JajangNeural",
421              "su-ID-TutiNeural",
422              "sw-KE-RafikiNeural",
423              "sw-KE-ZuriNeural",
424              "sw-TZ-DaudiNeural",
425              "sw-TZ-RehemaNeural",
426              "sv-SE-MattiasNeural",
427              "sv-SE-SofieNeural",
428              "ta-IN-PallaviNeural",
429              "ta-IN-ValluvarNeural",
430              "ta-MY-KaniNeural",
431              "ta-MY-SuryaNeural",
432              "ta-SG-AnbuNeural",
433              "ta-SG-VenbaNeural",
434              "ta-LK-KumarNeural",
435              "ta-LK-SaranyaNeural",
436              "te-IN-MohanNeural",
437              "te-IN-ShrutiNeural",
438              "th-TH-NiwatNeural",
439              "th-TH-PremwadeeNeural",
440              "tr-TR-AhmetNeural",
441              "tr-TR-EmelNeural",
442              "uk-UA-OstapNeural",
443              "uk-UA-PolinaNeural",
444              "ur-IN-GulNeural",
445              "ur-IN-SalmanNeural",
446              "ur-PK-AsadNeural",
447              "ur-PK-UzmaNeural",
448              "uz-UZ-MadinaNeural",
449              "uz-UZ-SardorNeural",
450              "vi-VN-HoaiMyNeural",
451              "vi-VN-NamMinhNeural",
452              "cy-GB-AledNeural",
453              "cy-GB-NiaNeural",
454              "zu-ZA-ThandoNeural",
455              "zu-ZA-ThembaNeural"
456            ],
457            "type": "string",
458            "description": "",
459            "default": "en-US-AriaNeural"
460          },
461          "volume": {
462            "title": "Volume",
463            "type": "integer",
464            "description": "💡 Sound Volume: [+/-]% (percent)"
465          },
466          "rate": {
467            "title": "Rate",
468            "type": "integer",
469            "description": "💡 Sound Speed: [+/-]% (percent)"
470          },
471          "pitch": {
472            "title": "Pitch",
473            "type": "integer",
474            "description": "💡 Sound Pitch: [+/-]Hz (Hertz)"
475          },
476          "sentence_boundary": {
477            "title": "Sentence Boundary",
478            "type": "boolean",
479            "description": "💡 Include Sentence Boundaries Metadata"
480          },
481          "word_boundary": {
482            "title": "Word Boundary",
483            "type": "boolean",
484            "description": "💡 Include Word Boundaries Metadata"
485          }
486        }
487      },
488      "runsResponseSchema": {
489        "type": "object",
490        "properties": {
491          "data": {
492            "type": "object",
493            "properties": {
494              "id": {
495                "type": "string"
496              },
497              "actId": {
498                "type": "string"
499              },
500              "userId": {
501                "type": "string"
502              },
503              "startedAt": {
504                "type": "string",
505                "format": "date-time",
506                "example": "2025-01-08T00:00:00.000Z"
507              },
508              "finishedAt": {
509                "type": "string",
510                "format": "date-time",
511                "example": "2025-01-08T00:00:00.000Z"
512              },
513              "status": {
514                "type": "string",
515                "example": "READY"
516              },
517              "meta": {
518                "type": "object",
519                "properties": {
520                  "origin": {
521                    "type": "string",
522                    "example": "API"
523                  },
524                  "userAgent": {
525                    "type": "string"
526                  }
527                }
528              },
529              "stats": {
530                "type": "object",
531                "properties": {
532                  "inputBodyLen": {
533                    "type": "integer",
534                    "example": 2000
535                  },
536                  "rebootCount": {
537                    "type": "integer",
538                    "example": 0
539                  },
540                  "restartCount": {
541                    "type": "integer",
542                    "example": 0
543                  },
544                  "resurrectCount": {
545                    "type": "integer",
546                    "example": 0
547                  },
548                  "computeUnits": {
549                    "type": "integer",
550                    "example": 0
551                  }
552                }
553              },
554              "options": {
555                "type": "object",
556                "properties": {
557                  "build": {
558                    "type": "string",
559                    "example": "latest"
560                  },
561                  "timeoutSecs": {
562                    "type": "integer",
563                    "example": 300
564                  },
565                  "memoryMbytes": {
566                    "type": "integer",
567                    "example": 1024
568                  },
569                  "diskMbytes": {
570                    "type": "integer",
571                    "example": 2048
572                  }
573                }
574              },
575              "buildId": {
576                "type": "string"
577              },
578              "defaultKeyValueStoreId": {
579                "type": "string"
580              },
581              "defaultDatasetId": {
582                "type": "string"
583              },
584              "defaultRequestQueueId": {
585                "type": "string"
586              },
587              "buildNumber": {
588                "type": "string",
589                "example": "1.0.0"
590              },
591              "containerUrl": {
592                "type": "string"
593              },
594              "usage": {
595                "type": "object",
596                "properties": {
597                  "ACTOR_COMPUTE_UNITS": {
598                    "type": "integer",
599                    "example": 0
600                  },
601                  "DATASET_READS": {
602                    "type": "integer",
603                    "example": 0
604                  },
605                  "DATASET_WRITES": {
606                    "type": "integer",
607                    "example": 0
608                  },
609                  "KEY_VALUE_STORE_READS": {
610                    "type": "integer",
611                    "example": 0
612                  },
613                  "KEY_VALUE_STORE_WRITES": {
614                    "type": "integer",
615                    "example": 1
616                  },
617                  "KEY_VALUE_STORE_LISTS": {
618                    "type": "integer",
619                    "example": 0
620                  },
621                  "REQUEST_QUEUE_READS": {
622                    "type": "integer",
623                    "example": 0
624                  },
625                  "REQUEST_QUEUE_WRITES": {
626                    "type": "integer",
627                    "example": 0
628                  },
629                  "DATA_TRANSFER_INTERNAL_GBYTES": {
630                    "type": "integer",
631                    "example": 0
632                  },
633                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
634                    "type": "integer",
635                    "example": 0
636                  },
637                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
638                    "type": "integer",
639                    "example": 0
640                  },
641                  "PROXY_SERPS": {
642                    "type": "integer",
643                    "example": 0
644                  }
645                }
646              },
647              "usageTotalUsd": {
648                "type": "number",
649                "example": 0.00005
650              },
651              "usageUsd": {
652                "type": "object",
653                "properties": {
654                  "ACTOR_COMPUTE_UNITS": {
655                    "type": "integer",
656                    "example": 0
657                  },
658                  "DATASET_READS": {
659                    "type": "integer",
660                    "example": 0
661                  },
662                  "DATASET_WRITES": {
663                    "type": "integer",
664                    "example": 0
665                  },
666                  "KEY_VALUE_STORE_READS": {
667                    "type": "integer",
668                    "example": 0
669                  },
670                  "KEY_VALUE_STORE_WRITES": {
671                    "type": "number",
672                    "example": 0.00005
673                  },
674                  "KEY_VALUE_STORE_LISTS": {
675                    "type": "integer",
676                    "example": 0
677                  },
678                  "REQUEST_QUEUE_READS": {
679                    "type": "integer",
680                    "example": 0
681                  },
682                  "REQUEST_QUEUE_WRITES": {
683                    "type": "integer",
684                    "example": 0
685                  },
686                  "DATA_TRANSFER_INTERNAL_GBYTES": {
687                    "type": "integer",
688                    "example": 0
689                  },
690                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
691                    "type": "integer",
692                    "example": 0
693                  },
694                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
695                    "type": "integer",
696                    "example": 0
697                  },
698                  "PROXY_SERPS": {
699                    "type": "integer",
700                    "example": 0
701                  }
702                }
703              }
704            }
705          }
706        }
707      }
708    }
709  }
710}

Microsoft Text to Speech OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Microsoft Text to Speech from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 6 monthly users

  • 5 bookmarks

  • >99% runs succeeded

  • 41 days response time

  • Created in Feb 2024

  • Modified 3 months ago

Categories