Skip to main content
deAPI is a high-performance inference platform built specifically for developers seeking a fast, reliable, and simple way to integrate cutting-edge AI capabilities into their applications. This guide will help you quickly set up your account, obtain your API key, load credits, and begin using our API.

1. Sign In to Your Account

Create your free account at deapi.ai to get started. All new users receive a $5 sign-up bonus with a Basic account — no credit card required.

2. Obtain Your API Key

deAPI uses token-based authentication. Every request must include your personal API key, provided via an HTTP header:
To get your API key:
  • Sign up or log in to your account.
  • Navigate to Dashboard → Settings → API Keys.
  • Click “Create new secret key”.
  • Your API key will be generated instantly.
Each key has a role (ADMIN or API) and can carry an expiration date, a spend limit and an IP allowlist — see API Keys.

3. Load Credits to Your Account

deAPI operates on a pay-as-you-go model. Your $5 bonus is available immediately upon registration for testing with Basic rate limits. To upgrade to Premium, simply top up your account with any available amount ($10, $25, or $50) via Stripe. Your remaining bonus balance carries over after upgrade. Premium limits are configured per endpoint and model; some models have the same RPM on Basic and Premium, and daily limits may apply. To add funds, go to your Dashboard → Billing section.
For detailed rate limits per endpoint, see Limits & Quotas.

4. Start Using the API

Once your API key is activated and your account has sufficient credits, you can start making requests to deAPI immediately.
Already using the OpenAI SDK? deAPI provides a drop-in OpenAI-compatible endpoint. Set base_url to https://oai.deapi.ai/v1 and use your deAPI key — no code changes required for image generation, TTS, transcription, embeddings, and video. See OpenAI Compatibility.
Available Services (v2):
  • Image Generation — POST /api/v2/images/generations — Generate images from text prompts using AI diffusion models.
  • Image Edit — POST /api/v2/images/edits — Transform existing images with text prompts.
  • Image OCR — POST /api/v2/images/ocr — Extract text from images.
  • Image Background Removal — POST /api/v2/images/background-removals — Transparent PNG output.
  • Image Upscale — POST /api/v2/images/upscales — AI super-resolution for images.
  • Video Generation — POST /api/v2/videos/generations — Generate videos from text prompts.
  • Video Animation (Image-to-Video) — POST /api/v2/videos/animations — Animate still images.
  • Video Audio Sync — POST /api/v2/videos/audio-syncs — Generate video from audio + prompt.
  • Video Replacement — POST /api/v2/videos/replacements — Swap characters in videos (new model coming soon).
  • Video Upscale — POST /api/v2/videos/upscales — AI super-resolution for videos.
  • Text-to-Speech — POST /api/v2/audio/speech — Preset voices, voice cloning, voice design.
  • Text-to-Music — POST /api/v2/audio/music — Tracks with lyrics, tempo, key, style control.
  • Transcription — POST /api/v2/audio/transcriptions — Unified audio + video (YouTube, X, Twitch, Kick, TikTok, X/Twitter Spaces, file uploads). TikTok requires WhisperLargeV3Ct2.
  • Text-to-Embedding — POST /api/v2/embeddings — Vector embeddings for semantic search and RAG.
  • Prompt Enhancement — POST /api/v2/prompts/enhancements — AI-powered prompt boosters.

deAPI is actively evolving — new AI services, models, and features will be added regularly to expand what’s possible with our platform. Stay up to date by following our announcements.