Skip to main content
All endpoints use base URL https://api.deapi.ai and require authentication via Authorization: Bearer <API_KEY> header.
Each POST endpoint has a corresponding /price endpoint to estimate costs before execution.
OpenAI SDK users: deAPI also exposes an OpenAI-compatible surface at https://oai.deapi.ai/v1 for image generation, TTS, transcription, embeddings, and video. See OpenAI Compatibility for a drop-in migration guide.

Images

Videos

Audio

Embeddings

Prompt Enhancement

AI-powered prompt boosters. In v2 all boosters use a single unified endpoint — select the booster with the type field (dot notation) and the target model via model_slug.

Utilities

Workflow

Typical API usage follows this pattern:
1

Check available models

Call GET /api/v2/models to get current models and their parameters.
2

Calculate price (optional)

Call the /price endpoint with your parameters to estimate cost.
3

Submit job

Call the main endpoint (e.g., POST /api/v2/images/generations). Response contains request_id.
4

Poll or receive via webhook

Call GET /api/v2/jobs/{request_id} or use webhooks / WebSockets for push updates.
5

Download result

When status is done, use result_url to download your generated content.

Response Formats

Response structure varies by endpoint. See individual endpoint documentation for exact schemas.
See Errors for detailed error handling documentation.