{
"InferenceSteps": 30,
"InputImage": "https://replicate.delivery/pbxt/MU7TaRF0oMhOR69ulv2J6vdTBkXveIc82qt8Z6VWJygoGkkg/test.webp",
"videoBrightnessIndex": 1.5
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_FOw**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run subhash25rawat/morphix3d using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"subhash25rawat/morphix3d:64c263db10244157aa132cf07f139401085b75c6d8bf3405113cd791cbaf0009",
{
input: {
InferenceSteps: 30,
InputImage: "https://replicate.delivery/pbxt/MU7TaRF0oMhOR69ulv2J6vdTBkXveIc82qt8Z6VWJygoGkkg/test.webp",
videoBrightnessIndex: 1.5
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_FOw**********************************
This is your API token. Keep it to yourself.
import replicate
Run subhash25rawat/morphix3d using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"subhash25rawat/morphix3d:64c263db10244157aa132cf07f139401085b75c6d8bf3405113cd791cbaf0009",
input={
"InferenceSteps": 30,
"InputImage": "https://replicate.delivery/pbxt/MU7TaRF0oMhOR69ulv2J6vdTBkXveIc82qt8Z6VWJygoGkkg/test.webp",
"videoBrightnessIndex": 1.5
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_FOw**********************************
This is your API token. Keep it to yourself.
Run subhash25rawat/morphix3d 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 $'{
"version": "subhash25rawat/morphix3d:64c263db10244157aa132cf07f139401085b75c6d8bf3405113cd791cbaf0009",
"input": {
"InferenceSteps": 30,
"InputImage": "https://replicate.delivery/pbxt/MU7TaRF0oMhOR69ulv2J6vdTBkXveIc82qt8Z6VWJygoGkkg/test.webp",
"videoBrightnessIndex": 1.5
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Object output with 6 properties
Use your mouse to zoom and rotate the model
Use your mouse to zoom and rotate the model
success
{
"id": "w5c7c0j8fxrme0cmz3qret7n6r",
"model": "subhash25rawat/morphix3d",
"version": "64c263db10244157aa132cf07f139401085b75c6d8bf3405113cd791cbaf0009",
"input": {
"InferenceSteps": 30,
"InputImage": "https://replicate.delivery/pbxt/MU7TaRF0oMhOR69ulv2J6vdTBkXveIc82qt8Z6VWJygoGkkg/test.webp",
"videoBrightnessIndex": 1.5
},
"logs": "Using border_ratio from init: 0.15\nDiffusion Sampling:: 0%| | 0/30 [00:00<?, ?it/s]\nDiffusion Sampling:: 3%|▎ | 1/30 [00:00<00:05, 5.24it/s]\nDiffusion Sampling:: 10%|█ | 3/30 [00:00<00:03, 8.13it/s]\nDiffusion Sampling:: 13%|█▎ | 4/30 [00:00<00:03, 7.56it/s]\nDiffusion Sampling:: 17%|█▋ | 5/30 [00:00<00:03, 7.23it/s]\nDiffusion Sampling:: 20%|██ | 6/30 [00:00<00:03, 7.04it/s]\nDiffusion Sampling:: 23%|██▎ | 7/30 [00:00<00:03, 6.91it/s]\nDiffusion Sampling:: 27%|██▋ | 8/30 [00:01<00:03, 6.83it/s]\nDiffusion Sampling:: 30%|███ | 9/30 [00:01<00:03, 6.77it/s]\nDiffusion Sampling:: 33%|███▎ | 10/30 [00:01<00:02, 6.74it/s]\nDiffusion Sampling:: 37%|███▋ | 11/30 [00:01<00:02, 6.71it/s]\nDiffusion Sampling:: 40%|████ | 12/30 [00:01<00:02, 6.69it/s]\nDiffusion Sampling:: 43%|████▎ | 13/30 [00:01<00:02, 6.68it/s]\nDiffusion Sampling:: 47%|████▋ | 14/30 [00:02<00:02, 6.66it/s]\nDiffusion Sampling:: 50%|█████ | 15/30 [00:02<00:02, 6.65it/s]\nDiffusion Sampling:: 53%|█████▎ | 16/30 [00:02<00:02, 6.64it/s]\nDiffusion Sampling:: 57%|█████▋ | 17/30 [00:02<00:01, 6.64it/s]\nDiffusion Sampling:: 60%|██████ | 18/30 [00:02<00:01, 6.63it/s]\nDiffusion Sampling:: 63%|██████▎ | 19/30 [00:02<00:01, 6.62it/s]\nDiffusion Sampling:: 67%|██████▋ | 20/30 [00:02<00:01, 6.62it/s]\nDiffusion Sampling:: 70%|███████ | 21/30 [00:03<00:01, 6.63it/s]\nDiffusion Sampling:: 73%|███████▎ | 22/30 [00:03<00:01, 6.62it/s]\nDiffusion Sampling:: 77%|███████▋ | 23/30 [00:03<00:01, 6.62it/s]\nDiffusion Sampling:: 80%|████████ | 24/30 [00:03<00:00, 6.62it/s]\nDiffusion Sampling:: 83%|████████▎ | 25/30 [00:03<00:00, 6.62it/s]\nDiffusion Sampling:: 87%|████████▋ | 26/30 [00:03<00:00, 6.62it/s]\nDiffusion Sampling:: 90%|█████████ | 27/30 [00:04<00:00, 6.62it/s]\nDiffusion Sampling:: 93%|█████████▎| 28/30 [00:04<00:00, 6.62it/s]\nDiffusion Sampling:: 97%|█████████▋| 29/30 [00:04<00:00, 6.62it/s]\nDiffusion Sampling:: 100%|██████████| 30/30 [00:04<00:00, 6.62it/s]\nDiffusion Sampling:: 100%|██████████| 30/30 [00:04<00:00, 6.73it/s]\nMC Level 0.0 Implicit Function:: 0%| | 0/2894 [00:00<?, ?it/s]\nMC Level 0.0 Implicit Function:: 1%|▏ | 43/2894 [00:00<00:06, 422.84it/s]\nMC Level 0.0 Implicit Function:: 3%|▎ | 87/2894 [00:00<00:06, 430.64it/s]\nMC Level 0.0 Implicit Function:: 5%|▍ | 131/2894 [00:00<00:06, 431.51it/s]\nMC Level 0.0 Implicit Function:: 6%|▌ | 175/2894 [00:00<00:06, 433.62it/s]\nMC Level 0.0 Implicit Function:: 8%|▊ | 219/2894 [00:00<00:06, 434.32it/s]\nMC Level 0.0 Implicit Function:: 9%|▉ | 263/2894 [00:00<00:06, 434.44it/s]\nMC Level 0.0 Implicit Function:: 11%|█ | 307/2894 [00:00<00:05, 435.27it/s]\nMC Level 0.0 Implicit Function:: 12%|█▏ | 351/2894 [00:00<00:05, 435.51it/s]\nMC Level 0.0 Implicit Function:: 14%|█▎ | 395/2894 [00:00<00:05, 435.29it/s]\nMC Level 0.0 Implicit Function:: 15%|█▌ | 439/2894 [00:01<00:05, 435.28it/s]\nMC Level 0.0 Implicit Function:: 17%|█▋ | 483/2894 [00:01<00:05, 434.93it/s]\nMC Level 0.0 Implicit Function:: 18%|█▊ | 527/2894 [00:01<00:05, 434.99it/s]\nMC Level 0.0 Implicit Function:: 20%|█▉ | 571/2894 [00:01<00:05, 434.98it/s]\nMC Level 0.0 Implicit Function:: 21%|██▏ | 615/2894 [00:01<00:05, 435.52it/s]\nMC Level 0.0 Implicit Function:: 23%|██▎ | 659/2894 [00:01<00:05, 435.50it/s]\nMC Level 0.0 Implicit Function:: 24%|██▍ | 703/2894 [00:01<00:05, 435.36it/s]\nMC Level 0.0 Implicit Function:: 26%|██▌ | 747/2894 [00:01<00:04, 432.83it/s]\nMC Level 0.0 Implicit Function:: 27%|██▋ | 791/2894 [00:01<00:04, 433.34it/s]\nMC Level 0.0 Implicit Function:: 29%|██▉ | 835/2894 [00:01<00:04, 433.87it/s]\nMC Level 0.0 Implicit Function:: 30%|███ | 879/2894 [00:02<00:04, 433.80it/s]\nMC Level 0.0 Implicit Function:: 32%|███▏ | 923/2894 [00:02<00:04, 434.56it/s]\nMC Level 0.0 Implicit Function:: 33%|███▎ | 967/2894 [00:02<00:04, 434.50it/s]\nMC Level 0.0 Implicit Function:: 35%|███▍ | 1011/2894 [00:02<00:04, 434.37it/s]\nMC Level 0.0 Implicit Function:: 36%|███▋ | 1055/2894 [00:02<00:04, 432.25it/s]\nMC Level 0.0 Implicit Function:: 38%|███▊ | 1099/2894 [00:02<00:04, 433.40it/s]\nMC Level 0.0 Implicit Function:: 39%|███▉ | 1143/2894 [00:02<00:04, 434.01it/s]\nMC Level 0.0 Implicit Function:: 41%|████ | 1187/2894 [00:02<00:03, 433.85it/s]\nMC Level 0.0 Implicit Function:: 43%|████▎ | 1231/2894 [00:02<00:03, 434.12it/s]\nMC Level 0.0 Implicit Function:: 44%|████▍ | 1275/2894 [00:02<00:03, 434.27it/s]\nMC Level 0.0 Implicit Function:: 46%|████▌ | 1319/2894 [00:03<00:03, 434.16it/s]\nMC Level 0.0 Implicit Function:: 47%|████▋ | 1363/2894 [00:03<00:03, 431.75it/s]\nMC Level 0.0 Implicit Function:: 49%|████▊ | 1407/2894 [00:03<00:03, 432.59it/s]\nMC Level 0.0 Implicit Function:: 50%|█████ | 1451/2894 [00:03<00:03, 433.20it/s]\nMC Level 0.0 Implicit Function:: 52%|█████▏ | 1495/2894 [00:03<00:03, 433.51it/s]\nMC Level 0.0 Implicit Function:: 53%|█████▎ | 1539/2894 [00:03<00:03, 433.80it/s]\nMC Level 0.0 Implicit Function:: 55%|█████▍ | 1583/2894 [00:03<00:03, 433.84it/s]\nMC Level 0.0 Implicit Function:: 56%|█████▌ | 1627/2894 [00:03<00:02, 433.00it/s]\nMC Level 0.0 Implicit Function:: 58%|█████▊ | 1671/2894 [00:03<00:02, 433.77it/s]\nMC Level 0.0 Implicit Function:: 59%|█████▉ | 1715/2894 [00:03<00:02, 433.73it/s]\nMC Level 0.0 Implicit Function:: 61%|██████ | 1759/2894 [00:04<00:02, 434.07it/s]\nMC Level 0.0 Implicit Function:: 62%|██████▏ | 1803/2894 [00:04<00:02, 434.13it/s]\nMC Level 0.0 Implicit Function:: 64%|██████▍ | 1847/2894 [00:04<00:02, 433.78it/s]\nMC Level 0.0 Implicit Function:: 65%|██████▌ | 1891/2894 [00:04<00:02, 433.70it/s]\nMC Level 0.0 Implicit Function:: 67%|██████▋ | 1935/2894 [00:04<00:02, 433.01it/s]\nMC Level 0.0 Implicit Function:: 68%|██████▊ | 1979/2894 [00:04<00:02, 432.43it/s]\nMC Level 0.0 Implicit Function:: 70%|██████▉ | 2023/2894 [00:04<00:02, 432.49it/s]\nMC Level 0.0 Implicit Function:: 71%|███████▏ | 2067/2894 [00:04<00:01, 432.90it/s]\nMC Level 0.0 Implicit Function:: 73%|███████▎ | 2111/2894 [00:04<00:01, 433.37it/s]\nMC Level 0.0 Implicit Function:: 74%|███████▍ | 2155/2894 [00:04<00:01, 433.33it/s]\nMC Level 0.0 Implicit Function:: 76%|███████▌ | 2199/2894 [00:05<00:01, 433.41it/s]\nMC Level 0.0 Implicit Function:: 78%|███████▊ | 2243/2894 [00:05<00:01, 433.14it/s]\nMC Level 0.0 Implicit Function:: 79%|███████▉ | 2287/2894 [00:05<00:01, 433.18it/s]\nMC Level 0.0 Implicit Function:: 81%|████████ | 2331/2894 [00:05<00:01, 432.90it/s]\nMC Level 0.0 Implicit Function:: 82%|████████▏ | 2375/2894 [00:05<00:01, 433.10it/s]\nMC Level 0.0 Implicit Function:: 84%|████████▎ | 2419/2894 [00:05<00:01, 432.85it/s]\nMC Level 0.0 Implicit Function:: 85%|████████▌ | 2463/2894 [00:05<00:00, 432.49it/s]\nMC Level 0.0 Implicit Function:: 87%|████████▋ | 2507/2894 [00:05<00:00, 432.21it/s]\nMC Level 0.0 Implicit Function:: 88%|████████▊ | 2551/2894 [00:05<00:00, 431.63it/s]\nMC Level 0.0 Implicit Function:: 90%|████████▉ | 2595/2894 [00:05<00:00, 432.13it/s]\nMC Level 0.0 Implicit Function:: 91%|█████████ | 2639/2894 [00:06<00:00, 431.75it/s]\nMC Level 0.0 Implicit Function:: 93%|█████████▎| 2683/2894 [00:06<00:00, 431.49it/s]\nMC Level 0.0 Implicit Function:: 94%|█████████▍| 2727/2894 [00:06<00:00, 431.81it/s]\nMC Level 0.0 Implicit Function:: 96%|█████████▌| 2771/2894 [00:06<00:00, 431.64it/s]\nMC Level 0.0 Implicit Function:: 97%|█████████▋| 2815/2894 [00:06<00:00, 431.80it/s]\nMC Level 0.0 Implicit Function:: 99%|█████████▉| 2859/2894 [00:06<00:00, 431.44it/s]\nMC Level 0.0 Implicit Function:: 100%|██████████| 2894/2894 [00:06<00:00, 433.29it/s]\nMoviepy - Building video ./modelVideo.mp4.\nMoviepy - Writing video ./modelVideo.mp4\nt: 0%| | 0/61 [00:00<?, ?it/s, now=None]\nt: 56%|█████▌ | 34/61 [00:00<00:00, 336.12it/s, now=None]\nMoviepy - Done !\nMoviepy - video ready ./modelVideo.mp4",
"output": {
"generatedMesh": "https://replicate.delivery/xezq/IPv8MPyCgfXySC03MjTsXpZYlNdOgxNXReUgLWuPKhIpfe5QB/mesh.glb",
"initImg": "https://replicate.delivery/xezq/2F8cCGUjiQ7tF5s0XnahqMfGkeYDHzAsF1UkBy7jevSSf95QB/image.png",
"outputGlb": "https://replicate.delivery/xezq/Opxhh1Qgw4J7DRffAcd5x8YOfk3KtTBpUiQZY0zj6IWSf95QB/texture.glb",
"replicateStatus": "success",
"thumbImg": "https://replicate.delivery/xezq/CDhjHIft0xyaUiMex2jPBYvJcLNwuIcu5dh9S9GVFKOpfe5QB/thumbnail.png",
"video": "https://replicate.delivery/xezq/uTOPhPO6f00xKigs9lfob9JzheywceH5frdkKheY8p3R63nDF/modelVideo.mp4"
},
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-02-12T06:53:38.815Z",
"started_at": "2025-02-12T06:54:47.860236Z",
"completed_at": "2025-02-12T06:55:37.681105Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/w5c7c0j8fxrme0cmz3qret7n6r/cancel",
"get": "https://api.replicate.com/v1/predictions/w5c7c0j8fxrme0cmz3qret7n6r",
"web": "https://replicate.com/p/w5c7c0j8fxrme0cmz3qret7n6r"
},
"metrics": {
"predict_time": 49.820869194,
"total_time": 118.866105
}
}
