---
title: "TTS OpenAI Http"
slug: "dataflow-nodes-tts-openai-http"
updated: 2026-02-09T05:48:35Z
published: 2026-02-09T05:48:35Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.knovvu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TTS OpenAI Http

OpenAI Text To Speech Integration Node

## Parameters

| name | description | default |
| --- | --- | --- |
| Credential | API Key Credential for the OpenAI TTS service | empty |
| OpenAI Model | OpenAI Model For TTS | gpt-4o-mini-tts |
| OpenAI Voice Name | The name of the voice | alloy |
| OpenAI TTS Instructions | Specific instructions for OpenAI TTS, can be detailed for more specialization | Speak in a cheerful and positive tone. |
| OpenAI TTS Speed | Speed of the TTS Voice | 1.0 |

## Inputs

### Audio

none

### Events

| name | description | known nodes that generate this event |
| --- | --- | --- |
| Every Event that Contains the `Data.Text` field | A TTS Synthesis audio can be generated from any event that is text based. Users can also generate their custom event that has `Data.Text` and send it through the [Entry](/v1/docs/dataflow-nodes-entry), or [External Relay](/v1/docs/dataflow-nodes-external-relay) nodes. | [SR Http](/v1/docs/dataflow-nodes-speech-recognition-sr-http), [SR WebSocket](/v1/docs/dataflow-nodes-speech-recognition-sr-websocket), [Translate](/v1/docs/dataflow-nodes-translate) |

## Outputs

### Audio

Synthesized speech is sent to output in PCM16 Format With a Wave header.

### Events

| name | description |
| --- | --- |
| [Start of TTS Fragment](/v1/docs/events#start-of-tts-fragment) | This event is sent just before a TTS operation writes the result to Audio output. Contains the Text that was used for the synthesis under the `Data.Text` field. |
| [End of TTS Fragment](/v1/docs/events#end-of-tts-fragment) | This event is send just after a TTS operation has finished writing to Audio output. |

## Remarks

### Requirements

The node needs an OpenAI Api key to perform. To learn more about getting an API Key and finding it, you can refer to the [OpenAI Api page](https://openai.com/api/).

After getting your API Key, you can learn about finding and securely using your key following the instructions on [this page](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key).

You can also see which models are available through the [OpenAI Models](https://platform.openai.com/docs/guides/text-to-speech#text-to-speech-models) page.

The list of available voices can be found [here](https://platform.openai.com/docs/guides/text-to-speech#voice-options)

### Custom TTS Event

A sample tts-request event would look as follows.

```
{
    "Event": {
        "Name": "Custom TTS Event",
        "Data" : {
            "Text": "hello world"
        }
    }
}
```

`Data.Text`: The text that will be synthesized.

Sending Custom Events to Projects

To learn more about sending `Events` to projects, you can check the [HTTP](/v1/docs/dataflow-integrations-http) and [External Relay](/v1/docs/dataflow-nodes-external-relay) pages.

### Project Structure

The project structures defined in [TTS Http](/v1/docs/dataflow-nodes-tts-http) page all apply to this node as well.

### Supported flow types

Stream, Batch

## Release Notes

 
    

****v4.2.0****

      
          

- Deprecated the "Key" field in node config;
- Added encrypted "Credential" dropdown for safer credential management.

    

****v3.7.0****

        
        

- Introduced node.
