Skip to main content

Welcome to SundayPyjamas AI Suite

Integrate advanced language models and AI features directly into your applications with our powerful API platform. Built for developers who need reliable, scalable AI solutions.

Core Features

Everything you need to build AI-powered applications.

Code Examples

Ready-to-use implementations in your favorite programming language.

API Reference

Chat API Reference

Complete API reference with request/response schemas, parameters, and examples.

Essential Resources

Quick Example

Get started immediately with this simple example:
const response = await fetch('https://suite.sundaypyjamas.com/api/v1/chat', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer spj_ai_your_api_key_here',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    messages: [
      { role: 'user', content: 'Hello! Write me a professional email greeting.' }
    ]
  })
});
API keys use the format spj_ai_[64-character-string] and can be generated from your workspace settings.