Puter.js API Layer

This server acts as an API layer between puterjs AI services and your frontend.

Getting Started

  1. First, visit the Auth Page to get your token
  2. Use the token to make API calls to puterjs AI services
  3. 📚 Interactive API Docs

Available Endpoints

AI Services

Cloud Storage

Hosting

Key-Value Store

Networking

Serverless Workers

Apps Management

Authentication & System

Example Usage

// Chat with AI
POST /api/chat
{
    "message": "Hello, how are you?",
    "model": "gpt-4.1-nano"
}

// Generate image
POST /api/generate-image
{
    "prompt": "A beautiful sunset over mountains"
}