Generative

amazon/generative by Amazon Web Services
Text to SpeechOpenAI-compatible · Sync · Text input · EU hosting
Price from
$30 / 1M characters
Tasks
1
Text to Speech
Regions
Europe
Mode
sync
Input
Text
Output
audio

About Amazon Web Services Generative

Turn text into natural-sounding speech.

Amazon Web Services Generative is an Amazon Web Services 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.

Learn more about Text to Speech APIs on Eden AI

Tasks and prices

Amazon Web Services Generative 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.

Task
Price
Regions
Mode
Docs
Playground
Text to Speechamazon/generative
$30 / 1M characters
sync

Parameters

What you send and what you get back when you call Amazon Web Services Generative 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 Generative with its cheapest alternatives.

Call Amazon Web Services Generative 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/generative",
        "input": "Hello from Eden AI!",
    },
)
with open("speech.mp3", "wb") as f:
    f.write(response.content)

Questions about Amazon Web Services Generative

On Eden AI, Amazon Web Services Generative 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, Amazon Web Services Generative is available for: Text to Speech. Input: Text. Output: audio.

Can I use Amazon Web Services Generative in the EU? Yes. Amazon Web Services Generative is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.

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.

See all Speech models

More from Amazon Web Services

Other Amazon Web Services models on Eden AI, for every task.