SDKs
Official client libraries for the Mixio Inference API.
Install
npm install @mixio-pro/sdk-ts
Quick Start
import { client, postModelsRun } from "@mixio-pro/sdk-ts";
client.setConfig({
baseUrl: "https://inference.mixio.pro",
headers: { "x-api-key": process.env.MIXIO_API_KEY },
});
const { data } = await postModelsRun({
body: {
endpointId: "mixio/video/generate",
input: { prompt: "A cinematic slow-motion shot" },
},
});
console.log(data.requestId);Authentication
All SDKs authenticate via the x-api-key header. Get your API key from the Mixio dashboard.
API Reference
Interactive API docs are available at inference.mixio.pro/docs (Scalar).