
Chirp
About Google Cloud Chirp
Turn text into natural-sounding speech.
Google Cloud Chirp is a Google Cloud model available on Eden AI through its OpenAI-compatible API, from $30 / 1M characters. Call it with the same API key as every other Eden AI model by sending its model ID to the /v3/audio/speech endpoint, or through any OpenAI SDK, with processing in Europe.
Tasks and prices
Google Cloud Chirp is available on Eden AI for 1 tasks. It is served through Eden AI's OpenAI-compatible API: send its model ID to the /v3/audio/speech endpoint with your Eden AI API key.
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.
Input
- model (required): text. The model ID, as provider/model.
- input (required): text. The text to speak.
- voice: text. The voice to use.
Response
- audio
Estimate your monthly cost
Enter your monthly volume for Text to Speech to compare Google Cloud Chirp with its cheapest alternatives.
Call Google Cloud Chirp with Eden AI
Send the model ID to the OpenAI-compatible /v3/audio/speech endpoint. Any OpenAI SDK works too: set its base URL to 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 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 Chirp is available for: Text to Speech. Input: Text. Output: audio.
Eden AI offers Text to Speech from 5 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)



