lucataco / dreamshaper-xl-lightning
dreamshaper-xl-lightning is a Stable Diffusion model that has been fine-tuned on SDXL
Prediction
lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96IDix5eyotb5wex3ustybtxfrc5eeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 3772605507
- width
- 1024
- height
- 1024
- prompt
- portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 2
- apply_watermark
- negative_prompt
- ugly, blurry
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "seed": 3772605507, "width": 1024, "height": 1024, "prompt": "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", { input: { seed: 3772605507, width: 1024, height: 1024, prompt: "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 2, apply_watermark: true, negative_prompt: "ugly, blurry", prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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 lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", input={ "seed": 3772605507, "width": 1024, "height": 1024, "prompt": "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": True, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/dreamshaper-xl-lightning 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": "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", "input": { "seed": 3772605507, "width": 1024, "height": 1024, "prompt": "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-02-27T03:47:36.160291Z", "created_at": "2024-02-27T03:46:53.171626Z", "data_removed": false, "error": null, "id": "ix5eyotb5wex3ustybtxfrc5ee", "input": { "seed": 3772605507, "width": 1024, "height": 1024, "prompt": "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 3772605507\nPrompt: portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 3.15it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 5.23it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.14it/s]\n100%|██████████| 4/4 [00:00<00:00, 4.93it/s]", "metrics": { "predict_time": 3.516104, "total_time": 42.988665 }, "output": [ "https://replicate.delivery/pbxt/7CfEYMY3wPz1CCz7dqMK5dCSLRbZzi7uSkapBkj6Q5XraYNJA/out-0.png" ], "started_at": "2024-02-27T03:47:32.644187Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ix5eyotb5wex3ustybtxfrc5ee", "cancel": "https://api.replicate.com/v1/predictions/ix5eyotb5wex3ustybtxfrc5ee/cancel" }, "version": "9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96" }
Generated inUsing seed: 3772605507 Prompt: portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 3.15it/s] 75%|███████▌ | 3/4 [00:00<00:00, 5.23it/s] 100%|██████████| 4/4 [00:00<00:00, 5.14it/s] 100%|██████████| 4/4 [00:00<00:00, 4.93it/s]
Prediction
lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96IDh6covnlbhph2n5req72iap26eaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 2
- apply_watermark
- negative_prompt
- ugly, blurry
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", { input: { width: 1024, height: 1024, prompt: "In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 2, apply_watermark: true, negative_prompt: "ugly, blurry", prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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 lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", input={ "width": 1024, "height": 1024, "prompt": "In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": True, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/dreamshaper-xl-lightning 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": "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", "input": { "width": 1024, "height": 1024, "prompt": "In Casey Baugh\'s evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh\'s brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh\'s distinctive style captures the essence of the girl\'s enigmatic nature, inviting viewers to explore the depths of her soul, award winning art", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-02-27T04:02:27.564311Z", "created_at": "2024-02-27T04:02:24.394696Z", "data_removed": false, "error": null, "id": "h6covnlbhph2n5req72iap26ea", "input": { "width": 1024, "height": 1024, "prompt": "In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 626614234\nPrompt: In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art\ntxt2img mode\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [\"1. 2 ), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art\"]\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [\"1. 2 ), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art\"]\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 4.98it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 6.16it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.67it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.70it/s]", "metrics": { "predict_time": 3.115781, "total_time": 3.169615 }, "output": [ "https://replicate.delivery/pbxt/lEeIZ3Xum0zKHKBaBjZIXvG67Otfn3J6EGYamrPBtxzSDxaSA/out-0.png" ], "started_at": "2024-02-27T04:02:24.448530Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/h6covnlbhph2n5req72iap26ea", "cancel": "https://api.replicate.com/v1/predictions/h6covnlbhph2n5req72iap26ea/cancel" }, "version": "9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96" }
Generated inUsing seed: 626614234 Prompt: In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art txt2img mode The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ["1. 2 ), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art"] The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ["1. 2 ), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art"] 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 4.98it/s] 75%|███████▌ | 3/4 [00:00<00:00, 6.16it/s] 100%|██████████| 4/4 [00:00<00:00, 5.67it/s] 100%|██████████| 4/4 [00:00<00:00, 5.70it/s]
Prediction
lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96IDxutt4ydboxaows6mnpqiepbaeaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting.
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 2
- apply_watermark
- negative_prompt
- ugly, blurry
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting.", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", { input: { width: 1024, height: 1024, prompt: "photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting.", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 2, apply_watermark: true, negative_prompt: "ugly, blurry", prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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 lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", input={ "width": 1024, "height": 1024, "prompt": "photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting.", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": True, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/dreamshaper-xl-lightning 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": "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", "input": { "width": 1024, "height": 1024, "prompt": "photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting.", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-02-27T04:02:55.808879Z", "created_at": "2024-02-27T04:02:52.550969Z", "data_removed": false, "error": null, "id": "xutt4ydboxaows6mnpqiepbaea", "input": { "width": 1024, "height": 1024, "prompt": "photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting.", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 1614843800\nPrompt: photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting.\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 4.99it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 6.15it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.67it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.70it/s]", "metrics": { "predict_time": 3.195023, "total_time": 3.25791 }, "output": [ "https://replicate.delivery/pbxt/rm87qpvmRlb3Fp1zIGPBnRAH7AC3hFazbtOvSYzXGPp7QsmE/out-0.png" ], "started_at": "2024-02-27T04:02:52.613856Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xutt4ydboxaows6mnpqiepbaea", "cancel": "https://api.replicate.com/v1/predictions/xutt4ydboxaows6mnpqiepbaea/cancel" }, "version": "9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96" }
Generated inUsing seed: 1614843800 Prompt: photo of a Cat poised gracefully atop an ancient oak tree, autumn leaves fluttering around, golden hour casting long shadows, backlit, sharp focus on feline, bokeh effect on background foliage, digital painting. txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 4.99it/s] 75%|███████▌ | 3/4 [00:00<00:00, 6.15it/s] 100%|██████████| 4/4 [00:00<00:00, 5.67it/s] 100%|██████████| 4/4 [00:00<00:00, 5.70it/s]
Prediction
lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96IDciucuklbmogmmbzwm7vndtsjfuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 2
- apply_watermark
- negative_prompt
- ugly, blurry
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", { input: { width: 1024, height: 1024, prompt: "anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 2, apply_watermark: true, negative_prompt: "ugly, blurry", prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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 lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", input={ "width": 1024, "height": 1024, "prompt": "anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": True, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/dreamshaper-xl-lightning 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": "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", "input": { "width": 1024, "height": 1024, "prompt": "anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-02-27T04:03:15.174815Z", "created_at": "2024-02-27T04:03:12.030422Z", "data_removed": false, "error": null, "id": "ciucuklbmogmmbzwm7vndtsjfu", "input": { "width": 1024, "height": 1024, "prompt": "anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 3523418905\nPrompt: anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 4.98it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 6.15it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.69it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.71it/s]", "metrics": { "predict_time": 3.100792, "total_time": 3.144393 }, "output": [ "https://replicate.delivery/pbxt/f7JXlr3PW6QqPyKyr65i6VD5beAqgQc4xzqSAUbweFbDIi1kA/out-0.png" ], "started_at": "2024-02-27T04:03:12.074023Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ciucuklbmogmmbzwm7vndtsjfu", "cancel": "https://api.replicate.com/v1/predictions/ciucuklbmogmmbzwm7vndtsjfu/cancel" }, "version": "9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96" }
Generated inUsing seed: 3523418905 Prompt: anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 4.98it/s] 75%|███████▌ | 3/4 [00:00<00:00, 6.15it/s] 100%|██████████| 4/4 [00:00<00:00, 5.69it/s] 100%|██████████| 4/4 [00:00<00:00, 5.71it/s]
Prediction
lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96IDkt3ynr3bbz4islq3qzpk4mqzf4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 2
- apply_watermark
- negative_prompt
- ugly, blurry
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", { input: { width: 1024, height: 1024, prompt: "no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 2, apply_watermark: true, negative_prompt: "ugly, blurry", prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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 lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", input={ "width": 1024, "height": 1024, "prompt": "no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": True, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/dreamshaper-xl-lightning 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": "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", "input": { "width": 1024, "height": 1024, "prompt": "no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-02-27T04:03:49.274414Z", "created_at": "2024-02-27T04:03:46.047779Z", "data_removed": false, "error": null, "id": "kt3ynr3bbz4islq3qzpk4mqzf4", "input": { "width": 1024, "height": 1024, "prompt": "no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 1780390659\nPrompt: no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 4.95it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 6.12it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.64it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.67it/s]", "metrics": { "predict_time": 3.184539, "total_time": 3.226635 }, "output": [ "https://replicate.delivery/pbxt/C1rSMB5hF9qxJJIHWHUV4guzFbYTLRlqidZdTlj6f4fjExaSA/out-0.png" ], "started_at": "2024-02-27T04:03:46.089875Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/kt3ynr3bbz4islq3qzpk4mqzf4", "cancel": "https://api.replicate.com/v1/predictions/kt3ynr3bbz4islq3qzpk4mqzf4/cancel" }, "version": "9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96" }
Generated inUsing seed: 1780390659 Prompt: no humans, landscape, oil on matte canvas, sharp details, the expanse scifi spacescape ceres colony, intricate, highly detailed, digital painting, rich color, smooth, sharp focus, illustration, Unreal Engine 5, 8K, art by artgerm and greg rutkowski and alphonse mucha txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 4.95it/s] 75%|███████▌ | 3/4 [00:00<00:00, 6.12it/s] 100%|██████████| 4/4 [00:00<00:00, 5.64it/s] 100%|██████████| 4/4 [00:00<00:00, 5.67it/s]
Prediction
lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96IDje4a743bxmnnfe4z6yi542bl6eStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 2
- apply_watermark
- negative_prompt
- ugly, blurry
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", { input: { width: 1024, height: 1024, prompt: "Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 2, apply_watermark: true, negative_prompt: "ugly, blurry", prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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 lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", input={ "width": 1024, "height": 1024, "prompt": "Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": True, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/dreamshaper-xl-lightning 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": "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", "input": { "width": 1024, "height": 1024, "prompt": "Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-02-27T04:04:04.218608Z", "created_at": "2024-02-27T04:04:00.998345Z", "data_removed": false, "error": null, "id": "je4a743bxmnnfe4z6yi542bl6e", "input": { "width": 1024, "height": 1024, "prompt": "Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 3273875218\nPrompt: Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 4.95it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 6.12it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.65it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.68it/s]", "metrics": { "predict_time": 3.181101, "total_time": 3.220263 }, "output": [ "https://replicate.delivery/pbxt/QuV7HOsETsZ2IBUv3OtdhMdrX2dHiMeeE9xBfc6JZrSkJi1kA/out-0.png" ], "started_at": "2024-02-27T04:04:01.037507Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/je4a743bxmnnfe4z6yi542bl6e", "cancel": "https://api.replicate.com/v1/predictions/je4a743bxmnnfe4z6yi542bl6e/cancel" }, "version": "9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96" }
Generated inUsing seed: 3273875218 Prompt: Photography, full body of real life pikachu portrait, symmetrical, highly detailed, smooth, sharp focus, cinematic lighting, kkw-ph1 txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 4.95it/s] 75%|███████▌ | 3/4 [00:00<00:00, 6.12it/s] 100%|██████████| 4/4 [00:00<00:00, 5.65it/s] 100%|██████████| 4/4 [00:00<00:00, 5.68it/s]
Prediction
lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96IDqmkuvb3btsnqkhrzqdkld6jcjeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 1024
- prompt
- ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 2
- apply_watermark
- negative_prompt
- ugly, blurry
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "width": 1024, "height": 1024, "prompt": "ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", { input: { width: 1024, height: 1024, prompt: "ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 2, apply_watermark: true, negative_prompt: "ugly, blurry", prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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 lucataco/dreamshaper-xl-lightning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", input={ "width": 1024, "height": 1024, "prompt": "ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": True, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/dreamshaper-xl-lightning 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": "lucataco/dreamshaper-xl-lightning:9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96", "input": { "width": 1024, "height": 1024, "prompt": "ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-02-27T04:04:51.217199Z", "created_at": "2024-02-27T04:04:47.998350Z", "data_removed": false, "error": null, "id": "qmkuvb3btsnqkhrzqdkld6jcje", "input": { "width": 1024, "height": 1024, "prompt": "ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, blurry", "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 2290072650\nPrompt: ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam\ntxt2img mode\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 5.06it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 6.24it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.76it/s]\n100%|██████████| 4/4 [00:00<00:00, 5.79it/s]", "metrics": { "predict_time": 3.170209, "total_time": 3.218849 }, "output": [ "https://replicate.delivery/pbxt/ybfYkW2O121RdClohWQvCGW26oVpnrxdPU0Rs9eBLsVhFxaSA/out-0.png" ], "started_at": "2024-02-27T04:04:48.046990Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qmkuvb3btsnqkhrzqdkld6jcje", "cancel": "https://api.replicate.com/v1/predictions/qmkuvb3btsnqkhrzqdkld6jcje/cancel" }, "version": "9ebea41ac69a3256f71d8b4f80efe6f0dc719f8be70888d6b481e06258a2ee96" }
Generated inUsing seed: 2290072650 Prompt: ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam txt2img mode 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 5.06it/s] 75%|███████▌ | 3/4 [00:00<00:00, 6.24it/s] 100%|██████████| 4/4 [00:00<00:00, 5.76it/s] 100%|██████████| 4/4 [00:00<00:00, 5.79it/s]
Want to make some of these yourself?
Run this model