MiniMax 01 Director API
Video model · Published on Meldport
Cinematic text to video with precise camera control
Generation is available through the published Meldport configurations below. Review the exact quote before submitting.
- Model ID
minimax-01-director- Released
- Jan 28, 2025
- Billing unit
- generation
MODEL API
How to call the MiniMax 01 Director API
MiniMax 01 Director is available on Meldport through the video API. Quote the request, submit a job with the videos:generate scope, poll the job until it is settled, then request a download URL. The same flow works for every published configuration.
- API scope
videos:generate- Quote endpoint
POST /v1/media/quotes- Job endpoint
POST /v1/media/jobs- Poll endpoint
GET /v1/media/jobs/{job_id}- Download endpoint
POST /v1/media/jobs/{job_id}/download-url- Published configurations
- 2
- Starting rate
- Estimated $0.4032 per generation
- Workflows
- Image to video · Text to video
- Output formats
- video/mp4
- Output retention
- 8 days
Generation requests use a published configuration ID. The quote returns the customer price and maximum reservation before a paid job starts.
Meldport generation prices
MiniMax 01 Director
628f1fc5-6ebc-45ba-a855-fde1f22ab5fcimage to video
6 seconds. Final cost may differ from the estimate. See billing details.
Variable billing detailsAPI request and parameters
Use videos:generate on your API key. This configuration runs image to video and returns video/mp4.
Upload an image using the same API key, then replace YOUR_UPLOADED_ASSET_ID. Input upload example. Choose a different configuration ID to change the workflow or output settings. Send only options listed below.
These output settings are included in this configuration. Select another configuration ID to change them. Do not add them to options.
{
"duration": 6
}This configuration has no additional request options.
Replace the prompt and set a unique MELDPORT_IDEMPOTENCY_KEY for this operation. The example quotes the request and then creates one paid job. Read the billing rules before accepting variable charges.
const api = "https://api.meldport.com";
const key = process.env.MELDPORT_API_KEY;
const idempotencyKey = process.env.MELDPORT_IDEMPOTENCY_KEY;
if (!key || !idempotencyKey) throw new Error("Set your API key and a unique operation ID first.");
async function post(path, body) {
const response = await fetch(api + path, {method: "POST",
headers: {Authorization: `Bearer ${key}`, "Content-Type": "application/json"},
body: JSON.stringify(body)});
const result = await response.json();
if (!response.ok) throw new Error(JSON.stringify(result.error));
return result;
}
const request = {
"configuration_id": "628f1fc5-6ebc-45ba-a855-fde1f22ab5fc",
"prompt": "Replace with your prompt or speech script.",
"options": {},
"input_asset_ids": [
"YOUR_UPLOADED_ASSET_ID"
]
};
const {data: quote} = await post("/v1/media/quotes", request);
console.log("Quote:", quote);
const result = await post("/v1/media/jobs", {
...request, idempotency_key: idempotencyKey,
accepted_customer_price_microusd: quote.customer_price_microusd,
accepted_maximum_reservation_microusd: quote.maximum_reservation_microusd,
...(quote.billing_policy_version === "actual-cost-v1"
? {billing_policy_version: "actual-cost-v1"} : {}),
});
console.log(result.job);
// Poll GET /v1/media/jobs/<job.id> with the same API key.
// Keep this operation ID for retries. A new ID requests another generation.Poll the returned job ID. Download only after state is succeeded and billing_state is settled. Polling and download example.
MiniMax 01 Director
d8ebb363-dcce-45ab-879a-5aa490a7fb64text to video
6 seconds. Final cost may differ from the estimate. See billing details.
Variable billing detailsAPI request and parameters
Use videos:generate on your API key. This configuration runs text to video and returns video/mp4.
This configuration does not require an uploaded image. Choose a different configuration ID to change the workflow or output settings. Send only options listed below.
These output settings are included in this configuration. Select another configuration ID to change them. Do not add them to options.
{
"width": 1366,
"height": 768,
"duration": 6
}This configuration has no additional request options.
Replace the prompt and set a unique MELDPORT_IDEMPOTENCY_KEY for this operation. The example quotes the request and then creates one paid job. Read the billing rules before accepting variable charges.
const api = "https://api.meldport.com";
const key = process.env.MELDPORT_API_KEY;
const idempotencyKey = process.env.MELDPORT_IDEMPOTENCY_KEY;
if (!key || !idempotencyKey) throw new Error("Set your API key and a unique operation ID first.");
async function post(path, body) {
const response = await fetch(api + path, {method: "POST",
headers: {Authorization: `Bearer ${key}`, "Content-Type": "application/json"},
body: JSON.stringify(body)});
const result = await response.json();
if (!response.ok) throw new Error(JSON.stringify(result.error));
return result;
}
const request = {
"configuration_id": "d8ebb363-dcce-45ab-879a-5aa490a7fb64",
"prompt": "Replace with your prompt or speech script.",
"options": {},
"input_asset_ids": []
};
const {data: quote} = await post("/v1/media/quotes", request);
console.log("Quote:", quote);
const result = await post("/v1/media/jobs", {
...request, idempotency_key: idempotencyKey,
accepted_customer_price_microusd: quote.customer_price_microusd,
accepted_maximum_reservation_microusd: quote.maximum_reservation_microusd,
...(quote.billing_policy_version === "actual-cost-v1"
? {billing_policy_version: "actual-cost-v1"} : {}),
});
console.log(result.job);
// Poll GET /v1/media/jobs/<job.id> with the same API key.
// Keep this operation ID for retries. A new ID requests another generation.Poll the returned job ID. Download only after state is succeeded and billing_state is settled. Polling and download example.
About this model
MiniMax 01 Director generates short cinematic video clips from text prompts with director level control. It supports detailed camera movement instructions, stable framing, and reduced motion randomness. Ideal for film previz, ads, and story beats inside production tools.
MiniMax 01 Director API FAQ
Does MiniMax 01 Director have an API?
Yes. Meldport publishes 2 video configurations for MiniMax 01 Director. Quote the request, then submit a job with the videos:generate scope; the same API key covers quoting, polling, and download.
How much does the MiniMax 01 Director API cost?
Published configurations start at an estimated $0.4032 per generation. These configurations use actual-cost billing, so the final charge can differ from the estimate. Quote the exact request before submitting to see the customer price and maximum reservation.
Which configuration ID should I send?
Send a published configuration ID from this page, such as 628f1fc5-6ebc-45ba-a855-fde1f22ab5fc. Each configuration fixes the workflow and output settings, and its price is listed on this page. Changing the configuration does not require a new API key.
How do I get an API key for MiniMax 01 Director?
Create a Meldport account, add a workspace API key with the videos:generate scope, and keep the key on your server. The API reference covers key creation and scopes.
How are MiniMax 01 Director results delivered?
POST /v1/media/jobs returns a job instead of a finished file. Poll GET /v1/media/jobs/{job_id} until state is succeeded and billing_state is settled, then request a download URL. Outputs are retained for 8 days.