minimax
/
image-01
Minimax's first image model, with character reference support
- Public
- 126.1K runs
-
$0.01 per image
-
Commercial use
Prediction
minimax/image-01Official modelIDw4agaakfhnrme0cnbhgtyfmstcStatusSucceededSourceWebTotal durationCreatedInput
- prompt
- A close-up portrait of a leopard with distinctive spotted pattern and intense eyes
- aspect_ratio
- 3:4
- number_of_images
- 1
- prompt_optimizer
{ "prompt": "A close-up portrait of a leopard with distinctive spotted pattern and intense eyes", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": true }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "A close-up portrait of a leopard with distinctive spotted pattern and intense eyes", aspect_ratio: "3:4", number_of_images: 1, prompt_optimizer: true }; const output = await replicate.run("minimax/image-01", { input }); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/image-01", input={ "prompt": "A close-up portrait of a leopard with distinctive spotted pattern and intense eyes", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": True } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run minimax/image-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 close-up portrait of a leopard with distinctive spotted pattern and intense eyes", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": true } }' \ https://api.replicate.com/v1/models/minimax/image-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-03T14:21:14.828367Z", "created_at": "2025-03-03T14:20:44.301000Z", "data_removed": false, "error": null, "id": "w4agaakfhnrme0cnbhgtyfmstc", "input": { "prompt": "A close-up portrait of a leopard with distinctive spotted pattern and intense eyes", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": true }, "logs": "Moderating content...\nModeration complete in 0.23sec\nRunning prediction...\nDownloading 412876 bytes\nDownloaded 0.39MB in 0.12sec\nGenerated 1 image", "metrics": { "image_count": 1, "predict_time": 30.493822198, "total_time": 30.527367 }, "output": [ "https://replicate.delivery/xezq/DIW1tQHSNXY2Lhlk22V8fQsEqx5sDfqilWuNbciQTmf1mtpoA/tmpf6p003az.jpeg" ], "started_at": "2025-03-03T14:20:44.334545Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ustoljd7enrpatb34fxhhkru5cvfteijmzs3ggu7atqz6cx2hoja", "get": "https://api.replicate.com/v1/predictions/w4agaakfhnrme0cnbhgtyfmstc", "cancel": "https://api.replicate.com/v1/predictions/w4agaakfhnrme0cnbhgtyfmstc/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.23sec Running prediction... Downloading 412876 bytes Downloaded 0.39MB in 0.12sec Generated 1 image
Prediction
minimax/image-01Official modelID9nt06gxvq9rm80cnbhjabemwfcStatusSucceededSourceWebTotal durationCreatedInput
- prompt
- A portrait with teal lighting showing a cyberpunk wearing a futuristic outfit
- aspect_ratio
- 1:1
- number_of_images
- 1
- prompt_optimizer
{ "prompt": "A portrait with teal lighting showing a cyberpunk wearing a futuristic outfit", "aspect_ratio": "1:1", "number_of_images": 1, "prompt_optimizer": true }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "A portrait with teal lighting showing a cyberpunk wearing a futuristic outfit", aspect_ratio: "1:1", number_of_images: 1, prompt_optimizer: true }; const output = await replicate.run("minimax/image-01", { input }); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/image-01", input={ "prompt": "A portrait with teal lighting showing a cyberpunk wearing a futuristic outfit", "aspect_ratio": "1:1", "number_of_images": 1, "prompt_optimizer": True } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run minimax/image-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 portrait with teal lighting showing a cyberpunk wearing a futuristic outfit", "aspect_ratio": "1:1", "number_of_images": 1, "prompt_optimizer": true } }' \ https://api.replicate.com/v1/models/minimax/image-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-03T14:24:50.608798Z", "created_at": "2025-03-03T14:24:20.410000Z", "data_removed": false, "error": null, "id": "9nt06gxvq9rm80cnbhjabemwfc", "input": { "prompt": "A portrait with teal lighting showing a cyberpunk wearing a futuristic outfit", "aspect_ratio": "1:1", "number_of_images": 1, "prompt_optimizer": true }, "logs": "Moderating content...\nModeration complete in 0.24sec\nRunning prediction...\nDownloading 361881 bytes\nDownloaded 0.35MB in 0.04sec\nGenerated 1 image", "metrics": { "image_count": 1, "predict_time": 30.195957599, "total_time": 30.198798 }, "output": [ "https://replicate.delivery/xezq/FaVZlwqtMpq1JRKXI0lg7yb0lfD19eufeheh0wCY9ZiX22miC/tmpd9ffzdzl.jpeg" ], "started_at": "2025-03-03T14:24:20.412840Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-cu52vuqektfjqg527bcon6j7mwr7ggztgldjnl3pduoivvavylmq", "get": "https://api.replicate.com/v1/predictions/9nt06gxvq9rm80cnbhjabemwfc", "cancel": "https://api.replicate.com/v1/predictions/9nt06gxvq9rm80cnbhjabemwfc/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.24sec Running prediction... Downloading 361881 bytes Downloaded 0.35MB in 0.04sec Generated 1 image
Prediction
minimax/image-01Official modelID7y307q3p25rm80cnbhsbptfc04StatusSucceededSourceWebTotal durationCreatedInput
- prompt
- a white cat on a blue background
- aspect_ratio
- 3:4
- number_of_images
- 1
- prompt_optimizer
{ "prompt": "a white cat on a blue background", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": true }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "a white cat on a blue background", aspect_ratio: "3:4", number_of_images: 1, prompt_optimizer: true }; const output = await replicate.run("minimax/image-01", { input }); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/image-01", input={ "prompt": "a white cat on a blue background", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": True } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run minimax/image-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 white cat on a blue background", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": true } }' \ https://api.replicate.com/v1/models/minimax/image-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-03T14:39:59.102264Z", "created_at": "2025-03-03T14:39:20.081000Z", "data_removed": false, "error": null, "id": "7y307q3p25rm80cnbhsbptfc04", "input": { "prompt": "a white cat on a blue background", "aspect_ratio": "3:4", "number_of_images": 1, "prompt_optimizer": true }, "logs": "Moderating content...\nModeration complete in 0.23sec\nRunning prediction...\nDownloading 149676 bytes\nDownloaded 0.14MB in 0.01sec\nGenerated 1 image", "metrics": { "image_count": 1, "predict_time": 39.018276603, "total_time": 39.021264 }, "output": [ "https://replicate.delivery/xezq/3CJ9svCPnKL2GpLZSGx093liau79cECYY3O87wKocb3PxNFF/tmpmgi7ogpc.jpeg" ], "started_at": "2025-03-03T14:39:20.083987Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-gmatahcrbuviggxqiyhaolkhi33effwj7tple7dn6ww2hw2kuacq", "get": "https://api.replicate.com/v1/predictions/7y307q3p25rm80cnbhsbptfc04", "cancel": "https://api.replicate.com/v1/predictions/7y307q3p25rm80cnbhsbptfc04/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.23sec Running prediction... Downloading 149676 bytes Downloaded 0.14MB in 0.01sec Generated 1 image
Prediction
minimax/image-01Official modelIDe5bmx1rcmdrm80cnbhws0wvsc4StatusSucceededSourceWebTotal durationCreatedInput
- prompt
- a painted scene of a person sitting by a large window in what appears to be a café or restaurant. The person has their hair up in a bun and is wearing a light-colored top and dark pants, deeply absorbed in reading a book. Through the window, a bustling city street is visible with blurred figures of people walking, warm glowing lights from buildings, and a generally atmospheric evening or night-time urban setting.
- aspect_ratio
- 16:9
- number_of_images
- 1
- prompt_optimizer
{ "prompt": "a painted scene of a person sitting by a large window in what appears to be a café or restaurant. The person has their hair up in a bun and is wearing a light-colored top and dark pants, deeply absorbed in reading a book. Through the window, a bustling city street is visible with blurred figures of people walking, warm glowing lights from buildings, and a generally atmospheric evening or night-time urban setting.", "aspect_ratio": "16:9", "number_of_images": 1, "prompt_optimizer": false }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "a painted scene of a person sitting by a large window in what appears to be a café or restaurant. The person has their hair up in a bun and is wearing a light-colored top and dark pants, deeply absorbed in reading a book. Through the window, a bustling city street is visible with blurred figures of people walking, warm glowing lights from buildings, and a generally atmospheric evening or night-time urban setting.", aspect_ratio: "16:9", number_of_images: 1, prompt_optimizer: false }; const output = await replicate.run("minimax/image-01", { input }); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/image-01", input={ "prompt": "a painted scene of a person sitting by a large window in what appears to be a café or restaurant. The person has their hair up in a bun and is wearing a light-colored top and dark pants, deeply absorbed in reading a book. Through the window, a bustling city street is visible with blurred figures of people walking, warm glowing lights from buildings, and a generally atmospheric evening or night-time urban setting.", "aspect_ratio": "16:9", "number_of_images": 1, "prompt_optimizer": False } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run minimax/image-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 painted scene of a person sitting by a large window in what appears to be a café or restaurant. The person has their hair up in a bun and is wearing a light-colored top and dark pants, deeply absorbed in reading a book. Through the window, a bustling city street is visible with blurred figures of people walking, warm glowing lights from buildings, and a generally atmospheric evening or night-time urban setting.", "aspect_ratio": "16:9", "number_of_images": 1, "prompt_optimizer": false } }' \ https://api.replicate.com/v1/models/minimax/image-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-03T14:47:02.332770Z", "created_at": "2025-03-03T14:46:31.843000Z", "data_removed": false, "error": null, "id": "e5bmx1rcmdrm80cnbhws0wvsc4", "input": { "prompt": "a painted scene of a person sitting by a large window in what appears to be a café or restaurant. The person has their hair up in a bun and is wearing a light-colored top and dark pants, deeply absorbed in reading a book. Through the window, a bustling city street is visible with blurred figures of people walking, warm glowing lights from buildings, and a generally atmospheric evening or night-time urban setting.", "aspect_ratio": "16:9", "number_of_images": 1, "prompt_optimizer": false }, "logs": "Moderating content...\nModeration complete in 0.21sec\nRunning prediction...\nDownloading 290845 bytes\nDownloaded 0.28MB in 0.04sec\nGenerated 1 image", "metrics": { "image_count": 1, "predict_time": 30.467487786, "total_time": 30.48977 }, "output": [ "https://replicate.delivery/xezq/flmsJafu2Ikx1EUHI32a4rYbxeUJ4hQORUIOvVHsV8EMXupoA/tmpffr5yx71.jpeg" ], "started_at": "2025-03-03T14:46:31.865282Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-4jubbmhjp2zmun7ddhm3weozadtufrx5cuj74ytxkgalvv4yqrpq", "get": "https://api.replicate.com/v1/predictions/e5bmx1rcmdrm80cnbhws0wvsc4", "cancel": "https://api.replicate.com/v1/predictions/e5bmx1rcmdrm80cnbhws0wvsc4/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.21sec Running prediction... Downloading 290845 bytes Downloaded 0.28MB in 0.04sec Generated 1 image
Prediction
minimax/image-01Official modelIDezf3et8qkxrmc0cpdhq97q3104StatusSucceededSourceWebTotal durationCreatedby @replicateInput
- prompt
- a closeup portrait photo of a woman
- aspect_ratio
- 3:2
- number_of_images
- 1
- prompt_optimizer
{ "prompt": "a closeup portrait photo of a woman", "aspect_ratio": "3:2", "number_of_images": 1, "prompt_optimizer": true, "subject_reference": "https://replicate.delivery/pbxt/Mtj1QVrhUPLPUiumUpdtWy6Ibgddfk7Tr6HWdhmlOSWhdXiy/0_1.webp" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "a closeup portrait photo of a woman", aspect_ratio: "3:2", number_of_images: 1, prompt_optimizer: true, subject_reference: "https://replicate.delivery/pbxt/Mtj1QVrhUPLPUiumUpdtWy6Ibgddfk7Tr6HWdhmlOSWhdXiy/0_1.webp" }; const output = await replicate.run("minimax/image-01", { input }); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run minimax/image-01 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "minimax/image-01", input={ "prompt": "a closeup portrait photo of a woman", "aspect_ratio": "3:2", "number_of_images": 1, "prompt_optimizer": True, "subject_reference": "https://replicate.delivery/pbxt/Mtj1QVrhUPLPUiumUpdtWy6Ibgddfk7Tr6HWdhmlOSWhdXiy/0_1.webp" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run minimax/image-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 closeup portrait photo of a woman", "aspect_ratio": "3:2", "number_of_images": 1, "prompt_optimizer": true, "subject_reference": "https://replicate.delivery/pbxt/Mtj1QVrhUPLPUiumUpdtWy6Ibgddfk7Tr6HWdhmlOSWhdXiy/0_1.webp" } }' \ https://api.replicate.com/v1/models/minimax/image-01/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-25T10:12:03Z", "created_at": "2025-04-25T10:11:16.511000Z", "data_removed": false, "error": "", "id": "ezf3et8qkxrmc0cpdhq97q3104", "input": { "prompt": "a closeup portrait photo of a woman", "aspect_ratio": "3:2", "number_of_images": 1, "prompt_optimizer": true, "subject_reference": "https://replicate.delivery/pbxt/Mtj1QVrhUPLPUiumUpdtWy6Ibgddfk7Tr6HWdhmlOSWhdXiy/0_1.webp" }, "logs": "Moderating content...\r\nModerating content...\r\nImage size: 15.0KB\r\nModeration complete in 0.17sec\r\nModeration complete in 0.79sec\r\nUsing subject reference: /tmp/tmpol2mqv3y0_1.webp\r\nImage size: 131.6KB\r\nGenerated 1 image\r\nImages generated in 46.28 seconds", "metrics": { "image_count": 1, "predict_time": 47.176892971, "total_time": 46.489 }, "output": [ "https://replicate.delivery/xezq/QEtTIHzV1OJsEt3IJxQLWe5eVk74lrAkYu04DpjLvEfmPiMpA/tmpcarma51q.jpg" ], "started_at": "2025-04-25T10:11:16Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-gwtyptisyhzhjp2hx7bag2ifkldotioopadm5vqltku6x2qcvt4a", "get": "https://api.replicate.com/v1/predictions/ezf3et8qkxrmc0cpdhq97q3104", "cancel": "https://api.replicate.com/v1/predictions/ezf3et8qkxrmc0cpdhq97q3104/cancel" }, "version": "hidden" }
Generated inModerating content... Moderating content... Image size: 15.0KB Moderation complete in 0.17sec Moderation complete in 0.79sec Using subject reference: /tmp/tmpol2mqv3y0_1.webp Image size: 131.6KB Generated 1 image Images generated in 46.28 seconds
Want to make some of these yourself?
Run this model