elevenlabs / elevenlabs-js

The official JavaScript (Node) library for ElevenLabs Text to Speech.
https://elevenlabs.io
MIT License
149 stars 15 forks source link

I'm getting this issue: "msg": "Expected UploadFile, received: <class 'str'>", when I use the dubbing API with both local files and Readable.stream. #72

Closed YangVincent closed 1 month ago

YangVincent commented 3 months ago
    const req = {
        file: vidStream,
        target_lang: targetLang,
        watermark: true,
        mode: 'automatic',
        start_time: 0,
        end_time: 30,
    };
    return elevenlabs.dubbing.dubAVideoOrAnAudioFile(req);
dsinghvi commented 1 month ago

@YangVincent this should now be fixed on the latest version