Skip to main content
Hero Light

What is TokenKit?

TokenKit is an applied AI lab focused on agentic image generation. We build agents and tools on top of leading foundation models, helping businesses unlock custom capabilities through tailored solutions while also offering general-purpose API access for developers.

Key Features

  • Agentic Image Generation - Agents and tools built on top of state-of-the-art models for real-world image use cases
  • Simple REST API - Straightforward HTTP requests with JSON responses
  • Asynchronous Processing - All jobs are processed asynchronously with real-time status updates
  • Credit-Based Pricing - Pay only for what you use with transparent, per-request pricing
  • Production Ready - Built for scale with rate limiting, error handling, and comprehensive documentation

Getting Started

Everything you need to start making requests to TokenKit:

Quickstart

Make your first API request in minutes

Authentication

Learn about API keys and securing your requests

Credits & Pricing

Understand the credit system and pricing

Rate Limits

Learn about request limits and how to manage them

API Essentials

Base URL

All API endpoints use the following base URL:
https://api.tokenkit.co/v2

Authentication

Include your API key in the Authorization header with the Bearer scheme:
Authorization: Bearer sk_live_v1_your_key_here

Response Format

All API responses follow a consistent envelope structure:
{
  "data": {
    // Response payload
  },
  "errors": null
}
When errors occur, the response includes error details:
{
  "data": null,
  "errors": [
    {
      "code": "ERROR_CODE",
      "message": "Human-readable error message"
    }
  ]
}