AirCubeAirCube

Documentation

Learn how to use AirCube — one unified REST API to run 87+ AI models for images, video, audio, and more.

Welcome to the AirCube documentation. AirCube gives developers a single REST API to run state-of-the-art AI models for image generation, video creation, audio synthesis, and face swapping — with no SDK required.

What you can build

  • Image generation — generate and edit images with models like Seedream, Flux, GPT Image, and more.
  • Video generation — create videos from text or images using Kling, Seedance, Veo, and Sora.
  • Audio generation — synthesize speech and music with ElevenLabs, Qwen3 TTS, and MiniMax Music.
  • Face swap — swap faces in images and videos with a two-step detect + swap workflow.

Quick example

Submit a generation request, then poll for the result:

Submit a text-to-image request
curl -X POST https://aircube.ai/api/v3/seedream-v5.0-pro/text-to-image \
  -H "Authorization: Bearer $AIRCUBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a cinematic photo of a blue geometric cube, studio lighting",
    "aspect_ratio": "16:9"
  }'
Response (202 Accepted)
{
  "success": true,
  "data": {
    "id": "gen_abc123def456",
    "status": "processing",
    "model": "Seedream 5.0 Pro",
    "type": "image",
    "output_url": null,
    "created_at": "2025-01-15T12:00:00.000Z"
  }
}
Poll for the result
curl https://aircube.ai/api/v3/status/gen_abc123def456 \
  -H "Authorization: Bearer $AIRCUBE_API_KEY"

Next steps

On this page