Common Endpoints
These are the endpoints most often used by regular users and developers.
Model list
text
GET /v1/modelsPurpose: fetch the list of models currently available to your account.
bash
curl https://api.dli.li/v1/models \
-H "Authorization: Bearer sk-your-api-key"Chat completions
text
POST /v1/chat/completionsPurpose: the most common conversational generation endpoint.
Responses API
text
POST /v1/responsesPurpose: the newer native OpenAI response interface.
Embeddings
text
POST /v1/embeddingsPurpose: turn text into vectors for retrieval, RAG, or similarity workflows.
Image generation
text
POST /v1/images/generationsPurpose: generate images from prompts.
Notes
This documentation prioritizes the AI model access guidance and endpoints most useful to general users.
Additional notes:
- Use the main site
https://dli.lifor login, payment, and account linking. - For pure API traffic, you can start with the official default API
https://api.dli.li/v1; if you want the official backup API directly, usehttps://api.dlizz.com/v1. - If a Claude-family client wants to use
/messages, confirm that the current model actually supports it first.
