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), audio synthesis, music creation, transcription, OCR, embeddings, and more.
- Base URL: `https://api.deapi.ai`
- Docs: [docs.deapi.ai](https://docs.deapi.ai)
- Dashboard: [deapi.ai/dashboard](https://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 [deapi.ai/dashboard/api-keys](https://deapi.ai/dashboard/api-keys). New accounts receive $5 free credits.
## Dynamic Model Discovery
**Never hardcode model names.** Use the models endpoint to discover available models at runtime.
### GET /api/v1/client/models
Returns all available models. Filter by inference type to get models for a specific task.
Query parameters:
- `filter[inference_types]` — Comma-separated list of inference types to filter by. Values: `txt2img`, `img2txt`, `txt2audio`, `aud2txt`, `vid2txt`, `audiofile2txt`, `videofile2txt`, `transcribe`, `txt2video`, `img2video`, `aud2video`, `img2img`, `img_upscale`, `img_rmbg`, `txt2embedding`, `txt2music`, `videos_replace`. Example: `filter[inference_types]=txt2img,img2img`
- `per_page` — Number of models per page (default: 25)
- `page` — Page number for pagination
The response is paginated with `data`, `links`, and `meta` fields. Each model in `data` has this schema:
```json
{
"name": "FLUX.1 Schnell 12B NF4",
"slug": "Flux1schnell",
"inference_types": ["txt2img"],
"info": {
"limits": {
"min_width": 256, "max_width": 2048,
"min_height": 256, "max_height": 2048,
"min_steps": 1, "max_steps": 10,
"resolution_step": 128
},
"features": {
"supports_step