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.4K runs
-
$0.50 per video
-
Commercial use
- License
Prediction
minimax/video-01Official modelID15eyanar9xrg80ckd3ytdz0hhrStatusSucceededSourceWebTotal durationCreatedInput
- prompt
- a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses
- prompt_optimizer
{ "prompt": "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses", "prompt_optimizer": true }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses", prompt_optimizer: true }; const output = await replicate.run("minimax/video-01", { input }); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/video-01", input={ "prompt": "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses", "prompt_optimizer": True } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses", "prompt_optimizer": true } }' \ https://api.replicate.com/v1/models/minimax/video-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-26T15:05:43.217907Z", "created_at": "2024-11-26T15:00:53.967000Z", "data_removed": false, "error": null, "id": "15eyanar9xrg80ckd3ytdz0hhr", "input": { "prompt": "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses", "prompt_optimizer": true }, "logs": "Running prediction... \nInitializing video generation with prompt: a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses\nGenerating video...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nGenerated video in 285.5sec\nRetrieving video...\nDownloading 1463397 bytes\nDownloaded 1.40MB in 3.62sec", "metrics": { "predict_time": 289.242321508, "total_time": 289.250907 }, "output": "https://replicate.delivery/czjl/0BRwO64eE5xCNCunM61wjfjaozXEm6ee2fpbldrwj6fxxVO9E/tmpxql776w8.output.mp4", "started_at": "2024-11-26T15:00:53.975585Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-ytze5injf34j72ivfbqnievthvhtgx3n73s7byjijkxsvrtl4ziq", "get": "https://api.replicate.com/v1/predictions/15eyanar9xrg80ckd3ytdz0hhr", "cancel": "https://api.replicate.com/v1/predictions/15eyanar9xrg80ckd3ytdz0hhr/cancel" }, "version": "hidden" }
Generated inRunning prediction... Initializing video generation with prompt: a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses Generating video... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Generated video in 285.5sec Retrieving video... Downloading 1463397 bytes Downloaded 1.40MB in 3.62sec
Prediction
minimax/video-01Official modelID5wtdazv51hrg80ckdm2tbfdp7cStatusSucceededSourceWebTotal durationCreatedInput
- prompt
- a calm and tranquil tropical beach scene, the waves are crashing on the shore
- prompt_optimizer
{ "prompt": "a calm and tranquil tropical beach scene, the waves are crashing on the shore", "prompt_optimizer": true }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "a calm and tranquil tropical beach scene, the waves are crashing on the shore", prompt_optimizer: true }; const output = await replicate.run("minimax/video-01", { input }); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/video-01", input={ "prompt": "a calm and tranquil tropical beach scene, the waves are crashing on the shore", "prompt_optimizer": True } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "a calm and tranquil tropical beach scene, the waves are crashing on the shore", "prompt_optimizer": true } }' \ https://api.replicate.com/v1/models/minimax/video-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-27T09:53:01.077785Z", "created_at": "2024-11-27T09:48:10.380000Z", "data_removed": false, "error": null, "id": "5wtdazv51hrg80ckdm2tbfdp7c", "input": { "prompt": "a calm and tranquil tropical beach scene, the waves are crashing on the shore", "prompt_optimizer": true }, "logs": "Running prediction... \nInitializing video generation with prompt: a calm and tranquil tropical beach scene, the waves are crashing on the shore\nGenerating video...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nGenerated video in 290.3sec\nRetrieving video...\nDownloading 2324169 bytes\nDownloaded 2.22MB in 0.33sec", "metrics": { "predict_time": 290.687615815, "total_time": 290.697785 }, "output": "https://replicate.delivery/czjl/U5fFZk9JHqWVMStaF5pnfel0w9KYNrzOBRTn6XgA0zQ6vTqnA/tmpfnoqjvb3.output.mp4", "started_at": "2024-11-27T09:48:10.390169Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-73wsifvmnvivnwccat5utqjf2cguqd2yzbibi62op6l5q5i5ssla", "get": "https://api.replicate.com/v1/predictions/5wtdazv51hrg80ckdm2tbfdp7c", "cancel": "https://api.replicate.com/v1/predictions/5wtdazv51hrg80ckdm2tbfdp7c/cancel" }, "version": "hidden" }
Generated inRunning prediction... Initializing video generation with prompt: a calm and tranquil tropical beach scene, the waves are crashing on the shore Generating video... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Generated video in 290.3sec Retrieving video... Downloading 2324169 bytes Downloaded 2.22MB in 0.33sec
Prediction
minimax/video-01Official modelIDh6bzw0emrnrga0ckdm2tfafke8StatusSucceededSourceWebTotal durationCreatedInput
- prompt
- a resplendent quetzal is sitting in a tree
- prompt_optimizer
{ "prompt": "a resplendent quetzal is sitting in a tree", "prompt_optimizer": true }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "a resplendent quetzal is sitting in a tree", prompt_optimizer: true }; const output = await replicate.run("minimax/video-01", { input }); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/video-01", input={ "prompt": "a resplendent quetzal is sitting in a tree", "prompt_optimizer": True } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "a resplendent quetzal is sitting in a tree", "prompt_optimizer": true } }' \ https://api.replicate.com/v1/models/minimax/video-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-27T09:53:28.242401Z", "created_at": "2024-11-27T09:48:38.981000Z", "data_removed": false, "error": null, "id": "h6bzw0emrnrga0ckdm2tfafke8", "input": { "prompt": "a resplendent quetzal is sitting in a tree", "prompt_optimizer": true }, "logs": "Running prediction... \nInitializing video generation with prompt: a resplendent quetzal is sitting in a tree\nGenerating video...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nGenerated video in 286.7sec\nRetrieving video...\nDownloading 1708584 bytes\nDownloaded 1.63MB in 2.48sec", "metrics": { "predict_time": 289.253830667, "total_time": 289.261401 }, "output": "https://replicate.delivery/czjl/lKOjU1uJTSq9I9gXOymUO0ekKz5TtCWkdea4YHkVhdPY4J1TA/tmp15hm2w_j.output.mp4", "started_at": "2024-11-27T09:48:38.988570Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-ygtdqii2xmsxdsvwnszuau4iqnosfms2oep4ploagrrdrh2d36xq", "get": "https://api.replicate.com/v1/predictions/h6bzw0emrnrga0ckdm2tfafke8", "cancel": "https://api.replicate.com/v1/predictions/h6bzw0emrnrga0ckdm2tfafke8/cancel" }, "version": "hidden" }
Generated inRunning prediction... Initializing video generation with prompt: a resplendent quetzal is sitting in a tree Generating video... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Generated video in 286.7sec Retrieving video... Downloading 1708584 bytes Downloaded 1.63MB in 2.48sec
Prediction
minimax/video-01Official modelIDksqgzg9mmdrge0ckdm3bsg6esmStatusSucceededSourceWebTotal durationCreatedInput
- prompt
- an animated scene shows a dog running through long grass
- prompt_optimizer
{ "prompt": "an animated scene shows a dog running through long grass", "prompt_optimizer": true }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "an animated scene shows a dog running through long grass", prompt_optimizer: true }; const output = await replicate.run("minimax/video-01", { input }); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/video-01", input={ "prompt": "an animated scene shows a dog running through long grass", "prompt_optimizer": True } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run minimax/video-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "an animated scene shows a dog running through long grass", "prompt_optimizer": true } }' \ https://api.replicate.com/v1/models/minimax/video-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-11-27T09:53:53.364872Z", "created_at": "2024-11-27T09:49:03.523000Z", "data_removed": false, "error": null, "id": "ksqgzg9mmdrge0ckdm3bsg6esm", "input": { "prompt": "an animated scene shows a dog running through long grass", "prompt_optimizer": true }, "logs": "Running prediction... \nInitializing video generation with prompt: an animated scene shows a dog running through long grass\nGenerating video...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nStill generating...\nGenerated video in 286.7sec\nRetrieving video...\nDownloading 1699322 bytes\nDownloaded 1.62MB in 3.02sec", "metrics": { "predict_time": 289.834289793, "total_time": 289.841872 }, "output": "https://replicate.delivery/czjl/8pSDBTD6zI44ARtleIewvQEC5wMbrK7iI0mKPSBJRrKx4J1TA/tmplqk00zq0.output.mp4", "started_at": "2024-11-27T09:49:03.530582Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-wah2zkk5wtrtjta7u7qfocmprnn6fx3k5d7xyaul6b5vrvbjmsba", "get": "https://api.replicate.com/v1/predictions/ksqgzg9mmdrge0ckdm3bsg6esm", "cancel": "https://api.replicate.com/v1/predictions/ksqgzg9mmdrge0ckdm3bsg6esm/cancel" }, "version": "hidden" }
Generated inRunning prediction... Initializing video generation with prompt: an animated scene shows a dog running through long grass Generating video... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Still generating... Generated video in 286.7sec Retrieving video... Downloading 1699322 bytes Downloaded 1.62MB in 3.02sec
Want to make some of these yourself?
Run this model