![Microsoft Text to Speech avatar](https://images.apifyusercontent.com/XoGONZL-xR8PE4I1MiA3Ux0RZZC0VYK3Jle7B9xNH3U/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vSmVhaGhtZU1qZGVLQ0JDQTkvTUdwc0VZNGhMOHhxQmo1WlktdHRzNC5wbmc.webp)
Microsoft Text to Speech
Try for free
No credit card required
View all Actors![Microsoft Text to Speech](https://images.apifyusercontent.com/XoGONZL-xR8PE4I1MiA3Ux0RZZC0VYK3Jle7B9xNH3U/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vSmVhaGhtZU1qZGVLQ0JDQTkvTUdwc0VZNGhMOHhxQmo1WlktdHRzNC5wbmc.webp)
![Microsoft Text to Speech](https://images.apifyusercontent.com/XoGONZL-xR8PE4I1MiA3Ux0RZZC0VYK3Jle7B9xNH3U/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vSmVhaGhtZU1qZGVLQ0JDQTkvTUdwc0VZNGhMOHhxQmo1WlktdHRzNC5wbmc.webp)
Microsoft Text to Speech
jupri/microsoft-tts
Try for free
No credit card required
Use Microsoft Edge TTS service to convert texts into speech
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = { "query": """The web is the largest and most important source of information ever created by humankind. And yet, most of that information is only available in a human-readable form that cannot be easily used by automated systems.
8
9Our mission is to let people automate mundane tasks on the web and spend their time on things that matter. We strive to keep the web open as a public good and a basic right for everyone, regardless of the way you want to use it, as its creators intended.""" }
10
11# Run the Actor and wait for it to finish
12run = client.actor("jupri/microsoft-tts").call(run_input=run_input)
13
14# Fetch and print Actor results from the run's dataset (if there are any)
15print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
16for item in client.dataset(run["defaultDatasetId"]).iterate_items():
17 print(item)
18
19# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
- 1 monthly user
- 1 star
- 99.4% runs succeeded
- Created in Feb 2024
- Modified 7 months ago
Categories