
Chirp
About Google Cloud Chirp
Turn text into natural-sounding speech.
Google Cloud Chirp est un modèle de Google Cloud disponible sur Eden AI via son API compatible OpenAI, à partir de 30 $ / 1M caractères. Appelez-le avec la même clé API que tous les autres modèles Eden AI, en envoyant son ID de modèle à l'endpoint /v3/audio/speech, ou via n'importe quel SDK OpenAI, avec un traitement en Europe.
Tasks and prices
Google Cloud Chirp is available on Eden AI for 1 tasks. Il est servi par l'API compatible OpenAI d'Eden AI : envoyez son ID de modèle à l'endpoint /v3/audio/speech avec votre clé API Eden AI.
Parameters
What you send and what you get back when you call Google Cloud Chirp through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Entrée
- model (obligatoire) : texte. The model ID, as provider/model.
- input (obligatoire) : texte. The text to speak.
- voice : texte. The voice to use.
Réponse
- audio
Estimate your monthly cost
Enter your monthly volume for Synthèse vocale to compare Google Cloud Chirp with its cheapest alternatives.
Call Google Cloud Chirp with Eden AI
Envoyez l'ID du modèle à l'endpoint compatible OpenAI /v3/audio/speech. Tout SDK OpenAI fonctionne aussi : définissez son URL de base sur https://api.edenai.run/v3.
import requests
response = requests.post(
"https://api.edenai.run/v3/audio/speech",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "vertex/chirp",
"input": "Hello from Eden AI!",
},
)
with open("speech.mp3", "wb") as f:
f.write(response.content)
curl https://api.edenai.run/v3/audio/speech \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "vertex/chirp", "input": "Hello from Eden AI!"}' \
--output speech.mp3
const response = await fetch("https://api.edenai.run/v3/audio/speech", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "vertex/chirp",
input: "Hello from Eden AI!",
}),
});
const audio = await response.arrayBuffer();
Questions about Google Cloud Chirp
On Eden AI, Google Cloud Chirp costs 30 $ / 1M caractères for Synthèse vocale. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Google Cloud Chirp is available for: Synthèse vocale. Input: Texte. Output: audio.
Eden AI offers Synthèse vocale from 5 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Synthèse vocale
Other Synthèse vocale models you can call with the same key, cheapest first.
More from Google Cloud
Other Google Cloud models on Eden AI, for every task.