llms.txt Content
# deAPI
> Decentralized AI inference API. One unified REST API for image generation, video generation (from text, image, or audio), video character replacement (animate), video upscaling, audio synthesis, music creation, transcription, OCR, embeddings, and more.
- Base URL: `https://deapi.ai`
- Docs: [docs.deapi.ai](https://docs.deapi.ai)
- Dashboard: [app.deapi.ai/dashboard](https://app.deapi.ai/dashboard)
- Status: [status.deapi.ai](https://status.deapi.ai)
- GitHub: [github.com/deapi-ai](https://github.com/deapi-ai)
## Authentication
All requests require a Bearer token in the `Authorization` header and `Accept: application/json`.
```
Authorization: Bearer YOUR_API_KEY
Accept: application/json
```
Get your API key at [app.deapi.ai/dashboard/api-keys](https://app.deapi.ai/dashboard/api-keys). New accounts receive $5 free credits.
## API Versions
deAPI offers two native API versions plus an OpenAI-compatible gateway:
- **v2 (Latest)** — REST-style resource URLs (`/api/v2/images/generations`, `/api/v2/videos/upscales`). Default for all new integrations. Unified transcription endpoint (`/api/v2/audio/transcriptions`) replaces 5 v1 endpoints. Host: `https://api.deapi.ai`.
- **v1 (Deprecated)** — Task-style URLs (`/api/v1/client/txt2img`, `/api/v1/client/vid-upscale`). Fully supported, no deprecation date. Use v1 only if existing code already integrates against it; new work should target v2. Host: `https://api.deapi.ai`.
- **OpenAI-compatible** — Drop-in surface for the OpenAI SDK on a separate host: `https://oai.deapi.ai/v1`. Same key works as natively (with required prefix `dpn-sk-`). Covers image generation, image edits, TTS, transcription, embeddings, and video generation. See [OpenAI Compatibility](#openai-compatibility).
Authentication, rate limits, models, webhooks, and result delivery are shared between versions. Prompt Enhancement is available both as a v2 unified endpoint (`/api/v2/prompts/enhancements`) and as the