OpenAI · Audio & Music

Hermes Agent x OpenAI TTS

OpenAI TTS provides focused text-to-speech models for interactive playback and polished narration. Through RunAPI, both variants share one request shape and return managed audio metadata.

2 variants from $0.02 / 1K UTF-8 bytes Commercial OK

Prerequisite: npx runapi mcp install

Prompt

Prompt models

Use tts-1 when it matches the task: Low-latency speech synthesis for interactive applications.

You have access to RunAPI task tools for OpenAI TTS.

Available OpenAI TTS models:
- tts-1: Low-latency speech synthesis for interactive applications
  endpoints: /api/v1/openai_tts/text_to_speech
  request fields: model, text
- tts-1-hd: Higher-quality speech synthesis for polished narration
  endpoints: /api/v1/openai_tts/text_to_speech
  request fields: model, text

Use the model ID and endpoint that match the user's request.
Example prompt: Convert this product onboarding script into clear, natural speech for an in-app walkthrough.
/api/v1/openai_tts/text_to_speech: Submit the request and verify the synchronous output. POST /api/v1/openai_tts/text_to_speech. Verify the synchronous response matches the endpoint API reference.

Public Versions and Endpoints

Model ID Endpoints Price Catalog
tts-1
/api/v1/openai_tts/text_to_speech
$0.02 / 1K UTF-8 bytes Model detail
tts-1-hd
/api/v1/openai_tts/text_to_speech
$0.03 / 1K UTF-8 bytes Model detail

Verify

Poll until the task reaches a terminal status

Select <model-id> to generate verification commands.

Configuration

Guide endpoint: <endpoint>

Select <model-id> to generate a request with the endpoint's public input contract.
How it works

Get Started in 3 Steps

  1. Choose a model ID

    Select a public catalog model ID and review its endpoint and current starting price.

  2. Configure RunAPI

    Set RUNAPI_API_KEY before making the endpoint request.

  3. Verify the result

    For asynchronous endpoints, poll the same endpoint until the Task reaches a terminal status.

What to Build with Hermes Agent + OpenAI TTS

  • Voiceover and narration

    Turn scripts into spoken audio for videos, courses, and product demos with models that generate speech.

  • Music and soundtracks

    Create background tracks and jingles from a description of genre, mood, and tempo with models that generate music.

  • Transcription and audio processing

    Transcribe recordings or clean up and transform existing audio with models that accept audio input.

Why Use OpenAI TTS Through RunAPI + Hermes Agent

  • 2 variants, one API key

    Use one RunAPI connection to choose among the live model variants without changing your integration.

  • Clear usage pricing

    See current catalog pricing before you send a request, with no subscription or minimum spend required.

  • Direct responses

    Synchronous calls return the result in the same response, so your agent can use it immediately without task polling.

Hermes Agent + OpenAI TTS Questions

What is the difference between tts-1 and tts-1-hd?

tts-1 prioritizes low latency for interactive playback, while tts-1-hd prioritizes higher audio quality for narration and finished content.

What audio format does OpenAI TTS return?

Both variants return MP3 audio with format, MIME type, and byte-size metadata in the RunAPI response.

Is the generated audio hosted by RunAPI?

Yes. RunAPI validates the audio and returns a managed URL instead of exposing a temporary source URL.

Can I select a custom voice or speed?

The initial endpoint uses the published default voice and speed. Custom voice and speed controls are not part of this endpoint contract.

Is text-to-speech synchronous?

Yes. A successful request returns the completed audio result directly, without a separate polling endpoint.

Which model ID should I use?

Choose a public model ID from the version table. Each ID exposes the endpoints shown for that version.

Does this guide configure a chat model?

No. This Model Line uses the endpoint workflow shown here and is not presented as an agent chat model.

Start using OpenAI TTS with Hermes Agent

Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

Contact Us