API
One request shape. Swap the model string.
POST /v1/jobs. The same JSON in cURL, Node, and Python — image, video, audio, or 3D. Change the model name. Keep the rest of your code.
Same request. Any model.
- One key for every modality
- Swap models without a new SDK
- Webhooks when jobs complete
import ModelMarket from "@modelmarket/sdk";
const mm = new ModelMarket({ apiKey: process.env.MM_API_KEY });
const job = await mm.run({
model: "flux-2-pro",
input: { prompt: "A serene mountain lake at sunrise" },
});
console.log(job.output.url);
