Official

minimax / video-01

Generate 6s videos with prompts or images. (Also known as Hailuo). Use a subject reference to make a video with a character and the S2V-01 model.

  • Public
  • 385.3K runs
  • $0.50 per video
  • Commercial use
  • License

Run replicate/minimax-hailuo-video-internal with an API

Use one of our client libraries to get started quickly.

Set the REPLICATE_API_TOKEN environment variable

export REPLICATE_API_TOKEN=<paste-your-token-here>

Learn more about authentication

Install Replicate’s Node.js client library

npm install replicate
Learn more about setup

Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

import Replicate from "replicate";
const replicate = new Replicate();

const input = {
    prompt: "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses"
};

const output = await replicate.run("minimax/video-01", { input });

import { writeFile } from "node:fs/promises";
await writeFile("output.mp4", output);
//=> output.mp4 written to disk
Learn more