
Long Form
About Amazon Web Services Long Form
Turn text into natural-sounding speech.
Amazon Web Services Long Form is an Amazon Web Services model available on Eden AI through its OpenAI-compatible API, from $100 / 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
Amazon Web Services Long Form 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 Amazon Web Services Long Form 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 Amazon Web Services Long Form with its cheapest alternatives.
Call Amazon Web Services Long Form 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": "amazon/long-form",
"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": "amazon/long-form", "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: "amazon/long-form",
input: "Hello from Eden AI!",
}),
});
const audio = await response.arrayBuffer();
Questions about Amazon Web Services Long Form
On Eden AI, Amazon Web Services Long Form costs $100 / 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, Amazon Web Services Long Form 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 Amazon Web Services
Other Amazon Web Services models on Eden AI, for every task.

.avif)




