Quick Start

Overview

Start building with the PixAI API in four steps. Get an API key, make your first request, learn the limits, then follow complete examples.

The PixAI API generates anime-style images and videos with the models behind pixai.art. Every generation runs as a task: you create it, poll it until it finishes, and download the result.

Steps

  1. How can I use PixAI API?: get an API key.
  2. Your First API Call: create an image, wait for it, and download it, with cURL and a Python script.
  3. Limits: how often to poll and how many tasks can wait at once.
  4. Examples: complete scripts in cURL, Python and JavaScript for common tasks:

When you need every parameter, see the API v2 reference. You manage your keys under My API Keys on pixai.art.

On this page