Install the Weights SDK
Install the Weights SDK using npm:Initialize the client
Get your API key
If you don’t have an API key yet, sign up at weights.com to get started.Ready to explore?
Choose an example to learn how to use the Weights API:Image Generation
Create stunning AI-generated images from text prompts.
Video Generation
Transform static images into dynamic video content.
LoRA Training
Train custom AI models on your own images.
Voice Models & Covers
Create AI voice models and generate voice covers.
Song Generation
Transform lyrics into complete musical compositions.