camenduru / crm
CRM: Single Image to 3D Textured Mesh with Convolutional Reconstruction Model
Prediction
camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932ID44vsdrlbobmlqjmxqxh535ttzeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 1234
- scale
- 5.5
- steps
- 30
- back_groud_color
- #7F7F7F
- foreground_ratio
- 1
- background_choice
- Auto Remove background
{ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYOsTfFNDT1zQX0MaLCzRkvYuKy7pSBji7MAUwMNuLpyfgNf/%E5%8D%A1%E9%80%9A%E7%8C%AB.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }
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 camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", { input: { seed: 1234, scale: 5.5, steps: 30, image_path: "https://replicate.delivery/pbxt/KYOsTfFNDT1zQX0MaLCzRkvYuKy7pSBji7MAUwMNuLpyfgNf/%E5%8D%A1%E9%80%9A%E7%8C%AB.webp", back_groud_color: "#7F7F7F", foreground_ratio: 1, background_choice: "Auto Remove background" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", input={ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYOsTfFNDT1zQX0MaLCzRkvYuKy7pSBji7MAUwMNuLpyfgNf/%E5%8D%A1%E9%80%9A%E7%8C%AB.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run camenduru/crm 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": "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYOsTfFNDT1zQX0MaLCzRkvYuKy7pSBji7MAUwMNuLpyfgNf/%E5%8D%A1%E9%80%9A%E7%8C%AB.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-03-12T00:18:36.506392Z", "created_at": "2024-03-12T00:11:47.334501Z", "data_removed": false, "error": null, "id": "44vsdrlbobmlqjmxqxh535ttze", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYOsTfFNDT1zQX0MaLCzRkvYuKy7pSBji7MAUwMNuLpyfgNf/%E5%8D%A1%E9%80%9A%E7%8C%AB.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }, "logs": "Auto Remove background\nalhpa channl not enpty, skip remove background, using alpha channel as mask\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.62it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.62it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.61it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.61it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.60it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.59it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.59it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:05, 4.60it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.61it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.61it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.61it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.62it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.62it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.62it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.62it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.62it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.61it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.61it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.62it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.61it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.61it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.61it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 4.61it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.61it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.61it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.61it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.61it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.61it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.61it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.61it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.60it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.61it/s]\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.66it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.63it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.62it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.63it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.62it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.62it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.62it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.62it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.62it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.62it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.62it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.61it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.62it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.61it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.61it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.61it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.61it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.60it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.60it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.60it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.60it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.60it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.60it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.60it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.60it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.60it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.60it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 5.60it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.60it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.60it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.60it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.61it/s]\nunet takes 0.12381410598754883s\n[INFO] mesh cleaning: (23350, 3) --> (89086, 3), (46668, 3) --> (178168, 3)\nuv takes 0.4152209758758545s", "metrics": { "predict_time": 20.175333, "total_time": 409.171891 }, "output": "https://replicate.delivery/pbxt/iGg5hymqtl7cNRDyxXp20Q3g0fQZiVXbEcRnPL8KLROtiqPJA/tmp7ak3lnny.obj", "started_at": "2024-03-12T00:18:16.331059Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/44vsdrlbobmlqjmxqxh535ttze", "cancel": "https://api.replicate.com/v1/predictions/44vsdrlbobmlqjmxqxh535ttze/cancel" }, "version": "9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932" }
Generated inAuto Remove background alhpa channl not enpty, skip remove background, using alpha channel as mask DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.62it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.62it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.61it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.61it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.60it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.59it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.59it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:05, 4.60it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.61it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.61it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.61it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.62it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.62it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.62it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.62it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.62it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.61it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.61it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.62it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.61it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.61it/s] DDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.61it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 4.61it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.61it/s] DDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.61it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.61it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.61it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.61it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.61it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.61it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.60it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.61it/s] DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.66it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.63it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.62it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.63it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.62it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.62it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.62it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.62it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.62it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.62it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.62it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.61it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.62it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.61it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.61it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.61it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.61it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.60it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.60it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.60it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.60it/s] DDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.60it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.60it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.60it/s] DDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.60it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.60it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.60it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 5.60it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.60it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.60it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.60it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.61it/s] unet takes 0.12381410598754883s [INFO] mesh cleaning: (23350, 3) --> (89086, 3), (46668, 3) --> (178168, 3) uv takes 0.4152209758758545s
Prediction
camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932IDqorgb5rb5rvgpxvbtmdviall3yStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- seed
- 1234
- scale
- 5.5
- steps
- 30
- back_groud_color
- #7F7F7F
- foreground_ratio
- 1
- background_choice
- Auto Remove background
{ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }
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 camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", { input: { seed: 1234, scale: 5.5, steps: 30, image_path: "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", back_groud_color: "#7F7F7F", foreground_ratio: 1, background_choice: "Auto Remove background" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", input={ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run camenduru/crm 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": "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-03-12T05:26:48.440479Z", "created_at": "2024-03-12T05:20:04.032651Z", "data_removed": false, "error": null, "id": "qorgb5rb5rvgpxvbtmdviall3y", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }, "logs": "Auto Remove background\nalhpa channl not enpty, skip remove background, using alpha channel as mask\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:07, 3.95it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.24it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.91it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 6.29it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:00<00:03, 6.52it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:00<00:03, 6.67it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:03, 6.77it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:03, 6.83it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 6.88it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 6.91it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:01<00:02, 6.93it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:01<00:02, 6.94it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:01<00:02, 6.95it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:02<00:02, 6.96it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 6.96it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 6.97it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:02<00:02, 6.97it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:02<00:01, 6.97it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:02<00:01, 6.98it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:02<00:01, 6.97it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 6.97it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 6.97it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:03<00:01, 6.97it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:03<00:01, 6.98it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:03<00:00, 6.98it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:03<00:00, 6.97it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:03<00:00, 6.97it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 6.97it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:04<00:00, 6.97it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:04<00:00, 6.97it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:04<00:00, 6.97it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:04<00:00, 6.80it/s]\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:04, 6.06it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:04, 7.24it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:03, 7.72it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:03, 7.97it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:00<00:03, 8.12it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:00<00:03, 8.20it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:00<00:02, 8.26it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:00<00:02, 8.30it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:02, 8.32it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:01<00:02, 8.34it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:01<00:02, 8.36it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:01<00:02, 8.36it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:01<00:02, 8.36it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:01<00:02, 8.37it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:01<00:01, 8.37it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:01<00:01, 8.37it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:02<00:01, 8.37it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:02<00:01, 8.37it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:02<00:01, 8.38it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:02<00:01, 8.38it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:02<00:01, 8.38it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:02<00:01, 8.38it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:02<00:00, 8.27it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:02<00:00, 8.31it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:03<00:00, 8.33it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:03<00:00, 8.34it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:03<00:00, 8.36it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:03<00:00, 8.37it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:03<00:00, 8.38it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:03<00:00, 8.38it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:03<00:00, 8.38it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:03<00:00, 8.27it/s]\nunet takes 0.2004241943359375s\n[INFO] mesh cleaning: (10510, 3) --> (39825, 3), (20996, 3) --> (79650, 3)\nuv takes 0.31412601470947266s", "metrics": { "predict_time": 11.400409, "total_time": 404.407828 }, "output": "https://replicate.delivery/pbxt/4T3FFdvkzzbxHtzq7wXaFuDrq6rSHtkqzeV4nzex9TJYmZfkA/tmpdva7st55.obj", "started_at": "2024-03-12T05:26:37.040070Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qorgb5rb5rvgpxvbtmdviall3y", "cancel": "https://api.replicate.com/v1/predictions/qorgb5rb5rvgpxvbtmdviall3y/cancel" }, "version": "9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932" }
Generated inAuto Remove background alhpa channl not enpty, skip remove background, using alpha channel as mask DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:07, 3.95it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.24it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.91it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 6.29it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:00<00:03, 6.52it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:00<00:03, 6.67it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:03, 6.77it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:03, 6.83it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 6.88it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 6.91it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:01<00:02, 6.93it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:01<00:02, 6.94it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:01<00:02, 6.95it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:02<00:02, 6.96it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 6.96it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 6.97it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:02<00:02, 6.97it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:02<00:01, 6.97it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:02<00:01, 6.98it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:02<00:01, 6.97it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 6.97it/s] DDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 6.97it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:03<00:01, 6.97it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:03<00:01, 6.98it/s] DDIM Sampler: 81%|████████ | 25/31 [00:03<00:00, 6.98it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:03<00:00, 6.97it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:03<00:00, 6.97it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 6.97it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:04<00:00, 6.97it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:04<00:00, 6.97it/s] DDIM Sampler: 100%|██████████| 31/31 [00:04<00:00, 6.97it/s] DDIM Sampler: 100%|██████████| 31/31 [00:04<00:00, 6.80it/s] DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:04, 6.06it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:04, 7.24it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:03, 7.72it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:03, 7.97it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:00<00:03, 8.12it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:00<00:03, 8.20it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:00<00:02, 8.26it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:00<00:02, 8.30it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:02, 8.32it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:01<00:02, 8.34it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:01<00:02, 8.36it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:01<00:02, 8.36it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:01<00:02, 8.36it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:01<00:02, 8.37it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:01<00:01, 8.37it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:01<00:01, 8.37it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:02<00:01, 8.37it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:02<00:01, 8.37it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:02<00:01, 8.38it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:02<00:01, 8.38it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:02<00:01, 8.38it/s] DDIM Sampler: 71%|███████ | 22/31 [00:02<00:01, 8.38it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:02<00:00, 8.27it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:02<00:00, 8.31it/s] DDIM Sampler: 81%|████████ | 25/31 [00:03<00:00, 8.33it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:03<00:00, 8.34it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:03<00:00, 8.36it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:03<00:00, 8.37it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:03<00:00, 8.38it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:03<00:00, 8.38it/s] DDIM Sampler: 100%|██████████| 31/31 [00:03<00:00, 8.38it/s] DDIM Sampler: 100%|██████████| 31/31 [00:03<00:00, 8.27it/s] unet takes 0.2004241943359375s [INFO] mesh cleaning: (10510, 3) --> (39825, 3), (20996, 3) --> (79650, 3) uv takes 0.31412601470947266s
Prediction
camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932IDu32eemtbxwbhs7kzhxq376ghkuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 1234
- scale
- 5.5
- steps
- 30
- back_groud_color
- #7F7F7F
- foreground_ratio
- 1
- background_choice
- Auto Remove background
{ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYP05ac8z0NHWp3dHzIqXyevmteGtqyOPwGRTLadnnZ2rRtj/%E7%9A%AE%E5%8D%A1%E4%B8%98.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }
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 camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", { input: { seed: 1234, scale: 5.5, steps: 30, image_path: "https://replicate.delivery/pbxt/KYP05ac8z0NHWp3dHzIqXyevmteGtqyOPwGRTLadnnZ2rRtj/%E7%9A%AE%E5%8D%A1%E4%B8%98.webp", back_groud_color: "#7F7F7F", foreground_ratio: 1, background_choice: "Auto Remove background" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", input={ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYP05ac8z0NHWp3dHzIqXyevmteGtqyOPwGRTLadnnZ2rRtj/%E7%9A%AE%E5%8D%A1%E4%B8%98.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run camenduru/crm 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": "camenduru/crm:9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYP05ac8z0NHWp3dHzIqXyevmteGtqyOPwGRTLadnnZ2rRtj/%E7%9A%AE%E5%8D%A1%E4%B8%98.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-03-12T00:25:24.578710Z", "created_at": "2024-03-12T00:19:49.826687Z", "data_removed": false, "error": null, "id": "u32eemtbxwbhs7kzhxq376ghku", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYP05ac8z0NHWp3dHzIqXyevmteGtqyOPwGRTLadnnZ2rRtj/%E7%9A%AE%E5%8D%A1%E4%B8%98.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }, "logs": "Auto Remove background\nalhpa channl not enpty, skip remove background, using alpha channel as mask\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.66it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.66it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.66it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.66it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.66it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.66it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.66it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 4.65it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.65it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.65it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.65it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.64it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.64it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.64it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.64it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.64it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.64it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.64it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.64it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.64it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.64it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.64it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 4.64it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.64it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.64it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.64it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.64it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.64it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.64it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.65it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.65it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.65it/s]\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.70it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.70it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.70it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.70it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.70it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.70it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.69it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.69it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.69it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.69it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.69it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.69it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.69it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:02<00:02, 5.68it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.68it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.68it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:02<00:02, 5.68it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.68it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.68it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.68it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.68it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.68it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.68it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.68it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.67it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.67it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.67it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 5.67it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.68it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.67it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.67it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.68it/s]\nunet takes 0.1271965503692627s\n[INFO] mesh cleaning: (10344, 3) --> (39656, 3), (20680, 3) --> (79308, 3)\nuv takes 0.18880367279052734s", "metrics": { "predict_time": 20.513658, "total_time": 334.752023 }, "output": "https://replicate.delivery/pbxt/WXRIcGCn7VbBGVFDXWsIrC2MMR91LCFvJUX83nxWCXi8S1nE/tmp1eyi5ylz.obj", "started_at": "2024-03-12T00:25:04.065052Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/u32eemtbxwbhs7kzhxq376ghku", "cancel": "https://api.replicate.com/v1/predictions/u32eemtbxwbhs7kzhxq376ghku/cancel" }, "version": "9a17c48c7e8a6c1b75788b454a234c13833277afafda546e014e59c3837f8932" }
Generated inAuto Remove background alhpa channl not enpty, skip remove background, using alpha channel as mask DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.66it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.66it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.66it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.66it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.66it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.66it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.66it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 4.65it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.65it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.65it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.65it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.64it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.64it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.64it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.64it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.64it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.64it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.64it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.64it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.64it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.64it/s] DDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.64it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 4.64it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.64it/s] DDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.64it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.64it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.64it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.64it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.64it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.65it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.65it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.65it/s] DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.70it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.70it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.70it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.70it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.70it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.70it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.69it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.69it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.69it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.69it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.69it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.69it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.69it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:02<00:02, 5.68it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.68it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.68it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:02<00:02, 5.68it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.68it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.68it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.68it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.68it/s] DDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.68it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.68it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.68it/s] DDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.67it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.67it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.67it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 5.67it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.68it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.67it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.67it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.68it/s] unet takes 0.1271965503692627s [INFO] mesh cleaning: (10344, 3) --> (39656, 3), (20680, 3) --> (79308, 3) uv takes 0.18880367279052734s
Prediction
camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9IDr45x5etbq7e2ydfxsoxoca64a4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 1234
- scale
- 5.5
- steps
- 30
- back_groud_color
- #7F7F7F
- foreground_ratio
- 1
- background_choice
- Auto Remove background
{ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }
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 camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9", { input: { seed: 1234, scale: 5.5, steps: 30, image_path: "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", back_groud_color: "#7F7F7F", foreground_ratio: 1, background_choice: "Auto Remove background" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9", input={ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run camenduru/crm 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": "camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-03-11T22:26:07.216783Z", "created_at": "2024-03-11T22:23:35.349551Z", "data_removed": false, "error": null, "id": "r45x5etbq7e2ydfxsoxoca64a4", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNDxJM3CvnQzh7eKtaiTfhKXkQBdWJQAhj4jYhJNlGG0SlA/3D%E5%8D%A1%E9%80%9A%E7%8B%97.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }, "logs": "Auto Remove background\nalhpa channl not enpty, skip remove background, using alpha channel as mask\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.67it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.65it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.65it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.64it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.64it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.64it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.64it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 4.64it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.64it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.63it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.63it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.63it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.63it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.63it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.63it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.62it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.62it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.62it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.62it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.62it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.62it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.61it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 4.62it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.62it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.62it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.61it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.61it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.61it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.61it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.62it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.62it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.63it/s]\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.65it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.64it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.64it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.64it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.65it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.65it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.64it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.64it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.64it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.63it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.64it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.64it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.64it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.65it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.66it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.66it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.67it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.67it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.67it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.67it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.67it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.67it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.66it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.66it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.66it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.66it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.67it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 5.66it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.66it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.66it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.67it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.66it/s]\nunet takes 0.12775754928588867s\n[INFO] mesh cleaning: (10564, 3) --> (40090, 3), (21116, 3) --> (80176, 3)\nuv takes 0.20416593551635742s", "metrics": { "predict_time": 20.940498, "total_time": 151.867232 }, "output": "https://replicate.delivery/pbxt/Dlviy0Q7qibnLpFGJCk1ftI5s3PI1ErIJpo7DFFwG6iebTfkA/tmpj41ukkwc.obj", "started_at": "2024-03-11T22:25:46.276285Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/r45x5etbq7e2ydfxsoxoca64a4", "cancel": "https://api.replicate.com/v1/predictions/r45x5etbq7e2ydfxsoxoca64a4/cancel" }, "version": "fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9" }
Generated inAuto Remove background alhpa channl not enpty, skip remove background, using alpha channel as mask DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.67it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.65it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.65it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.64it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.64it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.64it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.64it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 4.64it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.64it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.63it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.63it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.63it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.63it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.63it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.63it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.62it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.62it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.62it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.62it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.62it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.62it/s] DDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.61it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 4.62it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.62it/s] DDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.62it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.61it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.61it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.61it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.61it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.62it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.62it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.63it/s] DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.65it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.64it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.64it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.64it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.65it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.65it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.64it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.64it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.64it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.63it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.64it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.64it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.64it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.65it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.66it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.66it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.67it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.67it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.67it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.67it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.67it/s] DDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.67it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.66it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.66it/s] DDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.66it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.66it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.67it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:04<00:00, 5.66it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.66it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.66it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.67it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.66it/s] unet takes 0.12775754928588867s [INFO] mesh cleaning: (10564, 3) --> (40090, 3), (21116, 3) --> (80176, 3) uv takes 0.20416593551635742s
Prediction
camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9ID722kpqtbyt22xfwp3ntzlxxtsaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 1234
- scale
- 5.5
- steps
- 30
- back_groud_color
- #7F7F7F
- foreground_ratio
- 1
- background_choice
- Auto Remove background
{ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNYgtPtoe9ONszHDt8CYv24BRwj8Xaep58136JcZE8S2AO4/%E7%8E%A9%E5%85%B7%E7%86%8A.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }
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 camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9", { input: { seed: 1234, scale: 5.5, steps: 30, image_path: "https://replicate.delivery/pbxt/KYNYgtPtoe9ONszHDt8CYv24BRwj8Xaep58136JcZE8S2AO4/%E7%8E%A9%E5%85%B7%E7%86%8A.webp", back_groud_color: "#7F7F7F", foreground_ratio: 1, background_choice: "Auto Remove background" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9", input={ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNYgtPtoe9ONszHDt8CYv24BRwj8Xaep58136JcZE8S2AO4/%E7%8E%A9%E5%85%B7%E7%86%8A.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run camenduru/crm 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": "camenduru/crm:fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNYgtPtoe9ONszHDt8CYv24BRwj8Xaep58136JcZE8S2AO4/%E7%8E%A9%E5%85%B7%E7%86%8A.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-03-11T22:50:45.562876Z", "created_at": "2024-03-11T22:45:28.676063Z", "data_removed": false, "error": null, "id": "722kpqtbyt22xfwp3ntzlxxtsa", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNYgtPtoe9ONszHDt8CYv24BRwj8Xaep58136JcZE8S2AO4/%E7%8E%A9%E5%85%B7%E7%86%8A.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }, "logs": "Auto Remove background\nalhpa channl not enpty, skip remove background, using alpha channel as mask\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.57it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.57it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.57it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.57it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.57it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.56it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.56it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:05, 4.56it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.56it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.56it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.57it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.57it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.57it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.57it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.57it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.57it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.57it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.57it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.57it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.57it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.57it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.57it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:05<00:01, 4.57it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.57it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.57it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.57it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.57it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.57it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.57it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.57it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.56it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.57it/s]\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.62it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.60it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:05, 5.59it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.59it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.59it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.58it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.58it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.57it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.58it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.57it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.58it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.58it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.58it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.58it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.58it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.58it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.58it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.58it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.58it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.57it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.57it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.57it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.57it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.56it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.56it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.56it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.56it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:05<00:00, 5.56it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.56it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.55it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.55it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.57it/s]\nunet takes 0.12474918365478516s\n[INFO] mesh cleaning: (11194, 3) --> (43220, 3), (22380, 3) --> (86436, 3)\nuv takes 0.21634864807128906s", "metrics": { "predict_time": 21.294945, "total_time": 316.886813 }, "output": "https://replicate.delivery/pbxt/UjgAO6RCeJ0aWaxryBosI6NQOEYd4BTYMHRC0sErsIIi5pPJA/tmp3smdb0qe.obj", "started_at": "2024-03-11T22:50:24.267931Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/722kpqtbyt22xfwp3ntzlxxtsa", "cancel": "https://api.replicate.com/v1/predictions/722kpqtbyt22xfwp3ntzlxxtsa/cancel" }, "version": "fbeabfcb54c1cb302bb1d2aebd1828fa0b7119059b9c519a1a46c2aff0e8d4a9" }
Generated inAuto Remove background alhpa channl not enpty, skip remove background, using alpha channel as mask DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.57it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.57it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.57it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.57it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.57it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.56it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.56it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:05, 4.56it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.56it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.56it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.57it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.57it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.57it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.57it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.57it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.57it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.57it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.57it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.57it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.57it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.57it/s] DDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.57it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:05<00:01, 4.57it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.57it/s] DDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.57it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.57it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.57it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.57it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.57it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.57it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.56it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.57it/s] DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.62it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.60it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:05, 5.59it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.59it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.59it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.58it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.58it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.57it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.58it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.57it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.58it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.58it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.58it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.58it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.58it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.58it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.58it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.58it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.58it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.57it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.57it/s] DDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.57it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.57it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.56it/s] DDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.56it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.56it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.56it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:05<00:00, 5.56it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.56it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.55it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.55it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.57it/s] unet takes 0.12474918365478516s [INFO] mesh cleaning: (11194, 3) --> (43220, 3), (22380, 3) --> (86436, 3) uv takes 0.21634864807128906s
Prediction
camenduru/crm:712253c6f4eb28beea4d75d803caa4e15425ec3b0d95fa5d9e43917419dae78dIDib5g5hlbd7t5mrs7bkaa3pqkeyStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 1234
- scale
- 5.5
- steps
- 30
- back_groud_color
- #7F7F7F
- foreground_ratio
- 1
- background_choice
- Auto Remove background
{ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNksi8GYirvn2Au8ZpqDLRLDhAENjn46e6wUcp91wj4erH0/%E8%93%9D%E8%89%B2%E5%B0%8F%E6%80%AA%E7%89%A9.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }
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 camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/crm:712253c6f4eb28beea4d75d803caa4e15425ec3b0d95fa5d9e43917419dae78d", { input: { seed: 1234, scale: 5.5, steps: 30, image_path: "https://replicate.delivery/pbxt/KYNksi8GYirvn2Au8ZpqDLRLDhAENjn46e6wUcp91wj4erH0/%E8%93%9D%E8%89%B2%E5%B0%8F%E6%80%AA%E7%89%A9.webp", back_groud_color: "#7F7F7F", foreground_ratio: 1, background_choice: "Auto Remove background" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", 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
Import the client:import replicate
Run camenduru/crm using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/crm:712253c6f4eb28beea4d75d803caa4e15425ec3b0d95fa5d9e43917419dae78d", input={ "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNksi8GYirvn2Au8ZpqDLRLDhAENjn46e6wUcp91wj4erH0/%E8%93%9D%E8%89%B2%E5%B0%8F%E6%80%AA%E7%89%A9.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run camenduru/crm 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": "camenduru/crm:712253c6f4eb28beea4d75d803caa4e15425ec3b0d95fa5d9e43917419dae78d", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNksi8GYirvn2Au8ZpqDLRLDhAENjn46e6wUcp91wj4erH0/%E8%93%9D%E8%89%B2%E5%B0%8F%E6%80%AA%E7%89%A9.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-03-11T23:07:57.142819Z", "created_at": "2024-03-11T22:58:20.769849Z", "data_removed": false, "error": null, "id": "ib5g5hlbd7t5mrs7bkaa3pqkey", "input": { "seed": 1234, "scale": 5.5, "steps": 30, "image_path": "https://replicate.delivery/pbxt/KYNksi8GYirvn2Au8ZpqDLRLDhAENjn46e6wUcp91wj4erH0/%E8%93%9D%E8%89%B2%E5%B0%8F%E6%80%AA%E7%89%A9.webp", "back_groud_color": "#7F7F7F", "foreground_ratio": 1, "background_choice": "Auto Remove background" }, "logs": "Auto Remove background\nalhpa channl not enpty, skip remove background, using alpha channel as mask\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.60it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.59it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.59it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.59it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.59it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.59it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.60it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 4.60it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.60it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.60it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.60it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.60it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.60it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.59it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.59it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.59it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.59it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.60it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.60it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.59it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.59it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.59it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:05<00:01, 4.59it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.59it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.59it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.59it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.59it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.59it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.59it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.59it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.59it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.59it/s]\nDDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s]\nDDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.62it/s]\nDDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.61it/s]\nDDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.61it/s]\nDDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.61it/s]\nDDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.60it/s]\nDDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.60it/s]\nDDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.60it/s]\nDDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.60it/s]\nDDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.60it/s]\nDDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.60it/s]\nDDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.59it/s]\nDDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.60it/s]\nDDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.59it/s]\nDDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.59it/s]\nDDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.59it/s]\nDDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.59it/s]\nDDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.59it/s]\nDDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.59it/s]\nDDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.59it/s]\nDDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.59it/s]\nDDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.60it/s]\nDDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.59it/s]\nDDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.59it/s]\nDDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.59it/s]\nDDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.59it/s]\nDDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.59it/s]\nDDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.59it/s]\nDDIM Sampler: 90%|█████████ | 28/31 [00:05<00:00, 5.59it/s]\nDDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.59it/s]\nDDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.59it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.59it/s]\nDDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.59it/s]\nunet takes 0.13082671165466309s\n[INFO] mesh cleaning: (21406, 3) --> (81782, 3), (42788, 3) --> (163560, 3)\nuv takes 0.3924684524536133s", "metrics": { "predict_time": 21.501717, "total_time": 576.37297 }, "output": "https://replicate.delivery/pbxt/2tfT3h9huevi5kPwDN6WKfvAvpggJpzBjEE6tFuxgBvZGoeJB/tmp6880o9mm.obj", "started_at": "2024-03-11T23:07:35.641102Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ib5g5hlbd7t5mrs7bkaa3pqkey", "cancel": "https://api.replicate.com/v1/predictions/ib5g5hlbd7t5mrs7bkaa3pqkey/cancel" }, "version": "712253c6f4eb28beea4d75d803caa4e15425ec3b0d95fa5d9e43917419dae78d" }
Generated inAuto Remove background alhpa channl not enpty, skip remove background, using alpha channel as mask DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:06, 4.60it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:06, 4.59it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:06, 4.59it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:05, 4.59it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:01<00:05, 4.59it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:05, 4.59it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:05, 4.60it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 4.60it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:04, 4.60it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:02<00:04, 4.60it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:02<00:04, 4.60it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:04, 4.60it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 4.60it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:03<00:03, 4.59it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:03<00:03, 4.59it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:03<00:03, 4.59it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:03, 4.59it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 4.60it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:04<00:02, 4.60it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:04<00:02, 4.59it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:04<00:02, 4.59it/s] DDIM Sampler: 71%|███████ | 22/31 [00:04<00:01, 4.59it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:05<00:01, 4.59it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:05<00:01, 4.59it/s] DDIM Sampler: 81%|████████ | 25/31 [00:05<00:01, 4.59it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:05<00:01, 4.59it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:05<00:00, 4.59it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:06<00:00, 4.59it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:06<00:00, 4.59it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:06<00:00, 4.59it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.59it/s] DDIM Sampler: 100%|██████████| 31/31 [00:06<00:00, 4.59it/s] DDIM Sampler: 0%| | 0/31 [00:00<?, ?it/s] DDIM Sampler: 3%|▎ | 1/31 [00:00<00:05, 5.62it/s] DDIM Sampler: 6%|▋ | 2/31 [00:00<00:05, 5.61it/s] DDIM Sampler: 10%|▉ | 3/31 [00:00<00:04, 5.61it/s] DDIM Sampler: 13%|█▎ | 4/31 [00:00<00:04, 5.61it/s] DDIM Sampler: 16%|█▌ | 5/31 [00:00<00:04, 5.60it/s] DDIM Sampler: 19%|█▉ | 6/31 [00:01<00:04, 5.60it/s] DDIM Sampler: 23%|██▎ | 7/31 [00:01<00:04, 5.60it/s] DDIM Sampler: 26%|██▌ | 8/31 [00:01<00:04, 5.60it/s] DDIM Sampler: 29%|██▉ | 9/31 [00:01<00:03, 5.60it/s] DDIM Sampler: 32%|███▏ | 10/31 [00:01<00:03, 5.60it/s] DDIM Sampler: 35%|███▌ | 11/31 [00:01<00:03, 5.59it/s] DDIM Sampler: 39%|███▊ | 12/31 [00:02<00:03, 5.60it/s] DDIM Sampler: 42%|████▏ | 13/31 [00:02<00:03, 5.59it/s] DDIM Sampler: 45%|████▌ | 14/31 [00:02<00:03, 5.59it/s] DDIM Sampler: 48%|████▊ | 15/31 [00:02<00:02, 5.59it/s] DDIM Sampler: 52%|█████▏ | 16/31 [00:02<00:02, 5.59it/s] DDIM Sampler: 55%|█████▍ | 17/31 [00:03<00:02, 5.59it/s] DDIM Sampler: 58%|█████▊ | 18/31 [00:03<00:02, 5.59it/s] DDIM Sampler: 61%|██████▏ | 19/31 [00:03<00:02, 5.59it/s] DDIM Sampler: 65%|██████▍ | 20/31 [00:03<00:01, 5.59it/s] DDIM Sampler: 68%|██████▊ | 21/31 [00:03<00:01, 5.60it/s] DDIM Sampler: 71%|███████ | 22/31 [00:03<00:01, 5.59it/s] DDIM Sampler: 74%|███████▍ | 23/31 [00:04<00:01, 5.59it/s] DDIM Sampler: 77%|███████▋ | 24/31 [00:04<00:01, 5.59it/s] DDIM Sampler: 81%|████████ | 25/31 [00:04<00:01, 5.59it/s] DDIM Sampler: 84%|████████▍ | 26/31 [00:04<00:00, 5.59it/s] DDIM Sampler: 87%|████████▋ | 27/31 [00:04<00:00, 5.59it/s] DDIM Sampler: 90%|█████████ | 28/31 [00:05<00:00, 5.59it/s] DDIM Sampler: 94%|█████████▎| 29/31 [00:05<00:00, 5.59it/s] DDIM Sampler: 97%|█████████▋| 30/31 [00:05<00:00, 5.59it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.59it/s] DDIM Sampler: 100%|██████████| 31/31 [00:05<00:00, 5.59it/s] unet takes 0.13082671165466309s [INFO] mesh cleaning: (21406, 3) --> (81782, 3), (42788, 3) --> (163560, 3) uv takes 0.3924684524536133s
Want to make some of these yourself?
Run this model