elct9620
/
pastel-mix
The Pastel Model with highres upscale
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29Input
- seed
- 12360272993101
- hires
- steps
- 20
- width
- "600"
- height
- "280"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 12360272993101, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 12360272993101, hires: true, steps: 20, width: "600", height: "280", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 12360272993101, "hires": True, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 12360272993101, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-27T09:02:56.093526Z", "created_at": "2023-02-27T09:02:49.561728Z", "data_removed": false, "error": null, "id": "puazy67ew5al5juq5d43aa3a3e", "input": { "seed": 12360272993101, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.09it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.05it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.40it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.76it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.33it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.72it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.30it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.69it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.18it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.50it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.45it/s]\nmasterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x280\nSeed: 12360272993101\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 14.38it/s]\n 20%|██ | 4/20 [00:00<00:01, 13.95it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.71it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.30it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.13it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.66it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.91it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.87it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.84it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.18it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.92it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:01, 6.59it/s]\n 17%|█▋ | 2/12 [00:00<00:01, 7.74it/s]\n 25%|██▌ | 3/12 [00:00<00:01, 8.13it/s]\n 33%|███▎ | 4/12 [00:00<00:00, 8.40it/s]\n 42%|████▏ | 5/12 [00:00<00:00, 8.43it/s]\n 50%|█████ | 6/12 [00:00<00:00, 8.35it/s]\n 58%|█████▊ | 7/12 [00:00<00:00, 8.38it/s]\n 67%|██████▋ | 8/12 [00:00<00:00, 8.27it/s]\n 75%|███████▌ | 9/12 [00:01<00:00, 8.50it/s]\n 83%|████████▎ | 10/12 [00:01<00:00, 8.61it/s]\n 92%|█████████▏| 11/12 [00:01<00:00, 8.51it/s]\n100%|██████████| 12/12 [00:01<00:00, 8.74it/s]\n100%|██████████| 12/12 [00:01<00:00, 8.40it/s]", "metrics": { "predict_time": 6.457068, "total_time": 6.531798 }, "output": [ "https://replicate.delivery/pbxt/RwV5I243V96YHN42n7lEpCdTLIWppuTutmmr8LppDW8ujoIE/out-0.png", "https://replicate.delivery/pbxt/5UfOktKJgITDQiTpMXahEkpoaUGhYbbf3cdriuvEw6H9OiiQA/out-0.png", "https://replicate.delivery/pbxt/kUDfJwOomhV3XqnNpoyLiWV3hRpi2zrlRpmIyI8eGjMfdEFhA/out-0.png" ], "started_at": "2023-02-27T09:02:49.636458Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/puazy67ew5al5juq5d43aa3a3e", "cancel": "https://api.replicate.com/v1/predictions/puazy67ew5al5juq5d43aa3a3e/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.09it/s] 20%|██ | 4/20 [00:00<00:01, 12.05it/s] 30%|███ | 6/20 [00:00<00:01, 12.40it/s] 40%|████ | 8/20 [00:00<00:00, 12.76it/s] 50%|█████ | 10/20 [00:00<00:00, 12.33it/s] 60%|██████ | 12/20 [00:00<00:00, 12.72it/s] 70%|███████ | 14/20 [00:01<00:00, 12.30it/s] 80%|████████ | 16/20 [00:01<00:00, 12.69it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.18it/s] 100%|██████████| 20/20 [00:01<00:00, 12.50it/s] 100%|██████████| 20/20 [00:01<00:00, 12.45it/s] masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, cyan medium hair, close-up, straight on, face focus Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x280 Seed: 12360272993101 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 14.38it/s] 20%|██ | 4/20 [00:00<00:01, 13.95it/s] 30%|███ | 6/20 [00:00<00:01, 12.71it/s] 40%|████ | 8/20 [00:00<00:00, 12.30it/s] 50%|█████ | 10/20 [00:00<00:00, 12.13it/s] 60%|██████ | 12/20 [00:00<00:00, 12.66it/s] 70%|███████ | 14/20 [00:01<00:00, 12.91it/s] 80%|████████ | 16/20 [00:01<00:00, 12.87it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.84it/s] 100%|██████████| 20/20 [00:01<00:00, 13.18it/s] 100%|██████████| 20/20 [00:01<00:00, 12.92it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:01, 6.59it/s] 17%|█▋ | 2/12 [00:00<00:01, 7.74it/s] 25%|██▌ | 3/12 [00:00<00:01, 8.13it/s] 33%|███▎ | 4/12 [00:00<00:00, 8.40it/s] 42%|████▏ | 5/12 [00:00<00:00, 8.43it/s] 50%|█████ | 6/12 [00:00<00:00, 8.35it/s] 58%|█████▊ | 7/12 [00:00<00:00, 8.38it/s] 67%|██████▋ | 8/12 [00:00<00:00, 8.27it/s] 75%|███████▌ | 9/12 [00:01<00:00, 8.50it/s] 83%|████████▎ | 10/12 [00:01<00:00, 8.61it/s] 92%|█████████▏| 11/12 [00:01<00:00, 8.51it/s] 100%|██████████| 12/12 [00:01<00:00, 8.74it/s] 100%|██████████| 12/12 [00:01<00:00, 8.40it/s]
Prediction
elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6IDgx7s7nb2bfgtbi776l44jy4xgiStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 777
- hires
- steps
- 20
- width
- "224"
- height
- "320"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 777, "hires": true, "steps": 20, "width": "224", "height": "320", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", { input: { seed: 777, hires: true, steps: 20, width: "224", height: "320", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", input={ "seed": 777, "hires": True, "steps": 20, "width": "224", "height": "320", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", "input": { "seed": 777, "hires": true, "steps": 20, "width": "224", "height": "320", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-24T16:02:01.952245Z", "created_at": "2023-02-24T16:01:56.126802Z", "data_removed": false, "error": null, "id": "gx7s7nb2bfgtbi776l44jy4xgi", "input": { "seed": 777, "hires": true, "steps": 20, "width": "224", "height": "320", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 10.94it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.93it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.88it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.88it/s]\n 50%|█████ | 10/20 [00:00<00:00, 10.70it/s]\n 60%|██████ | 12/20 [00:01<00:00, 10.68it/s]\n 70%|███████ | 14/20 [00:01<00:00, 10.71it/s]\n 80%|████████ | 16/20 [00:01<00:00, 10.89it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 10.66it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.74it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.77it/s]\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.04it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.21it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.34it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.99it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.01it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.57it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.64it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.67it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.68it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.11it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.64it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 17%|█▋ | 2/12 [00:00<00:00, 11.09it/s]\n 33%|███▎ | 4/12 [00:00<00:00, 11.55it/s]\n 50%|█████ | 6/12 [00:00<00:00, 11.74it/s]\n 67%|██████▋ | 8/12 [00:00<00:00, 11.50it/s]\n 83%|████████▎ | 10/12 [00:00<00:00, 11.55it/s]\n100%|██████████| 12/12 [00:01<00:00, 11.47it/s]\n100%|██████████| 12/12 [00:01<00:00, 11.49it/s]", "metrics": { "predict_time": 5.762555, "total_time": 5.825443 }, "output": [ "https://replicate.delivery/pbxt/CXFA9yxrN95hMVD2CKp7ezymoCmcexDQ7ODe9To9WhflXkGCB/out-0.png" ], "started_at": "2023-02-24T16:01:56.189690Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gx7s7nb2bfgtbi776l44jy4xgi", "cancel": "https://api.replicate.com/v1/predictions/gx7s7nb2bfgtbi776l44jy4xgi/cancel" }, "version": "c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 10.94it/s] 20%|██ | 4/20 [00:00<00:01, 10.93it/s] 30%|███ | 6/20 [00:00<00:01, 10.88it/s] 40%|████ | 8/20 [00:00<00:01, 10.88it/s] 50%|█████ | 10/20 [00:00<00:00, 10.70it/s] 60%|██████ | 12/20 [00:01<00:00, 10.68it/s] 70%|███████ | 14/20 [00:01<00:00, 10.71it/s] 80%|████████ | 16/20 [00:01<00:00, 10.89it/s] 90%|█████████ | 18/20 [00:01<00:00, 10.66it/s] 100%|██████████| 20/20 [00:01<00:00, 10.74it/s] 100%|██████████| 20/20 [00:01<00:00, 10.77it/s] 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.04it/s] 20%|██ | 4/20 [00:00<00:01, 11.21it/s] 30%|███ | 6/20 [00:00<00:01, 11.34it/s] 40%|████ | 8/20 [00:00<00:01, 10.99it/s] 50%|█████ | 10/20 [00:00<00:00, 11.01it/s] 60%|██████ | 12/20 [00:01<00:00, 11.57it/s] 70%|███████ | 14/20 [00:01<00:00, 11.64it/s] 80%|████████ | 16/20 [00:01<00:00, 11.67it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.68it/s] 100%|██████████| 20/20 [00:01<00:00, 12.11it/s] 100%|██████████| 20/20 [00:01<00:00, 11.64it/s] 0%| | 0/12 [00:00<?, ?it/s] 17%|█▋ | 2/12 [00:00<00:00, 11.09it/s] 33%|███▎ | 4/12 [00:00<00:00, 11.55it/s] 50%|█████ | 6/12 [00:00<00:00, 11.74it/s] 67%|██████▋ | 8/12 [00:00<00:00, 11.50it/s] 83%|████████▎ | 10/12 [00:00<00:00, 11.55it/s] 100%|██████████| 12/12 [00:01<00:00, 11.47it/s] 100%|██████████| 12/12 [00:01<00:00, 11.49it/s]
Prediction
elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6IDdksxxrshorbixpkcro5id2d3w4StatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 777
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 777, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", { input: { seed: 777, hires: true, steps: 20, width: "448", height: "640", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", input={ "seed": 777, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", "input": { "seed": 777, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-24T16:02:45.953735Z", "created_at": "2023-02-24T16:02:24.730945Z", "data_removed": false, "error": null, "id": "dksxxrshorbixpkcro5id2d3w4", "input": { "seed": 777, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:02<00:39, 2.09s/it]\n 10%|█ | 2/20 [00:02<00:16, 1.08it/s]\n 20%|██ | 4/20 [00:02<00:06, 2.53it/s]\n 30%|███ | 6/20 [00:02<00:03, 4.04it/s]\n 40%|████ | 8/20 [00:02<00:02, 5.54it/s]\n 50%|█████ | 10/20 [00:02<00:01, 6.79it/s]\n 60%|██████ | 12/20 [00:03<00:01, 7.93it/s]\n 70%|███████ | 14/20 [00:03<00:00, 8.82it/s]\n 80%|████████ | 16/20 [00:03<00:00, 9.68it/s]\n 90%|█████████ | 18/20 [00:03<00:00, 10.25it/s]\n100%|██████████| 20/20 [00:03<00:00, 10.37it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.35it/s]\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:37, 1.98s/it]\n 15%|█▌ | 3/20 [00:02<00:09, 1.72it/s]\n 25%|██▌ | 5/20 [00:02<00:04, 3.05it/s]\n 35%|███▌ | 7/20 [00:02<00:02, 4.39it/s]\n 45%|████▌ | 9/20 [00:02<00:01, 5.75it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 7.08it/s]\n 65%|██████▌ | 13/20 [00:03<00:00, 8.12it/s]\n 75%|███████▌ | 15/20 [00:03<00:00, 9.02it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 9.62it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 9.95it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.50it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:04<00:50, 4.59s/it]\n 17%|█▋ | 2/12 [00:04<00:20, 2.06s/it]\n 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it]\n 33%|███▎ | 4/12 [00:05<00:06, 1.16it/s]\n 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s]\n 50%|█████ | 6/12 [00:05<00:03, 1.90it/s]\n 58%|█████▊ | 7/12 [00:06<00:02, 2.25it/s]\n 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s]\n 75%|███████▌ | 9/12 [00:06<00:01, 2.81it/s]\n 83%|████████▎ | 10/12 [00:07<00:00, 3.01it/s]\n 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s]\n100%|██████████| 12/12 [00:07<00:00, 3.29it/s]\n100%|██████████| 12/12 [00:07<00:00, 1.57it/s]", "metrics": { "predict_time": 21.151844, "total_time": 21.22279 }, "output": [ "https://replicate.delivery/pbxt/M8kuLBWeemsW6EboARle1B0PtUGuiAVX8nebzdtmf5Yu0INEC/out-0.png" ], "started_at": "2023-02-24T16:02:24.801891Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dksxxrshorbixpkcro5id2d3w4", "cancel": "https://api.replicate.com/v1/predictions/dksxxrshorbixpkcro5id2d3w4/cancel" }, "version": "c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:02<00:39, 2.09s/it] 10%|█ | 2/20 [00:02<00:16, 1.08it/s] 20%|██ | 4/20 [00:02<00:06, 2.53it/s] 30%|███ | 6/20 [00:02<00:03, 4.04it/s] 40%|████ | 8/20 [00:02<00:02, 5.54it/s] 50%|█████ | 10/20 [00:02<00:01, 6.79it/s] 60%|██████ | 12/20 [00:03<00:01, 7.93it/s] 70%|███████ | 14/20 [00:03<00:00, 8.82it/s] 80%|████████ | 16/20 [00:03<00:00, 9.68it/s] 90%|█████████ | 18/20 [00:03<00:00, 10.25it/s] 100%|██████████| 20/20 [00:03<00:00, 10.37it/s] 100%|██████████| 20/20 [00:03<00:00, 5.35it/s] 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:37, 1.98s/it] 15%|█▌ | 3/20 [00:02<00:09, 1.72it/s] 25%|██▌ | 5/20 [00:02<00:04, 3.05it/s] 35%|███▌ | 7/20 [00:02<00:02, 4.39it/s] 45%|████▌ | 9/20 [00:02<00:01, 5.75it/s] 55%|█████▌ | 11/20 [00:02<00:01, 7.08it/s] 65%|██████▌ | 13/20 [00:03<00:00, 8.12it/s] 75%|███████▌ | 15/20 [00:03<00:00, 9.02it/s] 85%|████████▌ | 17/20 [00:03<00:00, 9.62it/s] 95%|█████████▌| 19/20 [00:03<00:00, 9.95it/s] 100%|██████████| 20/20 [00:03<00:00, 5.50it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:04<00:50, 4.59s/it] 17%|█▋ | 2/12 [00:04<00:20, 2.06s/it] 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it] 33%|███▎ | 4/12 [00:05<00:06, 1.16it/s] 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s] 50%|█████ | 6/12 [00:05<00:03, 1.90it/s] 58%|█████▊ | 7/12 [00:06<00:02, 2.25it/s] 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s] 75%|███████▌ | 9/12 [00:06<00:01, 2.81it/s] 83%|████████▎ | 10/12 [00:07<00:00, 3.01it/s] 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s] 100%|██████████| 12/12 [00:07<00:00, 3.29it/s] 100%|██████████| 12/12 [00:07<00:00, 1.57it/s]
Prediction
elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6IDbypuqg57g5eepdrusfabk4fkciStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 820612
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 820612, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", { input: { seed: 820612, hires: true, steps: 20, width: "448", height: "640", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", input={ "seed": 820612, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6", "input": { "seed": 820612, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-24T16:03:13.957534Z", "created_at": "2023-02-24T16:03:04.730187Z", "data_removed": false, "error": null, "id": "bypuqg57g5eepdrusfabk4fkci", "input": { "seed": 820612, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 10.77it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.78it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.79it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.79it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.84it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.65it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.19it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.05it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.55it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.98it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.65it/s]\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.16it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.02it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.10it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.20it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.16it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.75it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.06it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.92it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.13it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.40it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.83it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.57it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.09it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.30it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.51it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.48it/s]", "metrics": { "predict_time": 9.160731, "total_time": 9.227347 }, "output": [ "https://replicate.delivery/pbxt/ZjWM7OpM0tKKKhtI5xx34H4mlo1G5VfgqEIOEoxqAspgj0QIA/out-0.png" ], "started_at": "2023-02-24T16:03:04.796803Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bypuqg57g5eepdrusfabk4fkci", "cancel": "https://api.replicate.com/v1/predictions/bypuqg57g5eepdrusfabk4fkci/cancel" }, "version": "c9b04c8ab47901601dc921a63e9ca9d000e41dd430bfe2e427fe5777be66fcc6" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 10.77it/s] 20%|██ | 4/20 [00:00<00:01, 11.78it/s] 30%|███ | 6/20 [00:00<00:01, 11.79it/s] 40%|████ | 8/20 [00:00<00:01, 11.79it/s] 50%|█████ | 10/20 [00:00<00:00, 11.84it/s] 60%|██████ | 12/20 [00:01<00:00, 11.65it/s] 70%|███████ | 14/20 [00:01<00:00, 11.19it/s] 80%|████████ | 16/20 [00:01<00:00, 11.05it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.55it/s] 100%|██████████| 20/20 [00:01<00:00, 11.98it/s] 100%|██████████| 20/20 [00:01<00:00, 11.65it/s] 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.16it/s] 20%|██ | 4/20 [00:00<00:01, 11.02it/s] 30%|███ | 6/20 [00:00<00:01, 11.10it/s] 40%|████ | 8/20 [00:00<00:01, 11.20it/s] 50%|█████ | 10/20 [00:00<00:00, 11.16it/s] 60%|██████ | 12/20 [00:01<00:00, 11.75it/s] 70%|███████ | 14/20 [00:01<00:00, 12.06it/s] 80%|████████ | 16/20 [00:01<00:00, 11.92it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.13it/s] 100%|██████████| 20/20 [00:01<00:00, 12.40it/s] 100%|██████████| 20/20 [00:01<00:00, 11.83it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.57it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.09it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.30it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.51it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.48it/s]
Prediction
elct9620/pastel-mix:4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8Input
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1girl, white hair, golden eyes, long hair, halo, angel wings, serene expression, looking at viewer
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1girl, white hair, golden eyes, long hair, halo, angel wings, serene expression, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8", { input: { hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1girl, white hair, golden eyes, long hair, halo, angel wings, serene expression, looking at viewer", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8", input={ "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1girl, white hair, golden eyes, long hair, halo, angel wings, serene expression, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8", "input": { "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1girl, white hair, golden eyes, long hair, halo, angel wings, serene expression, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-24T16:49:46.387521Z", "created_at": "2023-02-24T16:49:24.102839Z", "data_removed": false, "error": null, "id": "rparzt4xkbf6haak74nqiw2ora", "input": { "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1girl, white hair, golden eyes, long hair, halo, angel wings, serene expression, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:21, 1.12s/it]\n 15%|█▌ | 3/20 [00:01<00:06, 2.79it/s]\n 20%|██ | 4/20 [00:01<00:04, 3.71it/s]\n 25%|██▌ | 5/20 [00:01<00:03, 4.68it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 6.45it/s]\n 40%|████ | 8/20 [00:01<00:01, 7.03it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 7.55it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 8.51it/s]\n 60%|██████ | 12/20 [00:02<00:00, 8.82it/s]\n 65%|██████▌ | 13/20 [00:02<00:00, 8.96it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 9.44it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 9.64it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 9.58it/s]\n100%|██████████| 20/20 [00:03<00:00, 9.77it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.65it/s]\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:37, 1.95s/it]\n 15%|█▌ | 3/20 [00:02<00:09, 1.74it/s]\n 25%|██▌ | 5/20 [00:02<00:04, 3.07it/s]\n 35%|███▌ | 7/20 [00:02<00:02, 4.41it/s]\n 45%|████▌ | 9/20 [00:02<00:01, 5.71it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 6.85it/s]\n 65%|██████▌ | 13/20 [00:03<00:00, 7.69it/s]\n 75%|███████▌ | 15/20 [00:03<00:00, 8.61it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 9.20it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 9.45it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.37it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:04<00:51, 4.65s/it]\n 17%|█▋ | 2/12 [00:04<00:20, 2.08s/it]\n 25%|██▌ | 3/12 [00:05<00:11, 1.26s/it]\n 33%|███▎ | 4/12 [00:05<00:06, 1.15it/s]\n 42%|████▏ | 5/12 [00:05<00:04, 1.52it/s]\n 50%|█████ | 6/12 [00:06<00:03, 1.89it/s]\n 58%|█████▊ | 7/12 [00:06<00:02, 2.24it/s]\n 67%|██████▋ | 8/12 [00:06<00:01, 2.54it/s]\n 75%|███████▌ | 9/12 [00:06<00:01, 2.80it/s]\n 83%|████████▎ | 10/12 [00:07<00:00, 3.00it/s]\n 92%|█████████▏| 11/12 [00:07<00:00, 3.16it/s]\n100%|██████████| 12/12 [00:07<00:00, 3.28it/s]\n100%|██████████| 12/12 [00:07<00:00, 1.55it/s]", "metrics": { "predict_time": 22.204224, "total_time": 22.284682 }, "output": [ "https://replicate.delivery/pbxt/1q5u7KXoie2ZYS6FCkI38bUoetAQ5lTEVSeZOQlqHDzykTDhA/out-0.png", "https://replicate.delivery/pbxt/I8NCaIOcFWa5PZIUgqD1QX2ikeyXf5B81QS2F96MlSigyphQA/out-0.png", "https://replicate.delivery/pbxt/8DvVHfGUjoVnI6EeWQUDyRajkv1OfmsiOkFsZ1hxiqhTlTDhA/out-0.png" ], "started_at": "2023-02-24T16:49:24.183297Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rparzt4xkbf6haak74nqiw2ora", "cancel": "https://api.replicate.com/v1/predictions/rparzt4xkbf6haak74nqiw2ora/cancel" }, "version": "4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:21, 1.12s/it] 15%|█▌ | 3/20 [00:01<00:06, 2.79it/s] 20%|██ | 4/20 [00:01<00:04, 3.71it/s] 25%|██▌ | 5/20 [00:01<00:03, 4.68it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.45it/s] 40%|████ | 8/20 [00:01<00:01, 7.03it/s] 45%|████▌ | 9/20 [00:01<00:01, 7.55it/s] 55%|█████▌ | 11/20 [00:02<00:01, 8.51it/s] 60%|██████ | 12/20 [00:02<00:00, 8.82it/s] 65%|██████▌ | 13/20 [00:02<00:00, 8.96it/s] 75%|███████▌ | 15/20 [00:02<00:00, 9.44it/s] 85%|████████▌ | 17/20 [00:02<00:00, 9.64it/s] 90%|█████████ | 18/20 [00:02<00:00, 9.58it/s] 100%|██████████| 20/20 [00:03<00:00, 9.77it/s] 100%|██████████| 20/20 [00:03<00:00, 6.65it/s] 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:37, 1.95s/it] 15%|█▌ | 3/20 [00:02<00:09, 1.74it/s] 25%|██▌ | 5/20 [00:02<00:04, 3.07it/s] 35%|███▌ | 7/20 [00:02<00:02, 4.41it/s] 45%|████▌ | 9/20 [00:02<00:01, 5.71it/s] 55%|█████▌ | 11/20 [00:02<00:01, 6.85it/s] 65%|██████▌ | 13/20 [00:03<00:00, 7.69it/s] 75%|███████▌ | 15/20 [00:03<00:00, 8.61it/s] 85%|████████▌ | 17/20 [00:03<00:00, 9.20it/s] 95%|█████████▌| 19/20 [00:03<00:00, 9.45it/s] 100%|██████████| 20/20 [00:03<00:00, 5.37it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:04<00:51, 4.65s/it] 17%|█▋ | 2/12 [00:04<00:20, 2.08s/it] 25%|██▌ | 3/12 [00:05<00:11, 1.26s/it] 33%|███▎ | 4/12 [00:05<00:06, 1.15it/s] 42%|████▏ | 5/12 [00:05<00:04, 1.52it/s] 50%|█████ | 6/12 [00:06<00:03, 1.89it/s] 58%|█████▊ | 7/12 [00:06<00:02, 2.24it/s] 67%|██████▋ | 8/12 [00:06<00:01, 2.54it/s] 75%|███████▌ | 9/12 [00:06<00:01, 2.80it/s] 83%|████████▎ | 10/12 [00:07<00:00, 3.00it/s] 92%|█████████▏| 11/12 [00:07<00:00, 3.16it/s] 100%|██████████| 12/12 [00:07<00:00, 3.28it/s] 100%|██████████| 12/12 [00:07<00:00, 1.55it/s]
Prediction
elct9620/pastel-mix:4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8Input
- hires
- steps
- "25"
- width
- "448"
- height
- "640"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, 1girl, witch hat, purple eyes, blonde hair, wielding a purple staff blasting purple energy, purple beam, purple effects, dragons, chaos
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "hires": true, "steps": "25", "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, 1girl, witch hat, purple eyes, blonde hair, wielding a purple staff blasting purple energy, purple beam, purple effects, dragons, chaos", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8", { input: { hires: true, steps: "25", width: "448", height: "640", prompt: "masterpiece, best quality, ultra-detailed, illustration, 1girl, witch hat, purple eyes, blonde hair, wielding a purple staff blasting purple energy, purple beam, purple effects, dragons, chaos", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8", input={ "hires": True, "steps": "25", "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, 1girl, witch hat, purple eyes, blonde hair, wielding a purple staff blasting purple energy, purple beam, purple effects, dragons, chaos", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8", "input": { "hires": true, "steps": "25", "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, 1girl, witch hat, purple eyes, blonde hair, wielding a purple staff blasting purple energy, purple beam, purple effects, dragons, chaos", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-24T16:57:26.011062Z", "created_at": "2023-02-24T16:57:14.887841Z", "data_removed": false, "error": null, "id": "e2x7wdrhc5asfnbhwwcd6d7zcq", "input": { "hires": true, "steps": "25", "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, 1girl, witch hat, purple eyes, blonde hair, wielding a purple staff blasting purple energy, purple beam, purple effects, dragons, chaos", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/25 [00:00<?, ?it/s]\n 8%|▊ | 2/25 [00:00<00:02, 10.70it/s]\n 16%|█▌ | 4/25 [00:00<00:01, 11.08it/s]\n 24%|██▍ | 6/25 [00:00<00:01, 11.19it/s]\n 32%|███▏ | 8/25 [00:00<00:01, 11.71it/s]\n 40%|████ | 10/25 [00:00<00:01, 11.81it/s]\n 48%|████▊ | 12/25 [00:01<00:01, 11.30it/s]\n 56%|█████▌ | 14/25 [00:01<00:00, 11.31it/s]\n 64%|██████▍ | 16/25 [00:01<00:00, 11.25it/s]\n 72%|███████▏ | 18/25 [00:01<00:00, 10.99it/s]\n 80%|████████ | 20/25 [00:01<00:00, 11.00it/s]\n 88%|████████▊ | 22/25 [00:01<00:00, 11.03it/s]\n 96%|█████████▌| 24/25 [00:02<00:00, 11.04it/s]\n100%|██████████| 25/25 [00:02<00:00, 11.13it/s]\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.79it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.17it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.31it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.43it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.74it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.81it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.82it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.82it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.87it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.65it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.71it/s]\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:00<00:05, 2.57it/s]\n 13%|█▎ | 2/15 [00:00<00:04, 3.09it/s]\n 20%|██ | 3/15 [00:00<00:03, 3.30it/s]\n 27%|██▋ | 4/15 [00:01<00:03, 3.41it/s]\n 33%|███▎ | 5/15 [00:01<00:02, 3.48it/s]\n 40%|████ | 6/15 [00:01<00:02, 3.52it/s]\n 47%|████▋ | 7/15 [00:02<00:02, 3.54it/s]\n 53%|█████▎ | 8/15 [00:02<00:01, 3.56it/s]\n 60%|██████ | 9/15 [00:02<00:01, 3.57it/s]\n 67%|██████▋ | 10/15 [00:02<00:01, 3.58it/s]\n 73%|███████▎ | 11/15 [00:03<00:01, 3.58it/s]\n 80%|████████ | 12/15 [00:03<00:00, 3.59it/s]\n 87%|████████▋ | 13/15 [00:03<00:00, 3.59it/s]\n 93%|█████████▎| 14/15 [00:04<00:00, 3.59it/s]\n100%|██████████| 15/15 [00:04<00:00, 3.60it/s]\n100%|██████████| 15/15 [00:04<00:00, 3.50it/s]", "metrics": { "predict_time": 11.0456, "total_time": 11.123221 }, "output": [ "https://replicate.delivery/pbxt/A7hQxeYbwwUHIaCCoIJm227NFBzeuTtfSPlviHbHIrNbzTDhA/out-0.png", "https://replicate.delivery/pbxt/b9LYhKqCl3IFH5mWLnx7I0RYeHoyieSHPoO6xUjJLCbw5phQA/out-0.png", "https://replicate.delivery/pbxt/nzGDi7DSLpadFl8nQ0rZUdpBrHDOae0itERBRnZugL0680QIA/out-0.png" ], "started_at": "2023-02-24T16:57:14.965462Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/e2x7wdrhc5asfnbhwwcd6d7zcq", "cancel": "https://api.replicate.com/v1/predictions/e2x7wdrhc5asfnbhwwcd6d7zcq/cancel" }, "version": "4d0f9d417c3f5264275d470a2857bd33e383d0456a8b72037df6515fd8cf1bc8" }
Generated in0%| | 0/25 [00:00<?, ?it/s] 8%|▊ | 2/25 [00:00<00:02, 10.70it/s] 16%|█▌ | 4/25 [00:00<00:01, 11.08it/s] 24%|██▍ | 6/25 [00:00<00:01, 11.19it/s] 32%|███▏ | 8/25 [00:00<00:01, 11.71it/s] 40%|████ | 10/25 [00:00<00:01, 11.81it/s] 48%|████▊ | 12/25 [00:01<00:01, 11.30it/s] 56%|█████▌ | 14/25 [00:01<00:00, 11.31it/s] 64%|██████▍ | 16/25 [00:01<00:00, 11.25it/s] 72%|███████▏ | 18/25 [00:01<00:00, 10.99it/s] 80%|████████ | 20/25 [00:01<00:00, 11.00it/s] 88%|████████▊ | 22/25 [00:01<00:00, 11.03it/s] 96%|█████████▌| 24/25 [00:02<00:00, 11.04it/s] 100%|██████████| 25/25 [00:02<00:00, 11.13it/s] 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.79it/s] 20%|██ | 4/20 [00:00<00:01, 12.17it/s] 30%|███ | 6/20 [00:00<00:01, 11.31it/s] 40%|████ | 8/20 [00:00<00:01, 11.43it/s] 50%|█████ | 10/20 [00:00<00:00, 11.74it/s] 60%|██████ | 12/20 [00:01<00:00, 11.81it/s] 70%|███████ | 14/20 [00:01<00:00, 11.82it/s] 80%|████████ | 16/20 [00:01<00:00, 11.82it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.87it/s] 100%|██████████| 20/20 [00:01<00:00, 11.65it/s] 100%|██████████| 20/20 [00:01<00:00, 11.71it/s] 0%| | 0/15 [00:00<?, ?it/s] 7%|▋ | 1/15 [00:00<00:05, 2.57it/s] 13%|█▎ | 2/15 [00:00<00:04, 3.09it/s] 20%|██ | 3/15 [00:00<00:03, 3.30it/s] 27%|██▋ | 4/15 [00:01<00:03, 3.41it/s] 33%|███▎ | 5/15 [00:01<00:02, 3.48it/s] 40%|████ | 6/15 [00:01<00:02, 3.52it/s] 47%|████▋ | 7/15 [00:02<00:02, 3.54it/s] 53%|█████▎ | 8/15 [00:02<00:01, 3.56it/s] 60%|██████ | 9/15 [00:02<00:01, 3.57it/s] 67%|██████▋ | 10/15 [00:02<00:01, 3.58it/s] 73%|███████▎ | 11/15 [00:03<00:01, 3.58it/s] 80%|████████ | 12/15 [00:03<00:00, 3.59it/s] 87%|████████▋ | 13/15 [00:03<00:00, 3.59it/s] 93%|█████████▎| 14/15 [00:04<00:00, 3.59it/s] 100%|██████████| 15/15 [00:04<00:00, 3.60it/s] 100%|██████████| 15/15 [00:04<00:00, 3.50it/s]
Prediction
elct9620/pastel-mix:ad920bebfe73e8b6de0b25c825ba42a633812b2e06c25dbdb2242ce02e887dbdID6qezj2z4xbafjbddxohp5oa3uuStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 0
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 0, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ad920bebfe73e8b6de0b25c825ba42a633812b2e06c25dbdb2242ce02e887dbd", { input: { seed: 0, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ad920bebfe73e8b6de0b25c825ba42a633812b2e06c25dbdb2242ce02e887dbd", input={ "seed": 0, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ad920bebfe73e8b6de0b25c825ba42a633812b2e06c25dbdb2242ce02e887dbd", "input": { "seed": 0, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T07:18:59.159585Z", "created_at": "2023-02-25T07:18:41.483856Z", "data_removed": false, "error": null, "id": "6qezj2z4xbafjbddxohp5oa3uu", "input": { "seed": 0, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.39it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.78it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.99it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.78it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.79it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.86it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.89it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.72it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.18it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.76it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.38it/s]\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:24, 1.28s/it]\n 15%|█▌ | 3/20 [00:01<00:06, 2.51it/s]\n 25%|██▌ | 5/20 [00:01<00:03, 4.13it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 5.66it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 7.00it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 8.07it/s]\n 65%|██████▌ | 13/20 [00:02<00:00, 8.90it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 9.40it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 9.92it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 10.18it/s]\n100%|██████████| 20/20 [00:02<00:00, 6.68it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:03<00:43, 3.97s/it]\n 17%|█▋ | 2/12 [00:04<00:18, 1.80s/it]\n 25%|██▌ | 3/12 [00:04<00:09, 1.11s/it]\n 33%|███▎ | 4/12 [00:04<00:06, 1.28it/s]\n 42%|████▏ | 5/12 [00:05<00:04, 1.67it/s]\n 50%|█████ | 6/12 [00:05<00:02, 2.04it/s]\n 58%|█████▊ | 7/12 [00:05<00:02, 2.38it/s]\n 67%|██████▋ | 8/12 [00:05<00:01, 2.67it/s]\n 75%|███████▌ | 9/12 [00:06<00:01, 2.90it/s]\n 83%|████████▎ | 10/12 [00:06<00:00, 3.09it/s]\n 92%|█████████▏| 11/12 [00:06<00:00, 3.23it/s]\n100%|██████████| 12/12 [00:07<00:00, 3.33it/s]\n100%|██████████| 12/12 [00:07<00:00, 1.70it/s]", "metrics": { "predict_time": 17.612964, "total_time": 17.675729 }, "output": [ "https://replicate.delivery/pbxt/feBYvCL7G6mwGkI5ipky50ex4vEQbiVdoUeGEfbeTCw2UodIE/out-0.png", "https://replicate.delivery/pbxt/58xDBYO4fgVZK6LzWzleWd5FTMP1TcXox0rgYY9oDQ1Zh2hQA/out-0.png", "https://replicate.delivery/pbxt/wMWaOGKqQVofbqfrrbOonmbB4ryQenqj1YFgUuMeS1EIGaHCB/out-0.png" ], "started_at": "2023-02-25T07:18:41.546621Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6qezj2z4xbafjbddxohp5oa3uu", "cancel": "https://api.replicate.com/v1/predictions/6qezj2z4xbafjbddxohp5oa3uu/cancel" }, "version": "ad920bebfe73e8b6de0b25c825ba42a633812b2e06c25dbdb2242ce02e887dbd" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.39it/s] 20%|██ | 4/20 [00:00<00:01, 12.78it/s] 30%|███ | 6/20 [00:00<00:01, 12.99it/s] 40%|████ | 8/20 [00:00<00:00, 12.78it/s] 50%|█████ | 10/20 [00:00<00:00, 12.79it/s] 60%|██████ | 12/20 [00:00<00:00, 12.86it/s] 70%|███████ | 14/20 [00:01<00:00, 12.89it/s] 80%|████████ | 16/20 [00:01<00:00, 12.72it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.18it/s] 100%|██████████| 20/20 [00:01<00:00, 11.76it/s] 100%|██████████| 20/20 [00:01<00:00, 12.38it/s] 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:24, 1.28s/it] 15%|█▌ | 3/20 [00:01<00:06, 2.51it/s] 25%|██▌ | 5/20 [00:01<00:03, 4.13it/s] 35%|███▌ | 7/20 [00:01<00:02, 5.66it/s] 45%|████▌ | 9/20 [00:01<00:01, 7.00it/s] 55%|█████▌ | 11/20 [00:02<00:01, 8.07it/s] 65%|██████▌ | 13/20 [00:02<00:00, 8.90it/s] 75%|███████▌ | 15/20 [00:02<00:00, 9.40it/s] 85%|████████▌ | 17/20 [00:02<00:00, 9.92it/s] 95%|█████████▌| 19/20 [00:02<00:00, 10.18it/s] 100%|██████████| 20/20 [00:02<00:00, 6.68it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:03<00:43, 3.97s/it] 17%|█▋ | 2/12 [00:04<00:18, 1.80s/it] 25%|██▌ | 3/12 [00:04<00:09, 1.11s/it] 33%|███▎ | 4/12 [00:04<00:06, 1.28it/s] 42%|████▏ | 5/12 [00:05<00:04, 1.67it/s] 50%|█████ | 6/12 [00:05<00:02, 2.04it/s] 58%|█████▊ | 7/12 [00:05<00:02, 2.38it/s] 67%|██████▋ | 8/12 [00:05<00:01, 2.67it/s] 75%|███████▌ | 9/12 [00:06<00:01, 2.90it/s] 83%|████████▎ | 10/12 [00:06<00:00, 3.09it/s] 92%|█████████▏| 11/12 [00:06<00:00, 3.23it/s] 100%|██████████| 12/12 [00:07<00:00, 3.33it/s] 100%|██████████| 12/12 [00:07<00:00, 1.70it/s]
Prediction
elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65Input
- seed
- 10189513435907688000
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 10189513435907688000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", { input: { seed: 10189513435907688000, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", input={ "seed": 10189513435907688000, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", "input": { "seed": 10189513435907688000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T09:19:13.504042Z", "created_at": "2023-02-25T09:19:03.339855Z", "data_removed": false, "error": null, "id": "hgvcsrhq7ncetl4zubjpmzft6y", "input": { "seed": 10189513435907688000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:01, 9.67it/s]\n 15%|█▌ | 3/20 [00:00<00:01, 11.49it/s]\n 25%|██▌ | 5/20 [00:00<00:01, 10.89it/s]\n 35%|███▌ | 7/20 [00:00<00:01, 10.36it/s]\n 45%|████▌ | 9/20 [00:00<00:01, 10.50it/s]\n 55%|█████▌ | 11/20 [00:01<00:00, 10.61it/s]\n 65%|██████▌ | 13/20 [00:01<00:00, 10.80it/s]\n 75%|███████▌ | 15/20 [00:01<00:00, 10.60it/s]\n 85%|████████▌ | 17/20 [00:01<00:00, 10.63it/s]\n 95%|█████████▌| 19/20 [00:01<00:00, 10.88it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.72it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 10189513435907688000\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.73it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.92it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.75it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.50it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.16it/s]\n 60%|██████ | 12/20 [00:01<00:00, 10.85it/s]\n 70%|███████ | 14/20 [00:01<00:00, 10.87it/s]\n 80%|████████ | 16/20 [00:01<00:00, 10.74it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 10.62it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.94it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.86it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.56it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.09it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.30it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.52it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.48it/s]", "metrics": { "predict_time": 10.096806, "total_time": 10.164187 }, "output": [ "https://replicate.delivery/pbxt/yS2pt2P9b06QJN07ZLd7XSkeoLiifEM44leCe82lvM1mIhHCB/out-0.png", "https://replicate.delivery/pbxt/CJvWdLe8XLWSQqtWuBLfRoDDKSboP00U6yBp0LoopcrMS4hQA/out-0.png", "https://replicate.delivery/pbxt/YRoOfvAKrqyiaC16D9Z6fGl3Yuj1vqonRudJyuOo6ugQS4hQA/out-0.png" ], "started_at": "2023-02-25T09:19:03.407236Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/hgvcsrhq7ncetl4zubjpmzft6y", "cancel": "https://api.replicate.com/v1/predictions/hgvcsrhq7ncetl4zubjpmzft6y/cancel" }, "version": "4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:01, 9.67it/s] 15%|█▌ | 3/20 [00:00<00:01, 11.49it/s] 25%|██▌ | 5/20 [00:00<00:01, 10.89it/s] 35%|███▌ | 7/20 [00:00<00:01, 10.36it/s] 45%|████▌ | 9/20 [00:00<00:01, 10.50it/s] 55%|█████▌ | 11/20 [00:01<00:00, 10.61it/s] 65%|██████▌ | 13/20 [00:01<00:00, 10.80it/s] 75%|███████▌ | 15/20 [00:01<00:00, 10.60it/s] 85%|████████▌ | 17/20 [00:01<00:00, 10.63it/s] 95%|█████████▌| 19/20 [00:01<00:00, 10.88it/s] 100%|██████████| 20/20 [00:01<00:00, 10.72it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, green eyes, medium hair, dress Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 10189513435907688000 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.73it/s] 20%|██ | 4/20 [00:00<00:01, 10.92it/s] 30%|███ | 6/20 [00:00<00:01, 10.75it/s] 40%|████ | 8/20 [00:00<00:01, 10.50it/s] 50%|█████ | 10/20 [00:00<00:00, 11.16it/s] 60%|██████ | 12/20 [00:01<00:00, 10.85it/s] 70%|███████ | 14/20 [00:01<00:00, 10.87it/s] 80%|████████ | 16/20 [00:01<00:00, 10.74it/s] 90%|█████████ | 18/20 [00:01<00:00, 10.62it/s] 100%|██████████| 20/20 [00:01<00:00, 10.94it/s] 100%|██████████| 20/20 [00:01<00:00, 10.86it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.56it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.09it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.30it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.52it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.48it/s]
Prediction
elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65Input
- seed
- 5130051681698408000
- hires
- steps
- "20"
- width
- "640"
- height
- "320"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 5130051681698408000, "hires": true, "steps": "20", "width": "640", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", { input: { seed: 5130051681698408000, hires: true, steps: "20", width: "640", height: "320", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", input={ "seed": 5130051681698408000, "hires": True, "steps": "20", "width": "640", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", "input": { "seed": 5130051681698408000, "hires": true, "steps": "20", "width": "640", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T09:26:37.222310Z", "created_at": "2023-02-25T09:26:29.318511Z", "data_removed": false, "error": null, "id": "ghlpvoawqfhhxk2tzm4hkldtq4", "input": { "seed": 5130051681698408000, "hires": true, "steps": "20", "width": "640", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.07it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.99it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.71it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.44it/s]\n 50%|█████ | 10/20 [00:00<00:00, 10.95it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.48it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.81it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.94it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.26it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.79it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.49it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 640x320\nSeed: 5130051681698408000\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.31it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.47it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.95it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.92it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.14it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.89it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.80it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.67it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.03it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.55it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.82it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:02, 4.28it/s]\n 17%|█▋ | 2/12 [00:00<00:01, 5.23it/s]\n 25%|██▌ | 3/12 [00:00<00:01, 5.63it/s]\n 33%|███▎ | 4/12 [00:00<00:01, 5.84it/s]\n 42%|████▏ | 5/12 [00:00<00:01, 5.95it/s]\n 50%|█████ | 6/12 [00:01<00:01, 5.95it/s]\n 58%|█████▊ | 7/12 [00:01<00:00, 6.03it/s]\n 67%|██████▋ | 8/12 [00:01<00:00, 6.08it/s]\n 75%|███████▌ | 9/12 [00:01<00:00, 6.12it/s]\n 83%|████████▎ | 10/12 [00:01<00:00, 6.14it/s]\n 92%|█████████▏| 11/12 [00:01<00:00, 6.16it/s]\n100%|██████████| 12/12 [00:02<00:00, 6.17it/s]\n100%|██████████| 12/12 [00:02<00:00, 5.95it/s]", "metrics": { "predict_time": 7.835832, "total_time": 7.903799 }, "output": [ "https://replicate.delivery/pbxt/F5MCuxyJQzIVOVTwFcomlbOFyeetAvQfcHlNV5joh4vOywDhA/out-0.png", "https://replicate.delivery/pbxt/nYd6L3NVfHVUSiCF85Ufr97ifkqCUrxwfkDZlMAAc2alkhHCB/out-0.png", "https://replicate.delivery/pbxt/K3yeWh4XSnQgeE3SPdk4bVD5LfhjtzKLOFuo8eWm1klwkhHCB/out-0.png" ], "started_at": "2023-02-25T09:26:29.386478Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ghlpvoawqfhhxk2tzm4hkldtq4", "cancel": "https://api.replicate.com/v1/predictions/ghlpvoawqfhhxk2tzm4hkldtq4/cancel" }, "version": "4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.07it/s] 20%|██ | 4/20 [00:00<00:01, 10.99it/s] 30%|███ | 6/20 [00:00<00:01, 10.71it/s] 40%|████ | 8/20 [00:00<00:01, 10.44it/s] 50%|█████ | 10/20 [00:00<00:00, 10.95it/s] 60%|██████ | 12/20 [00:01<00:00, 11.48it/s] 70%|███████ | 14/20 [00:01<00:00, 11.81it/s] 80%|████████ | 16/20 [00:01<00:00, 11.94it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.26it/s] 100%|██████████| 20/20 [00:01<00:00, 11.79it/s] 100%|██████████| 20/20 [00:01<00:00, 11.49it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1girl, blue medium hair, dress, close-up, serene expression, dark background, dawn, looking at viewer Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 640x320 Seed: 5130051681698408000 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.31it/s] 20%|██ | 4/20 [00:00<00:01, 12.47it/s] 30%|███ | 6/20 [00:00<00:01, 11.95it/s] 40%|████ | 8/20 [00:00<00:01, 11.92it/s] 50%|█████ | 10/20 [00:00<00:00, 12.14it/s] 60%|██████ | 12/20 [00:01<00:00, 11.89it/s] 70%|███████ | 14/20 [00:01<00:00, 11.80it/s] 80%|████████ | 16/20 [00:01<00:00, 11.67it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.03it/s] 100%|██████████| 20/20 [00:01<00:00, 11.55it/s] 100%|██████████| 20/20 [00:01<00:00, 11.82it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:02, 4.28it/s] 17%|█▋ | 2/12 [00:00<00:01, 5.23it/s] 25%|██▌ | 3/12 [00:00<00:01, 5.63it/s] 33%|███▎ | 4/12 [00:00<00:01, 5.84it/s] 42%|████▏ | 5/12 [00:00<00:01, 5.95it/s] 50%|█████ | 6/12 [00:01<00:01, 5.95it/s] 58%|█████▊ | 7/12 [00:01<00:00, 6.03it/s] 67%|██████▋ | 8/12 [00:01<00:00, 6.08it/s] 75%|███████▌ | 9/12 [00:01<00:00, 6.12it/s] 83%|████████▎ | 10/12 [00:01<00:00, 6.14it/s] 92%|█████████▏| 11/12 [00:01<00:00, 6.16it/s] 100%|██████████| 12/12 [00:02<00:00, 6.17it/s] 100%|██████████| 12/12 [00:02<00:00, 5.95it/s]
Prediction
elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65IDrekler6atnb2jcaxnsqd5ffyruStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 5965592521324757000
- hires
- steps
- "25"
- width
- "448"
- height
- "640"
- prompt
- 2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1>
- guidance
- 7
- neg_prompt
- (monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad
{ "seed": 5965592521324757000, "hires": true, "steps": "25", "width": "448", "height": "640", "prompt": "2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1>", "guidance": 7, "neg_prompt": "(monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", { input: { seed: 5965592521324757000, hires: true, steps: "25", width: "448", height: "640", prompt: "2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1>", guidance: 7, neg_prompt: "(monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", input={ "seed": 5965592521324757000, "hires": True, "steps": "25", "width": "448", "height": "640", "prompt": "2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1>", "guidance": 7, "neg_prompt": "(monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65", "input": { "seed": 5965592521324757000, "hires": true, "steps": "25", "width": "448", "height": "640", "prompt": "2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1>", "guidance": 7, "neg_prompt": "(monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T12:38:17.012182Z", "created_at": "2023-02-25T12:38:05.854789Z", "data_removed": false, "error": null, "id": "rekler6atnb2jcaxnsqd5ffyru", "input": { "seed": 5965592521324757000, "hires": true, "steps": "25", "width": "448", "height": "640", "prompt": "2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1>", "guidance": 7, "neg_prompt": "(monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad" }, "logs": "The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, ( star - shaped pupils ), looking at viewer, sleeves, < lora : hll 1 : 1 >']\n 0%| | 0/25 [00:00<?, ?it/s]\n 8%|▊ | 2/25 [00:00<00:02, 10.82it/s]\n 16%|█▌ | 4/25 [00:00<00:01, 11.58it/s]\n 24%|██▍ | 6/25 [00:00<00:01, 11.55it/s]\n 32%|███▏ | 8/25 [00:00<00:01, 11.73it/s]\n 40%|████ | 10/25 [00:00<00:01, 11.93it/s]\n 48%|████▊ | 12/25 [00:01<00:01, 11.45it/s]\n 56%|█████▌ | 14/25 [00:01<00:00, 11.32it/s]\n 64%|██████▍ | 16/25 [00:01<00:00, 11.40it/s]\n 72%|███████▏ | 18/25 [00:01<00:00, 11.24it/s]\n 80%|████████ | 20/25 [00:01<00:00, 11.27it/s]\n 88%|████████▊ | 22/25 [00:01<00:00, 11.01it/s]\n 96%|█████████▌| 24/25 [00:02<00:00, 11.16it/s]\n100%|██████████| 25/25 [00:02<00:00, 11.29it/s]\n2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1>\nNegative prompt: (monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad\nSteps: 25, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 5965592521324757000\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:01, 10.00it/s]\n 15%|█▌ | 3/20 [00:00<00:01, 12.11it/s]\n 25%|██▌ | 5/20 [00:00<00:01, 11.31it/s]\n 35%|███▌ | 7/20 [00:00<00:01, 11.23it/s]\n 45%|████▌ | 9/20 [00:00<00:00, 11.29it/s]\n 55%|█████▌ | 11/20 [00:00<00:00, 11.82it/s]\n 65%|██████▌ | 13/20 [00:01<00:00, 11.85it/s]\n 75%|███████▌ | 15/20 [00:01<00:00, 11.96it/s]\n 85%|████████▌ | 17/20 [00:01<00:00, 11.24it/s]\n 95%|█████████▌| 19/20 [00:01<00:00, 11.30it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.49it/s]\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, ( star - shaped pupils ), looking at viewer, sleeves, < lora : hll 1 : 1 >']\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:00<00:05, 2.57it/s]\n 13%|█▎ | 2/15 [00:00<00:04, 3.08it/s]\n 20%|██ | 3/15 [00:00<00:03, 3.30it/s]\n 27%|██▋ | 4/15 [00:01<00:03, 3.40it/s]\n 33%|███▎ | 5/15 [00:01<00:02, 3.47it/s]\n 40%|████ | 6/15 [00:01<00:02, 3.51it/s]\n 47%|████▋ | 7/15 [00:02<00:02, 3.54it/s]\n 53%|█████▎ | 8/15 [00:02<00:01, 3.55it/s]\n 60%|██████ | 9/15 [00:02<00:01, 3.56it/s]\n 67%|██████▋ | 10/15 [00:02<00:01, 3.56it/s]\n 73%|███████▎ | 11/15 [00:03<00:01, 3.57it/s]\n 80%|████████ | 12/15 [00:03<00:00, 3.57it/s]\n 87%|████████▋ | 13/15 [00:03<00:00, 3.57it/s]\n 93%|█████████▎| 14/15 [00:04<00:00, 3.57it/s]\n100%|██████████| 15/15 [00:04<00:00, 3.57it/s]\n100%|██████████| 15/15 [00:04<00:00, 3.49it/s]", "metrics": { "predict_time": 11.092889, "total_time": 11.157393 }, "output": [ "https://replicate.delivery/pbxt/rDoIXB4cfl3KbyieufZxqB3HjKNvkOUpLFIxH3UruacgZ2DhA/out-0.png", "https://replicate.delivery/pbxt/oLI2v277XuK4AdhTZOHHdN212uKVphfFhBV1G4nq2I8Zm9QIA/out-0.png", "https://replicate.delivery/pbxt/rkt8ADXe5qT7daNHAfigRdoyoqj1ldULkBu7CJwAZ944M7hQA/out-0.png" ], "started_at": "2023-02-25T12:38:05.919293Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rekler6atnb2jcaxnsqd5ffyru", "cancel": "https://api.replicate.com/v1/predictions/rekler6atnb2jcaxnsqd5ffyru/cancel" }, "version": "4c57fa58cf31ac06885532ab835610eeb973f1c5a29c96a27d22ec57ce897f65" }
Generated inThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, ( star - shaped pupils ), looking at viewer, sleeves, < lora : hll 1 : 1 >'] 0%| | 0/25 [00:00<?, ?it/s] 8%|▊ | 2/25 [00:00<00:02, 10.82it/s] 16%|█▌ | 4/25 [00:00<00:01, 11.58it/s] 24%|██▍ | 6/25 [00:00<00:01, 11.55it/s] 32%|███▏ | 8/25 [00:00<00:01, 11.73it/s] 40%|████ | 10/25 [00:00<00:01, 11.93it/s] 48%|████▊ | 12/25 [00:01<00:01, 11.45it/s] 56%|█████▌ | 14/25 [00:01<00:00, 11.32it/s] 64%|██████▍ | 16/25 [00:01<00:00, 11.40it/s] 72%|███████▏ | 18/25 [00:01<00:00, 11.24it/s] 80%|████████ | 20/25 [00:01<00:00, 11.27it/s] 88%|████████▊ | 22/25 [00:01<00:00, 11.01it/s] 96%|█████████▌| 24/25 [00:02<00:00, 11.16it/s] 100%|██████████| 25/25 [00:02<00:00, 11.29it/s] 2d, masterpiece, best quality, anime, perfect lighting, highly detailed eyes, highly detailed face, highly detailed background, good hands, (cowboy shot), full body, 1 girl, standing, (hoshimachi suisei:1.2), hololive, virtual youtuber, blue hair, medium hair, side ponytail, bangs, blue ribbon, plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, (star-shaped pupils), looking at viewer, sleeves, <lora:hll1:1> Negative prompt: (monochrome:1.4), 3d, traditional media, (loli, child, teen, baby face), (bad hands, mutated hands and fingers), bad anatomy, bad feet, bad face, anatomical nonsense, lowres, low quality, worst quality, jpeg artifacts, unfinished, sketch, monotone, greyscale, doujinshi, simple background, signature, artist name, artist logo, watermark, error, meme, cropped, stitched, blurry, censored, chart, comparison, lineup, before and after, extra arms, extra legs, extra digits, extra fingers, missing limb, missing finger, furry, futanari, femboy, pony, animal, sonic, pokemon, cuts, blood, organs, corpse, morbid, disfigured, malformed, mutated, mutation, ugly, dirty, peeing, pee, scat, old, obesity, fat, bad Steps: 25, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 5965592521324757000 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:01, 10.00it/s] 15%|█▌ | 3/20 [00:00<00:01, 12.11it/s] 25%|██▌ | 5/20 [00:00<00:01, 11.31it/s] 35%|███▌ | 7/20 [00:00<00:01, 11.23it/s] 45%|████▌ | 9/20 [00:00<00:00, 11.29it/s] 55%|█████▌ | 11/20 [00:00<00:00, 11.82it/s] 65%|██████▌ | 13/20 [00:01<00:00, 11.85it/s] 75%|███████▌ | 15/20 [00:01<00:00, 11.96it/s] 85%|████████▌ | 17/20 [00:01<00:00, 11.24it/s] 95%|█████████▌| 19/20 [00:01<00:00, 11.30it/s] 100%|██████████| 20/20 [00:01<00:00, 11.49it/s] The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['plaid, plaid dress, star brooch, blue belt, asymmetrical legwear, concert, stage, blue lights, idol, singing, happy, microphone, holding microphone, ( star - shaped pupils ), looking at viewer, sleeves, < lora : hll 1 : 1 >'] 0%| | 0/15 [00:00<?, ?it/s] 7%|▋ | 1/15 [00:00<00:05, 2.57it/s] 13%|█▎ | 2/15 [00:00<00:04, 3.08it/s] 20%|██ | 3/15 [00:00<00:03, 3.30it/s] 27%|██▋ | 4/15 [00:01<00:03, 3.40it/s] 33%|███▎ | 5/15 [00:01<00:02, 3.47it/s] 40%|████ | 6/15 [00:01<00:02, 3.51it/s] 47%|████▋ | 7/15 [00:02<00:02, 3.54it/s] 53%|█████▎ | 8/15 [00:02<00:01, 3.55it/s] 60%|██████ | 9/15 [00:02<00:01, 3.56it/s] 67%|██████▋ | 10/15 [00:02<00:01, 3.56it/s] 73%|███████▎ | 11/15 [00:03<00:01, 3.57it/s] 80%|████████ | 12/15 [00:03<00:00, 3.57it/s] 87%|████████▋ | 13/15 [00:03<00:00, 3.57it/s] 93%|█████████▎| 14/15 [00:04<00:00, 3.57it/s] 100%|██████████| 15/15 [00:04<00:00, 3.57it/s] 100%|██████████| 15/15 [00:04<00:00, 3.49it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29Input
- seed
- 10043247212893297000
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 10043247212893297000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 10043247212893297000, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 10043247212893297000, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 10043247212893297000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T13:20:34.370176Z", "created_at": "2023-02-25T13:20:16.074215Z", "data_removed": false, "error": null, "id": "uu6cd5d4fbddhbovzwuwbxmx2m", "input": { "seed": 10043247212893297000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.58it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.71it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.92it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.97it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.58it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.47it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.52it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.47it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.47it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.26it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.49it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 10043247212893297000\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:33, 1.75s/it]\n 15%|█▌ | 3/20 [00:01<00:08, 1.97it/s]\n 25%|██▌ | 5/20 [00:02<00:04, 3.51it/s]\n 35%|███▌ | 7/20 [00:02<00:02, 5.11it/s]\n 45%|████▌ | 9/20 [00:02<00:01, 6.67it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 7.91it/s]\n 65%|██████▌ | 13/20 [00:02<00:00, 9.10it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 10.14it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 10.96it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 11.59it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.28it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:04<00:50, 4.55s/it]\n 17%|█▋ | 2/12 [00:04<00:20, 2.04s/it]\n 25%|██▌ | 3/12 [00:05<00:11, 1.24s/it]\n 33%|███▎ | 4/12 [00:05<00:06, 1.17it/s]\n 42%|████▏ | 5/12 [00:05<00:04, 1.54it/s]\n 50%|█████ | 6/12 [00:05<00:03, 1.91it/s]\n 58%|█████▊ | 7/12 [00:06<00:02, 2.26it/s]\n 67%|██████▋ | 8/12 [00:06<00:01, 2.56it/s]\n 75%|███████▌ | 9/12 [00:06<00:01, 2.82it/s]\n 83%|████████▎ | 10/12 [00:07<00:00, 3.02it/s]\n 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s]\n100%|██████████| 12/12 [00:07<00:00, 3.29it/s]\n100%|██████████| 12/12 [00:07<00:00, 1.58it/s]", "metrics": { "predict_time": 18.234536, "total_time": 18.295961 }, "output": [ "https://replicate.delivery/pbxt/iWPcRaXMXIa9FlndzCYiuu80Fd6ISx2ojyme08mAWGQJ69QIA/out-0.png", "https://replicate.delivery/pbxt/ANR89xhL0fQeFEkKq4F2MNflM4kGsndZJReORP7u2GyiRvHCB/out-0.png", "https://replicate.delivery/pbxt/mn61Hx7UTg6TLZKcAzLKDCjpJEWtpunpTwvVFKIGlfeh07hQA/out-0.png" ], "started_at": "2023-02-25T13:20:16.135640Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/uu6cd5d4fbddhbovzwuwbxmx2m", "cancel": "https://api.replicate.com/v1/predictions/uu6cd5d4fbddhbovzwuwbxmx2m/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.58it/s] 20%|██ | 4/20 [00:00<00:01, 12.71it/s] 30%|███ | 6/20 [00:00<00:01, 12.92it/s] 40%|████ | 8/20 [00:00<00:00, 12.97it/s] 50%|█████ | 10/20 [00:00<00:00, 12.58it/s] 60%|██████ | 12/20 [00:00<00:00, 12.47it/s] 70%|███████ | 14/20 [00:01<00:00, 12.52it/s] 80%|████████ | 16/20 [00:01<00:00, 12.47it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.47it/s] 100%|██████████| 20/20 [00:01<00:00, 12.26it/s] 100%|██████████| 20/20 [00:01<00:00, 12.49it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 10043247212893297000 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:33, 1.75s/it] 15%|█▌ | 3/20 [00:01<00:08, 1.97it/s] 25%|██▌ | 5/20 [00:02<00:04, 3.51it/s] 35%|███▌ | 7/20 [00:02<00:02, 5.11it/s] 45%|████▌ | 9/20 [00:02<00:01, 6.67it/s] 55%|█████▌ | 11/20 [00:02<00:01, 7.91it/s] 65%|██████▌ | 13/20 [00:02<00:00, 9.10it/s] 75%|███████▌ | 15/20 [00:02<00:00, 10.14it/s] 85%|████████▌ | 17/20 [00:02<00:00, 10.96it/s] 95%|█████████▌| 19/20 [00:03<00:00, 11.59it/s] 100%|██████████| 20/20 [00:03<00:00, 6.28it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:04<00:50, 4.55s/it] 17%|█▋ | 2/12 [00:04<00:20, 2.04s/it] 25%|██▌ | 3/12 [00:05<00:11, 1.24s/it] 33%|███▎ | 4/12 [00:05<00:06, 1.17it/s] 42%|████▏ | 5/12 [00:05<00:04, 1.54it/s] 50%|█████ | 6/12 [00:05<00:03, 1.91it/s] 58%|█████▊ | 7/12 [00:06<00:02, 2.26it/s] 67%|██████▋ | 8/12 [00:06<00:01, 2.56it/s] 75%|███████▌ | 9/12 [00:06<00:01, 2.82it/s] 83%|████████▎ | 10/12 [00:07<00:00, 3.02it/s] 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s] 100%|██████████| 12/12 [00:07<00:00, 3.29it/s] 100%|██████████| 12/12 [00:07<00:00, 1.58it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDov7mzmqky5btfmonhuzw4ewc4mStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 1621059277538869800
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 1621059277538869800, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 1621059277538869800, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 1621059277538869800, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 1621059277538869800, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T13:21:40.798978Z", "created_at": "2023-02-25T13:21:31.222204Z", "data_removed": false, "error": null, "id": "ov7mzmqky5btfmonhuzw4ewc4m", "input": { "seed": 1621059277538869800, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.20it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.32it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.37it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.61it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.68it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.69it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.79it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.81it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.72it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.68it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.64it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 1621059277538869800\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.78it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.95it/s]\n 30%|███ | 6/20 [00:00<00:01, 13.02it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.70it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.86it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.99it/s]\n 70%|███████ | 14/20 [00:01<00:00, 13.06it/s]\n 80%|████████ | 16/20 [00:01<00:00, 13.11it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 13.13it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.13it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.02it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.55it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.51it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.59it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.48it/s]", "metrics": { "predict_time": 9.509249, "total_time": 9.576774 }, "output": [ "https://replicate.delivery/pbxt/LgB0PqQKS346NB0speWcQ4NQMG1zFd3Qm0iZQrmIvT5u69QIA/out-0.png", "https://replicate.delivery/pbxt/K35jPtdJys4pI51E0GDwNPYi9c0ZmHiNfxkHOewf5qneVvHCB/out-0.png", "https://replicate.delivery/pbxt/1G5E8qsWTH7uAVAnpaMUxWzo1383gvXUq6DDwAhEjNAZ9eQIA/out-0.png" ], "started_at": "2023-02-25T13:21:31.289729Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ov7mzmqky5btfmonhuzw4ewc4m", "cancel": "https://api.replicate.com/v1/predictions/ov7mzmqky5btfmonhuzw4ewc4m/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.20it/s] 20%|██ | 4/20 [00:00<00:01, 12.32it/s] 30%|███ | 6/20 [00:00<00:01, 12.37it/s] 40%|████ | 8/20 [00:00<00:00, 12.61it/s] 50%|█████ | 10/20 [00:00<00:00, 12.68it/s] 60%|██████ | 12/20 [00:00<00:00, 12.69it/s] 70%|███████ | 14/20 [00:01<00:00, 12.79it/s] 80%|████████ | 16/20 [00:01<00:00, 12.81it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.72it/s] 100%|██████████| 20/20 [00:01<00:00, 12.68it/s] 100%|██████████| 20/20 [00:01<00:00, 12.64it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, blue medium hair, look at view Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 1621059277538869800 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.78it/s] 20%|██ | 4/20 [00:00<00:01, 12.95it/s] 30%|███ | 6/20 [00:00<00:01, 13.02it/s] 40%|████ | 8/20 [00:00<00:00, 12.70it/s] 50%|█████ | 10/20 [00:00<00:00, 12.86it/s] 60%|██████ | 12/20 [00:00<00:00, 12.99it/s] 70%|███████ | 14/20 [00:01<00:00, 13.06it/s] 80%|████████ | 16/20 [00:01<00:00, 13.11it/s] 90%|█████████ | 18/20 [00:01<00:00, 13.13it/s] 100%|██████████| 20/20 [00:01<00:00, 13.13it/s] 100%|██████████| 20/20 [00:01<00:00, 13.02it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.55it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.51it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.59it/s] 100%|██████████| 12/12 [00:03<00:00, 3.48it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDuno5amxpzfd43odawy6et3o54yStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 2452743138468557300
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 2452743138468557300, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 2452743138468557300, hires: true, steps: 20, width: "448", height: "640", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 2452743138468557300, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 2452743138468557300, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T13:24:27.322918Z", "created_at": "2023-02-25T13:24:16.783725Z", "data_removed": false, "error": null, "id": "uno5amxpzfd43odawy6et3o54y", "input": { "seed": 2452743138468557300, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 10.29it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.00it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.43it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.43it/s]\n 50%|█████ | 10/20 [00:00<00:00, 10.31it/s]\n 60%|██████ | 12/20 [00:01<00:00, 10.51it/s]\n 70%|███████ | 14/20 [00:01<00:00, 10.81it/s]\n 80%|████████ | 16/20 [00:01<00:00, 10.57it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 10.40it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.30it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.40it/s]\nmasterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 2452743138468557300\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.88it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.71it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.67it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.64it/s]\n 50%|█████ | 10/20 [00:00<00:00, 10.64it/s]\n 60%|██████ | 12/20 [00:01<00:00, 10.80it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.01it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.20it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.31it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.24it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.03it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.56it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.40it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.51it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.53it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.55it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.56it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.57it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.57it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.47it/s]", "metrics": { "predict_time": 10.470877, "total_time": 10.539193 }, "output": [ "https://replicate.delivery/pbxt/E9yZL59RtvbkPtHUq0mKGp1s89dlYJxJKTuSWrrwdW8Ae9QIA/out-0.png", "https://replicate.delivery/pbxt/qUdOrHxlfV2ECS7flfv0Q2c3YTuitNdrOfzXHoPgpOOUgvHCB/out-0.png", "https://replicate.delivery/pbxt/53zhBzwjDv5rKlY8CxiseLNojvUxJ1A90rvE27cU9tdF89QIA/out-0.png" ], "started_at": "2023-02-25T13:24:16.852041Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/uno5amxpzfd43odawy6et3o54y", "cancel": "https://api.replicate.com/v1/predictions/uno5amxpzfd43odawy6et3o54y/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 10.29it/s] 20%|██ | 4/20 [00:00<00:01, 10.00it/s] 30%|███ | 6/20 [00:00<00:01, 10.43it/s] 40%|████ | 8/20 [00:00<00:01, 10.43it/s] 50%|█████ | 10/20 [00:00<00:00, 10.31it/s] 60%|██████ | 12/20 [00:01<00:00, 10.51it/s] 70%|███████ | 14/20 [00:01<00:00, 10.81it/s] 80%|████████ | 16/20 [00:01<00:00, 10.57it/s] 90%|█████████ | 18/20 [00:01<00:00, 10.40it/s] 100%|██████████| 20/20 [00:01<00:00, 10.30it/s] 100%|██████████| 20/20 [00:01<00:00, 10.40it/s] masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 2452743138468557300 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.88it/s] 20%|██ | 4/20 [00:00<00:01, 10.71it/s] 30%|███ | 6/20 [00:00<00:01, 10.67it/s] 40%|████ | 8/20 [00:00<00:01, 10.64it/s] 50%|█████ | 10/20 [00:00<00:00, 10.64it/s] 60%|██████ | 12/20 [00:01<00:00, 10.80it/s] 70%|███████ | 14/20 [00:01<00:00, 11.01it/s] 80%|████████ | 16/20 [00:01<00:00, 11.20it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.31it/s] 100%|██████████| 20/20 [00:01<00:00, 11.24it/s] 100%|██████████| 20/20 [00:01<00:00, 11.03it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.56it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.40it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.51it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.53it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.55it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.56it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.57it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.57it/s] 100%|██████████| 12/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.47it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDuqg33pyievfgznrhob4gf7rdcmStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 16432195865002945000
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 16432195865002945000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 16432195865002945000, hires: true, steps: 20, width: "448", height: "640", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 16432195865002945000, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 16432195865002945000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T13:28:52.560693Z", "created_at": "2023-02-25T13:28:42.575740Z", "data_removed": false, "error": null, "id": "uqg33pyievfgznrhob4gf7rdcm", "input": { "seed": 16432195865002945000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.09it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.08it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.94it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.70it/s]\n 50%|█████ | 10/20 [00:00<00:00, 10.93it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.14it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.08it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.33it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.20it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.48it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.19it/s]\nmasterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 16432195865002945000\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.80it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.85it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.15it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.10it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.10it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.32it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.39it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.62it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.79it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.87it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.48it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.55it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.07it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.51it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.57it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.47it/s]", "metrics": { "predict_time": 9.910627, "total_time": 9.984953 }, "output": [ "https://replicate.delivery/pbxt/V4NTHV9cFQJsNlSV9wDYyKUNOrj5qsamJcKZJnrKGnIDf9QIA/out-0.png", "https://replicate.delivery/pbxt/VtRkBMl3fHxxXShIB6evbErFNklqOlEuhB2foJmSrPYewvHCB/out-0.png", "https://replicate.delivery/pbxt/lXvEEGJox7onN9dhSfepZP1gvpfeTkXOqMef1xL25He1Je7hQA/out-0.png" ], "started_at": "2023-02-25T13:28:42.650066Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/uqg33pyievfgznrhob4gf7rdcm", "cancel": "https://api.replicate.com/v1/predictions/uqg33pyievfgznrhob4gf7rdcm/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.09it/s] 20%|██ | 4/20 [00:00<00:01, 11.08it/s] 30%|███ | 6/20 [00:00<00:01, 10.94it/s] 40%|████ | 8/20 [00:00<00:01, 10.70it/s] 50%|█████ | 10/20 [00:00<00:00, 10.93it/s] 60%|██████ | 12/20 [00:01<00:00, 11.14it/s] 70%|███████ | 14/20 [00:01<00:00, 11.08it/s] 80%|████████ | 16/20 [00:01<00:00, 11.33it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.20it/s] 100%|██████████| 20/20 [00:01<00:00, 11.48it/s] 100%|██████████| 20/20 [00:01<00:00, 11.19it/s] masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, midnight, light blue medium hair, look at view, in the dark, yellow dress, long skirt, halo, close-up, focus on view Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 16432195865002945000 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.80it/s] 20%|██ | 4/20 [00:00<00:01, 11.85it/s] 30%|███ | 6/20 [00:00<00:01, 12.15it/s] 40%|████ | 8/20 [00:00<00:00, 12.10it/s] 50%|█████ | 10/20 [00:00<00:00, 12.10it/s] 60%|██████ | 12/20 [00:00<00:00, 12.32it/s] 70%|███████ | 14/20 [00:01<00:00, 12.39it/s] 80%|████████ | 16/20 [00:01<00:00, 12.62it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.79it/s] 100%|██████████| 20/20 [00:01<00:00, 12.87it/s] 100%|██████████| 20/20 [00:01<00:00, 12.48it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.55it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.07it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.51it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.57it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.47it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDgj4jbkjhlrazxccam2xi36fhv4StatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 1479731922
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 1479731922, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 1479731922, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 1479731922, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 1479731922, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T16:07:45.346500Z", "created_at": "2023-02-25T16:07:27.168733Z", "data_removed": false, "error": null, "id": "gj4jbkjhlrazxccam2xi36fhv4", "input": { "seed": 1479731922, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.49it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.50it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.29it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.74it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.72it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.18it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.28it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.45it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.26it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.18it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.17it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 1479731922\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:26, 1.38s/it]\n 15%|█▌ | 3/20 [00:01<00:07, 2.37it/s]\n 25%|██▌ | 5/20 [00:01<00:03, 4.00it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 5.66it/s]\n 45%|████▌ | 9/20 [00:02<00:01, 7.24it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 8.58it/s]\n 65%|██████▌ | 13/20 [00:02<00:00, 9.54it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 10.33it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 11.17it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 11.68it/s]\n100%|██████████| 20/20 [00:02<00:00, 6.94it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:04<00:50, 4.62s/it]\n 17%|█▋ | 2/12 [00:04<00:20, 2.07s/it]\n 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it]\n 33%|███▎ | 4/12 [00:05<00:06, 1.15it/s]\n 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s]\n 50%|█████ | 6/12 [00:06<00:03, 1.90it/s]\n 58%|█████▊ | 7/12 [00:06<00:02, 2.24it/s]\n 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s]\n 75%|███████▌ | 9/12 [00:06<00:01, 2.80it/s]\n 83%|████████▎ | 10/12 [00:07<00:00, 3.00it/s]\n 92%|█████████▏| 11/12 [00:07<00:00, 3.16it/s]\n100%|██████████| 12/12 [00:07<00:00, 3.28it/s]\n100%|██████████| 12/12 [00:07<00:00, 1.56it/s]", "metrics": { "predict_time": 18.108962, "total_time": 18.177767 }, "output": [ "https://replicate.delivery/pbxt/oG6MNUNCfdVMHCeo4fqMfLhChf9OCQVhFD1grgonZqWPIyPEC/out-0.png", "https://replicate.delivery/pbxt/bRfFar7Kh53EQ6CXf1HzcQJ0hjByFmHiw0a4uMVuml7HReDhA/out-0.png", "https://replicate.delivery/pbxt/WyrIAhNB7UrZCtIuqA1fuoe9SWnxD9JqVTZDMmLkwvSQReDhA/out-0.png" ], "started_at": "2023-02-25T16:07:27.237538Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gj4jbkjhlrazxccam2xi36fhv4", "cancel": "https://api.replicate.com/v1/predictions/gj4jbkjhlrazxccam2xi36fhv4/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.49it/s] 20%|██ | 4/20 [00:00<00:01, 12.50it/s] 30%|███ | 6/20 [00:00<00:01, 12.29it/s] 40%|████ | 8/20 [00:00<00:01, 11.74it/s] 50%|█████ | 10/20 [00:00<00:00, 11.72it/s] 60%|██████ | 12/20 [00:00<00:00, 12.18it/s] 70%|███████ | 14/20 [00:01<00:00, 12.28it/s] 80%|████████ | 16/20 [00:01<00:00, 12.45it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.26it/s] 100%|██████████| 20/20 [00:01<00:00, 12.18it/s] 100%|██████████| 20/20 [00:01<00:00, 12.17it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, close-up, straight on, face focus, 1boy, white short hair, brown eyes, portrait, looking at viewer Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 1479731922 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:26, 1.38s/it] 15%|█▌ | 3/20 [00:01<00:07, 2.37it/s] 25%|██▌ | 5/20 [00:01<00:03, 4.00it/s] 35%|███▌ | 7/20 [00:01<00:02, 5.66it/s] 45%|████▌ | 9/20 [00:02<00:01, 7.24it/s] 55%|█████▌ | 11/20 [00:02<00:01, 8.58it/s] 65%|██████▌ | 13/20 [00:02<00:00, 9.54it/s] 75%|███████▌ | 15/20 [00:02<00:00, 10.33it/s] 85%|████████▌ | 17/20 [00:02<00:00, 11.17it/s] 95%|█████████▌| 19/20 [00:02<00:00, 11.68it/s] 100%|██████████| 20/20 [00:02<00:00, 6.94it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:04<00:50, 4.62s/it] 17%|█▋ | 2/12 [00:04<00:20, 2.07s/it] 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it] 33%|███▎ | 4/12 [00:05<00:06, 1.15it/s] 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s] 50%|█████ | 6/12 [00:06<00:03, 1.90it/s] 58%|█████▊ | 7/12 [00:06<00:02, 2.24it/s] 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s] 75%|███████▌ | 9/12 [00:06<00:01, 2.80it/s] 83%|████████▎ | 10/12 [00:07<00:00, 3.00it/s] 92%|█████████▏| 11/12 [00:07<00:00, 3.16it/s] 100%|██████████| 12/12 [00:07<00:00, 3.28it/s] 100%|██████████| 12/12 [00:07<00:00, 1.56it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDoonjyavaa5cb3hloc6peun5wp4StatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 0
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 0, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 0, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 0, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 0, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-25T16:12:08.086717Z", "created_at": "2023-02-25T16:11:58.293418Z", "data_removed": false, "error": null, "id": "oonjyavaa5cb3hloc6peun5wp4", "input": { "seed": 0, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 10.99it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.85it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.77it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.71it/s]\n 50%|█████ | 10/20 [00:00<00:00, 10.29it/s]\n 60%|██████ | 12/20 [00:01<00:00, 10.56it/s]\n 70%|███████ | 14/20 [00:01<00:00, 10.77it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.20it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.10it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.28it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.94it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 13946707439848124002\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 10.45it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.84it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.43it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.70it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.90it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.56it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.54it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.41it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.33it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.44it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.44it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.55it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.07it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.40it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.51it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.53it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.55it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.56it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.57it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.47it/s]", "metrics": { "predict_time": 9.723886, "total_time": 9.793299 }, "output": [ "https://replicate.delivery/pbxt/yqOTDj4CGBqECRla8i01eRyIpDQeatWajOrDUIhSar0QVeDhA/out-0.png", "https://replicate.delivery/pbxt/XlXULbRX2urwC53ZvuN0KddfeVf2u3r2YFKfpOfa0bRfUlfQIA/out-0.png", "https://replicate.delivery/pbxt/u5emifVo5Av6akzIeBN1S5EolqlVstAleI2ToCamctFeqyPEC/out-0.png" ], "started_at": "2023-02-25T16:11:58.362831Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/oonjyavaa5cb3hloc6peun5wp4", "cancel": "https://api.replicate.com/v1/predictions/oonjyavaa5cb3hloc6peun5wp4/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 10.99it/s] 20%|██ | 4/20 [00:00<00:01, 10.85it/s] 30%|███ | 6/20 [00:00<00:01, 10.77it/s] 40%|████ | 8/20 [00:00<00:01, 10.71it/s] 50%|█████ | 10/20 [00:00<00:00, 10.29it/s] 60%|██████ | 12/20 [00:01<00:00, 10.56it/s] 70%|███████ | 14/20 [00:01<00:00, 10.77it/s] 80%|████████ | 16/20 [00:01<00:00, 11.20it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.10it/s] 100%|██████████| 20/20 [00:01<00:00, 11.28it/s] 100%|██████████| 20/20 [00:01<00:00, 10.94it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, black short hair, red eyes, portrait, looking at viewer, glass Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 13946707439848124002 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 10.45it/s] 20%|██ | 4/20 [00:00<00:01, 10.84it/s] 30%|███ | 6/20 [00:00<00:01, 11.43it/s] 40%|████ | 8/20 [00:00<00:01, 11.70it/s] 50%|█████ | 10/20 [00:00<00:00, 11.90it/s] 60%|██████ | 12/20 [00:01<00:00, 11.56it/s] 70%|███████ | 14/20 [00:01<00:00, 11.54it/s] 80%|████████ | 16/20 [00:01<00:00, 11.41it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.33it/s] 100%|██████████| 20/20 [00:01<00:00, 11.44it/s] 100%|██████████| 20/20 [00:01<00:00, 11.44it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.55it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.07it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.40it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.51it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.53it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.55it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.56it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.57it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.47it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDhbc5yzlnk5bxxfbiu6fwrdphhmStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 18446744073709550
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 18446744073709550, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 18446744073709550, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 18446744073709550, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 18446744073709550, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-26T13:44:49.829116Z", "created_at": "2023-02-26T13:44:30.686228Z", "data_removed": false, "error": null, "id": "hbc5yzlnk5bxxfbiu6fwrdphhm", "input": { "seed": 18446744073709550, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 10.26it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.52it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.57it/s]\n 40%|████ | 8/20 [00:00<00:01, 9.99it/s]\n 50%|█████ | 10/20 [00:01<00:01, 9.71it/s]\n 60%|██████ | 12/20 [00:01<00:00, 10.18it/s]\n 70%|███████ | 14/20 [00:01<00:00, 10.26it/s]\n 80%|████████ | 16/20 [00:01<00:00, 10.34it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 10.34it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.32it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.25it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 18446744073709550\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:33, 1.77s/it]\n 10%|█ | 2/20 [00:01<00:14, 1.27it/s]\n 20%|██ | 4/20 [00:02<00:05, 2.83it/s]\n 30%|███ | 6/20 [00:02<00:03, 4.40it/s]\n 40%|████ | 8/20 [00:02<00:02, 5.83it/s]\n 50%|█████ | 10/20 [00:02<00:01, 7.17it/s]\n 60%|██████ | 12/20 [00:02<00:00, 8.28it/s]\n 70%|███████ | 14/20 [00:02<00:00, 9.02it/s]\n 80%|████████ | 16/20 [00:03<00:00, 9.63it/s]\n 90%|█████████ | 18/20 [00:03<00:00, 10.05it/s]\n100%|██████████| 20/20 [00:03<00:00, 10.34it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.77it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:04<00:50, 4.62s/it]\n 17%|█▋ | 2/12 [00:04<00:20, 2.07s/it]\n 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it]\n 33%|███▎ | 4/12 [00:05<00:06, 1.15it/s]\n 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s]\n 50%|█████ | 6/12 [00:06<00:03, 1.90it/s]\n 58%|█████▊ | 7/12 [00:06<00:02, 2.25it/s]\n 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s]\n 75%|███████▌ | 9/12 [00:06<00:01, 2.81it/s]\n 83%|████████▎ | 10/12 [00:07<00:00, 3.01it/s]\n 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s]\n100%|██████████| 12/12 [00:07<00:00, 3.29it/s]\n100%|██████████| 12/12 [00:07<00:00, 1.56it/s]", "metrics": { "predict_time": 19.073825, "total_time": 19.142888 }, "output": [ "https://replicate.delivery/pbxt/qv1ZQzxi58ZhL5T2Aug6BsrC9b4eWeMMGfpfZLKBaoeIIKSEC/out-0.png", "https://replicate.delivery/pbxt/f9dd1hLVcrwoZyGISFf5WG5eCAEOMKiV86IjfPLCB0EcEFJCB/out-0.png", "https://replicate.delivery/pbxt/TvZEOmSRUf1LXKpVG6Je7poyafFhexyKzyfN9q28ftJdUUkIE/out-0.png" ], "started_at": "2023-02-26T13:44:30.755291Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/hbc5yzlnk5bxxfbiu6fwrdphhm", "cancel": "https://api.replicate.com/v1/predictions/hbc5yzlnk5bxxfbiu6fwrdphhm/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 10.26it/s] 20%|██ | 4/20 [00:00<00:01, 10.52it/s] 30%|███ | 6/20 [00:00<00:01, 10.57it/s] 40%|████ | 8/20 [00:00<00:01, 9.99it/s] 50%|█████ | 10/20 [00:01<00:01, 9.71it/s] 60%|██████ | 12/20 [00:01<00:00, 10.18it/s] 70%|███████ | 14/20 [00:01<00:00, 10.26it/s] 80%|████████ | 16/20 [00:01<00:00, 10.34it/s] 90%|█████████ | 18/20 [00:01<00:00, 10.34it/s] 100%|██████████| 20/20 [00:01<00:00, 10.32it/s] 100%|██████████| 20/20 [00:01<00:00, 10.25it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, straight on, 1boy, boy, a boy, red eyes, portrait, vampire, midnight, in the dark, golden ring Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 18446744073709550 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:33, 1.77s/it] 10%|█ | 2/20 [00:01<00:14, 1.27it/s] 20%|██ | 4/20 [00:02<00:05, 2.83it/s] 30%|███ | 6/20 [00:02<00:03, 4.40it/s] 40%|████ | 8/20 [00:02<00:02, 5.83it/s] 50%|█████ | 10/20 [00:02<00:01, 7.17it/s] 60%|██████ | 12/20 [00:02<00:00, 8.28it/s] 70%|███████ | 14/20 [00:02<00:00, 9.02it/s] 80%|████████ | 16/20 [00:03<00:00, 9.63it/s] 90%|█████████ | 18/20 [00:03<00:00, 10.05it/s] 100%|██████████| 20/20 [00:03<00:00, 10.34it/s] 100%|██████████| 20/20 [00:03<00:00, 5.77it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:04<00:50, 4.62s/it] 17%|█▋ | 2/12 [00:04<00:20, 2.07s/it] 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it] 33%|███▎ | 4/12 [00:05<00:06, 1.15it/s] 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s] 50%|█████ | 6/12 [00:06<00:03, 1.90it/s] 58%|█████▊ | 7/12 [00:06<00:02, 2.25it/s] 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s] 75%|███████▌ | 9/12 [00:06<00:01, 2.81it/s] 83%|████████▎ | 10/12 [00:07<00:00, 3.01it/s] 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s] 100%|██████████| 12/12 [00:07<00:00, 3.29it/s] 100%|██████████| 12/12 [00:07<00:00, 1.56it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDouugj4yr3jadxg4lwsog3grb6aStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 17200833418398843000
- hires
- steps
- 20
- width
- "640"
- height
- "448"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl
{ "seed": 17200833418398843000, "hires": true, "steps": 20, "width": "640", "height": "448", "prompt": "masterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 17200833418398843000, hires: true, steps: 20, width: "640", height: "448", prompt: "masterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 17200833418398843000, "hires": True, "steps": 20, "width": "640", "height": "448", "prompt": "masterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 17200833418398843000, "hires": true, "steps": 20, "width": "640", "height": "448", "prompt": "masterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-26T14:58:20.476860Z", "created_at": "2023-02-26T14:58:01.453517Z", "data_removed": false, "error": null, "id": "ouugj4yr3jadxg4lwsog3grb6a", "input": { "seed": 17200833418398843000, "hires": true, "steps": 20, "width": "640", "height": "448", "prompt": "masterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.48it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.21it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.95it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.26it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.08it/s]\n 60%|██████ | 12/20 [00:01<00:00, 12.06it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.81it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.46it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.10it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.20it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.54it/s]\nmasterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 640x448\nSeed: 17200833418398843000\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:36, 1.92s/it]\n 15%|█▌ | 3/20 [00:02<00:09, 1.78it/s]\n 25%|██▌ | 5/20 [00:02<00:04, 3.16it/s]\n 35%|███▌ | 7/20 [00:02<00:02, 4.55it/s]\n 45%|████▌ | 9/20 [00:02<00:01, 6.01it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 7.28it/s]\n 65%|██████▌ | 13/20 [00:02<00:00, 8.32it/s]\n 75%|███████▌ | 15/20 [00:03<00:00, 9.08it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 9.82it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 10.47it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.67it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:04<00:50, 4.59s/it]\n 17%|█▋ | 2/12 [00:04<00:20, 2.06s/it]\n 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it]\n 33%|███▎ | 4/12 [00:05<00:06, 1.16it/s]\n 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s]\n 50%|█████ | 6/12 [00:05<00:03, 1.90it/s]\n 58%|█████▊ | 7/12 [00:06<00:02, 2.25it/s]\n 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s]\n 75%|███████▌ | 9/12 [00:06<00:01, 2.81it/s]\n 83%|████████▎ | 10/12 [00:07<00:00, 3.01it/s]\n 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s]\n100%|██████████| 12/12 [00:07<00:00, 3.29it/s]\n100%|██████████| 12/12 [00:07<00:00, 1.57it/s]", "metrics": { "predict_time": 18.954652, "total_time": 19.023343 }, "output": [ "https://replicate.delivery/pbxt/ZyFEkCtOe21jZqGihqR5YFgQI6A4XsIzexiutsxdeb93rkEhA/out-0.png", "https://replicate.delivery/pbxt/glBhZeFw2x3xfUNzIGahFv0BCUb8ePK6Pl7seYgviGKLYJJCB/out-0.png", "https://replicate.delivery/pbxt/fN8QrLEDcejyMEJsyIEbT1UsUfrPQLDlkvujweuoa2avYJJCB/out-0.png" ], "started_at": "2023-02-26T14:58:01.522208Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ouugj4yr3jadxg4lwsog3grb6a", "cancel": "https://api.replicate.com/v1/predictions/ouugj4yr3jadxg4lwsog3grb6a/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.48it/s] 20%|██ | 4/20 [00:00<00:01, 11.21it/s] 30%|███ | 6/20 [00:00<00:01, 11.95it/s] 40%|████ | 8/20 [00:00<00:00, 12.26it/s] 50%|█████ | 10/20 [00:00<00:00, 12.08it/s] 60%|██████ | 12/20 [00:01<00:00, 12.06it/s] 70%|███████ | 14/20 [00:01<00:00, 11.81it/s] 80%|████████ | 16/20 [00:01<00:00, 11.46it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.10it/s] 100%|██████████| 20/20 [00:01<00:00, 11.20it/s] 100%|██████████| 20/20 [00:01<00:00, 11.54it/s] masterpiece, best quality, ultra-detailed, illustration, cloud, castle in sky, dawn Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), human, girl Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 640x448 Seed: 17200833418398843000 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:36, 1.92s/it] 15%|█▌ | 3/20 [00:02<00:09, 1.78it/s] 25%|██▌ | 5/20 [00:02<00:04, 3.16it/s] 35%|███▌ | 7/20 [00:02<00:02, 4.55it/s] 45%|████▌ | 9/20 [00:02<00:01, 6.01it/s] 55%|█████▌ | 11/20 [00:02<00:01, 7.28it/s] 65%|██████▌ | 13/20 [00:02<00:00, 8.32it/s] 75%|███████▌ | 15/20 [00:03<00:00, 9.08it/s] 85%|████████▌ | 17/20 [00:03<00:00, 9.82it/s] 95%|█████████▌| 19/20 [00:03<00:00, 10.47it/s] 100%|██████████| 20/20 [00:03<00:00, 5.67it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:04<00:50, 4.59s/it] 17%|█▋ | 2/12 [00:04<00:20, 2.06s/it] 25%|██▌ | 3/12 [00:05<00:11, 1.25s/it] 33%|███▎ | 4/12 [00:05<00:06, 1.16it/s] 42%|████▏ | 5/12 [00:05<00:04, 1.53it/s] 50%|█████ | 6/12 [00:05<00:03, 1.90it/s] 58%|█████▊ | 7/12 [00:06<00:02, 2.25it/s] 67%|██████▋ | 8/12 [00:06<00:01, 2.55it/s] 75%|███████▌ | 9/12 [00:06<00:01, 2.81it/s] 83%|████████▎ | 10/12 [00:07<00:00, 3.01it/s] 92%|█████████▏| 11/12 [00:07<00:00, 3.17it/s] 100%|██████████| 12/12 [00:07<00:00, 3.29it/s] 100%|██████████| 12/12 [00:07<00:00, 1.57it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29Input
- seed
- 2601670127581285
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy
{ "seed": 2601670127581285, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 2601670127581285, hires: true, steps: 20, width: "448", height: "640", prompt: "masterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 2601670127581285, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 2601670127581285, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-26T17:20:13.832303Z", "created_at": "2023-02-26T17:20:03.942039Z", "data_removed": false, "error": null, "id": "pms35qlanzarxawjujm7sm7jcm", "input": { "seed": 2601670127581285, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "masterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.12it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.67it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.30it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.74it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.12it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.50it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.75it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.87it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.98it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.05it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.49it/s]\nmasterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 2601670127581285\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 13.18it/s]\n 20%|██ | 4/20 [00:00<00:01, 13.37it/s]\n 30%|███ | 6/20 [00:00<00:01, 13.52it/s]\n 40%|████ | 8/20 [00:00<00:00, 13.49it/s]\n 50%|█████ | 10/20 [00:00<00:00, 13.45it/s]\n 60%|██████ | 12/20 [00:00<00:00, 13.36it/s]\n 70%|███████ | 14/20 [00:01<00:00, 13.43it/s]\n 80%|████████ | 16/20 [00:01<00:00, 13.45it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 13.38it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.11it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.31it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.55it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.30it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.52it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.59it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.48it/s]", "metrics": { "predict_time": 9.819624, "total_time": 9.890264 }, "output": [ "https://replicate.delivery/pbxt/cQvuSndIuhaAJdLmI6AISDeBMwaYHvkUpTEjTTwyaDoiNKRIA/out-0.png", "https://replicate.delivery/pbxt/Nl79ETHtSi5GLBmoXiVuInuZwowNOiBUff1p0C8Rwn7IbUiQA/out-0.png", "https://replicate.delivery/pbxt/Tp7XzIWFyMKWPRdfOm9KztmwpMMB2XrCGwMjeRezofF1sRJCB/out-0.png" ], "started_at": "2023-02-26T17:20:04.012679Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/pms35qlanzarxawjujm7sm7jcm", "cancel": "https://api.replicate.com/v1/predictions/pms35qlanzarxawjujm7sm7jcm/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.12it/s] 20%|██ | 4/20 [00:00<00:01, 11.67it/s] 30%|███ | 6/20 [00:00<00:01, 11.30it/s] 40%|████ | 8/20 [00:00<00:01, 11.74it/s] 50%|█████ | 10/20 [00:00<00:00, 12.12it/s] 60%|██████ | 12/20 [00:00<00:00, 12.50it/s] 70%|███████ | 14/20 [00:01<00:00, 12.75it/s] 80%|████████ | 16/20 [00:01<00:00, 12.87it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.98it/s] 100%|██████████| 20/20 [00:01<00:00, 13.05it/s] 100%|██████████| 20/20 [00:01<00:00, 12.49it/s] masterpiece, best quality, ultra-detailed, illustration, golden ring, blue, darkness, midnight, street, city Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), man, girl, human, boy Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 2601670127581285 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 13.18it/s] 20%|██ | 4/20 [00:00<00:01, 13.37it/s] 30%|███ | 6/20 [00:00<00:01, 13.52it/s] 40%|████ | 8/20 [00:00<00:00, 13.49it/s] 50%|█████ | 10/20 [00:00<00:00, 13.45it/s] 60%|██████ | 12/20 [00:00<00:00, 13.36it/s] 70%|███████ | 14/20 [00:01<00:00, 13.43it/s] 80%|████████ | 16/20 [00:01<00:00, 13.45it/s] 90%|█████████ | 18/20 [00:01<00:00, 13.38it/s] 100%|██████████| 20/20 [00:01<00:00, 13.11it/s] 100%|██████████| 20/20 [00:01<00:00, 13.31it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.55it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.30it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.52it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.59it/s] 100%|██████████| 12/12 [00:03<00:00, 3.48it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDpy3lo452zrgzlplfhriiada254StatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 11327812900601903000
- hires
- steps
- 20
- width
- "600"
- height
- "320"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair
{ "seed": 11327812900601903000, "hires": true, "steps": 20, "width": "600", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 11327812900601903000, hires: true, steps: 20, width: "600", height: "320", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 11327812900601903000, "hires": True, "steps": 20, "width": "600", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 11327812900601903000, "hires": true, "steps": 20, "width": "600", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-26T17:33:03.386028Z", "created_at": "2023-02-26T17:32:55.954831Z", "data_removed": false, "error": null, "id": "py3lo452zrgzlplfhriiada254", "input": { "seed": 11327812900601903000, "hires": true, "steps": 20, "width": "600", "height": "320", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.76it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.76it/s]\n 30%|███ | 6/20 [00:00<00:01, 12.77it/s]\n 40%|████ | 8/20 [00:00<00:00, 13.10it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.70it/s]\n 60%|██████ | 12/20 [00:00<00:00, 11.86it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.48it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.59it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 11.68it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.68it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.99it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x320\nSeed: 11327812900601903000\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 13.57it/s]\n 20%|██ | 4/20 [00:00<00:01, 13.51it/s]\n 30%|███ | 6/20 [00:00<00:01, 13.14it/s]\n 40%|████ | 8/20 [00:00<00:00, 13.15it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.76it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.20it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.15it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.05it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.13it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.17it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.43it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:02, 4.56it/s]\n 17%|█▋ | 2/12 [00:00<00:01, 5.52it/s]\n 25%|██▌ | 3/12 [00:00<00:01, 5.93it/s]\n 33%|███▎ | 4/12 [00:00<00:01, 6.13it/s]\n 42%|████▏ | 5/12 [00:00<00:01, 6.25it/s]\n 50%|█████ | 6/12 [00:00<00:00, 6.34it/s]\n 58%|█████▊ | 7/12 [00:01<00:00, 6.39it/s]\n 67%|██████▋ | 8/12 [00:01<00:00, 6.43it/s]\n 75%|███████▌ | 9/12 [00:01<00:00, 6.45it/s]\n 83%|████████▎ | 10/12 [00:01<00:00, 6.48it/s]\n 92%|█████████▏| 11/12 [00:01<00:00, 6.49it/s]\n100%|██████████| 12/12 [00:01<00:00, 6.51it/s]\n100%|██████████| 12/12 [00:01<00:00, 6.28it/s]", "metrics": { "predict_time": 7.36803, "total_time": 7.431197 }, "output": [ "https://replicate.delivery/pbxt/eBhIvxMjkvXzCKPTsOEAy3DSK1f9ekiMeYUEE3SWHa6mcSJCB/out-0.png", "https://replicate.delivery/pbxt/T8Y4hvFigfz4cCWE1X9lBcLZjNvgQQRc9seyNCsIkOvMnUiQA/out-0.png", "https://replicate.delivery/pbxt/5QhQvf42jevIFUpxHRLBTBZigIR7BuPute0waRX5Sv7cOpEhA/out-0.png" ], "started_at": "2023-02-26T17:32:56.017998Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/py3lo452zrgzlplfhriiada254", "cancel": "https://api.replicate.com/v1/predictions/py3lo452zrgzlplfhriiada254/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.76it/s] 20%|██ | 4/20 [00:00<00:01, 12.76it/s] 30%|███ | 6/20 [00:00<00:01, 12.77it/s] 40%|████ | 8/20 [00:00<00:00, 13.10it/s] 50%|█████ | 10/20 [00:00<00:00, 12.70it/s] 60%|██████ | 12/20 [00:00<00:00, 11.86it/s] 70%|███████ | 14/20 [00:01<00:00, 11.48it/s] 80%|████████ | 16/20 [00:01<00:00, 11.59it/s] 90%|█████████ | 18/20 [00:01<00:00, 11.68it/s] 100%|██████████| 20/20 [00:01<00:00, 11.68it/s] 100%|██████████| 20/20 [00:01<00:00, 11.99it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, food, midnight, close-up, straight on, face focus Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x320 Seed: 11327812900601903000 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 13.57it/s] 20%|██ | 4/20 [00:00<00:01, 13.51it/s] 30%|███ | 6/20 [00:00<00:01, 13.14it/s] 40%|████ | 8/20 [00:00<00:00, 13.15it/s] 50%|█████ | 10/20 [00:00<00:00, 12.76it/s] 60%|██████ | 12/20 [00:00<00:00, 12.20it/s] 70%|███████ | 14/20 [00:01<00:00, 12.15it/s] 80%|████████ | 16/20 [00:01<00:00, 12.05it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.13it/s] 100%|██████████| 20/20 [00:01<00:00, 12.17it/s] 100%|██████████| 20/20 [00:01<00:00, 12.43it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:02, 4.56it/s] 17%|█▋ | 2/12 [00:00<00:01, 5.52it/s] 25%|██▌ | 3/12 [00:00<00:01, 5.93it/s] 33%|███▎ | 4/12 [00:00<00:01, 6.13it/s] 42%|████▏ | 5/12 [00:00<00:01, 6.25it/s] 50%|█████ | 6/12 [00:00<00:00, 6.34it/s] 58%|█████▊ | 7/12 [00:01<00:00, 6.39it/s] 67%|██████▋ | 8/12 [00:01<00:00, 6.43it/s] 75%|███████▌ | 9/12 [00:01<00:00, 6.45it/s] 83%|████████▎ | 10/12 [00:01<00:00, 6.48it/s] 92%|█████████▏| 11/12 [00:01<00:00, 6.49it/s] 100%|██████████| 12/12 [00:01<00:00, 6.51it/s] 100%|██████████| 12/12 [00:01<00:00, 6.28it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDrw2oc72upndaxahg4oymsuumhuStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 5200992707641676000
- hires
- steps
- 20
- width
- "448"
- height
- "640"
- prompt
- mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair
{ "seed": 5200992707641676000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 5200992707641676000, hires: true, steps: 20, width: "448", height: "640", prompt: "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 5200992707641676000, "hires": True, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 5200992707641676000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-02-26T17:42:58.823000Z", "created_at": "2023-02-26T17:42:49.082761Z", "data_removed": false, "error": null, "id": "rw2oc72upndaxahg4oymsuumhu", "input": { "seed": 5200992707641676000, "hires": true, "steps": 20, "width": "448", "height": "640", "prompt": "mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.80it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.08it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.86it/s]\n 40%|████ | 8/20 [00:00<00:01, 11.60it/s]\n 50%|█████ | 10/20 [00:00<00:00, 11.80it/s]\n 60%|██████ | 12/20 [00:01<00:00, 11.78it/s]\n 70%|███████ | 14/20 [00:01<00:00, 11.53it/s]\n 80%|████████ | 16/20 [00:01<00:00, 11.21it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 10.89it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.18it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.42it/s]\nmksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640\nSeed: 5200992707641676000\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.75it/s]\n 20%|██ | 4/20 [00:00<00:01, 11.56it/s]\n 30%|███ | 6/20 [00:00<00:01, 11.48it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.25it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.33it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.40it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.39it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.40it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.40it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.97it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.11it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:04, 2.55it/s]\n 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s]\n 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s]\n 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s]\n 50%|█████ | 6/12 [00:01<00:01, 3.51it/s]\n 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s]\n 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s]\n 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.59it/s]\n100%|██████████| 12/12 [00:03<00:00, 3.48it/s]", "metrics": { "predict_time": 9.664298, "total_time": 9.740239 }, "output": [ "https://replicate.delivery/pbxt/X9OlRZcyqjqnAx09bzPI9LUKolX7yCrOOC1G3DNklcwGMlIE/out-0.png", "https://replicate.delivery/pbxt/AZXUjeESQyykfUj61pUffuFJ1n5mINu7m7OJYjJ0sRk0BTJCB/out-0.png", "https://replicate.delivery/pbxt/dubtEM2id6qZBheEVUK2yxuGQVNRKP2rniY1lFDCF7ZRYKRIA/out-0.png" ], "started_at": "2023-02-26T17:42:49.158702Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rw2oc72upndaxahg4oymsuumhu", "cancel": "https://api.replicate.com/v1/predictions/rw2oc72upndaxahg4oymsuumhu/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.80it/s] 20%|██ | 4/20 [00:00<00:01, 12.08it/s] 30%|███ | 6/20 [00:00<00:01, 11.86it/s] 40%|████ | 8/20 [00:00<00:01, 11.60it/s] 50%|█████ | 10/20 [00:00<00:00, 11.80it/s] 60%|██████ | 12/20 [00:01<00:00, 11.78it/s] 70%|███████ | 14/20 [00:01<00:00, 11.53it/s] 80%|████████ | 16/20 [00:01<00:00, 11.21it/s] 90%|█████████ | 18/20 [00:01<00:00, 10.89it/s] 100%|██████████| 20/20 [00:01<00:00, 11.18it/s] 100%|██████████| 20/20 [00:01<00:00, 11.42it/s] mksks style, masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, dimly lit, light blue medium hair, midnight, close-up, straight on, face focus, spotlight, stage Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)), long hair Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 448x640 Seed: 5200992707641676000 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.75it/s] 20%|██ | 4/20 [00:00<00:01, 11.56it/s] 30%|███ | 6/20 [00:00<00:01, 11.48it/s] 40%|████ | 8/20 [00:00<00:00, 12.25it/s] 50%|█████ | 10/20 [00:00<00:00, 12.33it/s] 60%|██████ | 12/20 [00:00<00:00, 12.40it/s] 70%|███████ | 14/20 [00:01<00:00, 12.39it/s] 80%|████████ | 16/20 [00:01<00:00, 12.40it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.40it/s] 100%|██████████| 20/20 [00:01<00:00, 11.97it/s] 100%|██████████| 20/20 [00:01<00:00, 12.11it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:04, 2.55it/s] 17%|█▋ | 2/12 [00:00<00:03, 3.08it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.29it/s] 33%|███▎ | 4/12 [00:01<00:02, 3.41it/s] 42%|████▏ | 5/12 [00:01<00:02, 3.47it/s] 50%|█████ | 6/12 [00:01<00:01, 3.51it/s] 58%|█████▊ | 7/12 [00:02<00:01, 3.54it/s] 67%|██████▋ | 8/12 [00:02<00:01, 3.56it/s] 75%|███████▌ | 9/12 [00:02<00:00, 3.57it/s] 83%|████████▎ | 10/12 [00:02<00:00, 3.58it/s] 92%|█████████▏| 11/12 [00:03<00:00, 3.58it/s] 100%|██████████| 12/12 [00:03<00:00, 3.59it/s] 100%|██████████| 12/12 [00:03<00:00, 3.48it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29ID7jwayg57bvgrzi76fcqfqez7vaStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 15457698187141
- hires
- steps
- 20
- width
- "600"
- height
- "280"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 15457698187141, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 15457698187141, hires: true, steps: 20, width: "600", height: "280", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 15457698187141, "hires": True, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 15457698187141, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-03-01T05:30:03.374339Z", "created_at": "2023-03-01T05:29:56.577176Z", "data_removed": false, "error": null, "id": "7jwayg57bvgrzi76fcqfqez7va", "input": { "seed": 15457698187141, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:01, 9.61it/s]\n 15%|█▌ | 3/20 [00:00<00:01, 10.28it/s]\n 25%|██▌ | 5/20 [00:00<00:01, 10.54it/s]\n 35%|███▌ | 7/20 [00:00<00:01, 11.46it/s]\n 45%|████▌ | 9/20 [00:00<00:00, 11.61it/s]\n 55%|█████▌ | 11/20 [00:00<00:00, 11.89it/s]\n 65%|██████▌ | 13/20 [00:01<00:00, 11.24it/s]\n 75%|███████▌ | 15/20 [00:01<00:00, 10.99it/s]\n 85%|████████▌ | 17/20 [00:01<00:00, 11.40it/s]\n 95%|█████████▌| 19/20 [00:01<00:00, 11.91it/s]\n100%|██████████| 20/20 [00:01<00:00, 11.51it/s]\nmasterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x280\nSeed: 15457698187141\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.89it/s]\n 20%|██ | 4/20 [00:00<00:01, 12.66it/s]\n 30%|███ | 6/20 [00:00<00:01, 13.17it/s]\n 40%|████ | 8/20 [00:00<00:00, 12.41it/s]\n 50%|█████ | 10/20 [00:00<00:00, 12.46it/s]\n 60%|██████ | 12/20 [00:00<00:00, 12.90it/s]\n 70%|███████ | 14/20 [00:01<00:00, 12.83it/s]\n 80%|████████ | 16/20 [00:01<00:00, 12.18it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 12.09it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.39it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.50it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:01, 6.72it/s]\n 17%|█▋ | 2/12 [00:00<00:01, 7.67it/s]\n 25%|██▌ | 3/12 [00:00<00:01, 8.01it/s]\n 33%|███▎ | 4/12 [00:00<00:00, 8.04it/s]\n 42%|████▏ | 5/12 [00:00<00:00, 8.16it/s]\n 50%|█████ | 6/12 [00:00<00:00, 8.43it/s]\n 58%|█████▊ | 7/12 [00:00<00:00, 8.37it/s]\n 67%|██████▋ | 8/12 [00:00<00:00, 8.26it/s]\n 75%|███████▌ | 9/12 [00:01<00:00, 8.14it/s]\n 83%|████████▎ | 10/12 [00:01<00:00, 8.23it/s]\n 92%|█████████▏| 11/12 [00:01<00:00, 8.23it/s]\n100%|██████████| 12/12 [00:01<00:00, 8.35it/s]\n100%|██████████| 12/12 [00:01<00:00, 8.18it/s]", "metrics": { "predict_time": 6.730604, "total_time": 6.797163 }, "output": [ "https://replicate.delivery/pbxt/YCxLkSof1BylWadeQJu6QVVL3qrtC5GHLaowBa4Bx3WWTJjQA/out-0.png", "https://replicate.delivery/pbxt/h0zErTPSIUZeBaAHzpJeW8EccfZqvmnmvdzGyyXCmWTxmSGhA/out-0.png", "https://replicate.delivery/pbxt/qlyyXsVthMaILtSWiKYSPfRJ6SL3fqZoWE1aQmfpS8x1mSGhA/out-0.png" ], "started_at": "2023-03-01T05:29:56.643735Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7jwayg57bvgrzi76fcqfqez7va", "cancel": "https://api.replicate.com/v1/predictions/7jwayg57bvgrzi76fcqfqez7va/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:01, 9.61it/s] 15%|█▌ | 3/20 [00:00<00:01, 10.28it/s] 25%|██▌ | 5/20 [00:00<00:01, 10.54it/s] 35%|███▌ | 7/20 [00:00<00:01, 11.46it/s] 45%|████▌ | 9/20 [00:00<00:00, 11.61it/s] 55%|█████▌ | 11/20 [00:00<00:00, 11.89it/s] 65%|██████▌ | 13/20 [00:01<00:00, 11.24it/s] 75%|███████▌ | 15/20 [00:01<00:00, 10.99it/s] 85%|████████▌ | 17/20 [00:01<00:00, 11.40it/s] 95%|█████████▌| 19/20 [00:01<00:00, 11.91it/s] 100%|██████████| 20/20 [00:01<00:00, 11.51it/s] masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, close-up, straight on, face focus, gems, red blonde hair Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x280 Seed: 15457698187141 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.89it/s] 20%|██ | 4/20 [00:00<00:01, 12.66it/s] 30%|███ | 6/20 [00:00<00:01, 13.17it/s] 40%|████ | 8/20 [00:00<00:00, 12.41it/s] 50%|█████ | 10/20 [00:00<00:00, 12.46it/s] 60%|██████ | 12/20 [00:00<00:00, 12.90it/s] 70%|███████ | 14/20 [00:01<00:00, 12.83it/s] 80%|████████ | 16/20 [00:01<00:00, 12.18it/s] 90%|█████████ | 18/20 [00:01<00:00, 12.09it/s] 100%|██████████| 20/20 [00:01<00:00, 12.39it/s] 100%|██████████| 20/20 [00:01<00:00, 12.50it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:01, 6.72it/s] 17%|█▋ | 2/12 [00:00<00:01, 7.67it/s] 25%|██▌ | 3/12 [00:00<00:01, 8.01it/s] 33%|███▎ | 4/12 [00:00<00:00, 8.04it/s] 42%|████▏ | 5/12 [00:00<00:00, 8.16it/s] 50%|█████ | 6/12 [00:00<00:00, 8.43it/s] 58%|█████▊ | 7/12 [00:00<00:00, 8.37it/s] 67%|██████▋ | 8/12 [00:00<00:00, 8.26it/s] 75%|███████▌ | 9/12 [00:01<00:00, 8.14it/s] 83%|████████▎ | 10/12 [00:01<00:00, 8.23it/s] 92%|█████████▏| 11/12 [00:01<00:00, 8.23it/s] 100%|██████████| 12/12 [00:01<00:00, 8.35it/s] 100%|██████████| 12/12 [00:01<00:00, 8.18it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29Input
- seed
- 3883848314460307
- hires
- steps
- 20
- width
- "600"
- height
- "280"
- prompt
- masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 3883848314460307, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 3883848314460307, hires: true, steps: 20, width: "600", height: "280", prompt: "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 3883848314460307, "hires": True, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 3883848314460307, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-03-01T08:39:07.678141Z", "created_at": "2023-03-01T08:38:50.563293Z", "data_removed": false, "error": null, "id": "wdbewnhfmjgszpxhtf2pspgvtq", "input": { "seed": 3883848314460307, "hires": true, "steps": 20, "width": "600", "height": "280", "prompt": "masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 11.28it/s]\n 20%|██ | 4/20 [00:00<00:01, 10.77it/s]\n 30%|███ | 6/20 [00:00<00:01, 10.78it/s]\n 40%|████ | 8/20 [00:00<00:01, 10.74it/s]\n 50%|█████ | 10/20 [00:00<00:00, 10.65it/s]\n 60%|██████ | 12/20 [00:01<00:00, 10.26it/s]\n 70%|███████ | 14/20 [00:01<00:00, 9.92it/s]\n 80%|████████ | 16/20 [00:01<00:00, 10.37it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 10.47it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.52it/s]\n100%|██████████| 20/20 [00:01<00:00, 10.49it/s]\nmasterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x280\nSeed: 3883848314460307\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:02<00:48, 2.54s/it]\n 15%|█▌ | 3/20 [00:02<00:12, 1.39it/s]\n 25%|██▌ | 5/20 [00:02<00:05, 2.50it/s]\n 35%|███▌ | 7/20 [00:03<00:03, 3.76it/s]\n 45%|████▌ | 9/20 [00:03<00:02, 5.13it/s]\n 55%|█████▌ | 11/20 [00:03<00:01, 6.46it/s]\n 65%|██████▌ | 13/20 [00:03<00:00, 7.69it/s]\n 75%|███████▌ | 15/20 [00:03<00:00, 8.62it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 9.21it/s]\n 95%|█████████▌| 19/20 [00:04<00:00, 9.53it/s]\n100%|██████████| 20/20 [00:04<00:00, 4.78it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:05<00:56, 5.09s/it]\n 17%|█▋ | 2/12 [00:05<00:21, 2.17s/it]\n 25%|██▌ | 3/12 [00:05<00:11, 1.24s/it]\n 33%|███▎ | 4/12 [00:05<00:06, 1.26it/s]\n 42%|████▏ | 5/12 [00:05<00:03, 1.82it/s]\n 50%|█████ | 6/12 [00:05<00:02, 2.48it/s]\n 58%|█████▊ | 7/12 [00:05<00:01, 3.20it/s]\n 67%|██████▋ | 8/12 [00:05<00:01, 3.93it/s]\n 75%|███████▌ | 9/12 [00:06<00:00, 4.65it/s]\n 83%|████████▎ | 10/12 [00:06<00:00, 5.38it/s]\n 92%|█████████▏| 11/12 [00:06<00:00, 6.00it/s]\n100%|██████████| 12/12 [00:06<00:00, 6.55it/s]\n100%|██████████| 12/12 [00:06<00:00, 1.86it/s]", "metrics": { "predict_time": 17.052967, "total_time": 17.114848 }, "output": [ "https://replicate.delivery/pbxt/t8puWgQDvlYAOFeFRYB5XDdtepFKCpek4XrwfarffadPHBzIE/out-0.png", "https://replicate.delivery/pbxt/Do8kcimQBJaJJNDpjraLOlAUdsgAvzpo0ecOOir7dIsRCmRIA/out-0.png", "https://replicate.delivery/pbxt/pF9POjWx7OoRIplJFSXbLen3WHfQpaM6pHla7GQQLrRqEMjQA/out-0.png" ], "started_at": "2023-03-01T08:38:50.625174Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/wdbewnhfmjgszpxhtf2pspgvtq", "cancel": "https://api.replicate.com/v1/predictions/wdbewnhfmjgszpxhtf2pspgvtq/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 11.28it/s] 20%|██ | 4/20 [00:00<00:01, 10.77it/s] 30%|███ | 6/20 [00:00<00:01, 10.78it/s] 40%|████ | 8/20 [00:00<00:01, 10.74it/s] 50%|█████ | 10/20 [00:00<00:00, 10.65it/s] 60%|██████ | 12/20 [00:01<00:00, 10.26it/s] 70%|███████ | 14/20 [00:01<00:00, 9.92it/s] 80%|████████ | 16/20 [00:01<00:00, 10.37it/s] 90%|█████████ | 18/20 [00:01<00:00, 10.47it/s] 100%|██████████| 20/20 [00:01<00:00, 10.52it/s] 100%|██████████| 20/20 [00:01<00:00, 10.49it/s] masterpiece, best quality, ultra-detailed, illustration, portrait, 1girl, face focus, red gems, beam, writer Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 600x280 Seed: 3883848314460307 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:02<00:48, 2.54s/it] 15%|█▌ | 3/20 [00:02<00:12, 1.39it/s] 25%|██▌ | 5/20 [00:02<00:05, 2.50it/s] 35%|███▌ | 7/20 [00:03<00:03, 3.76it/s] 45%|████▌ | 9/20 [00:03<00:02, 5.13it/s] 55%|█████▌ | 11/20 [00:03<00:01, 6.46it/s] 65%|██████▌ | 13/20 [00:03<00:00, 7.69it/s] 75%|███████▌ | 15/20 [00:03<00:00, 8.62it/s] 85%|████████▌ | 17/20 [00:03<00:00, 9.21it/s] 95%|█████████▌| 19/20 [00:04<00:00, 9.53it/s] 100%|██████████| 20/20 [00:04<00:00, 4.78it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:05<00:56, 5.09s/it] 17%|█▋ | 2/12 [00:05<00:21, 2.17s/it] 25%|██▌ | 3/12 [00:05<00:11, 1.24s/it] 33%|███▎ | 4/12 [00:05<00:06, 1.26it/s] 42%|████▏ | 5/12 [00:05<00:03, 1.82it/s] 50%|█████ | 6/12 [00:05<00:02, 2.48it/s] 58%|█████▊ | 7/12 [00:05<00:01, 3.20it/s] 67%|██████▋ | 8/12 [00:05<00:01, 3.93it/s] 75%|███████▌ | 9/12 [00:06<00:00, 4.65it/s] 83%|████████▎ | 10/12 [00:06<00:00, 5.38it/s] 92%|█████████▏| 11/12 [00:06<00:00, 6.00it/s] 100%|██████████| 12/12 [00:06<00:00, 6.55it/s] 100%|██████████| 12/12 [00:06<00:00, 1.86it/s]
Prediction
elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29IDg2gurzljznaovclabeky3vqbpeStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 0
- hires
- steps
- 20
- width
- "512"
- height
- "512"
- prompt
- mksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer
- guidance
- 7
- neg_prompt
- lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))
{ "seed": 0, "hires": true, "steps": 20, "width": "512", "height": "512", "prompt": "mksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", { input: { seed: 0, hires: true, steps: 20, width: "512", height: "512", prompt: "mksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer", guidance: 7, neg_prompt: "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run elct9620/pastel-mix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "elct9620/pastel-mix:ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", input={ "seed": 0, "hires": True, "steps": 20, "width": "512", "height": "512", "prompt": "mksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } ) # The elct9620/pastel-mix model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/elct9620/pastel-mix/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run elct9620/pastel-mix 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": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29", "input": { "seed": 0, "hires": true, "steps": 20, "width": "512", "height": "512", "prompt": "mksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-03-18T10:43:20.470596Z", "created_at": "2023-03-18T10:43:12.002340Z", "data_removed": false, "error": null, "id": "g2gurzljznaovclabeky3vqbpe", "input": { "seed": 0, "hires": true, "steps": 20, "width": "512", "height": "512", "prompt": "mksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer", "guidance": 7, "neg_prompt": "lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.84it/s]\n 20%|██ | 4/20 [00:00<00:01, 13.06it/s]\n 30%|███ | 6/20 [00:00<00:01, 13.12it/s]\n 40%|████ | 8/20 [00:00<00:00, 13.29it/s]\n 50%|█████ | 10/20 [00:00<00:00, 13.34it/s]\n 60%|██████ | 12/20 [00:00<00:00, 13.41it/s]\n 70%|███████ | 14/20 [00:01<00:00, 13.41it/s]\n 80%|████████ | 16/20 [00:01<00:00, 13.43it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 13.39it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.23it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.28it/s]\nmksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer\nNegative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts))\nSteps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 512x512\nSeed: 6497932102508300362\n 0%| | 0/20 [00:00<?, ?it/s]\n 10%|█ | 2/20 [00:00<00:01, 12.95it/s]\n 20%|██ | 4/20 [00:00<00:01, 13.20it/s]\n 30%|███ | 6/20 [00:00<00:01, 13.31it/s]\n 40%|████ | 8/20 [00:00<00:00, 13.20it/s]\n 50%|█████ | 10/20 [00:00<00:00, 13.00it/s]\n 60%|██████ | 12/20 [00:00<00:00, 13.17it/s]\n 70%|███████ | 14/20 [00:01<00:00, 13.27it/s]\n 80%|████████ | 16/20 [00:01<00:00, 13.36it/s]\n 90%|█████████ | 18/20 [00:01<00:00, 13.36it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.41it/s]\n100%|██████████| 20/20 [00:01<00:00, 13.28it/s]\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:03, 3.02it/s]\n 17%|█▋ | 2/12 [00:00<00:02, 3.68it/s]\n 25%|██▌ | 3/12 [00:00<00:02, 3.96it/s]\n 33%|███▎ | 4/12 [00:01<00:01, 4.11it/s]\n 42%|████▏ | 5/12 [00:01<00:01, 4.19it/s]\n 50%|█████ | 6/12 [00:01<00:01, 4.25it/s]\n 58%|█████▊ | 7/12 [00:01<00:01, 4.28it/s]\n 67%|██████▋ | 8/12 [00:01<00:00, 4.30it/s]\n 75%|███████▌ | 9/12 [00:02<00:00, 4.32it/s]\n 83%|████████▎ | 10/12 [00:02<00:00, 4.33it/s]\n 92%|█████████▏| 11/12 [00:02<00:00, 4.34it/s]\n100%|██████████| 12/12 [00:02<00:00, 4.34it/s]\n100%|██████████| 12/12 [00:02<00:00, 4.20it/s]", "metrics": { "predict_time": 8.394399, "total_time": 8.468256 }, "output": [ "https://replicate.delivery/pbxt/y0q5HmB05s7vJtLpLbYNfnplkYjuwNXZDzgJQcbmVXlgPaUIA/out-0.png", "https://replicate.delivery/pbxt/t81IQcyX8M6BDpHP4TAWiDgxxZregWrT9aCojdsKNZMiPaUIA/out-0.png", "https://replicate.delivery/pbxt/JIkdTN10qt5SEltMm6VyZ1sZflNT38vIRv2n5mTfodFHfoRhA/out-0.png" ], "started_at": "2023-03-18T10:43:12.076197Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/g2gurzljznaovclabeky3vqbpe", "cancel": "https://api.replicate.com/v1/predictions/g2gurzljznaovclabeky3vqbpe/cancel" }, "version": "ba8b1f407cd6418fa589ca73e5c623c081600ecff19f7fc3249fa536d762bb29" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.84it/s] 20%|██ | 4/20 [00:00<00:01, 13.06it/s] 30%|███ | 6/20 [00:00<00:01, 13.12it/s] 40%|████ | 8/20 [00:00<00:00, 13.29it/s] 50%|█████ | 10/20 [00:00<00:00, 13.34it/s] 60%|██████ | 12/20 [00:00<00:00, 13.41it/s] 70%|███████ | 14/20 [00:01<00:00, 13.41it/s] 80%|████████ | 16/20 [00:01<00:00, 13.43it/s] 90%|█████████ | 18/20 [00:01<00:00, 13.39it/s] 100%|██████████| 20/20 [00:01<00:00, 13.23it/s] 100%|██████████| 20/20 [00:01<00:00, 13.28it/s] mksks style, best quality, ultra-detailed, illustration, close-up, upper body focus, straight on, face focus, 1girl, black hair, ponytail, cute expression, ribbon accessory, blushing cheeks, collarbone, shoulder, looking at viewer Negative prompt: lowres, ((bad anatomy)), ((bad hands)), text, missing finger, extra digits, fewer digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed face)), (ugly), ((bad proportions)), ((extra limbs)), extra face, (double head), (extra head), ((extra feet)), monster, logo, cropped, worst quality, low quality, normal quality, jpeg, humpbacked, long body, long neck, ((jpeg artifacts)) Steps: 20, Sampler: DPMSolverMultistepScheduler, CFG scale: 7.0, Size: 512x512 Seed: 6497932102508300362 0%| | 0/20 [00:00<?, ?it/s] 10%|█ | 2/20 [00:00<00:01, 12.95it/s] 20%|██ | 4/20 [00:00<00:01, 13.20it/s] 30%|███ | 6/20 [00:00<00:01, 13.31it/s] 40%|████ | 8/20 [00:00<00:00, 13.20it/s] 50%|█████ | 10/20 [00:00<00:00, 13.00it/s] 60%|██████ | 12/20 [00:00<00:00, 13.17it/s] 70%|███████ | 14/20 [00:01<00:00, 13.27it/s] 80%|████████ | 16/20 [00:01<00:00, 13.36it/s] 90%|█████████ | 18/20 [00:01<00:00, 13.36it/s] 100%|██████████| 20/20 [00:01<00:00, 13.41it/s] 100%|██████████| 20/20 [00:01<00:00, 13.28it/s] 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:03, 3.02it/s] 17%|█▋ | 2/12 [00:00<00:02, 3.68it/s] 25%|██▌ | 3/12 [00:00<00:02, 3.96it/s] 33%|███▎ | 4/12 [00:01<00:01, 4.11it/s] 42%|████▏ | 5/12 [00:01<00:01, 4.19it/s] 50%|█████ | 6/12 [00:01<00:01, 4.25it/s] 58%|█████▊ | 7/12 [00:01<00:01, 4.28it/s] 67%|██████▋ | 8/12 [00:01<00:00, 4.30it/s] 75%|███████▌ | 9/12 [00:02<00:00, 4.32it/s] 83%|████████▎ | 10/12 [00:02<00:00, 4.33it/s] 92%|█████████▏| 11/12 [00:02<00:00, 4.34it/s] 100%|██████████| 12/12 [00:02<00:00, 4.34it/s] 100%|██████████| 12/12 [00:02<00:00, 4.20it/s]
Want to make some of these yourself?
Run this model