allanbunch / node-red-openai-api

Build low-code, advanced AI applications and workflows using **any** OpenAI API-compatible framework.
https://www.npmjs.com/package/@inductiv/node-red-openai-api
MIT License
27 stars 4 forks source link

createSpeech returning erroneous content type #13

Closed allanbunch closed 5 months ago

allanbunch commented 5 months ago

Discussed in https://github.com/allanbunch/node-red-openai-api/discussions/12

Originally posted by **knuppe** February 1, 2024 How does the `createSpeech` component work? I couldn't make it save an MP3 file; from what I've noticed, the output of the node is a string. When I try to save it as an MP3, the file becomes corrupted.
allanbunch commented 5 months ago

Fixed in version 0.4.0.