Skip to main content

Request URL

All public API requests use api-direct.dimilinks.com. The recommended request URL for model APIs is https://api-direct.dimilinks.com/v1, and all authenticated model endpoints share the same Bearer key. See Authentication for details.

Route overview

Protocol conventions

  • Text chat: compatible with the official OpenAI and Anthropic SDKs; point the SDK’s base URL to DimiLinks.
  • Images: responses follow OpenAI Images conventions. data[].url may be a relative path, an HTTPS URL, or a Data URL.
  • Videos: asynchronous by default. Submission returns a task_id immediately; poll /v1/tasks/{task_id} for progress.
Image and video generation times vary. The asynchronous workflow avoids long-lived connections, gateway timeouts, and tasks being lost when a page closes.