Documentation
Learn how to use AirCube — one unified API to run 30+ AI models for images, video, audio, and more.
Welcome to the AirCube documentation. AirCube gives developers a single, type-safe API to run state-of-the-art AI models — and gives creators in-browser tools to generate media without writing code.
What you can build
- Unified inference API — call image, video, audio, and language models through one consistent interface.
- Pay-as-you-go — no subscriptions or minimums; you're billed per generation at each model's listed rate.
- Creator tools — generate and iterate on media directly in the browser.
Next steps
Head to Getting Started for an overview, or explore the full model catalog and pricing.
# Install the AirCube SDK
npm install @aircube/sdkimport { AirCube } from "@aircube/sdk";
const client = new AirCube({ apiKey: process.env.AIRCUBE_API_KEY });
const result = await client.run("flux-2-klein", {
prompt: "a cinematic photo of a blue geometric cube, studio lighting",
});