
Polyglot
About Google Cloud Polyglot
Text-to-Speech (TTS) ist eine Technologie, die geschriebenen Text in gesprochene Sprache umwandelt und es Computern und digitalen Geräten ermöglicht, Text laut vorzulesen. Sie wird auch als Sprachsynthese, Vorlesetechnologie oder computergenerierte Sprache bezeichnet.
Google Cloud Polyglot ist ein Modell von Google Cloud, auf Eden AI verfügbar für die Aufgabe „Sprachsynthese“, ab 16 $ / 1M Zeichen. Rufen Sie es mit demselben API-Schlüssel wie alle anderen Eden-AI-Modelle auf, indem Sie seinen Modell-String an den Universal-AI-Endpoint senden.
Tasks and prices
Google Cloud Polyglot is available on Eden AI for 1 tasks. Jede Aufgabe hat ihren eigenen Modell-String und Preis: Senden Sie diesen String an den Universal-AI-Endpoint, um das Modell für diese Aufgabe zu nutzen.
Parameters
What you send and what you get back when you call Google Cloud Polyglot through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Eingabe
- text (Pflichtfeld): Text. In Sprache umzuwandelnder Text
- voice: Text. Zu verwendende Stimme: eine Stimm-`id` oder ein `name` aus `GET /v3/info/audio/tts/voices?model=...`, wobei Groß- und Kleinschreibung nicht berücksichtigt wird. Lassen Sie dieses Feld leer, um die Sta
- speed: Zahl. Geschwindigkeitsmultiplikator für die Sprachsynthese
- audio_format: Text. Gewünschtes Audioformat (z. B. „mp3“, „wav“)
- speaking_pitch: Zahl. Erhöhen oder verringern Sie die Sprechtonhöhe um einen Prozentsatz zwischen -100 % und 100 %; 0 entspricht dem Normalwert.
- speaking_volume: Zahl. Erhöhen oder verringern Sie die Lautstärke um einen Prozentsatz zwischen -100 % und 100 %; 0 entspricht der normalen Lautstärke.
Antwort
- audio_resource_url
Estimate your monthly cost
Enter your monthly volume for Sprachsynthese to compare Google Cloud Polyglot with its cheapest alternatives.
Call Google Cloud Polyglot with Eden AI
Senden Sie den Modell-String an den Universal-AI-Endpoint. Um ein anderes Modell zu nutzen, kopieren Sie dessen String aus der Tabelle oben.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "audio/tts/google/polyglot",
"input": {"text": "Hallo von 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/polyglot", "input": {"text": "Hallo von 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/polyglot",
input: {"text": "Hallo von Eden AI!"},
}),
});
console.log(await response.json());
"text": "Hallo von Eden AI!"
Questions about Google Cloud Polyglot
On Eden AI, Google Cloud Polyglot costs 16 $ / 1M Zeichen for Sprachsynthese. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Google Cloud Polyglot is available for: Sprachsynthese. Input: Text. Output: audio_resource_url.
Eden AI offers Sprachsynthese from 9 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Sprachsynthese
Other Sprachsynthese 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)


