mcai
/
deliberate-v2
Generate a new image given any input text with Deliberate v2
- Public
- 655.8K runs
-
A100 (80GB)
Prediction
mcai/deliberate-v2:0882be3a1a415a2fba0575e6aab071c686ddcd4a7a2d02de451f8a2810847f49Input
- width
- 512
- height
- 768
- prompt
- Digital photo of car on the empty parking slot, (((blue and white))) 1956 Renault Dauphine , heavy rain, on aesthetic light glow in the cloudy sky, neon sign in the dark night, winter night, falling snow, foggy night , strong rim lighting, soft contrasted, thunder lightning in the stormy sky, 8k uhd, dlsr, Oled, dark lighting, high quality, film grain, Fujifilm XT3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by Kaiwan Shaban, James O'Brien, Vadim Ignatiev,
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy
- num_inference_steps
- 30
{ "width": 512, "height": 768, "prompt": "Digital photo of car on the empty parking slot, (((blue and white))) 1956 Renault Dauphine , heavy rain, on aesthetic light glow in the cloudy sky, neon sign in the dark night, winter night, falling snow, foggy night , strong rim lighting, soft contrasted, thunder lightning in the stormy sky, 8k uhd, dlsr, Oled, dark lighting, high quality, film grain, Fujifilm XT3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by Kaiwan Shaban, James O'Brien, Vadim Ignatiev,", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }
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 mcai/deliberate-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/deliberate-v2:0882be3a1a415a2fba0575e6aab071c686ddcd4a7a2d02de451f8a2810847f49", { input: { width: 512, height: 768, prompt: "Digital photo of car on the empty parking slot, (((blue and white))) 1956 Renault Dauphine , heavy rain, on aesthetic light glow in the cloudy sky, neon sign in the dark night, winter night, falling snow, foggy night , strong rim lighting, soft contrasted, thunder lightning in the stormy sky, 8k uhd, dlsr, Oled, dark lighting, high quality, film grain, Fujifilm XT3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by Kaiwan Shaban, James O'Brien, Vadim Ignatiev,", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", num_inference_steps: 30 } } ); // 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 mcai/deliberate-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/deliberate-v2:0882be3a1a415a2fba0575e6aab071c686ddcd4a7a2d02de451f8a2810847f49", input={ "width": 512, "height": 768, "prompt": "Digital photo of car on the empty parking slot, (((blue and white))) 1956 Renault Dauphine , heavy rain, on aesthetic light glow in the cloudy sky, neon sign in the dark night, winter night, falling snow, foggy night , strong rim lighting, soft contrasted, thunder lightning in the stormy sky, 8k uhd, dlsr, Oled, dark lighting, high quality, film grain, Fujifilm XT3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by Kaiwan Shaban, James O'Brien, Vadim Ignatiev,", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/deliberate-v2 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": "0882be3a1a415a2fba0575e6aab071c686ddcd4a7a2d02de451f8a2810847f49", "input": { "width": 512, "height": 768, "prompt": "Digital photo of car on the empty parking slot, (((blue and white))) 1956 Renault Dauphine , heavy rain, on aesthetic light glow in the cloudy sky, neon sign in the dark night, winter night, falling snow, foggy night , strong rim lighting, soft contrasted, thunder lightning in the stormy sky, 8k uhd, dlsr, Oled, dark lighting, high quality, film grain, Fujifilm XT3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by Kaiwan Shaban, James O\'Brien, Vadim Ignatiev,", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-05-11T02:35:38.367137Z", "created_at": "2023-05-11T02:35:30.372313Z", "data_removed": false, "error": null, "id": "2olwhulca5g6dbklcse2ztqpw4", "input": { "width": 512, "height": 768, "prompt": "Digital photo of car on the empty parking slot, (((blue and white))) 1956 Renault Dauphine , heavy rain, on aesthetic light glow in the cloudy sky, neon sign in the dark night, winter night, falling snow, foggy night , strong rim lighting, soft contrasted, thunder lightning in the stormy sky, 8k uhd, dlsr, Oled, dark lighting, high quality, film grain, Fujifilm XT3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by Kaiwan Shaban, James O'Brien, Vadim Ignatiev,", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }, "logs": "Using seed: 266\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [\", dark lighting, high quality, film grain, fujifilm xt 3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by kaiwan shaban, james o'brien, vadim ignatiev,\"]\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:08, 3.60it/s]\n 7%|▋ | 2/30 [00:00<00:06, 4.05it/s]\n 10%|█ | 3/30 [00:00<00:06, 4.24it/s]\n 13%|█▎ | 4/30 [00:00<00:06, 4.33it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.39it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.43it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.45it/s]\n 27%|██▋ | 8/30 [00:01<00:04, 4.46it/s]\n 30%|███ | 9/30 [00:02<00:04, 4.47it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.47it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.47it/s]\n 40%|████ | 12/30 [00:02<00:04, 4.48it/s]\n 43%|████▎ | 13/30 [00:02<00:03, 4.48it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.47it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.48it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.47it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 4.48it/s]\n 60%|██████ | 18/30 [00:04<00:02, 4.46it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.45it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.45it/s]\n 70%|███████ | 21/30 [00:04<00:02, 4.48it/s]\n 73%|███████▎ | 22/30 [00:04<00:01, 4.42it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.42it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.43it/s]\n 83%|████████▎ | 25/30 [00:05<00:01, 4.44it/s]\n 87%|████████▋ | 26/30 [00:05<00:00, 4.45it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 4.45it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.45it/s]\n 97%|█████████▋| 29/30 [00:06<00:00, 4.45it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.44it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.43it/s]", "metrics": { "predict_time": 8.045979, "total_time": 7.994824 }, "output": [ "https://replicate.delivery/pbxt/oreIe1ZQ0Sr5j0y8SscEUATRzPc70kwECtD1JRizr5z5Zg6QA/out-0.png" ], "started_at": "2023-05-11T02:35:30.321158Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2olwhulca5g6dbklcse2ztqpw4", "cancel": "https://api.replicate.com/v1/predictions/2olwhulca5g6dbklcse2ztqpw4/cancel" }, "version": "0882be3a1a415a2fba0575e6aab071c686ddcd4a7a2d02de451f8a2810847f49" }
Generated inUsing seed: 266 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [", dark lighting, high quality, film grain, fujifilm xt 3, highly detailed, excellent composition, cinematic concept art, dramatic lighting, trending on artstation by kaiwan shaban, james o'brien, vadim ignatiev,"] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:08, 3.60it/s] 7%|▋ | 2/30 [00:00<00:06, 4.05it/s] 10%|█ | 3/30 [00:00<00:06, 4.24it/s] 13%|█▎ | 4/30 [00:00<00:06, 4.33it/s] 17%|█▋ | 5/30 [00:01<00:05, 4.39it/s] 20%|██ | 6/30 [00:01<00:05, 4.43it/s] 23%|██▎ | 7/30 [00:01<00:05, 4.45it/s] 27%|██▋ | 8/30 [00:01<00:04, 4.46it/s] 30%|███ | 9/30 [00:02<00:04, 4.47it/s] 33%|███▎ | 10/30 [00:02<00:04, 4.47it/s] 37%|███▋ | 11/30 [00:02<00:04, 4.47it/s] 40%|████ | 12/30 [00:02<00:04, 4.48it/s] 43%|████▎ | 13/30 [00:02<00:03, 4.48it/s] 47%|████▋ | 14/30 [00:03<00:03, 4.47it/s] 50%|█████ | 15/30 [00:03<00:03, 4.48it/s] 53%|█████▎ | 16/30 [00:03<00:03, 4.47it/s] 57%|█████▋ | 17/30 [00:03<00:02, 4.48it/s] 60%|██████ | 18/30 [00:04<00:02, 4.46it/s] 63%|██████▎ | 19/30 [00:04<00:02, 4.45it/s] 67%|██████▋ | 20/30 [00:04<00:02, 4.45it/s] 70%|███████ | 21/30 [00:04<00:02, 4.48it/s] 73%|███████▎ | 22/30 [00:04<00:01, 4.42it/s] 77%|███████▋ | 23/30 [00:05<00:01, 4.42it/s] 80%|████████ | 24/30 [00:05<00:01, 4.43it/s] 83%|████████▎ | 25/30 [00:05<00:01, 4.44it/s] 87%|████████▋ | 26/30 [00:05<00:00, 4.45it/s] 90%|█████████ | 27/30 [00:06<00:00, 4.45it/s] 93%|█████████▎| 28/30 [00:06<00:00, 4.45it/s] 97%|█████████▋| 29/30 [00:06<00:00, 4.45it/s] 100%|██████████| 30/30 [00:06<00:00, 4.44it/s] 100%|██████████| 30/30 [00:06<00:00, 4.43it/s]
Prediction
mcai/deliberate-v2:8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866bInput
- width
- 512
- height
- 768
- prompt
- crying lady, crying out in pain, open mouth, colored tears, gark gray rain, face closeup, detailed, many colors on girl, dark background, cinematic, insane details, dark shot, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by wlop, charlie bowater and alexandra fomina
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy
- num_inference_steps
- 30
{ "width": 512, "height": 768, "prompt": "crying lady, crying out in pain, open mouth, colored tears, gark gray rain, face closeup, detailed, many colors on girl, dark background, cinematic, insane details, dark shot, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by wlop, charlie bowater and alexandra fomina", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }
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 mcai/deliberate-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/deliberate-v2:8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b", { input: { width: 512, height: 768, prompt: "crying lady, crying out in pain, open mouth, colored tears, gark gray rain, face closeup, detailed, many colors on girl, dark background, cinematic, insane details, dark shot, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by wlop, charlie bowater and alexandra fomina", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", num_inference_steps: 30 } } ); // 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 mcai/deliberate-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/deliberate-v2:8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b", input={ "width": 512, "height": 768, "prompt": "crying lady, crying out in pain, open mouth, colored tears, gark gray rain, face closeup, detailed, many colors on girl, dark background, cinematic, insane details, dark shot, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by wlop, charlie bowater and alexandra fomina", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/deliberate-v2 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": "8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b", "input": { "width": 512, "height": 768, "prompt": "crying lady, crying out in pain, open mouth, colored tears, gark gray rain, face closeup, detailed, many colors on girl, dark background, cinematic, insane details, dark shot, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by wlop, charlie bowater and alexandra fomina", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-05-11T03:48:03.811579Z", "created_at": "2023-05-11T03:47:52.327528Z", "data_removed": false, "error": null, "id": "5kxbp5imlzgkviacflduxmkmfm", "input": { "width": 512, "height": 768, "prompt": "crying lady, crying out in pain, open mouth, colored tears, gark gray rain, face closeup, detailed, many colors on girl, dark background, cinematic, insane details, dark shot, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by wlop, charlie bowater and alexandra fomina", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }, "logs": "Using seed: 59084\n/root/.pyenv/versions/3.10.11/lib/python3.10/site-packages/diffusers/configuration_utils.py:135: FutureWarning: Accessing config attribute `use_karras_sigmas` directly via 'HeunDiscreteScheduler' object attribute is deprecated. Please access 'use_karras_sigmas' over 'HeunDiscreteScheduler's config object instead, e.g. 'scheduler.config.use_karras_sigmas'.\ndeprecate(\"direct config name access\", \"1.0.0\", deprecation_message, standard_warn=False)\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:01<00:57, 2.00s/it]\n 7%|▋ | 2/30 [00:02<00:26, 1.06it/s]\n 10%|█ | 3/30 [00:02<00:16, 1.63it/s]\n 13%|█▎ | 4/30 [00:02<00:11, 2.20it/s]\n 17%|█▋ | 5/30 [00:02<00:09, 2.71it/s]\n 20%|██ | 6/30 [00:03<00:07, 3.16it/s]\n 23%|██▎ | 7/30 [00:03<00:06, 3.53it/s]\n 27%|██▋ | 8/30 [00:03<00:05, 3.83it/s]\n 30%|███ | 9/30 [00:03<00:05, 4.05it/s]\n 33%|███▎ | 10/30 [00:03<00:04, 4.23it/s]\n 37%|███▋ | 11/30 [00:04<00:04, 4.36it/s]\n 40%|████ | 12/30 [00:04<00:04, 4.44it/s]\n 43%|████▎ | 13/30 [00:04<00:03, 4.52it/s]\n 47%|████▋ | 14/30 [00:04<00:03, 4.55it/s]\n 50%|█████ | 15/30 [00:04<00:03, 4.59it/s]\n 53%|█████▎ | 16/30 [00:05<00:03, 4.61it/s]\n 57%|█████▋ | 17/30 [00:05<00:02, 4.63it/s]\n 60%|██████ | 18/30 [00:05<00:02, 4.64it/s]\n 63%|██████▎ | 19/30 [00:05<00:02, 4.66it/s]\n 67%|██████▋ | 20/30 [00:06<00:02, 4.66it/s]\n 70%|███████ | 21/30 [00:06<00:01, 4.65it/s]\n 73%|███████▎ | 22/30 [00:06<00:01, 4.66it/s]\n 77%|███████▋ | 23/30 [00:06<00:01, 4.65it/s]\n 80%|████████ | 24/30 [00:06<00:01, 4.66it/s]\n 83%|████████▎ | 25/30 [00:07<00:01, 4.65it/s]\n 87%|████████▋ | 26/30 [00:07<00:00, 4.66it/s]\n 90%|█████████ | 27/30 [00:07<00:00, 4.66it/s]\n 93%|█████████▎| 28/30 [00:07<00:00, 4.65it/s]\n 97%|█████████▋| 29/30 [00:07<00:00, 4.66it/s]\n100%|██████████| 30/30 [00:08<00:00, 4.66it/s]\n100%|██████████| 30/30 [00:08<00:00, 3.65it/s]", "metrics": { "predict_time": 11.417865, "total_time": 11.484051 }, "output": [ "https://replicate.delivery/pbxt/XTORA6W4AIZBH95Os0DBjIdSMPeU9NTrRaAbHD7Lve7zdh6QA/out-0.png" ], "started_at": "2023-05-11T03:47:52.393714Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5kxbp5imlzgkviacflduxmkmfm", "cancel": "https://api.replicate.com/v1/predictions/5kxbp5imlzgkviacflduxmkmfm/cancel" }, "version": "8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b" }
Generated inUsing seed: 59084 /root/.pyenv/versions/3.10.11/lib/python3.10/site-packages/diffusers/configuration_utils.py:135: FutureWarning: Accessing config attribute `use_karras_sigmas` directly via 'HeunDiscreteScheduler' object attribute is deprecated. Please access 'use_karras_sigmas' over 'HeunDiscreteScheduler's config object instead, e.g. 'scheduler.config.use_karras_sigmas'. deprecate("direct config name access", "1.0.0", deprecation_message, standard_warn=False) 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:01<00:57, 2.00s/it] 7%|▋ | 2/30 [00:02<00:26, 1.06it/s] 10%|█ | 3/30 [00:02<00:16, 1.63it/s] 13%|█▎ | 4/30 [00:02<00:11, 2.20it/s] 17%|█▋ | 5/30 [00:02<00:09, 2.71it/s] 20%|██ | 6/30 [00:03<00:07, 3.16it/s] 23%|██▎ | 7/30 [00:03<00:06, 3.53it/s] 27%|██▋ | 8/30 [00:03<00:05, 3.83it/s] 30%|███ | 9/30 [00:03<00:05, 4.05it/s] 33%|███▎ | 10/30 [00:03<00:04, 4.23it/s] 37%|███▋ | 11/30 [00:04<00:04, 4.36it/s] 40%|████ | 12/30 [00:04<00:04, 4.44it/s] 43%|████▎ | 13/30 [00:04<00:03, 4.52it/s] 47%|████▋ | 14/30 [00:04<00:03, 4.55it/s] 50%|█████ | 15/30 [00:04<00:03, 4.59it/s] 53%|█████▎ | 16/30 [00:05<00:03, 4.61it/s] 57%|█████▋ | 17/30 [00:05<00:02, 4.63it/s] 60%|██████ | 18/30 [00:05<00:02, 4.64it/s] 63%|██████▎ | 19/30 [00:05<00:02, 4.66it/s] 67%|██████▋ | 20/30 [00:06<00:02, 4.66it/s] 70%|███████ | 21/30 [00:06<00:01, 4.65it/s] 73%|███████▎ | 22/30 [00:06<00:01, 4.66it/s] 77%|███████▋ | 23/30 [00:06<00:01, 4.65it/s] 80%|████████ | 24/30 [00:06<00:01, 4.66it/s] 83%|████████▎ | 25/30 [00:07<00:01, 4.65it/s] 87%|████████▋ | 26/30 [00:07<00:00, 4.66it/s] 90%|█████████ | 27/30 [00:07<00:00, 4.66it/s] 93%|█████████▎| 28/30 [00:07<00:00, 4.65it/s] 97%|█████████▋| 29/30 [00:07<00:00, 4.66it/s] 100%|██████████| 30/30 [00:08<00:00, 4.66it/s] 100%|██████████| 30/30 [00:08<00:00, 3.65it/s]
Prediction
mcai/deliberate-v2:8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866bIDgudoarulhffkdgapne5pheajhyStatusSucceededSourceWebHardware–Total durationCreatedInput
- width
- "768"
- height
- "512"
- prompt
- (abstract expressionist oil painting:1.1), (augmented cybernetic worker:1.1) looking out over a (futuristic cyberpunk city:1.1), soft evening light, neon, smoke and haze, (crane smokestack:0.7), (stye of Colin Cambell Cooper:1.1), (style of John Atkinson Grimshaw:0.9)
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy
- num_inference_steps
- 30
{ "width": "768", "height": "512", "prompt": "(abstract expressionist oil painting:1.1), (augmented cybernetic worker:1.1) looking out over a (futuristic cyberpunk city:1.1), soft evening light, neon, smoke and haze, (crane smokestack:0.7), (stye of Colin Cambell Cooper:1.1), (style of John Atkinson Grimshaw:0.9)", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }
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 mcai/deliberate-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/deliberate-v2:8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b", { input: { width: "768", height: "512", prompt: "(abstract expressionist oil painting:1.1), (augmented cybernetic worker:1.1) looking out over a (futuristic cyberpunk city:1.1), soft evening light, neon, smoke and haze, (crane smokestack:0.7), (stye of Colin Cambell Cooper:1.1), (style of John Atkinson Grimshaw:0.9)", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", num_inference_steps: 30 } } ); // 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 mcai/deliberate-v2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/deliberate-v2:8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b", input={ "width": "768", "height": "512", "prompt": "(abstract expressionist oil painting:1.1), (augmented cybernetic worker:1.1) looking out over a (futuristic cyberpunk city:1.1), soft evening light, neon, smoke and haze, (crane smokestack:0.7), (stye of Colin Cambell Cooper:1.1), (style of John Atkinson Grimshaw:0.9)", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/deliberate-v2 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": "8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b", "input": { "width": "768", "height": "512", "prompt": "(abstract expressionist oil painting:1.1), (augmented cybernetic worker:1.1) looking out over a (futuristic cyberpunk city:1.1), soft evening light, neon, smoke and haze, (crane smokestack:0.7), (stye of Colin Cambell Cooper:1.1), (style of John Atkinson Grimshaw:0.9)", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-05-11T03:56:26.122821Z", "created_at": "2023-05-11T03:56:17.225310Z", "data_removed": false, "error": null, "id": "gudoarulhffkdgapne5pheajhy", "input": { "width": "768", "height": "512", "prompt": "(abstract expressionist oil painting:1.1), (augmented cybernetic worker:1.1) looking out over a (futuristic cyberpunk city:1.1), soft evening light, neon, smoke and haze, (crane smokestack:0.7), (stye of Colin Cambell Cooper:1.1), (style of John Atkinson Grimshaw:0.9)", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }, "logs": "Using seed: 34049\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['0. 9 )']\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:09, 3.09it/s]\n 7%|▋ | 2/30 [00:00<00:07, 3.59it/s]\n 10%|█ | 3/30 [00:00<00:07, 3.78it/s]\n 13%|█▎ | 4/30 [00:01<00:06, 3.87it/s]\n 17%|█▋ | 5/30 [00:01<00:06, 3.87it/s]\n 20%|██ | 6/30 [00:01<00:06, 3.90it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 3.94it/s]\n 27%|██▋ | 8/30 [00:02<00:05, 3.97it/s]\n 30%|███ | 9/30 [00:02<00:05, 3.94it/s]\n 33%|███▎ | 10/30 [00:02<00:05, 3.95it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 3.94it/s]\n 40%|████ | 12/30 [00:03<00:04, 3.98it/s]\n 43%|████▎ | 13/30 [00:03<00:04, 3.96it/s]\n 47%|████▋ | 14/30 [00:03<00:04, 3.96it/s]\n 50%|█████ | 15/30 [00:03<00:03, 3.96it/s]\n 53%|█████▎ | 16/30 [00:04<00:03, 3.97it/s]\n 57%|█████▋ | 17/30 [00:04<00:03, 3.98it/s]\n 60%|██████ | 18/30 [00:04<00:03, 3.96it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 3.97it/s]\n 67%|██████▋ | 20/30 [00:05<00:02, 3.98it/s]\n 70%|███████ | 21/30 [00:05<00:02, 3.96it/s]\n 73%|███████▎ | 22/30 [00:05<00:02, 3.97it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 3.95it/s]\n 80%|████████ | 24/30 [00:06<00:01, 3.96it/s]\n 83%|████████▎ | 25/30 [00:06<00:01, 3.95it/s]\n 87%|████████▋ | 26/30 [00:06<00:01, 3.96it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 3.94it/s]\n 93%|█████████▎| 28/30 [00:07<00:00, 3.96it/s]\n 97%|█████████▋| 29/30 [00:07<00:00, 3.94it/s]\n100%|██████████| 30/30 [00:07<00:00, 3.96it/s]\n100%|██████████| 30/30 [00:07<00:00, 3.93it/s]", "metrics": { "predict_time": 8.940998, "total_time": 8.897511 }, "output": [ "https://replicate.delivery/pbxt/4NLjpD7Hp7peOysTfDdmxsID4ftfGOBV2eYe7p2VP95ZaZoOE/out-0.png" ], "started_at": "2023-05-11T03:56:17.181823Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gudoarulhffkdgapne5pheajhy", "cancel": "https://api.replicate.com/v1/predictions/gudoarulhffkdgapne5pheajhy/cancel" }, "version": "8431dfba7ba601d1db4fc1eeca919a7fbbe91854a18ab25234c2c523b56b866b" }
Generated inUsing seed: 34049 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['0. 9 )'] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:09, 3.09it/s] 7%|▋ | 2/30 [00:00<00:07, 3.59it/s] 10%|█ | 3/30 [00:00<00:07, 3.78it/s] 13%|█▎ | 4/30 [00:01<00:06, 3.87it/s] 17%|█▋ | 5/30 [00:01<00:06, 3.87it/s] 20%|██ | 6/30 [00:01<00:06, 3.90it/s] 23%|██▎ | 7/30 [00:01<00:05, 3.94it/s] 27%|██▋ | 8/30 [00:02<00:05, 3.97it/s] 30%|███ | 9/30 [00:02<00:05, 3.94it/s] 33%|███▎ | 10/30 [00:02<00:05, 3.95it/s] 37%|███▋ | 11/30 [00:02<00:04, 3.94it/s] 40%|████ | 12/30 [00:03<00:04, 3.98it/s] 43%|████▎ | 13/30 [00:03<00:04, 3.96it/s] 47%|████▋ | 14/30 [00:03<00:04, 3.96it/s] 50%|█████ | 15/30 [00:03<00:03, 3.96it/s] 53%|█████▎ | 16/30 [00:04<00:03, 3.97it/s] 57%|█████▋ | 17/30 [00:04<00:03, 3.98it/s] 60%|██████ | 18/30 [00:04<00:03, 3.96it/s] 63%|██████▎ | 19/30 [00:04<00:02, 3.97it/s] 67%|██████▋ | 20/30 [00:05<00:02, 3.98it/s] 70%|███████ | 21/30 [00:05<00:02, 3.96it/s] 73%|███████▎ | 22/30 [00:05<00:02, 3.97it/s] 77%|███████▋ | 23/30 [00:05<00:01, 3.95it/s] 80%|████████ | 24/30 [00:06<00:01, 3.96it/s] 83%|████████▎ | 25/30 [00:06<00:01, 3.95it/s] 87%|████████▋ | 26/30 [00:06<00:01, 3.96it/s] 90%|█████████ | 27/30 [00:06<00:00, 3.94it/s] 93%|█████████▎| 28/30 [00:07<00:00, 3.96it/s] 97%|█████████▋| 29/30 [00:07<00:00, 3.94it/s] 100%|██████████| 30/30 [00:07<00:00, 3.96it/s] 100%|██████████| 30/30 [00:07<00:00, 3.93it/s]
Want to make some of these yourself?
Run this model