Step 1: Sign Up & get the API Key
- Visit waves.smallest.ai and sign up for an account or log in if you already have an account.
- Navigate to
API Key
tab in your account dashboard. - Create a new API Key and copy it.
- Export the API Key in your environment with the name
SMALLEST_API_KEY
, ensuring that your application can access it securely for authentication.
Step 2: Install the SDK
To install the latest version availableStep 3: Make Your First API Call
Here is a basic example of how to use the Python SDK to convert text to speech:If you are using a
voice_id
corresponding to a voice clone, you should explicitly set the model
parameter to "lightning-large"
in the Smallest
client or payload.YOUR_API_KEY
with the API key you obtained in Step 2.
Step 4: Explore More Features
- Voice Cloning: Create custom voice profiles by uploading voice samples.
- Advanced Configurations: Customize speech synthesis with different voices, speeds, and sample rates.