Discussions
Clone Voice API
8 months ago by js.tew
const sdk = require('api')('@d-id/v4.2.0#eyr73blt779zd2');
sdk.auth(Basic ${didToken}
);
console.log('didtoe',didToken)
const { data } = await sdk.cloneVoice({ file: filePath });
console.log(data);
Hi, may i know is the sdk.auth('Basic username:password") must be using username and password that login in the d-id website?
or api key is allowed? (I have tried use api key and i get error 401: Unauthorized)
Thank you