open-mmlab
/
pia
Personalized Image Animator
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bID6mqyx4tboj5mz7lu4y7okohgmiStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- 3d_cartoon
- prompt
- 1boy in Christmas suit, lift a Christmas gift
- max_size
- 512
- motion_scale
- 2
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/K9AmSTuJQnt6tyBVxgozoHzTHDqLjOxwExLdKvwiiMvIfPTa/yiming.jpeg", "style": "3d_cartoon", "prompt": "1boy in Christmas suit, lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/K9AmSTuJQnt6tyBVxgozoHzTHDqLjOxwExLdKvwiiMvIfPTa/yiming.jpeg", style: "3d_cartoon", prompt: "1boy in Christmas suit, lift a Christmas gift", max_size: 512, motion_scale: 2, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/K9AmSTuJQnt6tyBVxgozoHzTHDqLjOxwExLdKvwiiMvIfPTa/yiming.jpeg", "style": "3d_cartoon", "prompt": "1boy in Christmas suit, lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/K9AmSTuJQnt6tyBVxgozoHzTHDqLjOxwExLdKvwiiMvIfPTa/yiming.jpeg", "style": "3d_cartoon", "prompt": "1boy in Christmas suit, lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-12-31T22:41:52.774186Z", "created_at": "2023-12-31T22:28:26.628605Z", "data_removed": false, "error": null, "id": "6mqyx4tboj5mz7lu4y7okohgmi", "input": { "image": "https://replicate.delivery/pbxt/K9AmSTuJQnt6tyBVxgozoHzTHDqLjOxwExLdKvwiiMvIfPTa/yiming.jpeg", "style": "3d_cartoon", "prompt": "1boy in Christmas suit, lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 2887639349758510552\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:12, 1.89it/s]\n 8%|▊ | 2/25 [00:01<00:12, 1.88it/s]\n 12%|█▏ | 3/25 [00:01<00:11, 1.88it/s]\n 16%|█▌ | 4/25 [00:02<00:11, 1.87it/s]\n 20%|██ | 5/25 [00:02<00:10, 1.88it/s]\n 24%|██▍ | 6/25 [00:03<00:10, 1.88it/s]\n 28%|██▊ | 7/25 [00:03<00:09, 1.87it/s]\n 32%|███▏ | 8/25 [00:04<00:09, 1.87it/s]\n 36%|███▌ | 9/25 [00:04<00:08, 1.87it/s]\n 40%|████ | 10/25 [00:05<00:08, 1.87it/s]\n 44%|████▍ | 11/25 [00:05<00:07, 1.87it/s]\n 48%|████▊ | 12/25 [00:06<00:06, 1.87it/s]\n 52%|█████▏ | 13/25 [00:06<00:06, 1.87it/s]\n 56%|█████▌ | 14/25 [00:07<00:05, 1.87it/s]\n 60%|██████ | 15/25 [00:08<00:05, 1.87it/s]\n 64%|██████▍ | 16/25 [00:08<00:04, 1.87it/s]\n 68%|██████▊ | 17/25 [00:09<00:04, 1.87it/s]\n 72%|███████▏ | 18/25 [00:09<00:03, 1.87it/s]\n 76%|███████▌ | 19/25 [00:10<00:03, 1.86it/s]\n 80%|████████ | 20/25 [00:10<00:02, 1.86it/s]\n 84%|████████▍ | 21/25 [00:11<00:02, 1.86it/s]\n 88%|████████▊ | 22/25 [00:11<00:01, 1.86it/s]\n 92%|█████████▏| 23/25 [00:12<00:01, 1.86it/s]\n 96%|█████████▌| 24/25 [00:12<00:00, 1.86it/s]\n100%|██████████| 25/25 [00:13<00:00, 1.87it/s]\n100%|██████████| 25/25 [00:13<00:00, 1.87it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 38%|███▊ | 6/16 [00:00<00:00, 44.62it/s]\n 69%|██████▉ | 11/16 [00:00<00:00, 29.37it/s]\n 94%|█████████▍| 15/16 [00:00<00:00, 26.47it/s]\n100%|██████████| 16/16 [00:00<00:00, 27.94it/s]", "metrics": { "predict_time": 17.303634, "total_time": 806.145581 }, "output": "https://replicate.delivery/pbxt/ZiuZa3DPBWZZFt0GBulgbtiNzz26JHTTLkwOaKnmeqxXA9DJA/out.mp4", "started_at": "2023-12-31T22:41:35.470552Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6mqyx4tboj5mz7lu4y7okohgmi", "cancel": "https://api.replicate.com/v1/predictions/6mqyx4tboj5mz7lu4y7okohgmi/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 2887639349758510552 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:12, 1.89it/s] 8%|▊ | 2/25 [00:01<00:12, 1.88it/s] 12%|█▏ | 3/25 [00:01<00:11, 1.88it/s] 16%|█▌ | 4/25 [00:02<00:11, 1.87it/s] 20%|██ | 5/25 [00:02<00:10, 1.88it/s] 24%|██▍ | 6/25 [00:03<00:10, 1.88it/s] 28%|██▊ | 7/25 [00:03<00:09, 1.87it/s] 32%|███▏ | 8/25 [00:04<00:09, 1.87it/s] 36%|███▌ | 9/25 [00:04<00:08, 1.87it/s] 40%|████ | 10/25 [00:05<00:08, 1.87it/s] 44%|████▍ | 11/25 [00:05<00:07, 1.87it/s] 48%|████▊ | 12/25 [00:06<00:06, 1.87it/s] 52%|█████▏ | 13/25 [00:06<00:06, 1.87it/s] 56%|█████▌ | 14/25 [00:07<00:05, 1.87it/s] 60%|██████ | 15/25 [00:08<00:05, 1.87it/s] 64%|██████▍ | 16/25 [00:08<00:04, 1.87it/s] 68%|██████▊ | 17/25 [00:09<00:04, 1.87it/s] 72%|███████▏ | 18/25 [00:09<00:03, 1.87it/s] 76%|███████▌ | 19/25 [00:10<00:03, 1.86it/s] 80%|████████ | 20/25 [00:10<00:02, 1.86it/s] 84%|████████▍ | 21/25 [00:11<00:02, 1.86it/s] 88%|████████▊ | 22/25 [00:11<00:01, 1.86it/s] 92%|█████████▏| 23/25 [00:12<00:01, 1.86it/s] 96%|█████████▌| 24/25 [00:12<00:00, 1.86it/s] 100%|██████████| 25/25 [00:13<00:00, 1.87it/s] 100%|██████████| 25/25 [00:13<00:00, 1.87it/s] 0%| | 0/16 [00:00<?, ?it/s] 38%|███▊ | 6/16 [00:00<00:00, 44.62it/s] 69%|██████▉ | 11/16 [00:00<00:00, 29.37it/s] 94%|█████████▍| 15/16 [00:00<00:00, 26.47it/s] 100%|██████████| 16/16 [00:00<00:00, 27.94it/s]
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bIDmb25nm3b4fvnk6w636ywbsyf5aStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- 3d_cartoon
- prompt
- 1girl lift a Christmas gift
- max_size
- 512
- motion_scale
- 2
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/K9BjCPDxSJIwHwYToqvl0zEV7UbHL6yhFRe379QpObQvsPHU/yanhong.png", "style": "3d_cartoon", "prompt": "1girl lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/K9BjCPDxSJIwHwYToqvl0zEV7UbHL6yhFRe379QpObQvsPHU/yanhong.png", style: "3d_cartoon", prompt: "1girl lift a Christmas gift", max_size: 512, motion_scale: 2, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/K9BjCPDxSJIwHwYToqvl0zEV7UbHL6yhFRe379QpObQvsPHU/yanhong.png", "style": "3d_cartoon", "prompt": "1girl lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/K9BjCPDxSJIwHwYToqvl0zEV7UbHL6yhFRe379QpObQvsPHU/yanhong.png", "style": "3d_cartoon", "prompt": "1girl lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-12-31T23:38:35.575443Z", "created_at": "2023-12-31T23:30:26.860814Z", "data_removed": false, "error": null, "id": "mb25nm3b4fvnk6w636ywbsyf5a", "input": { "image": "https://replicate.delivery/pbxt/K9BjCPDxSJIwHwYToqvl0zEV7UbHL6yhFRe379QpObQvsPHU/yanhong.png", "style": "3d_cartoon", "prompt": "1girl lift a Christmas gift", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 915422539172496542\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:14, 1.64it/s]\n 8%|▊ | 2/25 [00:01<00:14, 1.63it/s]\n 12%|█▏ | 3/25 [00:01<00:13, 1.63it/s]\n 16%|█▌ | 4/25 [00:02<00:12, 1.63it/s]\n 20%|██ | 5/25 [00:03<00:12, 1.63it/s]\n 24%|██▍ | 6/25 [00:03<00:11, 1.63it/s]\n 28%|██▊ | 7/25 [00:04<00:11, 1.63it/s]\n 32%|███▏ | 8/25 [00:04<00:10, 1.63it/s]\n 36%|███▌ | 9/25 [00:05<00:09, 1.63it/s]\n 40%|████ | 10/25 [00:06<00:09, 1.63it/s]\n 44%|████▍ | 11/25 [00:06<00:08, 1.63it/s]\n 48%|████▊ | 12/25 [00:07<00:07, 1.63it/s]\n 52%|█████▏ | 13/25 [00:07<00:07, 1.63it/s]\n 56%|█████▌ | 14/25 [00:08<00:06, 1.64it/s]\n 60%|██████ | 15/25 [00:09<00:06, 1.63it/s]\n 64%|██████▍ | 16/25 [00:09<00:05, 1.63it/s]\n 68%|██████▊ | 17/25 [00:10<00:04, 1.63it/s]\n 72%|███████▏ | 18/25 [00:11<00:04, 1.63it/s]\n 76%|███████▌ | 19/25 [00:11<00:03, 1.63it/s]\n 80%|████████ | 20/25 [00:12<00:03, 1.63it/s]\n 84%|████████▍ | 21/25 [00:12<00:02, 1.63it/s]\n 88%|████████▊ | 22/25 [00:13<00:01, 1.63it/s]\n 92%|█████████▏| 23/25 [00:14<00:01, 1.63it/s]\n 96%|█████████▌| 24/25 [00:14<00:00, 1.63it/s]\n100%|██████████| 25/25 [00:15<00:00, 1.63it/s]\n100%|██████████| 25/25 [00:15<00:00, 1.63it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 31%|███▏ | 5/16 [00:00<00:00, 49.29it/s]\n 62%|██████▎ | 10/16 [00:00<00:00, 26.93it/s]\n 88%|████████▊ | 14/16 [00:00<00:00, 23.88it/s]\n100%|██████████| 16/16 [00:00<00:00, 25.01it/s]", "metrics": { "predict_time": 18.515897, "total_time": 488.714629 }, "output": "https://replicate.delivery/pbxt/ODwr5ohJ2AJjNtwnZEZNCZNNTH1geygI99SEYQAxtKj9a9DJA/out.mp4", "started_at": "2023-12-31T23:38:17.059546Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mb25nm3b4fvnk6w636ywbsyf5a", "cancel": "https://api.replicate.com/v1/predictions/mb25nm3b4fvnk6w636ywbsyf5a/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 915422539172496542 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:14, 1.64it/s] 8%|▊ | 2/25 [00:01<00:14, 1.63it/s] 12%|█▏ | 3/25 [00:01<00:13, 1.63it/s] 16%|█▌ | 4/25 [00:02<00:12, 1.63it/s] 20%|██ | 5/25 [00:03<00:12, 1.63it/s] 24%|██▍ | 6/25 [00:03<00:11, 1.63it/s] 28%|██▊ | 7/25 [00:04<00:11, 1.63it/s] 32%|███▏ | 8/25 [00:04<00:10, 1.63it/s] 36%|███▌ | 9/25 [00:05<00:09, 1.63it/s] 40%|████ | 10/25 [00:06<00:09, 1.63it/s] 44%|████▍ | 11/25 [00:06<00:08, 1.63it/s] 48%|████▊ | 12/25 [00:07<00:07, 1.63it/s] 52%|█████▏ | 13/25 [00:07<00:07, 1.63it/s] 56%|█████▌ | 14/25 [00:08<00:06, 1.64it/s] 60%|██████ | 15/25 [00:09<00:06, 1.63it/s] 64%|██████▍ | 16/25 [00:09<00:05, 1.63it/s] 68%|██████▊ | 17/25 [00:10<00:04, 1.63it/s] 72%|███████▏ | 18/25 [00:11<00:04, 1.63it/s] 76%|███████▌ | 19/25 [00:11<00:03, 1.63it/s] 80%|████████ | 20/25 [00:12<00:03, 1.63it/s] 84%|████████▍ | 21/25 [00:12<00:02, 1.63it/s] 88%|████████▊ | 22/25 [00:13<00:01, 1.63it/s] 92%|█████████▏| 23/25 [00:14<00:01, 1.63it/s] 96%|█████████▌| 24/25 [00:14<00:00, 1.63it/s] 100%|██████████| 25/25 [00:15<00:00, 1.63it/s] 100%|██████████| 25/25 [00:15<00:00, 1.63it/s] 0%| | 0/16 [00:00<?, ?it/s] 31%|███▏ | 5/16 [00:00<00:00, 49.29it/s] 62%|██████▎ | 10/16 [00:00<00:00, 26.93it/s] 88%|████████▊ | 14/16 [00:00<00:00, 23.88it/s] 100%|██████████| 16/16 [00:00<00:00, 25.01it/s]
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bIDciga2f3bkdjxwrw6cpzyopwleyStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- 3d_cartoon
- prompt
- sun rising, lighthouse
- max_size
- 512
- motion_scale
- 2
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/KA4fYQzF60918pUOok6zecjT6cWoO0Ux5jXdoSwCXU7WFC3o/lighthouse.jpg", "style": "3d_cartoon", "prompt": "sun rising, lighthouse", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/KA4fYQzF60918pUOok6zecjT6cWoO0Ux5jXdoSwCXU7WFC3o/lighthouse.jpg", style: "3d_cartoon", prompt: "sun rising, lighthouse", max_size: 512, motion_scale: 2, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/KA4fYQzF60918pUOok6zecjT6cWoO0Ux5jXdoSwCXU7WFC3o/lighthouse.jpg", "style": "3d_cartoon", "prompt": "sun rising, lighthouse", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/KA4fYQzF60918pUOok6zecjT6cWoO0Ux5jXdoSwCXU7WFC3o/lighthouse.jpg", "style": "3d_cartoon", "prompt": "sun rising, lighthouse", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-01-03T11:25:43.897692Z", "created_at": "2024-01-03T11:25:22.876168Z", "data_removed": false, "error": null, "id": "ciga2f3bkdjxwrw6cpzyopwley", "input": { "image": "https://replicate.delivery/pbxt/KA4fYQzF60918pUOok6zecjT6cWoO0Ux5jXdoSwCXU7WFC3o/lighthouse.jpg", "style": "3d_cartoon", "prompt": "sun rising, lighthouse", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 15780662957622300638\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:17, 1.39it/s]\n 8%|▊ | 2/25 [00:01<00:16, 1.39it/s]\n 12%|█▏ | 3/25 [00:02<00:15, 1.39it/s]\n 16%|█▌ | 4/25 [00:02<00:15, 1.39it/s]\n 20%|██ | 5/25 [00:03<00:14, 1.39it/s]\n 24%|██▍ | 6/25 [00:04<00:13, 1.39it/s]\n 28%|██▊ | 7/25 [00:05<00:12, 1.39it/s]\n 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s]\n 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s]\n 40%|████ | 10/25 [00:07<00:10, 1.38it/s]\n 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s]\n 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s]\n 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s]\n 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s]\n 60%|██████ | 15/25 [00:10<00:07, 1.38it/s]\n 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s]\n 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s]\n 72%|███████▏ | 18/25 [00:13<00:05, 1.38it/s]\n 76%|███████▌ | 19/25 [00:13<00:04, 1.38it/s]\n 80%|████████ | 20/25 [00:14<00:03, 1.38it/s]\n 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s]\n 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s]\n 92%|█████████▏| 23/25 [00:16<00:01, 1.38it/s]\n 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.38it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.38it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 31%|███▏ | 5/16 [00:00<00:00, 42.64it/s]\n 62%|██████▎ | 10/16 [00:00<00:00, 23.04it/s]\n 81%|████████▏ | 13/16 [00:00<00:00, 20.78it/s]\n100%|██████████| 16/16 [00:00<00:00, 19.56it/s]\n100%|██████████| 16/16 [00:00<00:00, 21.36it/s]", "metrics": { "predict_time": 20.988779, "total_time": 21.021524 }, "output": "https://replicate.delivery/pbxt/OPZ3blKICBbjKRvbuBJFoLynY8ViUVbwYafefGOuUD5uxeiIB/out.mp4", "started_at": "2024-01-03T11:25:22.908913Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ciga2f3bkdjxwrw6cpzyopwley", "cancel": "https://api.replicate.com/v1/predictions/ciga2f3bkdjxwrw6cpzyopwley/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 15780662957622300638 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:17, 1.39it/s] 8%|▊ | 2/25 [00:01<00:16, 1.39it/s] 12%|█▏ | 3/25 [00:02<00:15, 1.39it/s] 16%|█▌ | 4/25 [00:02<00:15, 1.39it/s] 20%|██ | 5/25 [00:03<00:14, 1.39it/s] 24%|██▍ | 6/25 [00:04<00:13, 1.39it/s] 28%|██▊ | 7/25 [00:05<00:12, 1.39it/s] 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s] 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s] 40%|████ | 10/25 [00:07<00:10, 1.38it/s] 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s] 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s] 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s] 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s] 60%|██████ | 15/25 [00:10<00:07, 1.38it/s] 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s] 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s] 72%|███████▏ | 18/25 [00:13<00:05, 1.38it/s] 76%|███████▌ | 19/25 [00:13<00:04, 1.38it/s] 80%|████████ | 20/25 [00:14<00:03, 1.38it/s] 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s] 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s] 92%|█████████▏| 23/25 [00:16<00:01, 1.38it/s] 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s] 100%|██████████| 25/25 [00:18<00:00, 1.38it/s] 100%|██████████| 25/25 [00:18<00:00, 1.38it/s] 0%| | 0/16 [00:00<?, ?it/s] 31%|███▏ | 5/16 [00:00<00:00, 42.64it/s] 62%|██████▎ | 10/16 [00:00<00:00, 23.04it/s] 81%|████████▏ | 13/16 [00:00<00:00, 20.78it/s] 100%|██████████| 16/16 [00:00<00:00, 19.56it/s] 100%|██████████| 16/16 [00:00<00:00, 21.36it/s]
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bIDheuywztbjioceqjm7fpxwuhhqiStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- 3d_cartoon
- prompt
- 1boy smiling
- max_size
- 512
- motion_scale
- 2
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", style: "3d_cartoon", prompt: "1boy smiling", max_size: 512, motion_scale: 2, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-01-03T11:28:04.338944Z", "created_at": "2024-01-03T11:27:43.276323Z", "data_removed": false, "error": null, "id": "heuywztbjioceqjm7fpxwuhhqi", "input": { "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 10845505755589319151\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:17, 1.39it/s]\n 8%|▊ | 2/25 [00:01<00:16, 1.39it/s]\n 12%|█▏ | 3/25 [00:02<00:15, 1.39it/s]\n 16%|█▌ | 4/25 [00:02<00:15, 1.39it/s]\n 20%|██ | 5/25 [00:03<00:14, 1.39it/s]\n 24%|██▍ | 6/25 [00:04<00:13, 1.39it/s]\n 28%|██▊ | 7/25 [00:05<00:12, 1.39it/s]\n 32%|███▏ | 8/25 [00:05<00:12, 1.39it/s]\n 36%|███▌ | 9/25 [00:06<00:11, 1.39it/s]\n 40%|████ | 10/25 [00:07<00:10, 1.39it/s]\n 44%|████▍ | 11/25 [00:07<00:10, 1.39it/s]\n 48%|████▊ | 12/25 [00:08<00:09, 1.39it/s]\n 52%|█████▏ | 13/25 [00:09<00:08, 1.39it/s]\n 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s]\n 60%|██████ | 15/25 [00:10<00:07, 1.38it/s]\n 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s]\n 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s]\n 72%|███████▏ | 18/25 [00:12<00:05, 1.38it/s]\n 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s]\n 80%|████████ | 20/25 [00:14<00:03, 1.38it/s]\n 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s]\n 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s]\n 92%|█████████▏| 23/25 [00:16<00:01, 1.38it/s]\n 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.38it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.38it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 31%|███▏ | 5/16 [00:00<00:00, 42.54it/s]\n 62%|██████▎ | 10/16 [00:00<00:00, 23.04it/s]\n 81%|████████▏ | 13/16 [00:00<00:00, 20.81it/s]\n100%|██████████| 16/16 [00:00<00:00, 19.57it/s]\n100%|██████████| 16/16 [00:00<00:00, 21.38it/s]", "metrics": { "predict_time": 21.02851, "total_time": 21.062621 }, "output": "https://replicate.delivery/pbxt/7cni6Ccdpq5LABEkfUwvkOThGVoVND8rOppX29E44bthtXEJA/out.mp4", "started_at": "2024-01-03T11:27:43.310434Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/heuywztbjioceqjm7fpxwuhhqi", "cancel": "https://api.replicate.com/v1/predictions/heuywztbjioceqjm7fpxwuhhqi/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 10845505755589319151 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:17, 1.39it/s] 8%|▊ | 2/25 [00:01<00:16, 1.39it/s] 12%|█▏ | 3/25 [00:02<00:15, 1.39it/s] 16%|█▌ | 4/25 [00:02<00:15, 1.39it/s] 20%|██ | 5/25 [00:03<00:14, 1.39it/s] 24%|██▍ | 6/25 [00:04<00:13, 1.39it/s] 28%|██▊ | 7/25 [00:05<00:12, 1.39it/s] 32%|███▏ | 8/25 [00:05<00:12, 1.39it/s] 36%|███▌ | 9/25 [00:06<00:11, 1.39it/s] 40%|████ | 10/25 [00:07<00:10, 1.39it/s] 44%|████▍ | 11/25 [00:07<00:10, 1.39it/s] 48%|████▊ | 12/25 [00:08<00:09, 1.39it/s] 52%|█████▏ | 13/25 [00:09<00:08, 1.39it/s] 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s] 60%|██████ | 15/25 [00:10<00:07, 1.38it/s] 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s] 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s] 72%|███████▏ | 18/25 [00:12<00:05, 1.38it/s] 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s] 80%|████████ | 20/25 [00:14<00:03, 1.38it/s] 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s] 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s] 92%|█████████▏| 23/25 [00:16<00:01, 1.38it/s] 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s] 100%|██████████| 25/25 [00:18<00:00, 1.38it/s] 100%|██████████| 25/25 [00:18<00:00, 1.38it/s] 0%| | 0/16 [00:00<?, ?it/s] 31%|███▏ | 5/16 [00:00<00:00, 42.54it/s] 62%|██████▎ | 10/16 [00:00<00:00, 23.04it/s] 81%|████████▏ | 13/16 [00:00<00:00, 20.81it/s] 100%|██████████| 16/16 [00:00<00:00, 19.57it/s] 100%|██████████| 16/16 [00:00<00:00, 21.38it/s]
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bIDrysmfv3b6r32rsppghdv2sfuq4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- 3d_cartoon
- prompt
- 1boy smiling
- max_size
- 512
- motion_scale
- 1
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", style: "3d_cartoon", prompt: "1boy smiling", max_size: 512, motion_scale: 1, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-01-03T11:29:58.244116Z", "created_at": "2024-01-03T11:29:26.956553Z", "data_removed": false, "error": null, "id": "rysmfv3b6r32rsppghdv2sfuq4", "input": { "image": "https://replicate.delivery/pbxt/KA4hkvNyViiiEafjSAKBKQO5yv3Bt6gtwyFXarsMnP8jlDYD/harry.png", "style": "3d_cartoon", "prompt": "1boy smiling", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 17054993394507681024\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:17, 1.37it/s]\n 8%|▊ | 2/25 [00:01<00:16, 1.37it/s]\n 12%|█▏ | 3/25 [00:02<00:16, 1.37it/s]\n 16%|█▌ | 4/25 [00:02<00:15, 1.37it/s]\n 20%|██ | 5/25 [00:03<00:14, 1.37it/s]\n 24%|██▍ | 6/25 [00:04<00:13, 1.37it/s]\n 28%|██▊ | 7/25 [00:05<00:13, 1.37it/s]\n 32%|███▏ | 8/25 [00:05<00:12, 1.37it/s]\n 36%|███▌ | 9/25 [00:06<00:11, 1.37it/s]\n 40%|████ | 10/25 [00:07<00:10, 1.37it/s]\n 44%|████▍ | 11/25 [00:08<00:10, 1.37it/s]\n 48%|████▊ | 12/25 [00:08<00:09, 1.37it/s]\n 52%|█████▏ | 13/25 [00:09<00:08, 1.37it/s]\n 56%|█████▌ | 14/25 [00:10<00:08, 1.37it/s]\n 60%|██████ | 15/25 [00:10<00:07, 1.37it/s]\n 64%|██████▍ | 16/25 [00:11<00:06, 1.37it/s]\n 68%|██████▊ | 17/25 [00:12<00:05, 1.37it/s]\n 72%|███████▏ | 18/25 [00:13<00:05, 1.37it/s]\n 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s]\n 80%|████████ | 20/25 [00:14<00:03, 1.37it/s]\n 84%|████████▍ | 21/25 [00:15<00:02, 1.37it/s]\n 88%|████████▊ | 22/25 [00:16<00:02, 1.37it/s]\n 92%|█████████▏| 23/25 [00:16<00:01, 1.37it/s]\n 96%|█████████▌| 24/25 [00:17<00:00, 1.37it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.37it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.37it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 31%|███▏ | 5/16 [00:00<00:00, 42.26it/s]\n 62%|██████▎ | 10/16 [00:00<00:00, 22.92it/s]\n 81%|████████▏ | 13/16 [00:00<00:00, 20.70it/s]\n100%|██████████| 16/16 [00:00<00:00, 19.49it/s]\n100%|██████████| 16/16 [00:00<00:00, 21.28it/s]", "metrics": { "predict_time": 20.751483, "total_time": 31.287563 }, "output": "https://replicate.delivery/pbxt/CuwMAPeDNk3MAaPp54aI5fhFGGgxfeIjcemJt44u9ogrm7FRC/out.mp4", "started_at": "2024-01-03T11:29:37.492633Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rysmfv3b6r32rsppghdv2sfuq4", "cancel": "https://api.replicate.com/v1/predictions/rysmfv3b6r32rsppghdv2sfuq4/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 17054993394507681024 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:17, 1.37it/s] 8%|▊ | 2/25 [00:01<00:16, 1.37it/s] 12%|█▏ | 3/25 [00:02<00:16, 1.37it/s] 16%|█▌ | 4/25 [00:02<00:15, 1.37it/s] 20%|██ | 5/25 [00:03<00:14, 1.37it/s] 24%|██▍ | 6/25 [00:04<00:13, 1.37it/s] 28%|██▊ | 7/25 [00:05<00:13, 1.37it/s] 32%|███▏ | 8/25 [00:05<00:12, 1.37it/s] 36%|███▌ | 9/25 [00:06<00:11, 1.37it/s] 40%|████ | 10/25 [00:07<00:10, 1.37it/s] 44%|████▍ | 11/25 [00:08<00:10, 1.37it/s] 48%|████▊ | 12/25 [00:08<00:09, 1.37it/s] 52%|█████▏ | 13/25 [00:09<00:08, 1.37it/s] 56%|█████▌ | 14/25 [00:10<00:08, 1.37it/s] 60%|██████ | 15/25 [00:10<00:07, 1.37it/s] 64%|██████▍ | 16/25 [00:11<00:06, 1.37it/s] 68%|██████▊ | 17/25 [00:12<00:05, 1.37it/s] 72%|███████▏ | 18/25 [00:13<00:05, 1.37it/s] 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s] 80%|████████ | 20/25 [00:14<00:03, 1.37it/s] 84%|████████▍ | 21/25 [00:15<00:02, 1.37it/s] 88%|████████▊ | 22/25 [00:16<00:02, 1.37it/s] 92%|█████████▏| 23/25 [00:16<00:01, 1.37it/s] 96%|█████████▌| 24/25 [00:17<00:00, 1.37it/s] 100%|██████████| 25/25 [00:18<00:00, 1.37it/s] 100%|██████████| 25/25 [00:18<00:00, 1.37it/s] 0%| | 0/16 [00:00<?, ?it/s] 31%|███▏ | 5/16 [00:00<00:00, 42.26it/s] 62%|██████▎ | 10/16 [00:00<00:00, 22.92it/s] 81%|████████▏ | 13/16 [00:00<00:00, 20.70it/s] 100%|██████████| 16/16 [00:00<00:00, 19.49it/s] 100%|██████████| 16/16 [00:00<00:00, 21.28it/s]
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bIDjbso4ttbmx3zbpocsn2fjy252qStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- 3d_cartoon
- prompt
- 1boy playing the magic fire
- max_size
- 512
- motion_scale
- 1
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/KA4jYD9JTtyhDZQMrQM9zC0RIkrotwDM0txNMOOVOK6PHLt4/harry.png", "style": "3d_cartoon", "prompt": "1boy playing the magic fire", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/KA4jYD9JTtyhDZQMrQM9zC0RIkrotwDM0txNMOOVOK6PHLt4/harry.png", style: "3d_cartoon", prompt: "1boy playing the magic fire", max_size: 512, motion_scale: 1, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/KA4jYD9JTtyhDZQMrQM9zC0RIkrotwDM0txNMOOVOK6PHLt4/harry.png", "style": "3d_cartoon", "prompt": "1boy playing the magic fire", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/KA4jYD9JTtyhDZQMrQM9zC0RIkrotwDM0txNMOOVOK6PHLt4/harry.png", "style": "3d_cartoon", "prompt": "1boy playing the magic fire", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-01-03T11:31:05.681811Z", "created_at": "2024-01-03T11:30:44.991081Z", "data_removed": false, "error": null, "id": "jbso4ttbmx3zbpocsn2fjy252q", "input": { "image": "https://replicate.delivery/pbxt/KA4jYD9JTtyhDZQMrQM9zC0RIkrotwDM0txNMOOVOK6PHLt4/harry.png", "style": "3d_cartoon", "prompt": "1boy playing the magic fire", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 5469027357563789796\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:17, 1.39it/s]\n 8%|▊ | 2/25 [00:01<00:16, 1.38it/s]\n 12%|█▏ | 3/25 [00:02<00:15, 1.38it/s]\n 16%|█▌ | 4/25 [00:02<00:15, 1.38it/s]\n 20%|██ | 5/25 [00:03<00:14, 1.38it/s]\n 24%|██▍ | 6/25 [00:04<00:13, 1.38it/s]\n 28%|██▊ | 7/25 [00:05<00:13, 1.38it/s]\n 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s]\n 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s]\n 40%|████ | 10/25 [00:07<00:10, 1.38it/s]\n 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s]\n 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s]\n 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s]\n 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s]\n 60%|██████ | 15/25 [00:10<00:07, 1.38it/s]\n 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s]\n 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s]\n 72%|███████▏ | 18/25 [00:13<00:05, 1.38it/s]\n 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s]\n 80%|████████ | 20/25 [00:14<00:03, 1.37it/s]\n 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s]\n 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s]\n 92%|█████████▏| 23/25 [00:16<00:01, 1.37it/s]\n 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.37it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.38it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 31%|███▏ | 5/16 [00:00<00:00, 42.52it/s]\n 62%|██████▎ | 10/16 [00:00<00:00, 23.00it/s]\n 81%|████████▏ | 13/16 [00:00<00:00, 20.77it/s]\n100%|██████████| 16/16 [00:00<00:00, 19.55it/s]\n100%|██████████| 16/16 [00:00<00:00, 21.35it/s]", "metrics": { "predict_time": 20.655069, "total_time": 20.69073 }, "output": "https://replicate.delivery/pbxt/l0w05cGOfWSrLKGKDI6LHk9RfsHx9AEzPC6dtO22hNt4dvISA/out.mp4", "started_at": "2024-01-03T11:30:45.026742Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jbso4ttbmx3zbpocsn2fjy252q", "cancel": "https://api.replicate.com/v1/predictions/jbso4ttbmx3zbpocsn2fjy252q/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 5469027357563789796 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:17, 1.39it/s] 8%|▊ | 2/25 [00:01<00:16, 1.38it/s] 12%|█▏ | 3/25 [00:02<00:15, 1.38it/s] 16%|█▌ | 4/25 [00:02<00:15, 1.38it/s] 20%|██ | 5/25 [00:03<00:14, 1.38it/s] 24%|██▍ | 6/25 [00:04<00:13, 1.38it/s] 28%|██▊ | 7/25 [00:05<00:13, 1.38it/s] 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s] 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s] 40%|████ | 10/25 [00:07<00:10, 1.38it/s] 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s] 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s] 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s] 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s] 60%|██████ | 15/25 [00:10<00:07, 1.38it/s] 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s] 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s] 72%|███████▏ | 18/25 [00:13<00:05, 1.38it/s] 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s] 80%|████████ | 20/25 [00:14<00:03, 1.37it/s] 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s] 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s] 92%|█████████▏| 23/25 [00:16<00:01, 1.37it/s] 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s] 100%|██████████| 25/25 [00:18<00:00, 1.37it/s] 100%|██████████| 25/25 [00:18<00:00, 1.38it/s] 0%| | 0/16 [00:00<?, ?it/s] 31%|███▏ | 5/16 [00:00<00:00, 42.52it/s] 62%|██████▎ | 10/16 [00:00<00:00, 23.00it/s] 81%|████████▏ | 13/16 [00:00<00:00, 20.77it/s] 100%|██████████| 16/16 [00:00<00:00, 19.55it/s] 100%|██████████| 16/16 [00:00<00:00, 21.35it/s]
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bIDuwwzv73b67nlsgrrt4bweql3l4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- 3d_cartoon
- prompt
- 1man is singing
- max_size
- 512
- motion_scale
- 1
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/KA4mBdyW352cgmHWyodvaGOFdd8kyJq8N7F9R9UzDgfXltHW/concert.png", "style": "3d_cartoon", "prompt": "1man is singing", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/KA4mBdyW352cgmHWyodvaGOFdd8kyJq8N7F9R9UzDgfXltHW/concert.png", style: "3d_cartoon", prompt: "1man is singing", max_size: 512, motion_scale: 1, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/KA4mBdyW352cgmHWyodvaGOFdd8kyJq8N7F9R9UzDgfXltHW/concert.png", "style": "3d_cartoon", "prompt": "1man is singing", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/KA4mBdyW352cgmHWyodvaGOFdd8kyJq8N7F9R9UzDgfXltHW/concert.png", "style": "3d_cartoon", "prompt": "1man is singing", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-01-03T11:32:45.340005Z", "created_at": "2024-01-03T11:32:24.029615Z", "data_removed": false, "error": null, "id": "uwwzv73b67nlsgrrt4bweql3l4", "input": { "image": "https://replicate.delivery/pbxt/KA4mBdyW352cgmHWyodvaGOFdd8kyJq8N7F9R9UzDgfXltHW/concert.png", "style": "3d_cartoon", "prompt": "1man is singing", "max_size": 512, "motion_scale": 1, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 14574258504384437844\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:17, 1.39it/s]\n 8%|▊ | 2/25 [00:01<00:16, 1.38it/s]\n 12%|█▏ | 3/25 [00:02<00:15, 1.38it/s]\n 16%|█▌ | 4/25 [00:02<00:15, 1.38it/s]\n 20%|██ | 5/25 [00:03<00:14, 1.38it/s]\n 24%|██▍ | 6/25 [00:04<00:13, 1.38it/s]\n 28%|██▊ | 7/25 [00:05<00:13, 1.38it/s]\n 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s]\n 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s]\n 40%|████ | 10/25 [00:07<00:10, 1.38it/s]\n 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s]\n 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s]\n 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s]\n 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s]\n 60%|██████ | 15/25 [00:10<00:07, 1.38it/s]\n 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s]\n 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s]\n 72%|███████▏ | 18/25 [00:13<00:05, 1.38it/s]\n 76%|███████▌ | 19/25 [00:13<00:04, 1.38it/s]\n 80%|████████ | 20/25 [00:14<00:03, 1.38it/s]\n 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s]\n 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s]\n 92%|█████████▏| 23/25 [00:16<00:01, 1.38it/s]\n 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.38it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.38it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 31%|███▏ | 5/16 [00:00<00:00, 42.64it/s]\n 62%|██████▎ | 10/16 [00:00<00:00, 23.01it/s]\n 81%|████████▏ | 13/16 [00:00<00:00, 20.76it/s]\n100%|██████████| 16/16 [00:00<00:00, 19.53it/s]\n100%|██████████| 16/16 [00:00<00:00, 21.34it/s]", "metrics": { "predict_time": 21.269438, "total_time": 21.31039 }, "output": "https://replicate.delivery/pbxt/sJdDmA3qduoGHlYlXgUMsgBRu0G16V4VeiSqDP3ShDZuvXEJA/out.mp4", "started_at": "2024-01-03T11:32:24.070567Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/uwwzv73b67nlsgrrt4bweql3l4", "cancel": "https://api.replicate.com/v1/predictions/uwwzv73b67nlsgrrt4bweql3l4/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 14574258504384437844 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:17, 1.39it/s] 8%|▊ | 2/25 [00:01<00:16, 1.38it/s] 12%|█▏ | 3/25 [00:02<00:15, 1.38it/s] 16%|█▌ | 4/25 [00:02<00:15, 1.38it/s] 20%|██ | 5/25 [00:03<00:14, 1.38it/s] 24%|██▍ | 6/25 [00:04<00:13, 1.38it/s] 28%|██▊ | 7/25 [00:05<00:13, 1.38it/s] 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s] 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s] 40%|████ | 10/25 [00:07<00:10, 1.38it/s] 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s] 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s] 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s] 56%|█████▌ | 14/25 [00:10<00:07, 1.38it/s] 60%|██████ | 15/25 [00:10<00:07, 1.38it/s] 64%|██████▍ | 16/25 [00:11<00:06, 1.38it/s] 68%|██████▊ | 17/25 [00:12<00:05, 1.38it/s] 72%|███████▏ | 18/25 [00:13<00:05, 1.38it/s] 76%|███████▌ | 19/25 [00:13<00:04, 1.38it/s] 80%|████████ | 20/25 [00:14<00:03, 1.38it/s] 84%|████████▍ | 21/25 [00:15<00:02, 1.38it/s] 88%|████████▊ | 22/25 [00:15<00:02, 1.38it/s] 92%|█████████▏| 23/25 [00:16<00:01, 1.38it/s] 96%|█████████▌| 24/25 [00:17<00:00, 1.38it/s] 100%|██████████| 25/25 [00:18<00:00, 1.38it/s] 100%|██████████| 25/25 [00:18<00:00, 1.38it/s] 0%| | 0/16 [00:00<?, ?it/s] 31%|███▏ | 5/16 [00:00<00:00, 42.64it/s] 62%|██████▎ | 10/16 [00:00<00:00, 23.01it/s] 81%|████████▏ | 13/16 [00:00<00:00, 20.76it/s] 100%|██████████| 16/16 [00:00<00:00, 19.53it/s] 100%|██████████| 16/16 [00:00<00:00, 21.34it/s]
Prediction
open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91bIDyblh4glbgse2me73cwpwalfwkuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- style
- realistic
- prompt
- 1man is singing
- max_size
- 512
- motion_scale
- 2
- guidance_scale
- 7.5
- sampling_steps
- 25
- negative_prompt
- wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg
- animation_length
- 16
- ip_adapter_scale
- 0
{ "image": "https://replicate.delivery/pbxt/KA4qGq1kZXgmFlE1JL9Eu7l9BL0z8dHbL0Gb8bVVXqmGtSp1/concert.png", "style": "realistic", "prompt": "1man is singing", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }
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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", { input: { image: "https://replicate.delivery/pbxt/KA4qGq1kZXgmFlE1JL9Eu7l9BL0z8dHbL0Gb8bVVXqmGtSp1/concert.png", style: "realistic", prompt: "1man is singing", max_size: 512, motion_scale: 2, guidance_scale: 7.5, sampling_steps: 25, negative_prompt: "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", animation_length: 16, ip_adapter_scale: 0 } } ); // 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 open-mmlab/pia using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "open-mmlab/pia:7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", input={ "image": "https://replicate.delivery/pbxt/KA4qGq1kZXgmFlE1JL9Eu7l9BL0z8dHbL0Gb8bVVXqmGtSp1/concert.png", "style": "realistic", "prompt": "1man is singing", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run open-mmlab/pia 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": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b", "input": { "image": "https://replicate.delivery/pbxt/KA4qGq1kZXgmFlE1JL9Eu7l9BL0z8dHbL0Gb8bVVXqmGtSp1/concert.png", "style": "realistic", "prompt": "1man is singing", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-01-03T11:37:03.764350Z", "created_at": "2024-01-03T11:36:42.265317Z", "data_removed": false, "error": null, "id": "yblh4glbgse2me73cwpwalfwku", "input": { "image": "https://replicate.delivery/pbxt/KA4qGq1kZXgmFlE1JL9Eu7l9BL0z8dHbL0Gb8bVVXqmGtSp1/concert.png", "style": "realistic", "prompt": "1man is singing", "max_size": 512, "motion_scale": 2, "guidance_scale": 7.5, "sampling_steps": 25, "negative_prompt": "wrong white balance, dark, sketches,worst quality,low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy,wrong anatomy, amputation, extra limb, missing limb, floating,limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg", "animation_length": 16, "ip_adapter_scale": 0 }, "logs": "Using seed: 15105342290390911536\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:17, 1.39it/s]\n 8%|▊ | 2/25 [00:01<00:16, 1.38it/s]\n 12%|█▏ | 3/25 [00:02<00:15, 1.38it/s]\n 16%|█▌ | 4/25 [00:02<00:15, 1.38it/s]\n 20%|██ | 5/25 [00:03<00:14, 1.38it/s]\n 24%|██▍ | 6/25 [00:04<00:13, 1.38it/s]\n 28%|██▊ | 7/25 [00:05<00:13, 1.38it/s]\n 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s]\n 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s]\n 40%|████ | 10/25 [00:07<00:10, 1.38it/s]\n 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s]\n 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s]\n 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s]\n 56%|█████▌ | 14/25 [00:10<00:08, 1.37it/s]\n 60%|██████ | 15/25 [00:10<00:07, 1.37it/s]\n 64%|██████▍ | 16/25 [00:11<00:06, 1.37it/s]\n 68%|██████▊ | 17/25 [00:12<00:05, 1.37it/s]\n 72%|███████▏ | 18/25 [00:13<00:05, 1.37it/s]\n 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s]\n 80%|████████ | 20/25 [00:14<00:03, 1.37it/s]\n 84%|████████▍ | 21/25 [00:15<00:02, 1.37it/s]\n 88%|████████▊ | 22/25 [00:15<00:02, 1.37it/s]\n 92%|█████████▏| 23/25 [00:16<00:01, 1.37it/s]\n 96%|█████████▌| 24/25 [00:17<00:00, 1.37it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.37it/s]\n100%|██████████| 25/25 [00:18<00:00, 1.37it/s]\n 0%| | 0/16 [00:00<?, ?it/s]\n 31%|███▏ | 5/16 [00:00<00:00, 42.45it/s]\n 62%|██████▎ | 10/16 [00:00<00:00, 22.98it/s]\n 81%|████████▏ | 13/16 [00:00<00:00, 20.77it/s]\n100%|██████████| 16/16 [00:00<00:00, 19.53it/s]\n100%|██████████| 16/16 [00:00<00:00, 21.33it/s]", "metrics": { "predict_time": 21.462049, "total_time": 21.499033 }, "output": "https://replicate.delivery/pbxt/SqiD23a3heTbbKfkiJrkC10d6mpv8GuLhreOgdqKXH58GfiIB/out.mp4", "started_at": "2024-01-03T11:36:42.302301Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/yblh4glbgse2me73cwpwalfwku", "cancel": "https://api.replicate.com/v1/predictions/yblh4glbgse2me73cwpwalfwku/cancel" }, "version": "7a673cec329e8f9c51a96791030103467e04aad905cc0319ad6501eb2d54e91b" }
Generated inUsing seed: 15105342290390911536 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:17, 1.39it/s] 8%|▊ | 2/25 [00:01<00:16, 1.38it/s] 12%|█▏ | 3/25 [00:02<00:15, 1.38it/s] 16%|█▌ | 4/25 [00:02<00:15, 1.38it/s] 20%|██ | 5/25 [00:03<00:14, 1.38it/s] 24%|██▍ | 6/25 [00:04<00:13, 1.38it/s] 28%|██▊ | 7/25 [00:05<00:13, 1.38it/s] 32%|███▏ | 8/25 [00:05<00:12, 1.38it/s] 36%|███▌ | 9/25 [00:06<00:11, 1.38it/s] 40%|████ | 10/25 [00:07<00:10, 1.38it/s] 44%|████▍ | 11/25 [00:07<00:10, 1.38it/s] 48%|████▊ | 12/25 [00:08<00:09, 1.38it/s] 52%|█████▏ | 13/25 [00:09<00:08, 1.38it/s] 56%|█████▌ | 14/25 [00:10<00:08, 1.37it/s] 60%|██████ | 15/25 [00:10<00:07, 1.37it/s] 64%|██████▍ | 16/25 [00:11<00:06, 1.37it/s] 68%|██████▊ | 17/25 [00:12<00:05, 1.37it/s] 72%|███████▏ | 18/25 [00:13<00:05, 1.37it/s] 76%|███████▌ | 19/25 [00:13<00:04, 1.37it/s] 80%|████████ | 20/25 [00:14<00:03, 1.37it/s] 84%|████████▍ | 21/25 [00:15<00:02, 1.37it/s] 88%|████████▊ | 22/25 [00:15<00:02, 1.37it/s] 92%|█████████▏| 23/25 [00:16<00:01, 1.37it/s] 96%|█████████▌| 24/25 [00:17<00:00, 1.37it/s] 100%|██████████| 25/25 [00:18<00:00, 1.37it/s] 100%|██████████| 25/25 [00:18<00:00, 1.37it/s] 0%| | 0/16 [00:00<?, ?it/s] 31%|███▏ | 5/16 [00:00<00:00, 42.45it/s] 62%|██████▎ | 10/16 [00:00<00:00, 22.98it/s] 81%|████████▏ | 13/16 [00:00<00:00, 20.77it/s] 100%|██████████| 16/16 [00:00<00:00, 19.53it/s] 100%|██████████| 16/16 [00:00<00:00, 21.33it/s]
Want to make some of these yourself?
Run this model