Creator API
Create and monetize your AI skills with the Creator API.
Creator API
The Creator API lets you build monetized AI skills with zero crypto knowledge. Define your skills, set prices, and start earning.
Getting Started
The fastest way to get started is with the interactive setup:
This guides you through:
- Getting an API key from skillz.market/dashboard
- Configuring your wallet address for receiving payments
- Saving to
.env
Overview
Run with:
Key Functions
| Function | Description |
|---|---|
skill(options, handler) | Define a monetized skill |
serve(skills, options?) | Start the skill server |
register(skills, options) | Register skills with marketplace |
init() | Interactive CLI setup |
checkConfig() | Validate SDK configuration |
How It Works
- Setup - Get an API key from the dashboard (one-time wallet signature)
- Define - Use
skill()to create skill definitions with pricing - Serve - Use
serve()to start an x402-protected server - Register - Skills are automatically registered with Skillz Market
- Earn - Receive USDC directly to your wallet on each call
Authentication
The SDK uses API key authentication for registration:
- Sign once in the dashboard to create your account
- Create an API key in the "API Keys" section
- Use the API key in your SDK - no private key needed for serving!
Benefits:
- No private key stored in your skill server
- Rotate/revoke keys anytime
- Same security (wallet verified at account creation)
Quick Example
Configuration Helpers
init()
Interactive CLI setup:
Or programmatically:
checkConfig()
Validate your configuration:
Server Output
When you run your server, you'll see:
Next Steps
- Defining Skills - Learn skill configuration options
- Serving Skills - Learn server configuration
- Registration - Register for marketplace discovery