
News
About Google Cloud News
Text-to-speech (TTS) is a technology that converts written text into spoken audio, enabling computers and digital devices to "read" text aloud. It is also known as speech synthesis, read aloud technology, or computer-generated speech.
Google Cloud News is a Google Cloud model available on Eden AI for Text to Speech, from $160 / 1M characters. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint.
Tasks and prices
Google Cloud News is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.
Parameters
What you send and what you get back when you call Google Cloud News through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- text (required): text. Text to convert to speech
- voice: text. Voice to synthesize with: a voice `id` or `name` from `GET /v3/info/audio/tts/voices?model=...`, matched case-insensitively. Omit it to use the model's default
- speed: float. Speed multiplier for speech synthesis
- audio_format: text. Desired audio format (e.g., 'mp3', 'wav')
- speaking_pitch: number. Increase or decrease the speaking pitch by a percentage from -100% to 100%, 0 is normal.
- speaking_volume: number. Increase or decrease the audio volume by a percentage from -100% to 100%, 0 is normal.
Response
- audio_resource_url
Estimate your monthly cost
Enter your monthly volume for Text to Speech to compare Google Cloud News with its cheapest alternatives.
Call Google Cloud News with Eden AI
Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "audio/tts/google/news",
"input": {"text": "Hello from Eden AI!"},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "audio/tts/google/news", "input": {"text": "Hello from Eden AI!"}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "audio/tts/google/news",
input: {"text": "Hello from Eden AI!"},
}),
});
console.log(await response.json());
"text": "Hello from Eden AI!"
Questions about Google Cloud News
On Eden AI, Google Cloud News costs $160 / 1M characters for Text to Speech. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Google Cloud News is available for: Text to Speech. Input: Text. Output: audio_resource_url.
Eden AI offers Text to Speech from 9 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Text to Speech
Other Text to Speech models you can call with the same key, cheapest first.
More from Google Cloud
Other Google Cloud models on Eden AI, for every task.


.avif)



