Skip to content

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

Installnpm install @picsart/ai-sdk
Node.js20+ required, ESM-only
AuthAPI key from picsart.com/settings — not the CLI's OAuth
ModelsSame 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.

Built on @picsart/ai-sdk · gen-ai CLI · Picsart MCP · Skills