camenduru
/
colorize-line-art
ControlNet Line Art Anime
Prediction
camenduru/colorize-line-art:59575ccaID48g8e7m9m5rgt0cey9t9f3np6mStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 12345
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 20
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 12345, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 20, input_image: "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:31:09.083333Z", "created_at": "2024-04-18T18:25:07.489000Z", "data_removed": false, "error": null, "id": "48g8e7m9m5rgt0cey9t9f3np6m", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 12345\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 20 timesteps\nDDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s]\nDDIM Sampler: 5%|▌ | 1/20 [00:01<00:25, 1.34s/it]\nDDIM Sampler: 10%|█ | 2/20 [00:02<00:20, 1.16s/it]\nDDIM Sampler: 15%|█▌ | 3/20 [00:03<00:18, 1.10s/it]\nDDIM Sampler: 20%|██ | 4/20 [00:04<00:17, 1.08s/it]\nDDIM Sampler: 25%|██▌ | 5/20 [00:05<00:16, 1.07s/it]\nDDIM Sampler: 30%|███ | 6/20 [00:06<00:14, 1.06s/it]\nDDIM Sampler: 35%|███▌ | 7/20 [00:07<00:13, 1.06s/it]\nDDIM Sampler: 40%|████ | 8/20 [00:08<00:12, 1.06s/it]\nDDIM Sampler: 45%|████▌ | 9/20 [00:09<00:11, 1.06s/it]\nDDIM Sampler: 50%|█████ | 10/20 [00:10<00:10, 1.06s/it]\nDDIM Sampler: 55%|█████▌ | 11/20 [00:11<00:09, 1.06s/it]\nDDIM Sampler: 60%|██████ | 12/20 [00:12<00:08, 1.06s/it]\nDDIM Sampler: 65%|██████▌ | 13/20 [00:13<00:07, 1.06s/it]\nDDIM Sampler: 70%|███████ | 14/20 [00:15<00:06, 1.06s/it]\nDDIM Sampler: 75%|███████▌ | 15/20 [00:16<00:05, 1.06s/it]\nDDIM Sampler: 80%|████████ | 16/20 [00:17<00:04, 1.06s/it]\nDDIM Sampler: 85%|████████▌ | 17/20 [00:18<00:03, 1.06s/it]\nDDIM Sampler: 90%|█████████ | 18/20 [00:19<00:02, 1.07s/it]\nDDIM Sampler: 95%|█████████▌| 19/20 [00:20<00:01, 1.07s/it]\nDDIM Sampler: 100%|██████████| 20/20 [00:21<00:00, 1.07s/it]\nDDIM Sampler: 100%|██████████| 20/20 [00:21<00:00, 1.07s/it]", "metrics": { "predict_time": 23.500773, "total_time": 361.594333 }, "output": "https://replicate.delivery/pbxt/oen0q90JUoQe9kexqn0o5OPeWrCjpUSRYrJ6hzQ7ctmyOGvKB/output.png", "started_at": "2024-04-18T18:30:45.582560Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/48g8e7m9m5rgt0cey9t9f3np6m", "cancel": "https://api.replicate.com/v1/predictions/48g8e7m9m5rgt0cey9t9f3np6m/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 12345 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 20 timesteps DDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s] DDIM Sampler: 5%|▌ | 1/20 [00:01<00:25, 1.34s/it] DDIM Sampler: 10%|█ | 2/20 [00:02<00:20, 1.16s/it] DDIM Sampler: 15%|█▌ | 3/20 [00:03<00:18, 1.10s/it] DDIM Sampler: 20%|██ | 4/20 [00:04<00:17, 1.08s/it] DDIM Sampler: 25%|██▌ | 5/20 [00:05<00:16, 1.07s/it] DDIM Sampler: 30%|███ | 6/20 [00:06<00:14, 1.06s/it] DDIM Sampler: 35%|███▌ | 7/20 [00:07<00:13, 1.06s/it] DDIM Sampler: 40%|████ | 8/20 [00:08<00:12, 1.06s/it] DDIM Sampler: 45%|████▌ | 9/20 [00:09<00:11, 1.06s/it] DDIM Sampler: 50%|█████ | 10/20 [00:10<00:10, 1.06s/it] DDIM Sampler: 55%|█████▌ | 11/20 [00:11<00:09, 1.06s/it] DDIM Sampler: 60%|██████ | 12/20 [00:12<00:08, 1.06s/it] DDIM Sampler: 65%|██████▌ | 13/20 [00:13<00:07, 1.06s/it] DDIM Sampler: 70%|███████ | 14/20 [00:15<00:06, 1.06s/it] DDIM Sampler: 75%|███████▌ | 15/20 [00:16<00:05, 1.06s/it] DDIM Sampler: 80%|████████ | 16/20 [00:17<00:04, 1.06s/it] DDIM Sampler: 85%|████████▌ | 17/20 [00:18<00:03, 1.06s/it] DDIM Sampler: 90%|█████████ | 18/20 [00:19<00:02, 1.07s/it] DDIM Sampler: 95%|█████████▌| 19/20 [00:20<00:01, 1.07s/it] DDIM Sampler: 100%|██████████| 20/20 [00:21<00:00, 1.07s/it] DDIM Sampler: 100%|██████████| 20/20 [00:21<00:00, 1.07s/it]
Prediction
camenduru/colorize-line-art:59575ccaIDa8za62gvfnrgy0cey9xvhvgx5gStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 12345
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 20
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnxx1bp3bC0lVGoTRtvSjKgu3PNEOeAh9CnK7AAwLHX9VVi/326151.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 12345, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 20, input_image: "https://replicate.delivery/pbxt/Klnxx1bp3bC0lVGoTRtvSjKgu3PNEOeAh9CnK7AAwLHX9VVi/326151.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnxx1bp3bC0lVGoTRtvSjKgu3PNEOeAh9CnK7AAwLHX9VVi/326151.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnxx1bp3bC0lVGoTRtvSjKgu3PNEOeAh9CnK7AAwLHX9VVi/326151.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:33:31.123276Z", "created_at": "2024-04-18T18:32:18.045000Z", "data_removed": false, "error": null, "id": "a8za62gvfnrgy0cey9xvhvgx5g", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnxx1bp3bC0lVGoTRtvSjKgu3PNEOeAh9CnK7AAwLHX9VVi/326151.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 12345\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 20 timesteps\nDDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s]\nDDIM Sampler: 5%|▌ | 1/20 [00:01<00:25, 1.36s/it]\nDDIM Sampler: 10%|█ | 2/20 [00:02<00:21, 1.19s/it]\nDDIM Sampler: 15%|█▌ | 3/20 [00:03<00:19, 1.14s/it]\nDDIM Sampler: 20%|██ | 4/20 [00:04<00:17, 1.11s/it]\nDDIM Sampler: 25%|██▌ | 5/20 [00:05<00:16, 1.10s/it]\nDDIM Sampler: 30%|███ | 6/20 [00:06<00:15, 1.10s/it]\nDDIM Sampler: 35%|███▌ | 7/20 [00:07<00:14, 1.09s/it]\nDDIM Sampler: 40%|████ | 8/20 [00:08<00:13, 1.09s/it]\nDDIM Sampler: 45%|████▌ | 9/20 [00:10<00:12, 1.09s/it]\nDDIM Sampler: 50%|█████ | 10/20 [00:11<00:10, 1.09s/it]\nDDIM Sampler: 55%|█████▌ | 11/20 [00:12<00:09, 1.09s/it]\nDDIM Sampler: 60%|██████ | 12/20 [00:13<00:08, 1.09s/it]\nDDIM Sampler: 65%|██████▌ | 13/20 [00:14<00:07, 1.09s/it]\nDDIM Sampler: 70%|███████ | 14/20 [00:15<00:06, 1.09s/it]\nDDIM Sampler: 75%|███████▌ | 15/20 [00:16<00:05, 1.10s/it]\nDDIM Sampler: 80%|████████ | 16/20 [00:17<00:04, 1.10s/it]\nDDIM Sampler: 85%|████████▌ | 17/20 [00:18<00:03, 1.10s/it]\nDDIM Sampler: 90%|█████████ | 18/20 [00:19<00:02, 1.10s/it]\nDDIM Sampler: 95%|█████████▌| 19/20 [00:21<00:01, 1.10s/it]\nDDIM Sampler: 100%|██████████| 20/20 [00:22<00:00, 1.11s/it]\nDDIM Sampler: 100%|██████████| 20/20 [00:22<00:00, 1.11s/it]", "metrics": { "predict_time": 24.142446, "total_time": 73.078276 }, "output": "https://replicate.delivery/pbxt/GDgrzX2lPq4PMpsA3A5Rf1U6S5FgQViM2kNEXYM8dSV9y4VJA/output.png", "started_at": "2024-04-18T18:33:06.980830Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/a8za62gvfnrgy0cey9xvhvgx5g", "cancel": "https://api.replicate.com/v1/predictions/a8za62gvfnrgy0cey9xvhvgx5g/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 12345 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 20 timesteps DDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s] DDIM Sampler: 5%|▌ | 1/20 [00:01<00:25, 1.36s/it] DDIM Sampler: 10%|█ | 2/20 [00:02<00:21, 1.19s/it] DDIM Sampler: 15%|█▌ | 3/20 [00:03<00:19, 1.14s/it] DDIM Sampler: 20%|██ | 4/20 [00:04<00:17, 1.11s/it] DDIM Sampler: 25%|██▌ | 5/20 [00:05<00:16, 1.10s/it] DDIM Sampler: 30%|███ | 6/20 [00:06<00:15, 1.10s/it] DDIM Sampler: 35%|███▌ | 7/20 [00:07<00:14, 1.09s/it] DDIM Sampler: 40%|████ | 8/20 [00:08<00:13, 1.09s/it] DDIM Sampler: 45%|████▌ | 9/20 [00:10<00:12, 1.09s/it] DDIM Sampler: 50%|█████ | 10/20 [00:11<00:10, 1.09s/it] DDIM Sampler: 55%|█████▌ | 11/20 [00:12<00:09, 1.09s/it] DDIM Sampler: 60%|██████ | 12/20 [00:13<00:08, 1.09s/it] DDIM Sampler: 65%|██████▌ | 13/20 [00:14<00:07, 1.09s/it] DDIM Sampler: 70%|███████ | 14/20 [00:15<00:06, 1.09s/it] DDIM Sampler: 75%|███████▌ | 15/20 [00:16<00:05, 1.10s/it] DDIM Sampler: 80%|████████ | 16/20 [00:17<00:04, 1.10s/it] DDIM Sampler: 85%|████████▌ | 17/20 [00:18<00:03, 1.10s/it] DDIM Sampler: 90%|█████████ | 18/20 [00:19<00:02, 1.10s/it] DDIM Sampler: 95%|█████████▌| 19/20 [00:21<00:01, 1.10s/it] DDIM Sampler: 100%|██████████| 20/20 [00:22<00:00, 1.11s/it] DDIM Sampler: 100%|██████████| 20/20 [00:22<00:00, 1.11s/it]
Prediction
camenduru/colorize-line-art:59575ccaID53v1bbzj81rgm0cey9zvtd8azrStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 12345
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 20
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 12345, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 20, input_image: "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:39:38.964303Z", "created_at": "2024-04-18T18:37:35.168000Z", "data_removed": false, "error": null, "id": "53v1bbzj81rgm0cey9zvtd8azr", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 12345\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 20 timesteps\nDDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s]\nDDIM Sampler: 5%|▌ | 1/20 [00:00<00:08, 2.22it/s]\nDDIM Sampler: 10%|█ | 2/20 [00:00<00:06, 2.81it/s]\nDDIM Sampler: 15%|█▌ | 3/20 [00:01<00:05, 3.07it/s]\nDDIM Sampler: 20%|██ | 4/20 [00:01<00:04, 3.21it/s]\nDDIM Sampler: 25%|██▌ | 5/20 [00:01<00:04, 3.29it/s]\nDDIM Sampler: 30%|███ | 6/20 [00:01<00:04, 3.34it/s]\nDDIM Sampler: 35%|███▌ | 7/20 [00:02<00:03, 3.37it/s]\nDDIM Sampler: 40%|████ | 8/20 [00:02<00:03, 3.40it/s]\nDDIM Sampler: 45%|████▌ | 9/20 [00:02<00:03, 3.41it/s]\nDDIM Sampler: 50%|█████ | 10/20 [00:03<00:02, 3.42it/s]\nDDIM Sampler: 55%|█████▌ | 11/20 [00:03<00:02, 3.42it/s]\nDDIM Sampler: 60%|██████ | 12/20 [00:03<00:02, 3.43it/s]\nDDIM Sampler: 65%|██████▌ | 13/20 [00:03<00:02, 3.43it/s]\nDDIM Sampler: 70%|███████ | 14/20 [00:04<00:01, 3.43it/s]\nDDIM Sampler: 75%|███████▌ | 15/20 [00:04<00:01, 3.43it/s]\nDDIM Sampler: 80%|████████ | 16/20 [00:04<00:01, 3.44it/s]\nDDIM Sampler: 85%|████████▌ | 17/20 [00:05<00:00, 3.43it/s]\nDDIM Sampler: 90%|█████████ | 18/20 [00:05<00:00, 3.44it/s]\nDDIM Sampler: 95%|█████████▌| 19/20 [00:05<00:00, 3.43it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:05<00:00, 3.43it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:05<00:00, 3.35it/s]", "metrics": { "predict_time": 7.869944, "total_time": 123.796303 }, "output": "https://replicate.delivery/pbxt/r9f6FkzsQetzKUWDrJg4cNlILCshUtyCwAD8eliqsSZTXjXlA/output.png", "started_at": "2024-04-18T18:39:31.094359Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/53v1bbzj81rgm0cey9zvtd8azr", "cancel": "https://api.replicate.com/v1/predictions/53v1bbzj81rgm0cey9zvtd8azr/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 12345 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 20 timesteps DDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s] DDIM Sampler: 5%|▌ | 1/20 [00:00<00:08, 2.22it/s] DDIM Sampler: 10%|█ | 2/20 [00:00<00:06, 2.81it/s] DDIM Sampler: 15%|█▌ | 3/20 [00:01<00:05, 3.07it/s] DDIM Sampler: 20%|██ | 4/20 [00:01<00:04, 3.21it/s] DDIM Sampler: 25%|██▌ | 5/20 [00:01<00:04, 3.29it/s] DDIM Sampler: 30%|███ | 6/20 [00:01<00:04, 3.34it/s] DDIM Sampler: 35%|███▌ | 7/20 [00:02<00:03, 3.37it/s] DDIM Sampler: 40%|████ | 8/20 [00:02<00:03, 3.40it/s] DDIM Sampler: 45%|████▌ | 9/20 [00:02<00:03, 3.41it/s] DDIM Sampler: 50%|█████ | 10/20 [00:03<00:02, 3.42it/s] DDIM Sampler: 55%|█████▌ | 11/20 [00:03<00:02, 3.42it/s] DDIM Sampler: 60%|██████ | 12/20 [00:03<00:02, 3.43it/s] DDIM Sampler: 65%|██████▌ | 13/20 [00:03<00:02, 3.43it/s] DDIM Sampler: 70%|███████ | 14/20 [00:04<00:01, 3.43it/s] DDIM Sampler: 75%|███████▌ | 15/20 [00:04<00:01, 3.43it/s] DDIM Sampler: 80%|████████ | 16/20 [00:04<00:01, 3.44it/s] DDIM Sampler: 85%|████████▌ | 17/20 [00:05<00:00, 3.43it/s] DDIM Sampler: 90%|█████████ | 18/20 [00:05<00:00, 3.44it/s] DDIM Sampler: 95%|█████████▌| 19/20 [00:05<00:00, 3.43it/s] DDIM Sampler: 100%|██████████| 20/20 [00:05<00:00, 3.43it/s] DDIM Sampler: 100%|██████████| 20/20 [00:05<00:00, 3.35it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDcn8dq5hxhnrgj0ceya2aqjdvq4StatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 12345
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 20
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 12345, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 20, input_image: "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:42:55.085194Z", "created_at": "2024-04-18T18:42:16.589000Z", "data_removed": false, "error": null, "id": "cn8dq5hxhnrgj0ceya2aqjdvq4", "input": { "det": "None", "eta": 1, "seed": 12345, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klnr9AV290Zjuw8QmJaVEbOvVhG4svc0CFLBqobIA9apatJ3/326152.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 12345\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 20 timesteps\nDDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s]\nDDIM Sampler: 5%|▌ | 1/20 [00:00<00:07, 2.39it/s]\nDDIM Sampler: 10%|█ | 2/20 [00:00<00:05, 3.47it/s]\nDDIM Sampler: 15%|█▌ | 3/20 [00:00<00:04, 4.06it/s]\nDDIM Sampler: 20%|██ | 4/20 [00:01<00:03, 4.41it/s]\nDDIM Sampler: 25%|██▌ | 5/20 [00:01<00:03, 4.63it/s]\nDDIM Sampler: 30%|███ | 6/20 [00:01<00:02, 4.78it/s]\nDDIM Sampler: 35%|███▌ | 7/20 [00:01<00:02, 4.88it/s]\nDDIM Sampler: 40%|████ | 8/20 [00:01<00:02, 4.94it/s]\nDDIM Sampler: 45%|████▌ | 9/20 [00:01<00:02, 4.99it/s]\nDDIM Sampler: 50%|█████ | 10/20 [00:02<00:01, 5.02it/s]\nDDIM Sampler: 55%|█████▌ | 11/20 [00:02<00:01, 5.03it/s]\nDDIM Sampler: 60%|██████ | 12/20 [00:02<00:01, 5.05it/s]\nDDIM Sampler: 65%|██████▌ | 13/20 [00:02<00:01, 5.05it/s]\nDDIM Sampler: 70%|███████ | 14/20 [00:02<00:01, 5.03it/s]\nDDIM Sampler: 75%|███████▌ | 15/20 [00:03<00:00, 5.03it/s]\nDDIM Sampler: 80%|████████ | 16/20 [00:03<00:00, 5.03it/s]\nDDIM Sampler: 85%|████████▌ | 17/20 [00:03<00:00, 5.04it/s]\nDDIM Sampler: 90%|█████████ | 18/20 [00:03<00:00, 5.06it/s]\nDDIM Sampler: 95%|█████████▌| 19/20 [00:03<00:00, 5.06it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:04<00:00, 5.07it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:04<00:00, 4.80it/s]", "metrics": { "predict_time": 5.496594, "total_time": 38.496194 }, "output": "https://replicate.delivery/pbxt/ayndSfBNwS1fQU9H68tdupjVwlLR4DExcqYzJWWt9KruuxrSA/output.png", "started_at": "2024-04-18T18:42:49.588600Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cn8dq5hxhnrgj0ceya2aqjdvq4", "cancel": "https://api.replicate.com/v1/predictions/cn8dq5hxhnrgj0ceya2aqjdvq4/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 12345 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 20 timesteps DDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s] DDIM Sampler: 5%|▌ | 1/20 [00:00<00:07, 2.39it/s] DDIM Sampler: 10%|█ | 2/20 [00:00<00:05, 3.47it/s] DDIM Sampler: 15%|█▌ | 3/20 [00:00<00:04, 4.06it/s] DDIM Sampler: 20%|██ | 4/20 [00:01<00:03, 4.41it/s] DDIM Sampler: 25%|██▌ | 5/20 [00:01<00:03, 4.63it/s] DDIM Sampler: 30%|███ | 6/20 [00:01<00:02, 4.78it/s] DDIM Sampler: 35%|███▌ | 7/20 [00:01<00:02, 4.88it/s] DDIM Sampler: 40%|████ | 8/20 [00:01<00:02, 4.94it/s] DDIM Sampler: 45%|████▌ | 9/20 [00:01<00:02, 4.99it/s] DDIM Sampler: 50%|█████ | 10/20 [00:02<00:01, 5.02it/s] DDIM Sampler: 55%|█████▌ | 11/20 [00:02<00:01, 5.03it/s] DDIM Sampler: 60%|██████ | 12/20 [00:02<00:01, 5.05it/s] DDIM Sampler: 65%|██████▌ | 13/20 [00:02<00:01, 5.05it/s] DDIM Sampler: 70%|███████ | 14/20 [00:02<00:01, 5.03it/s] DDIM Sampler: 75%|███████▌ | 15/20 [00:03<00:00, 5.03it/s] DDIM Sampler: 80%|████████ | 16/20 [00:03<00:00, 5.03it/s] DDIM Sampler: 85%|████████▌ | 17/20 [00:03<00:00, 5.04it/s] DDIM Sampler: 90%|█████████ | 18/20 [00:03<00:00, 5.06it/s] DDIM Sampler: 95%|█████████▌| 19/20 [00:03<00:00, 5.06it/s] DDIM Sampler: 100%|██████████| 20/20 [00:04<00:00, 5.07it/s] DDIM Sampler: 100%|██████████| 20/20 [00:04<00:00, 4.80it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDea1z65j0kdrgg0ceya39jv447cStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 1
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 20
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9VC5qElHS5UIo3HFKFBygEAGw1aapRGKE9nMi01m4Nidd/326141.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 1, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 20, input_image: "https://replicate.delivery/pbxt/Klo9VC5qElHS5UIo3HFKFBygEAGw1aapRGKE9nMi01m4Nidd/326141.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9VC5qElHS5UIo3HFKFBygEAGw1aapRGKE9nMi01m4Nidd/326141.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9VC5qElHS5UIo3HFKFBygEAGw1aapRGKE9nMi01m4Nidd/326141.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:44:33.257924Z", "created_at": "2024-04-18T18:44:28.443000Z", "data_removed": false, "error": null, "id": "ea1z65j0kdrgg0ceya39jv447c", "input": { "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9VC5qElHS5UIo3HFKFBygEAGw1aapRGKE9nMi01m4Nidd/326141.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 1\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 20 timesteps\nDDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s]\nDDIM Sampler: 5%|▌ | 1/20 [00:00<00:03, 5.08it/s]\nDDIM Sampler: 10%|█ | 2/20 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 15%|█▌ | 3/20 [00:00<00:03, 5.08it/s]\nDDIM Sampler: 20%|██ | 4/20 [00:00<00:03, 5.08it/s]\nDDIM Sampler: 25%|██▌ | 5/20 [00:00<00:02, 5.08it/s]\nDDIM Sampler: 30%|███ | 6/20 [00:01<00:02, 5.08it/s]\nDDIM Sampler: 35%|███▌ | 7/20 [00:01<00:02, 5.08it/s]\nDDIM Sampler: 40%|████ | 8/20 [00:01<00:02, 5.07it/s]\nDDIM Sampler: 45%|████▌ | 9/20 [00:01<00:02, 5.07it/s]\nDDIM Sampler: 50%|█████ | 10/20 [00:01<00:01, 5.07it/s]\nDDIM Sampler: 55%|█████▌ | 11/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 60%|██████ | 12/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 65%|██████▌ | 13/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 70%|███████ | 14/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 75%|███████▌ | 15/20 [00:02<00:00, 5.08it/s]\nDDIM Sampler: 80%|████████ | 16/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 85%|████████▌ | 17/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 90%|█████████ | 18/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 95%|█████████▌| 19/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s]", "metrics": { "predict_time": 4.797124, "total_time": 4.814924 }, "output": "https://replicate.delivery/pbxt/KPfoBA5JIE2zHKOCZfKfrZekPdfBrri7B9OQznO9DwHACOeqE/output.png", "started_at": "2024-04-18T18:44:28.460800Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ea1z65j0kdrgg0ceya39jv447c", "cancel": "https://api.replicate.com/v1/predictions/ea1z65j0kdrgg0ceya39jv447c/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 1 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 20 timesteps DDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s] DDIM Sampler: 5%|▌ | 1/20 [00:00<00:03, 5.08it/s] DDIM Sampler: 10%|█ | 2/20 [00:00<00:03, 5.09it/s] DDIM Sampler: 15%|█▌ | 3/20 [00:00<00:03, 5.08it/s] DDIM Sampler: 20%|██ | 4/20 [00:00<00:03, 5.08it/s] DDIM Sampler: 25%|██▌ | 5/20 [00:00<00:02, 5.08it/s] DDIM Sampler: 30%|███ | 6/20 [00:01<00:02, 5.08it/s] DDIM Sampler: 35%|███▌ | 7/20 [00:01<00:02, 5.08it/s] DDIM Sampler: 40%|████ | 8/20 [00:01<00:02, 5.07it/s] DDIM Sampler: 45%|████▌ | 9/20 [00:01<00:02, 5.07it/s] DDIM Sampler: 50%|█████ | 10/20 [00:01<00:01, 5.07it/s] DDIM Sampler: 55%|█████▌ | 11/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 60%|██████ | 12/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 65%|██████▌ | 13/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 70%|███████ | 14/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 75%|███████▌ | 15/20 [00:02<00:00, 5.08it/s] DDIM Sampler: 80%|████████ | 16/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 85%|████████▌ | 17/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 90%|█████████ | 18/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 95%|█████████▌| 19/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaID9zggzhbx8nrgg0ceya3acgb900StatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 1
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 20
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9kmkZaM1gLUEW3eDt84YvH96JFeLUwNpclittOmavGCpN/326142.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 1, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 20, input_image: "https://replicate.delivery/pbxt/Klo9kmkZaM1gLUEW3eDt84YvH96JFeLUwNpclittOmavGCpN/326142.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9kmkZaM1gLUEW3eDt84YvH96JFeLUwNpclittOmavGCpN/326142.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9kmkZaM1gLUEW3eDt84YvH96JFeLUwNpclittOmavGCpN/326142.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:44:49.408146Z", "created_at": "2024-04-18T18:44:43.973000Z", "data_removed": false, "error": null, "id": "9zggzhbx8nrgg0ceya3acgb900", "input": { "det": "None", "eta": 1, "seed": 1, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 20, "input_image": "https://replicate.delivery/pbxt/Klo9kmkZaM1gLUEW3eDt84YvH96JFeLUwNpclittOmavGCpN/326142.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 1\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 20 timesteps\nDDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s]\nDDIM Sampler: 5%|▌ | 1/20 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 10%|█ | 2/20 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 15%|█▌ | 3/20 [00:00<00:03, 5.08it/s]\nDDIM Sampler: 20%|██ | 4/20 [00:00<00:03, 5.08it/s]\nDDIM Sampler: 25%|██▌ | 5/20 [00:00<00:02, 5.08it/s]\nDDIM Sampler: 30%|███ | 6/20 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 35%|███▌ | 7/20 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 40%|████ | 8/20 [00:01<00:02, 5.07it/s]\nDDIM Sampler: 45%|████▌ | 9/20 [00:01<00:02, 5.07it/s]\nDDIM Sampler: 50%|█████ | 10/20 [00:01<00:01, 5.07it/s]\nDDIM Sampler: 55%|█████▌ | 11/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 60%|██████ | 12/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 65%|██████▌ | 13/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 70%|███████ | 14/20 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 75%|███████▌ | 15/20 [00:02<00:00, 5.09it/s]\nDDIM Sampler: 80%|████████ | 16/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 85%|████████▌ | 17/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 90%|█████████ | 18/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 95%|█████████▌| 19/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s]", "metrics": { "predict_time": 5.412672, "total_time": 5.435146 }, "output": "https://replicate.delivery/pbxt/bIzsnAQ3cOqPMhKIRNTRRkLZJtMheDxESII537dXYIBQ44VJA/output.png", "started_at": "2024-04-18T18:44:43.995474Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/9zggzhbx8nrgg0ceya3acgb900", "cancel": "https://api.replicate.com/v1/predictions/9zggzhbx8nrgg0ceya3acgb900/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 1 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 20 timesteps DDIM Sampler: 0%| | 0/20 [00:00<?, ?it/s] DDIM Sampler: 5%|▌ | 1/20 [00:00<00:03, 5.09it/s] DDIM Sampler: 10%|█ | 2/20 [00:00<00:03, 5.09it/s] DDIM Sampler: 15%|█▌ | 3/20 [00:00<00:03, 5.08it/s] DDIM Sampler: 20%|██ | 4/20 [00:00<00:03, 5.08it/s] DDIM Sampler: 25%|██▌ | 5/20 [00:00<00:02, 5.08it/s] DDIM Sampler: 30%|███ | 6/20 [00:01<00:02, 5.09it/s] DDIM Sampler: 35%|███▌ | 7/20 [00:01<00:02, 5.09it/s] DDIM Sampler: 40%|████ | 8/20 [00:01<00:02, 5.07it/s] DDIM Sampler: 45%|████▌ | 9/20 [00:01<00:02, 5.07it/s] DDIM Sampler: 50%|█████ | 10/20 [00:01<00:01, 5.07it/s] DDIM Sampler: 55%|█████▌ | 11/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 60%|██████ | 12/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 65%|██████▌ | 13/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 70%|███████ | 14/20 [00:02<00:01, 5.08it/s] DDIM Sampler: 75%|███████▌ | 15/20 [00:02<00:00, 5.09it/s] DDIM Sampler: 80%|████████ | 16/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 85%|████████▌ | 17/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 90%|█████████ | 18/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 95%|█████████▌| 19/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 20/20 [00:03<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDyjn6018xasrgg0ceya3sa47vkmStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:45:30.751683Z", "created_at": "2024-04-18T18:45:24.950000Z", "data_removed": false, "error": null, "id": "yjn6018xasrgg0ceya3sa47vkm", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]", "metrics": { "predict_time": 5.780137, "total_time": 5.801683 }, "output": "https://replicate.delivery/pbxt/JXDvsc9TDkYvJtx1XfaXZ2Gu7WMMXP2z3rgviqSby1Jl44VJA/output.png", "started_at": "2024-04-18T18:45:24.971546Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/yjn6018xasrgg0ceya3sa47vkm", "cancel": "https://api.replicate.com/v1/predictions/yjn6018xasrgg0ceya3sa47vkm/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.08it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDrhwx78v015rgp0ceya3s44842rStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAeGFntgMGm4jrD8ForMfCDSOUPehWCOZnI2LnxUczwTv4/326144.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloAeGFntgMGm4jrD8ForMfCDSOUPehWCOZnI2LnxUczwTv4/326144.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAeGFntgMGm4jrD8ForMfCDSOUPehWCOZnI2LnxUczwTv4/326144.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAeGFntgMGm4jrD8ForMfCDSOUPehWCOZnI2LnxUczwTv4/326144.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:45:47.891134Z", "created_at": "2024-04-18T18:45:42.025000Z", "data_removed": false, "error": null, "id": "rhwx78v015rgp0ceya3s44842r", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAeGFntgMGm4jrD8ForMfCDSOUPehWCOZnI2LnxUczwTv4/326144.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.09it/s]", "metrics": { "predict_time": 5.841319, "total_time": 5.866134 }, "output": "https://replicate.delivery/pbxt/KPx3bL44HJJ3Fl2CO6pqqpFGlJu2MCTytqBP6mqWKfit44VJA/output.png", "started_at": "2024-04-18T18:45:42.049815Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rhwx78v015rgp0ceya3s44842r", "cancel": "https://api.replicate.com/v1/predictions/rhwx78v015rgp0ceya3s44842r/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.09it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDe2k9e9ws4hrgg0ceya3vfcw14cStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAtluQxj0ffeUzTDsqqcl3HIi6ISB6x8cgBvFagGp4GU0e/326145.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloAtluQxj0ffeUzTDsqqcl3HIi6ISB6x8cgBvFagGp4GU0e/326145.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAtluQxj0ffeUzTDsqqcl3HIi6ISB6x8cgBvFagGp4GU0e/326145.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAtluQxj0ffeUzTDsqqcl3HIi6ISB6x8cgBvFagGp4GU0e/326145.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:46:02.548813Z", "created_at": "2024-04-18T18:45:56.644000Z", "data_removed": false, "error": null, "id": "e2k9e9ws4hrgg0ceya3vfcw14c", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAtluQxj0ffeUzTDsqqcl3HIi6ISB6x8cgBvFagGp4GU0e/326145.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.08it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.08it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.08it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]", "metrics": { "predict_time": 5.883669, "total_time": 5.904813 }, "output": "https://replicate.delivery/pbxt/4ltSOFDXDAY8IpF00QAkmXvojoVtLL1PNPT5nesMq7S144VJA/output.png", "started_at": "2024-04-18T18:45:56.665144Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/e2k9e9ws4hrgg0ceya3vfcw14c", "cancel": "https://api.replicate.com/v1/predictions/e2k9e9ws4hrgg0ceya3vfcw14c/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.08it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.08it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.08it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.08it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDmg9h23js5nrgj0ceya4t7tmxp8StatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloChOEEM9Yt5hByOtN9lFnuKpz2tfmOnvNB4QGIe3ZQ2K7S/326149.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloChOEEM9Yt5hByOtN9lFnuKpz2tfmOnvNB4QGIe3ZQ2K7S/326149.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloChOEEM9Yt5hByOtN9lFnuKpz2tfmOnvNB4QGIe3ZQ2K7S/326149.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloChOEEM9Yt5hByOtN9lFnuKpz2tfmOnvNB4QGIe3ZQ2K7S/326149.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:47:57.231900Z", "created_at": "2024-04-18T18:47:51.341000Z", "data_removed": false, "error": null, "id": "mg9h23js5nrgj0ceya4t7tmxp8", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloChOEEM9Yt5hByOtN9lFnuKpz2tfmOnvNB4QGIe3ZQ2K7S/326149.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]", "metrics": { "predict_time": 5.872111, "total_time": 5.8909 }, "output": "https://replicate.delivery/pbxt/fOryKU4585S4SysGyJqaAVtB0IbVb5GMvvi6RvaOwRAu54VJA/output.png", "started_at": "2024-04-18T18:47:51.359789Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mg9h23js5nrgj0ceya4t7tmxp8", "cancel": "https://api.replicate.com/v1/predictions/mg9h23js5nrgj0ceya4t7tmxp8/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.08it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDt9a5pyckdhrgm0ceya4shtm9hgStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloCx7bVrPhCXknNOueV1XaiYSlLNqUmvsvpUyVgthPApHiI/326148.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloCx7bVrPhCXknNOueV1XaiYSlLNqUmvsvpUyVgthPApHiI/326148.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloCx7bVrPhCXknNOueV1XaiYSlLNqUmvsvpUyVgthPApHiI/326148.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloCx7bVrPhCXknNOueV1XaiYSlLNqUmvsvpUyVgthPApHiI/326148.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:48:12.871887Z", "created_at": "2024-04-18T18:48:06.252000Z", "data_removed": false, "error": null, "id": "t9a5pyckdhrgm0ceya4shtm9hg", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloCx7bVrPhCXknNOueV1XaiYSlLNqUmvsvpUyVgthPApHiI/326148.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.08it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.07it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.07it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.07it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]", "metrics": { "predict_time": 6.600674, "total_time": 6.619887 }, "output": "https://replicate.delivery/pbxt/40AJwUK9E16qOZLeViRj2NfZ6MqBNocu5uzAUCtUCTGszxrSA/output.png", "started_at": "2024-04-18T18:48:06.271213Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/t9a5pyckdhrgm0ceya4shtm9hg", "cancel": "https://api.replicate.com/v1/predictions/t9a5pyckdhrgm0ceya4shtm9hg/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.08it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.07it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.07it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.07it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDvddb44ez59rgm0ceya4swdc7wgStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDF95wftkQASTZBpYgcNME87BuoOvk9WwBONAdiFKtRrzx/326147.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloDF95wftkQASTZBpYgcNME87BuoOvk9WwBONAdiFKtRrzx/326147.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDF95wftkQASTZBpYgcNME87BuoOvk9WwBONAdiFKtRrzx/326147.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDF95wftkQASTZBpYgcNME87BuoOvk9WwBONAdiFKtRrzx/326147.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:48:31.672216Z", "created_at": "2024-04-18T18:48:25.642000Z", "data_removed": false, "error": null, "id": "vddb44ez59rgm0ceya4swdc7wg", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDF95wftkQASTZBpYgcNME87BuoOvk9WwBONAdiFKtRrzx/326147.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.05it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]", "metrics": { "predict_time": 6.008409, "total_time": 6.030216 }, "output": "https://replicate.delivery/pbxt/35NjI2EFm85VCFgteL4hXBlD8c9zdL5rL00lVE1d1h4fzxrSA/output.png", "started_at": "2024-04-18T18:48:25.663807Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/vddb44ez59rgm0ceya4swdc7wg", "cancel": "https://api.replicate.com/v1/predictions/vddb44ez59rgm0ceya4swdc7wg/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.05it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDbcfwmd0ryxrgg0ceya58x41esmStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDTzmpPEzz5JqPkjpRCFljjcCfV9tuIqW6QkHdmjyit8SS/326150.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloDTzmpPEzz5JqPkjpRCFljjcCfV9tuIqW6QkHdmjyit8SS/326150.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDTzmpPEzz5JqPkjpRCFljjcCfV9tuIqW6QkHdmjyit8SS/326150.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDTzmpPEzz5JqPkjpRCFljjcCfV9tuIqW6QkHdmjyit8SS/326150.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:48:46.284667Z", "created_at": "2024-04-18T18:48:40.439000Z", "data_removed": false, "error": null, "id": "bcfwmd0ryxrgg0ceya58x41esm", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDTzmpPEzz5JqPkjpRCFljjcCfV9tuIqW6QkHdmjyit8SS/326150.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.09it/s]", "metrics": { "predict_time": 5.797001, "total_time": 5.845667 }, "output": "https://replicate.delivery/pbxt/JruAVReYCazWD6m7PWKdkYuOY3ylH1s6LAPg2cKFbLmG64VJA/output.png", "started_at": "2024-04-18T18:48:40.487666Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bcfwmd0ryxrgg0ceya58x41esm", "cancel": "https://api.replicate.com/v1/predictions/bcfwmd0ryxrgg0ceya58x41esm/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.09it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.09it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.09it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.09it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.09it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDgmygz1anfhrgm0ceya581jhvrrStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDikwFYPmjdFk6di1ls07xjmVBANtVSb9elbShG97JSlwW/326151.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloDikwFYPmjdFk6di1ls07xjmVBANtVSb9elbShG97JSlwW/326151.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDikwFYPmjdFk6di1ls07xjmVBANtVSb9elbShG97JSlwW/326151.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDikwFYPmjdFk6di1ls07xjmVBANtVSb9elbShG97JSlwW/326151.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:49:01.749069Z", "created_at": "2024-04-18T18:48:55.932000Z", "data_removed": false, "error": null, "id": "gmygz1anfhrgm0ceya581jhvrr", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDikwFYPmjdFk6di1ls07xjmVBANtVSb9elbShG97JSlwW/326151.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.07it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.07it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.06it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.06it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.06it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.07it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.07it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.07it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.07it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.07it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.09it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]", "metrics": { "predict_time": 5.795104, "total_time": 5.817069 }, "output": "https://replicate.delivery/pbxt/qi88FmBZhRKWABsUNcFKwGmX8XzeSFioPbJLKZPuPY5O64VJA/output.png", "started_at": "2024-04-18T18:48:55.953965Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gmygz1anfhrgm0ceya581jhvrr", "cancel": "https://api.replicate.com/v1/predictions/gmygz1anfhrgm0ceya581jhvrr/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.09it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.09it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.09it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.07it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.07it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.06it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.06it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.06it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.07it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.07it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.07it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.07it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.07it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.09it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.09it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.08it/s]
Prediction
camenduru/colorize-line-art:59575ccaID1k75234pksrgm0ceya5bcd6fycStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 2
- scale
- 9
- prompt
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 512
- detect_resolution
- 512
{ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDzUyDHLVQHyoHE2v0NuoCuvNAmkwpk8sMZha0OyuVwGNW/326152.png", "image_resolution": 512, "detect_resolution": 512 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 2, scale: 9, prompt: "", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloDzUyDHLVQHyoHE2v0NuoCuvNAmkwpk8sMZha0OyuVwGNW/326152.png", image_resolution: 512, detect_resolution: 512 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDzUyDHLVQHyoHE2v0NuoCuvNAmkwpk8sMZha0OyuVwGNW/326152.png", "image_resolution": 512, "detect_resolution": 512 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDzUyDHLVQHyoHE2v0NuoCuvNAmkwpk8sMZha0OyuVwGNW/326152.png", "image_resolution": 512, "detect_resolution": 512 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T18:49:18.354556Z", "created_at": "2024-04-18T18:49:12.606000Z", "data_removed": false, "error": null, "id": "1k75234pksrgm0ceya5bcd6fyc", "input": { "det": "None", "eta": 1, "seed": 2, "scale": 9, "prompt": "", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloDzUyDHLVQHyoHE2v0NuoCuvNAmkwpk8sMZha0OyuVwGNW/326152.png", "image_resolution": 512, "detect_resolution": 512 }, "logs": "Global seed set to 2\nData shape for DDIM sampling is (1, 4, 96, 64), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.06it/s]\nDDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.08it/s]\nDDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.08it/s]\nDDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s]\nDDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.08it/s]\nDDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.08it/s]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.07it/s]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.06it/s]\nDDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.07it/s]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.07it/s]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.05it/s]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.06it/s]\nDDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.06it/s]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.06it/s]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.07it/s]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.06it/s]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.07it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.07it/s]\nDDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.07it/s]", "metrics": { "predict_time": 5.727276, "total_time": 5.748556 }, "output": "https://replicate.delivery/pbxt/QCcFkDEagk7SP9v1VDUdfs4bkxFfqgfBZ7C1cvZgiKWcpjXlA/output.png", "started_at": "2024-04-18T18:49:12.627280Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/1k75234pksrgm0ceya5bcd6fyc", "cancel": "https://api.replicate.com/v1/predictions/1k75234pksrgm0ceya5bcd6fyc/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 2 Data shape for DDIM sampling is (1, 4, 96, 64), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:00<00:04, 5.06it/s] DDIM Sampler: 8%|▊ | 2/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 12%|█▏ | 3/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 16%|█▌ | 4/25 [00:00<00:04, 5.08it/s] DDIM Sampler: 20%|██ | 5/25 [00:00<00:03, 5.08it/s] DDIM Sampler: 24%|██▍ | 6/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 28%|██▊ | 7/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 32%|███▏ | 8/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 36%|███▌ | 9/25 [00:01<00:03, 5.08it/s] DDIM Sampler: 40%|████ | 10/25 [00:01<00:02, 5.08it/s] DDIM Sampler: 44%|████▍ | 11/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 48%|████▊ | 12/25 [00:02<00:02, 5.08it/s] DDIM Sampler: 52%|█████▏ | 13/25 [00:02<00:02, 5.07it/s] DDIM Sampler: 56%|█████▌ | 14/25 [00:02<00:02, 5.06it/s] DDIM Sampler: 60%|██████ | 15/25 [00:02<00:01, 5.07it/s] DDIM Sampler: 64%|██████▍ | 16/25 [00:03<00:01, 5.07it/s] DDIM Sampler: 68%|██████▊ | 17/25 [00:03<00:01, 5.08it/s] DDIM Sampler: 72%|███████▏ | 18/25 [00:03<00:01, 5.05it/s] DDIM Sampler: 76%|███████▌ | 19/25 [00:03<00:01, 5.06it/s] DDIM Sampler: 80%|████████ | 20/25 [00:03<00:00, 5.06it/s] DDIM Sampler: 84%|████████▍ | 21/25 [00:04<00:00, 5.06it/s] DDIM Sampler: 88%|████████▊ | 22/25 [00:04<00:00, 5.07it/s] DDIM Sampler: 92%|█████████▏| 23/25 [00:04<00:00, 5.06it/s] DDIM Sampler: 96%|█████████▌| 24/25 [00:04<00:00, 5.07it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.07it/s] DDIM Sampler: 100%|██████████| 25/25 [00:04<00:00, 5.07it/s]
Prediction
camenduru/colorize-line-art:59575ccaIDcxc5cfa83nrgp0ceyb7shkf3mmStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 4
- scale
- 9
- prompt
- red hair
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 1024
- detect_resolution
- 1024
{ "det": "None", "eta": 1, "seed": 4, "scale": 9, "prompt": "red hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 4, scale: 9, prompt: "red hair", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", image_resolution: 1024, detect_resolution: 1024 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 4, "scale": 9, "prompt": "red hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 4, "scale": 9, "prompt": "red hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T20:04:47.353538Z", "created_at": "2024-04-18T20:04:14.493000Z", "data_removed": false, "error": null, "id": "cxc5cfa83nrgp0ceyb7shkf3mm", "input": { "det": "None", "eta": 1, "seed": 4, "scale": 9, "prompt": "red hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 }, "logs": "Global seed set to 4\nData shape for DDIM sampling is (1, 4, 192, 128), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:01<00:30, 1.28s/it]\nDDIM Sampler: 8%|▊ | 2/25 [00:02<00:29, 1.27s/it]\nDDIM Sampler: 12%|█▏ | 3/25 [00:03<00:27, 1.27s/it]\nDDIM Sampler: 16%|█▌ | 4/25 [00:05<00:26, 1.26s/it]\nDDIM Sampler: 20%|██ | 5/25 [00:06<00:25, 1.26s/it]\nDDIM Sampler: 24%|██▍ | 6/25 [00:07<00:24, 1.26s/it]\nDDIM Sampler: 28%|██▊ | 7/25 [00:08<00:22, 1.26s/it]\nDDIM Sampler: 32%|███▏ | 8/25 [00:10<00:21, 1.26s/it]\nDDIM Sampler: 36%|███▌ | 9/25 [00:11<00:20, 1.26s/it]\nDDIM Sampler: 40%|████ | 10/25 [00:12<00:18, 1.26s/it]\nDDIM Sampler: 44%|████▍ | 11/25 [00:13<00:17, 1.26s/it]\nDDIM Sampler: 48%|████▊ | 12/25 [00:15<00:16, 1.26s/it]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:16<00:15, 1.26s/it]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:17<00:13, 1.26s/it]\nDDIM Sampler: 60%|██████ | 15/25 [00:18<00:12, 1.26s/it]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:20<00:11, 1.26s/it]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:21<00:10, 1.26s/it]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:22<00:08, 1.26s/it]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:24<00:07, 1.26s/it]\nDDIM Sampler: 80%|████████ | 20/25 [00:25<00:06, 1.26s/it]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:26<00:05, 1.26s/it]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:27<00:03, 1.26s/it]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:29<00:02, 1.26s/it]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:30<00:01, 1.26s/it]\nDDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.26s/it]\nDDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.26s/it]", "metrics": { "predict_time": 32.833669, "total_time": 32.860538 }, "output": "https://replicate.delivery/pbxt/rdVPudIkbTofIiKAejeRb9OaZHARgGlfnX8xpXAkv1T6tLvKB/output.png", "started_at": "2024-04-18T20:04:14.519869Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cxc5cfa83nrgp0ceyb7shkf3mm", "cancel": "https://api.replicate.com/v1/predictions/cxc5cfa83nrgp0ceyb7shkf3mm/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 4 Data shape for DDIM sampling is (1, 4, 192, 128), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:01<00:30, 1.28s/it] DDIM Sampler: 8%|▊ | 2/25 [00:02<00:29, 1.27s/it] DDIM Sampler: 12%|█▏ | 3/25 [00:03<00:27, 1.27s/it] DDIM Sampler: 16%|█▌ | 4/25 [00:05<00:26, 1.26s/it] DDIM Sampler: 20%|██ | 5/25 [00:06<00:25, 1.26s/it] DDIM Sampler: 24%|██▍ | 6/25 [00:07<00:24, 1.26s/it] DDIM Sampler: 28%|██▊ | 7/25 [00:08<00:22, 1.26s/it] DDIM Sampler: 32%|███▏ | 8/25 [00:10<00:21, 1.26s/it] DDIM Sampler: 36%|███▌ | 9/25 [00:11<00:20, 1.26s/it] DDIM Sampler: 40%|████ | 10/25 [00:12<00:18, 1.26s/it] DDIM Sampler: 44%|████▍ | 11/25 [00:13<00:17, 1.26s/it] DDIM Sampler: 48%|████▊ | 12/25 [00:15<00:16, 1.26s/it] DDIM Sampler: 52%|█████▏ | 13/25 [00:16<00:15, 1.26s/it] DDIM Sampler: 56%|█████▌ | 14/25 [00:17<00:13, 1.26s/it] DDIM Sampler: 60%|██████ | 15/25 [00:18<00:12, 1.26s/it] DDIM Sampler: 64%|██████▍ | 16/25 [00:20<00:11, 1.26s/it] DDIM Sampler: 68%|██████▊ | 17/25 [00:21<00:10, 1.26s/it] DDIM Sampler: 72%|███████▏ | 18/25 [00:22<00:08, 1.26s/it] DDIM Sampler: 76%|███████▌ | 19/25 [00:24<00:07, 1.26s/it] DDIM Sampler: 80%|████████ | 20/25 [00:25<00:06, 1.26s/it] DDIM Sampler: 84%|████████▍ | 21/25 [00:26<00:05, 1.26s/it] DDIM Sampler: 88%|████████▊ | 22/25 [00:27<00:03, 1.26s/it] DDIM Sampler: 92%|█████████▏| 23/25 [00:29<00:02, 1.26s/it] DDIM Sampler: 96%|█████████▌| 24/25 [00:30<00:01, 1.26s/it] DDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.26s/it] DDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.26s/it]
Prediction
camenduru/colorize-line-art:59575ccaID5tvp0frhe1rgp0ceybs8ahjzy0StatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- det
- None
- eta
- 1
- seed
- 7667
- scale
- 9
- prompt
- green hair
- a_prompt
- masterpiece, best quality, ultra-detailed, illustration, disheveled hair
- n_prompt
- longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality
- strength
- 1
- ddim_steps
- 25
- image_resolution
- 1024
- detect_resolution
- 1024
{ "det": "None", "eta": 1, "seed": 7667, "scale": 9, "prompt": "green hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", { input: { det: "None", eta: 1, seed: 7667, scale: 9, prompt: "green hair", a_prompt: "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", n_prompt: "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", strength: 1, ddim_steps: 25, input_image: "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", image_resolution: 1024, detect_resolution: 1024 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/colorize-line-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/colorize-line-art:59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", input={ "det": "None", "eta": 1, "seed": 7667, "scale": 9, "prompt": "green hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/colorize-line-art 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": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec", "input": { "det": "None", "eta": 1, "seed": 7667, "scale": 9, "prompt": "green hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-18T20:43:23.695053Z", "created_at": "2024-04-18T20:42:14.256000Z", "data_removed": false, "error": null, "id": "5tvp0frhe1rgp0ceybs8ahjzy0", "input": { "det": "None", "eta": 1, "seed": 7667, "scale": 9, "prompt": "green hair", "a_prompt": "masterpiece, best quality, ultra-detailed, illustration, disheveled hair", "n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality", "strength": 1, "ddim_steps": 25, "input_image": "https://replicate.delivery/pbxt/KloAOzLTaJKdkQOT7cjj1BDvKaiNWWPb4VkcOwPSTy3jZkiV/326143.png", "image_resolution": 1024, "detect_resolution": 1024 }, "logs": "Global seed set to 7667\nData shape for DDIM sampling is (1, 4, 192, 128), eta 1.0\nRunning DDIM Sampling with 25 timesteps\nDDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s]\nDDIM Sampler: 4%|▍ | 1/25 [00:01<00:35, 1.46s/it]\nDDIM Sampler: 8%|▊ | 2/25 [00:02<00:30, 1.35s/it]\nDDIM Sampler: 12%|█▏ | 3/25 [00:03<00:28, 1.31s/it]\nDDIM Sampler: 16%|█▌ | 4/25 [00:05<00:27, 1.29s/it]\nDDIM Sampler: 20%|██ | 5/25 [00:06<00:25, 1.28s/it]\nDDIM Sampler: 24%|██▍ | 6/25 [00:07<00:24, 1.28s/it]\nDDIM Sampler: 28%|██▊ | 7/25 [00:09<00:22, 1.27s/it]\nDDIM Sampler: 32%|███▏ | 8/25 [00:10<00:21, 1.27s/it]\nDDIM Sampler: 36%|███▌ | 9/25 [00:11<00:20, 1.27s/it]\nDDIM Sampler: 40%|████ | 10/25 [00:12<00:18, 1.27s/it]\nDDIM Sampler: 44%|████▍ | 11/25 [00:14<00:17, 1.27s/it]\nDDIM Sampler: 48%|████▊ | 12/25 [00:15<00:16, 1.27s/it]\nDDIM Sampler: 52%|█████▏ | 13/25 [00:16<00:15, 1.26s/it]\nDDIM Sampler: 56%|█████▌ | 14/25 [00:17<00:13, 1.26s/it]\nDDIM Sampler: 60%|██████ | 15/25 [00:19<00:12, 1.26s/it]\nDDIM Sampler: 64%|██████▍ | 16/25 [00:20<00:11, 1.26s/it]\nDDIM Sampler: 68%|██████▊ | 17/25 [00:21<00:10, 1.26s/it]\nDDIM Sampler: 72%|███████▏ | 18/25 [00:22<00:08, 1.26s/it]\nDDIM Sampler: 76%|███████▌ | 19/25 [00:24<00:07, 1.26s/it]\nDDIM Sampler: 80%|████████ | 20/25 [00:25<00:06, 1.27s/it]\nDDIM Sampler: 84%|████████▍ | 21/25 [00:26<00:05, 1.27s/it]\nDDIM Sampler: 88%|████████▊ | 22/25 [00:28<00:03, 1.27s/it]\nDDIM Sampler: 92%|█████████▏| 23/25 [00:29<00:02, 1.27s/it]\nDDIM Sampler: 96%|█████████▌| 24/25 [00:30<00:01, 1.27s/it]\nDDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.27s/it]\nDDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.27s/it]", "metrics": { "predict_time": 33.364675, "total_time": 69.439053 }, "output": "https://replicate.delivery/pbxt/DgAyjOmQwkJoKpBoGPH4QjnT7YbAnWxzv6MBMhezx1v1v5VJA/output.png", "started_at": "2024-04-18T20:42:50.330378Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5tvp0frhe1rgp0ceybs8ahjzy0", "cancel": "https://api.replicate.com/v1/predictions/5tvp0frhe1rgp0ceybs8ahjzy0/cancel" }, "version": "59575cca43435fec91bf2016648a36db03ab0c1556490974e3c483274076a6ec" }
Generated inGlobal seed set to 7667 Data shape for DDIM sampling is (1, 4, 192, 128), eta 1.0 Running DDIM Sampling with 25 timesteps DDIM Sampler: 0%| | 0/25 [00:00<?, ?it/s] DDIM Sampler: 4%|▍ | 1/25 [00:01<00:35, 1.46s/it] DDIM Sampler: 8%|▊ | 2/25 [00:02<00:30, 1.35s/it] DDIM Sampler: 12%|█▏ | 3/25 [00:03<00:28, 1.31s/it] DDIM Sampler: 16%|█▌ | 4/25 [00:05<00:27, 1.29s/it] DDIM Sampler: 20%|██ | 5/25 [00:06<00:25, 1.28s/it] DDIM Sampler: 24%|██▍ | 6/25 [00:07<00:24, 1.28s/it] DDIM Sampler: 28%|██▊ | 7/25 [00:09<00:22, 1.27s/it] DDIM Sampler: 32%|███▏ | 8/25 [00:10<00:21, 1.27s/it] DDIM Sampler: 36%|███▌ | 9/25 [00:11<00:20, 1.27s/it] DDIM Sampler: 40%|████ | 10/25 [00:12<00:18, 1.27s/it] DDIM Sampler: 44%|████▍ | 11/25 [00:14<00:17, 1.27s/it] DDIM Sampler: 48%|████▊ | 12/25 [00:15<00:16, 1.27s/it] DDIM Sampler: 52%|█████▏ | 13/25 [00:16<00:15, 1.26s/it] DDIM Sampler: 56%|█████▌ | 14/25 [00:17<00:13, 1.26s/it] DDIM Sampler: 60%|██████ | 15/25 [00:19<00:12, 1.26s/it] DDIM Sampler: 64%|██████▍ | 16/25 [00:20<00:11, 1.26s/it] DDIM Sampler: 68%|██████▊ | 17/25 [00:21<00:10, 1.26s/it] DDIM Sampler: 72%|███████▏ | 18/25 [00:22<00:08, 1.26s/it] DDIM Sampler: 76%|███████▌ | 19/25 [00:24<00:07, 1.26s/it] DDIM Sampler: 80%|████████ | 20/25 [00:25<00:06, 1.27s/it] DDIM Sampler: 84%|████████▍ | 21/25 [00:26<00:05, 1.27s/it] DDIM Sampler: 88%|████████▊ | 22/25 [00:28<00:03, 1.27s/it] DDIM Sampler: 92%|█████████▏| 23/25 [00:29<00:02, 1.27s/it] DDIM Sampler: 96%|█████████▌| 24/25 [00:30<00:01, 1.27s/it] DDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.27s/it] DDIM Sampler: 100%|██████████| 25/25 [00:31<00:00, 1.27s/it]
Want to make some of these yourself?
Run this model