awsTranscribe.json•9.06 kB
{
"nodeType": "n8n-nodes-base.awsTranscribe",
"displayName": "AWS Transcribe",
"description": "Sends data to AWS Transcribe",
"version": 1,
"properties": [
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "transcriptionJob",
"options": [
{
"name": "Transcription Job",
"value": "transcriptionJob"
}
]
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "create",
"description": "Create a transcription job",
"options": [
{
"name": "Create",
"value": "create",
"description": "Create a transcription job"
},
{
"name": "Delete",
"value": "delete",
"description": "Delete a transcription job"
},
{
"name": "Get",
"value": "get",
"description": "Get a transcription job"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many transcription jobs"
}
]
},
{
"name": "transcriptionJobName",
"displayName": "Job Name",
"type": "string",
"default": "",
"description": "The name of the job",
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"create",
"get",
"delete"
]
}
}
},
{
"name": "mediaFileUri",
"displayName": "Media File URI",
"type": "string",
"default": "",
"description": "The S3 object location of the input media file",
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"create"
]
}
}
},
{
"name": "detectLanguage",
"displayName": "Detect Language",
"type": "boolean",
"default": false,
"description": "Whether to set this field to true to enable automatic language identification",
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"create"
]
}
}
},
{
"name": "languageCode",
"displayName": "Language",
"type": "options",
"default": "en-US",
"description": "Language used in the input media file",
"options": [
{
"name": "American English",
"value": "en-US"
},
{
"name": "British English",
"value": "en-GB"
},
{
"name": "German",
"value": "de-DE"
},
{
"name": "Indian English",
"value": "en-IN"
},
{
"name": "Irish English",
"value": "en-IE"
},
{
"name": "Russian",
"value": "ru-RU"
},
{
"name": "Spanish",
"value": "es-ES"
}
],
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"create"
],
"detectLanguage": [
false
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Instructs Amazon Transcribe to process each audiochannel separately and then merge the transcription output of each channel into a single transcription. You can't set both Max Speaker Labels and Channel Identification in the same request. If you set both, your request returns a BadRequestException.",
"placeholder": "Add option",
"options": [
{
"name": "channelIdentification",
"displayName": "Channel Identification",
"type": "boolean",
"default": false,
"description": "Instructs Amazon Transcribe to process each audiochannel separately and then merge the transcription output of each channel into a single transcription. You can't set both Max Speaker Labels and Channel Identification in the same request. If you set both, your request returns a BadRequestException."
},
{
"name": "maxAlternatives",
"displayName": "Max Alternatives",
"type": "number",
"default": 2,
"description": "The number of alternative transcriptions that the service should return"
},
{
"name": "maxSpeakerLabels",
"displayName": "Max Speaker Labels",
"type": "number",
"default": 2,
"description": "The maximum number of speakers to identify in the input audio. If there are more speakers in the audio than this number, multiple speakers are identified as a single speaker."
},
{
"name": "vocabularyName",
"displayName": "Vocabulary Name",
"type": "string",
"default": "",
"description": "Name of vocabulary to use when processing the transcription job"
},
{
"name": "vocabularyFilterName",
"displayName": "Vocabulary Filter Name",
"type": "string",
"default": "",
"description": "The name of the vocabulary filter to use when transcribing the audio. The filter that you specify must have the same language code as the transcription job."
}
],
"typeOptions": {
"minValue": 2,
"maxValue": 10
},
"displayOptions": {
"show": {
"operation": [
"create"
]
}
}
},
{
"name": "returnTranscript",
"displayName": "Return Transcript",
"type": "boolean",
"default": true,
"description": "By default, the response only contains metadata about the transcript. Enable this option to retrieve the transcript instead.",
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"get"
]
}
}
},
{
"name": "simple",
"displayName": "Simplify",
"type": "boolean",
"default": true,
"description": "Whether to return a simplified version of the response instead of the raw data",
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"get"
],
"returnTranscript": [
true
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 20,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1
},
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "filters",
"displayName": "Filters",
"type": "collection",
"default": {},
"description": "Return only transcription jobs whose name contains the specified string",
"placeholder": "Add Filter",
"options": [
{
"name": "jobNameContains",
"displayName": "Job Name Contains",
"type": "string",
"default": "",
"description": "Return only transcription jobs whose name contains the specified string"
}
],
"displayOptions": {
"show": {
"resource": [
"transcriptionJob"
],
"operation": [
"getAll"
]
}
}
}
],
"credentialsConfig": [
{
"name": "aws",
"required": true
},
{
"name": "resource",
"required": false
},
{
"name": "operation",
"required": false
},
{
"name": "transcriptionJobName",
"required": false
},
{
"name": "options",
"required": false
},
{
"name": "returnTranscript",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}