SDKs
Official client libraries for the Mixio Inference API.
Install
npm install @mixio/sdk-ts
Quick Start
import { Configuration, ModelsApi } from "@mixio/sdk-ts";
const config = new Configuration({
basePath: "https://inference.mixio.pro",
headers: { "x-api-key": process.env.MIXIO_API_KEY },
});
const models = new ModelsApi(config);
const result = await models.modelsRunPost({
modelsRunPostRequest: {
endpointId: "mixio/video/generate",
input: { prompt: "A cinematic slow-motion shot" },
},
});
console.log(result.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).