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

# RemoteTTSNode

> Remote TTS (Text-to-Speech) node for audio synthesis. You can either use a pre-configured TTS component that could be reused across multiple nodes or provide synthesis configuration, and the node will create a new component for you.

## Input

**Type:** `String` | `TextStream` | [TTSRequest](/node/runtime-reference/classes/common_data_types_api_tts_request.TTSRequest)

The data type that TTSNode accepts as input. See `TextStream` and [TTSRequest](/node/runtime-reference/classes/common_data_types_api_tts_request.TTSRequest) for more details.

## Output

**Type:** `GraphTypes.TTSOutputStream`

The data type that TTSNode outputs

## Examples

```typescript theme={"system"}
// Using provider configuration
const ttsNode = new RemoteTTSNode({
modelId: 'inworld-voice-v1',
temperature: 1.0,
speakingRate: 1.1,
sampleRate: 22050
});

// Using existing TTS component
const ttsNodeWithComponent = new RemoteTTSNode({
ttsComponent: existingTTSComponent
});
```

## Constructors

* [constructor](#constructor)

## Interfaces

* [RemoteTTSNodeProps](#remotettsnodeprops)

***

## Constructors

### constructor

```typescript theme={"system"}
new RemoteTTSNode(props?: RemoteTTSNodeProps): RemoteTTSNode
```

Creates a new RemoteTTSNode instance.

#### Parameters

<ParamField body="props" type="RemoteTTSNodeProps">
  Configuration for the TTS node.
</ParamField>

#### Returns

`RemoteTTSNode`

## Interfaces

### RemoteTTSNodeProps

Configuration for `RemoteTTSNode` using provider settings.

#### Properties

**speakerId**?: `string`

Voice configuration for synthesis

**languageCode**?: `string`

Voice configuration for synthesis

**modelId**?: `string`

Voice configuration for synthesis

**temperature**?: `number`

Voice configuration for synthesis

**speakingRate**?: `number`

Voice configuration for synthesis

**sampleRate**?: `number`

Voice configuration for synthesis

**ttsComponent**?: `AbstractComponent | RemoteTTSComponent`

Voice configuration for synthesis
