> ## 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.

# RemoteSTTNode

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

## Input

**Type:** `GraphTypes.Audio`

The data type that STTNode accepts as input

## Output

**Type:** `String`

The data type that STTNode outputs

## Examples

```typescript theme={"system"}
// Using provider configuration
const sttNode = new RemoteSTTNode({
id: 'my-stt-node',
sttConfig: { language_code: 'en-US' }
});

// Using existing STT component
const sttNodeWithComponent = new RemoteSTTNode({
id: 'my-stt-node',
sttComponent: existingSTTComponent
});
```

## Constructors

* [constructor](#constructor)

## Interfaces

* [RemoteSTTNodeProps](#remotesttnodeprops)
* [RemoteSTTNodeWithComponentProps](#remotesttnodewithcomponentprops)

***

## Constructors

### constructor

```typescript theme={"system"}
new RemoteSTTNode(props?: RemoteSTTNodeProps | RemoteSTTNodeWithComponentProps): RemoteSTTNode
```

Creates a new RemoteSTTNode instance.

#### Parameters

<ParamField body="props" type="RemoteSTTNodeProps | RemoteSTTNodeWithComponentProps">
  Configuration for the STT node.
</ParamField>

#### Returns

`RemoteSTTNode`

## Interfaces

### RemoteSTTNodeProps

Configuration for `RemoteSTTNode` using STT provider settings.

#### Properties

**sttConfig**: `{ languageCode?: string; }`

STT configuration object

### RemoteSTTNodeWithComponentProps

Configuration for `RemoteSTTNode` using an existing STT component.

#### Properties

**sttComponent**: `RemoteSTTComponent`

Existing STT component to use
