resemble-ai / resemble-node Goto Github PK
View Code? Open in Web Editor NEWresemble.ai API SDK
Home Page: https://resemble.ai
License: MIT License
resemble.ai API SDK
Home Page: https://resemble.ai
License: MIT License
I am trying to embed @resemble/node into my pipeline for my mobile app so I can replace my TTS with voice cloned TTS. I notice the docs need updating namely the fact you cannot instantiate the Resemble static object. Would love to help contribute to such an epic project!
Bug submitted by client:
Just had a quick question using the @resemble/node
NPM package.
When I import the package:
import Resemble from "@resemble/node";
const resemble = new Resemble("v2", "SECRET_KEY");
I receive the TypeScript error:
'Resemble' only refers to a type, but is being used as a value here.
Looks like it’s because an interface is being exported rather than a real class from the TypeScript definitions.
Would appreciate any tips on how to resolve? I can forcefully cast resemble
to Version2.API
:
const resemble: Version2.API = new Resemble("v2", "SECRET_KEY");
But there’s still the error at new Resemble
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.