API Reference
The AIDeepIn open API (/ext/v1) lets you use the platform's AI capabilities from your own programs: character chat, knowledge base Q&A, draw tasks, MCP service lists and workflow runs. Everything is self-service — generate an API key in the UI and start calling, no approval needed.
Endpoint Overview
| Capability | Endpoint | Method | Key type |
|---|---|---|---|
| Character chat | /ext/v1/character | POST | Resource-level (bound to a character) |
| Knowledge base Q&A | /ext/v1/knowledge | POST | Resource-level (bound to a base) |
| Create draw task | /ext/v1/draw/generation | POST | User-level |
| Get draw task | /ext/v1/draw/{uuid} | GET | User-level |
| Supported MCP services | /ext/v1/mcp/supported | GET | User-level |
| Active MCP services | /ext/v1/mcp/active | GET | User-level |
| Run workflow | /ext/v1/workflow/run | POST | Resource-level (bound to a workflow) |
Quick Example
bash
curl -N -X POST "http://<host>:9999/ext/v1/character" \
-H "Authorization: <your API key>" \
-H "Content-Type: application/json" \
-d '{"query": "Hi, introduce yourself", "response_mode": "streaming"}'Start with API Keys & Authentication.
Endpoints
- API Keys & Authentication: the two key types, how to get them, auth header and errors
- Character Chat: chat as a character (streaming / blocking)
- Knowledge Base Q&A: ask a knowledge base
- Draw Tasks: create and query text-to-image tasks
- MCP Services: fetch the service list
- Workflow: trigger a workflow run
The full machine-readable server API is available at Swagger UI (
/swagger-ui.html; disabled in production by default).
Previous: Admin Console · Next: API Keys & Authentication