mcai
/
dreamshaper-v6
Generate a new image given any input text with DreamShaper V6
- Public
- 423.1K runs
-
A100 (80GB)
Prediction
mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488edIDrhixoebxbvcjjjfyydrkacx6xyStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- width
- "768"
- height
- "512"
- prompt
- a wide shot of a dystopian city
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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
- num_inference_steps
- 30
{ "width": "768", "height": "512", "prompt": "a wide shot of a dystopian city", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "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/dreamshaper-v6 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", { input: { width: "768", height: "512", prompt: "a wide shot of a dystopian city", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", 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/dreamshaper-v6 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", input={ "width": "768", "height": "512", "prompt": "a wide shot of a dystopian city", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/dreamshaper-v6 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": "8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", "input": { "width": "768", "height": "512", "prompt": "a wide shot of a dystopian city", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "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-06-01T17:18:42.841079Z", "created_at": "2023-06-01T17:18:39.763824Z", "data_removed": false, "error": null, "id": "rhixoebxbvcjjjfyydrkacx6xy", "input": { "width": "768", "height": "512", "prompt": "a wide shot of a dystopian city", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "num_inference_steps": 30 }, "logs": "Using seed: 13153\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:01, 15.04it/s]\n 13%|█▎ | 4/30 [00:00<00:01, 14.25it/s]\n 20%|██ | 6/30 [00:00<00:01, 14.70it/s]\n 27%|██▋ | 8/30 [00:00<00:01, 15.42it/s]\n 33%|███▎ | 10/30 [00:00<00:01, 15.83it/s]\n 40%|████ | 12/30 [00:00<00:01, 15.69it/s]\n 47%|████▋ | 14/30 [00:00<00:01, 15.41it/s]\n 53%|█████▎ | 16/30 [00:01<00:00, 15.38it/s]\n 60%|██████ | 18/30 [00:01<00:00, 15.36it/s]\n 67%|██████▋ | 20/30 [00:01<00:00, 15.86it/s]\n 73%|███████▎ | 22/30 [00:01<00:00, 15.64it/s]\n 80%|████████ | 24/30 [00:01<00:00, 15.24it/s]\n 87%|████████▋ | 26/30 [00:01<00:00, 15.51it/s]\n 93%|█████████▎| 28/30 [00:01<00:00, 15.52it/s]\n100%|██████████| 30/30 [00:01<00:00, 15.28it/s]\n100%|██████████| 30/30 [00:01<00:00, 15.37it/s]", "metrics": { "predict_time": 3.109928, "total_time": 3.077255 }, "output": [ "https://replicate.delivery/pbxt/OJeiiP6LNFV3Nqhstx1cLD43JW2xMzmaN3KZj3CVYuG5J0gIA/out-0.png" ], "started_at": "2023-06-01T17:18:39.731151Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rhixoebxbvcjjjfyydrkacx6xy", "cancel": "https://api.replicate.com/v1/predictions/rhixoebxbvcjjjfyydrkacx6xy/cancel" }, "version": "8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed" }
Generated inUsing seed: 13153 0%| | 0/30 [00:00<?, ?it/s] 7%|▋ | 2/30 [00:00<00:01, 15.04it/s] 13%|█▎ | 4/30 [00:00<00:01, 14.25it/s] 20%|██ | 6/30 [00:00<00:01, 14.70it/s] 27%|██▋ | 8/30 [00:00<00:01, 15.42it/s] 33%|███▎ | 10/30 [00:00<00:01, 15.83it/s] 40%|████ | 12/30 [00:00<00:01, 15.69it/s] 47%|████▋ | 14/30 [00:00<00:01, 15.41it/s] 53%|█████▎ | 16/30 [00:01<00:00, 15.38it/s] 60%|██████ | 18/30 [00:01<00:00, 15.36it/s] 67%|██████▋ | 20/30 [00:01<00:00, 15.86it/s] 73%|███████▎ | 22/30 [00:01<00:00, 15.64it/s] 80%|████████ | 24/30 [00:01<00:00, 15.24it/s] 87%|████████▋ | 26/30 [00:01<00:00, 15.51it/s] 93%|█████████▎| 28/30 [00:01<00:00, 15.52it/s] 100%|██████████| 30/30 [00:01<00:00, 15.28it/s] 100%|██████████| 30/30 [00:01<00:00, 15.37it/s]
Prediction
mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488edIDljqqln7r6jejhlkk6h6xacn45aStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- width
- "512"
- height
- "768"
- prompt
- illustration, high resolution, 8k, 16k, high quality, realistic, real, ### Depict an open (messy) black brief case containing everyday work items for a business man, items all over the floor, phone, head phones, bedroom, crime scene, ## ambiant lighting, moody lighting, vibrant
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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
- num_inference_steps
- 30
{ "width": "512", "height": "768", "prompt": "illustration, high resolution, 8k, 16k, high quality, realistic, real, ### Depict an open (messy) black brief case containing everyday work items for a business man, items all over the floor, phone, head phones, bedroom, crime scene, ## ambiant lighting, moody lighting, vibrant", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "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/dreamshaper-v6 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", { input: { width: "512", height: "768", prompt: "illustration, high resolution, 8k, 16k, high quality, realistic, real, ### Depict an open (messy) black brief case containing everyday work items for a business man, items all over the floor, phone, head phones, bedroom, crime scene, ## ambiant lighting, moody lighting, vibrant", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", 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/dreamshaper-v6 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", input={ "width": "512", "height": "768", "prompt": "illustration, high resolution, 8k, 16k, high quality, realistic, real, ### Depict an open (messy) black brief case containing everyday work items for a business man, items all over the floor, phone, head phones, bedroom, crime scene, ## ambiant lighting, moody lighting, vibrant", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/dreamshaper-v6 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": "8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", "input": { "width": "512", "height": "768", "prompt": "illustration, high resolution, 8k, 16k, high quality, realistic, real, ### Depict an open (messy) black brief case containing everyday work items for a business man, items all over the floor, phone, head phones, bedroom, crime scene, ## ambiant lighting, moody lighting, vibrant", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "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-06-01T17:22:31.301158Z", "created_at": "2023-06-01T17:22:28.279697Z", "data_removed": false, "error": null, "id": "ljqqln7r6jejhlkk6h6xacn45a", "input": { "width": "512", "height": "768", "prompt": "illustration, high resolution, 8k, 16k, high quality, realistic, real, ### Depict an open (messy) black brief case containing everyday work items for a business man, items all over the floor, phone, head phones, bedroom, crime scene, ## ambiant lighting, moody lighting, vibrant", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "num_inference_steps": 30 }, "logs": "Using seed: 31927\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:01, 14.29it/s]\n 13%|█▎ | 4/30 [00:00<00:01, 15.48it/s]\n 20%|██ | 6/30 [00:00<00:01, 15.51it/s]\n 27%|██▋ | 8/30 [00:00<00:01, 15.55it/s]\n 33%|███▎ | 10/30 [00:00<00:01, 15.57it/s]\n 40%|████ | 12/30 [00:00<00:01, 15.71it/s]\n 47%|████▋ | 14/30 [00:00<00:01, 15.76it/s]\n 53%|█████▎ | 16/30 [00:01<00:00, 15.83it/s]\n 60%|██████ | 18/30 [00:01<00:00, 15.63it/s]\n 67%|██████▋ | 20/30 [00:01<00:00, 15.04it/s]\n 73%|███████▎ | 22/30 [00:01<00:00, 15.39it/s]\n 80%|████████ | 24/30 [00:01<00:00, 15.73it/s]\n 87%|████████▋ | 26/30 [00:01<00:00, 16.19it/s]\n 93%|█████████▎| 28/30 [00:01<00:00, 16.46it/s]\n100%|██████████| 30/30 [00:01<00:00, 15.84it/s]\n100%|██████████| 30/30 [00:01<00:00, 15.69it/s]", "metrics": { "predict_time": 3.081191, "total_time": 3.021461 }, "output": [ "https://replicate.delivery/pbxt/by5ffLwdy3hJgEgm0ffxPRZmEGQTPPhr9neJEO0TAhz16CNIC/out-0.png" ], "started_at": "2023-06-01T17:22:28.219967Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ljqqln7r6jejhlkk6h6xacn45a", "cancel": "https://api.replicate.com/v1/predictions/ljqqln7r6jejhlkk6h6xacn45a/cancel" }, "version": "8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed" }
Generated inUsing seed: 31927 0%| | 0/30 [00:00<?, ?it/s] 7%|▋ | 2/30 [00:00<00:01, 14.29it/s] 13%|█▎ | 4/30 [00:00<00:01, 15.48it/s] 20%|██ | 6/30 [00:00<00:01, 15.51it/s] 27%|██▋ | 8/30 [00:00<00:01, 15.55it/s] 33%|███▎ | 10/30 [00:00<00:01, 15.57it/s] 40%|████ | 12/30 [00:00<00:01, 15.71it/s] 47%|████▋ | 14/30 [00:00<00:01, 15.76it/s] 53%|█████▎ | 16/30 [00:01<00:00, 15.83it/s] 60%|██████ | 18/30 [00:01<00:00, 15.63it/s] 67%|██████▋ | 20/30 [00:01<00:00, 15.04it/s] 73%|███████▎ | 22/30 [00:01<00:00, 15.39it/s] 80%|████████ | 24/30 [00:01<00:00, 15.73it/s] 87%|████████▋ | 26/30 [00:01<00:00, 16.19it/s] 93%|█████████▎| 28/30 [00:01<00:00, 16.46it/s] 100%|██████████| 30/30 [00:01<00:00, 15.84it/s] 100%|██████████| 30/30 [00:01<00:00, 15.69it/s]
Prediction
mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488edIDadtym4aefvaknltst6qclygbkmStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- width
- 512
- height
- 768
- prompt
- 4K, Masterpiece, highres, absurdres, smiling,beautiful dark haired mod_woman, face focus , Haute_Couture,wearing a Haute_Couture designer dress, portrait, perfect mod_body
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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
- num_inference_steps
- 30
{ "width": 512, "height": 768, "prompt": "4K, Masterpiece, highres, absurdres, smiling,beautiful dark haired mod_woman, face focus , Haute_Couture,wearing a Haute_Couture designer dress, portrait, perfect mod_body", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "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/dreamshaper-v6 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", { input: { width: 512, height: 768, prompt: "4K, Masterpiece, highres, absurdres, smiling,beautiful dark haired mod_woman, face focus , Haute_Couture,wearing a Haute_Couture designer dress, portrait, perfect mod_body", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", 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/dreamshaper-v6 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/dreamshaper-v6:8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", input={ "width": 512, "height": 768, "prompt": "4K, Masterpiece, highres, absurdres, smiling,beautiful dark haired mod_woman, face focus , Haute_Couture,wearing a Haute_Couture designer dress, portrait, perfect mod_body", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/dreamshaper-v6 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": "8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed", "input": { "width": 512, "height": 768, "prompt": "4K, Masterpiece, highres, absurdres, smiling,beautiful dark haired mod_woman, face focus , Haute_Couture,wearing a Haute_Couture designer dress, portrait, perfect mod_body", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "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-06-01T17:25:11.467857Z", "created_at": "2023-06-01T17:25:08.119227Z", "data_removed": false, "error": null, "id": "adtym4aefvaknltst6qclygbkm", "input": { "width": 512, "height": 768, "prompt": "4K, Masterpiece, highres, absurdres, smiling,beautiful dark haired mod_woman, face focus , Haute_Couture,wearing a Haute_Couture designer dress, portrait, perfect mod_body", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, 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", "num_inference_steps": 30 }, "logs": "Using seed: 25024\n 0%| | 0/30 [00:00<?, ?it/s]\n 7%|▋ | 2/30 [00:00<00:02, 12.23it/s]\n 13%|█▎ | 4/30 [00:00<00:01, 13.12it/s]\n 20%|██ | 6/30 [00:00<00:01, 13.23it/s]\n 27%|██▋ | 8/30 [00:00<00:01, 13.36it/s]\n 33%|███▎ | 10/30 [00:00<00:01, 13.32it/s]\n 40%|████ | 12/30 [00:00<00:01, 13.48it/s]\n 47%|████▋ | 14/30 [00:01<00:01, 13.55it/s]\n 53%|█████▎ | 16/30 [00:01<00:01, 13.10it/s]\n 60%|██████ | 18/30 [00:01<00:00, 13.29it/s]\n 67%|██████▋ | 20/30 [00:01<00:00, 13.12it/s]\n 73%|███████▎ | 22/30 [00:01<00:00, 13.28it/s]\n 80%|████████ | 24/30 [00:01<00:00, 13.45it/s]\n 87%|████████▋ | 26/30 [00:01<00:00, 13.57it/s]\n 93%|█████████▎| 28/30 [00:02<00:00, 13.61it/s]\n100%|██████████| 30/30 [00:02<00:00, 13.12it/s]\n100%|██████████| 30/30 [00:02<00:00, 13.27it/s]", "metrics": { "predict_time": 3.423619, "total_time": 3.34863 }, "output": [ "https://replicate.delivery/pbxt/aNZyGOOmZcoYLh1iz9v2DsLEiEMcNA04jafyaUqIpOV7M0gIA/out-0.png" ], "started_at": "2023-06-01T17:25:08.044238Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/adtym4aefvaknltst6qclygbkm", "cancel": "https://api.replicate.com/v1/predictions/adtym4aefvaknltst6qclygbkm/cancel" }, "version": "8b0deb0306a54dec7c6e5c955b83320f5d8b7fc659769667e0e71e56d0f488ed" }
Generated inUsing seed: 25024 0%| | 0/30 [00:00<?, ?it/s] 7%|▋ | 2/30 [00:00<00:02, 12.23it/s] 13%|█▎ | 4/30 [00:00<00:01, 13.12it/s] 20%|██ | 6/30 [00:00<00:01, 13.23it/s] 27%|██▋ | 8/30 [00:00<00:01, 13.36it/s] 33%|███▎ | 10/30 [00:00<00:01, 13.32it/s] 40%|████ | 12/30 [00:00<00:01, 13.48it/s] 47%|████▋ | 14/30 [00:01<00:01, 13.55it/s] 53%|█████▎ | 16/30 [00:01<00:01, 13.10it/s] 60%|██████ | 18/30 [00:01<00:00, 13.29it/s] 67%|██████▋ | 20/30 [00:01<00:00, 13.12it/s] 73%|███████▎ | 22/30 [00:01<00:00, 13.28it/s] 80%|████████ | 24/30 [00:01<00:00, 13.45it/s] 87%|████████▋ | 26/30 [00:01<00:00, 13.57it/s] 93%|█████████▎| 28/30 [00:02<00:00, 13.61it/s] 100%|██████████| 30/30 [00:02<00:00, 13.12it/s] 100%|██████████| 30/30 [00:02<00:00, 13.27it/s]
Want to make some of these yourself?
Run this model