Base URL
Use this URL for OpenAI-compatible client libraries and tools.
https://api.dmslab.ai/v1Use the standard OpenAI client with the DMS API base URL and a model ID available to your plan.
Use this URL for OpenAI-compatible client libraries and tools.
https://api.dmslab.ai/v1Pass your DMS API key as a Bearer token. Keep it out of browser bundles and source control.
Authorization: Bearer $DMSLAB_API_KEYimport OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.DMSLAB_API_KEY,
baseURL: "https://api.dmslab.ai/v1",
});
const response = await client.chat.completions.create({
model: "dmslab/pro-256k",
messages: [
{ role: "user", content: "Review this production change." }
],
});