abstrakt
Models
Featured
Sora 2 Pro
Featured

Sora 2 Pro

OpenAI's most advanced video generation model with photorealistic output and complex scene understanding.

Veo 3.1
New

Veo 3.1

Google DeepMind's flagship video model with exceptional motion consistency and cinematic quality.

Kling 2.6
Popular

Kling 2.6

Latest Kling model with enhanced character consistency, longer duration support, and improved physics.

Active

100+ AI Models

Access the best AI models from multiple providers through one unified API. Switch models without changing code.

Browse all models
Tools
Featured
AI Image Generator
Popular

AI Image Generator

Create stunning images from text descriptions using FLUX, Stable Diffusion, and more.

Text to Video
New

Text to Video

Transform your ideas into cinematic AI videos with Sora, Veo, and Kling models.

Text to Speech

Text to Speech

Convert text to natural-sounding speech with 30+ voices and emotional expression.

Active

20+ AI Tools

Ready-to-use tools for image, video, and audio generation. No code required — just upload and create.

Explore all tools
Tutorials
Featured
Build Your First AI App
Start Here

Build Your First AI App

Your first AI generation in 5 minutes. Set up your API key and create your first image.

Text-to-Image Masterclass

Text-to-Image Masterclass

Master prompting techniques, model selection, and advanced settings for stunning results.

Text-to-Video Fundamentals

Text-to-Video Fundamentals

Learn to create cinematic AI videos with proper motion, pacing, and storytelling.

Active

Learn AI Generation

Step-by-step guides to master AI image, video, and audio creation. From beginner to advanced.

View all tutorials
Sandbox
Docs
Docs Online

Getting Started

  • Introduction
  • Quick Start
  • Authentication

API Reference

  • Jobs
  • Models
  • Webhooks

Guides

  • Image Generation
  • Video Generation
  • Audio & TTS

Resources

  • Error Codes
  • Rate Limits
Docs/Error Codes

Error Codes

Understanding and handling API errors.

Error Response Format

All errors follow a consistent JSON format:

{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {} // Optional additional information
  }
}

HTTP Status Codes

StatusDescription
200Success
201Created successfully
400Bad request - Invalid parameters
401Unauthorized - Invalid or missing API key
403Forbidden - Insufficient permissions
404Not found - Resource doesn't exist
429Rate limited - Too many requests
500Internal server error
503Service unavailable - Temporary outage

Error Codes

UNAUTHORIZED

The API key is missing, invalid, or revoked.

Solution: Check your API key and ensure it's correctly included in the Authorization header.

FORBIDDEN

The API key doesn't have permission for this action.

Solution: Check the key's permissions in your dashboard.

RATE_LIMITED

Too many requests in a short period.

Solution: Implement exponential backoff and respect rate limits.

QUOTA_EXCEEDED

You've exceeded your credit quota.

Solution: Purchase more credits or upgrade your plan.

INVALID_INPUT

The request body contains invalid parameters.

Solution: Check the model's input schema and validate your parameters.

MODEL_NOT_FOUND

The specified model doesn't exist.

Solution: Check the model ID and browse available models.

JOB_NOT_FOUND

The specified job doesn't exist or has expired.

Solution: Job results are retained for 24 hours. Check the job ID.

MODEL_UNAVAILABLE

The model is temporarily unavailable.

Solution: Try again later or use an alternative model.

INFERENCE_FAILED

The model failed to process the request.

Solution: Check your input parameters. Some prompts may be rejected by content filters.

TIMEOUT

The request timed out.

Solution: Use async mode for long-running jobs.

Handling Errors

Always implement proper error handling in your code:

try {
  const result = await abstrakt.run('flux-schnell', {
    prompt: 'Hello world'
  });
} catch (error) {
  if (error.code === 'RATE_LIMITED') {
    // Wait and retry with exponential backoff
    await sleep(error.retryAfter * 1000);
    // Retry the request...
  } else if (error.code === 'QUOTA_EXCEEDED') {
    // Notify user to add credits
  } else if (error.code === 'INVALID_INPUT') {
    // Fix the input parameters
    console.error('Invalid input:', error.details);
  } else {
    // Handle other errors
    console.error('API error:', error.message);
  }
}

On this page

abstrakt
abstrakt

The unified abstraction layer for the next generation of AI applications. Build faster with any model.

Start Here+
  • Quickstart
  • Get API Key
  • Try Playground
  • View Pricing
Image Tools+
  • AI Image Generator
  • Image to Image
  • Remove Background
  • Image Upscaler
  • Object Remover
  • Style Transfer
  • Image Enhancer
  • AI Art Generator
Video Tools+
  • Text to Video
  • Image to Video
  • AI Video Generator
  • Video Upscaler
  • Video Enhancer
  • Frame Interpolation
Audio Tools+
  • Text to Speech
  • Speech to Text
  • AI Music Generator
  • Voice Cloning
  • Audio Enhancer
  • Sound Effects
Tutorials+
  • Getting Started
  • Image Generation
  • Video Generation
  • Audio Generation
  • Advanced Topics
  • AI Glossary
  • All Tutorials
Models+
  • FLUX Schnell
  • FLUX Dev
  • Fast SDXL
  • Stable Diffusion 3
  • MiniMax Video
  • Kling AI
  • Ideogram
  • More Models
Company+
  • About Us
  • Pricing
  • Documentation
  • Tutorials
  • Blog
  • Contact
  • Changelog
  • Status
  • Careers
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

Image Tools

  • AI Image Generator
  • Image to Image
  • Remove Background
  • Image Upscaler
  • Object Remover
  • Style Transfer
  • Image Enhancer
  • AI Art Generator

Video Tools

  • Text to Video
  • Image to Video
  • AI Video Generator
  • Video Upscaler
  • Video Enhancer
  • Frame Interpolation

Audio Tools

  • Text to Speech
  • Speech to Text
  • AI Music Generator
  • Voice Cloning
  • Audio Enhancer
  • Sound Effects

Tutorials

  • Getting Started
  • Image Generation
  • Video Generation
  • Audio Generation
  • Advanced Topics
  • AI Glossary
  • All Tutorials

Start Here

  • Quickstart
  • Get API Key
  • Try Playground
  • View Pricing

Models

  • FLUX Schnell
  • FLUX Dev
  • Fast SDXL
  • Stable Diffusion 3
  • MiniMax Video
  • Kling AI
  • Ideogram
  • More Models

Company

  • About Us
  • Pricing
  • Documentation
  • Tutorials
  • Blog
  • Contact
  • Changelog
  • Status
  • Careers
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
abstrakt

The unified abstraction layer for the next generation of AI applications.

© 2026 abstrakt. All rights reserved.

SYS.ONLINE|API.ACTIVE|v1.2.0