TypeScript SDK
@picsart/ai-sdk gives Node.js and TypeScript applications type-safe access to the same 174 models available in the CLI and MCP server. 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 | Same 174 models as CLI and MCP |
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.