Skip to content

Add OpenAI Compatibility docs#15

Merged
vikhyat merged 2 commits into
mainfrom
openai-compatibility-docs
Jun 27, 2026
Merged

Add OpenAI Compatibility docs#15
vikhyat merged 2 commits into
mainfrom
openai-compatibility-docs

Conversation

@vikhyat

@vikhyat vikhyat commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

New OpenAI Compatibility page (docs/openai.md) for the /v1/chat/completions endpoint:

  • Setup — OpenAI base URL https://api.moondream.ai/v1, bearer-token auth, moondream-3 model (Python / Node.js / curl).
  • Image inputs (base64 data URLs), multi-turn, streaming (incl. stream_options.include_usage), and reasoning (message.reasoning).
  • A parameter reference and the /v1/models endpoint.

Added to the sidebar after API and cross-linked from the API reference. Examples were exercised against the live endpoint with the OpenAI Python SDK; docusaurus build passes clean.

vikhyat added 2 commits June 26, 2026 17:27
Document the OpenAI-compatible chat endpoint: setup (base URL, bearer key,
model), image inputs (base64 data URLs), multi-turn, streaming (with
include_usage), reasoning, the parameter reference, and the models endpoint,
with Python/Node/curl examples. Add it to the sidebar after the API page and
cross-link from the API reference.
Match /v1/models and note the moondream/ prefix is optional (moondream3-preview
also works).
@vikhyat vikhyat merged commit 1e6d402 into main Jun 27, 2026
1 check passed
@vikhyat vikhyat deleted the openai-compatibility-docs branch June 27, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant