TypeScript SDK
@picsart/ai-sdk gives Node.js and TypeScript applications type-safe access to AI models. This reference uses the SDK 6.29.0 catalog baseline of 222 models. Model availability depends on the installed SDK or server version. If you are building a product rather than running scripts or working inside an AI agent, this is the right surface.
Full documentation, install instructions, and code examples live on the API platform:
picsart.com/api-platform/docs/sdk
Quick reference
| Install | npm install @picsart/ai-sdk |
| Node.js | 20+ required, ESM-only |
| Auth | API key from picsart.com/settings — not the CLI's OAuth |
| Models | 222 models in the SDK 6.29.0 catalog |
See Authentication for the difference between API key (SDK/REST) and OAuth (CLI/MCP). See Which tool is right for me? to compare all interfaces.
Version updates
See Updating to SDK 6.29.0 for the latest catalog changes.
See Updating to SDK 6.2.3 for model additions, result metadata changes, and Seedance output compatibility.