Generates audio from the input text.
Request body which must comply to the following JSON Schema:
{ "required" : [ "input", "model", "voice" ], "type" : "object", "properties" : { "model" : { "description" : "One of the available [TTS models](/docs/models/tts): `tts-1` or `tts-1-hd`\n", "anyOf" : [ { "type" : "string" }, { "type" : "string", "enum" : [ "tts-1", "tts-1-hd" ] } ], "x-oaiTypeLabel" : "string" }, "input" : { "maxLength" : 4096, "type" : "string", "description" : "The text to generate audio for. The maximum length is 4096 characters." }, "voice" : { "type" : "string", "description" : "The voice to use when generating the audio. Supported voices are `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer`. Previews of the voices are available in the [Text to speech guide](/docs/guides/text-to-speech/voice-options).", "enum" : [ "alloy", "echo", "fable", "onyx", "nova", "shimmer" ] }, "response_format" : { "type" : "string", "description" : "The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav`, and `pcm`.", "default" : "mp3", "enum" : [ "mp3", "opus", "aac", "flac", "wav", "pcm" ] }, "speed" : { "maximum" : 4.0, "minimum" : 0.25, "type" : "number", "description" : "The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.", "default" : 1.0 } }, "additionalProperties" : false }
Specify how the response should be mapped to the table output. The following formats are available:
Raw Response: Returns the raw response in a single row with the following columns:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension OpenAI Nodes from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.