Skip to main content
All endpoints use base URL https://api.deapi.ai and require authentication via Authorization: Bearer <API_KEY> header.
Each generation/analysis endpoint has a corresponding /price-calculation endpoint to estimate costs before execution.

Generation

Create images, videos, audio, and embeddings from text or images.

Analysis

Extract text and transcriptions from images, videos, and audio.

Transformation

Modify existing images and videos.

Utilities

Account management and job status tracking.

Workflow

Typical API usage follows this pattern:
1

Check available models

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

Calculate price (optional)

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

Submit job

Call the main endpoint (e.g., POST /api/v1/client/txt2img) with your parameters. Response contains request_id.
4

Poll for results

Call GET /api/v1/client/request-status/{request_id} until status is done or error.
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.