You're looking at a specific version of this model. Jump to the model overview.
lucataco /dreamshaper-xl-turbo:0a1710e0
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run lucataco/dreamshaper-xl-turbo 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-turbo:0a1710e0187b01a255302738ca0158ff02a22f4638679533e111082f9dd1b615",
{
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: "K_EULER",
num_outputs: 1,
guidance_scale: 2,
apply_watermark: true,
negative_prompt: "ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck",
num_inference_steps: 7
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run lucataco/dreamshaper-xl-turbo using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lucataco/dreamshaper-xl-turbo:0a1710e0187b01a255302738ca0158ff02a22f4638679533e111082f9dd1b615",
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": "K_EULER",
"num_outputs": 1,
"guidance_scale": 2,
"apply_watermark": True,
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck",
"num_inference_steps": 7
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/dreamshaper-xl-turbo 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": "0a1710e0187b01a255302738ca0158ff02a22f4638679533e111082f9dd1b615",
"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": "K_EULER",
"num_outputs": 1,
"guidance_scale": 2,
"apply_watermark": true,
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck",
"num_inference_steps": 7
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/lucataco/dreamshaper-xl-turbo@sha256:0a1710e0187b01a255302738ca0158ff02a22f4638679533e111082f9dd1b615 \
-i 'width=1024' \
-i 'height=1024' \
-i $'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"' \
-i 'scheduler="K_EULER"' \
-i 'num_outputs=1' \
-i 'guidance_scale=2' \
-i 'apply_watermark=true' \
-i 'negative_prompt="ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck"' \
-i 'num_inference_steps=7'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/lucataco/dreamshaper-xl-turbo@sha256:0a1710e0187b01a255302738ca0158ff02a22f4638679533e111082f9dd1b615
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "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": "K_EULER", "num_outputs": 1, "guidance_scale": 2, "apply_watermark": true, "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck", "num_inference_steps": 7 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
Each run costs approximately $0.0055. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2023-12-19T23:38:31.446401Z",
"created_at": "2023-12-19T23:36:26.038639Z",
"data_removed": false,
"error": null,
"id": "keapd7lbiiix7ausubm22o2sbm",
"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": "K_EULER",
"num_outputs": 1,
"guidance_scale": 2,
"apply_watermark": true,
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck",
"num_inference_steps": 7
},
"logs": "Using seed: 6260703\nToken indices sequence length is longer than the specified maximum sequence length for this model (152 > 77). Running this sequence through the model will result in indexing errors\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\"]\nToken indices sequence length is longer than the specified maximum sequence length for this model (152 > 77). Running this sequence through the model will result in indexing errors\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/7 [00:00<?, ?it/s]\n 14%|█▍ | 1/7 [00:00<00:01, 3.23it/s]\n 29%|██▊ | 2/7 [00:00<00:01, 4.09it/s]\n 43%|████▎ | 3/7 [00:00<00:00, 4.46it/s]\n 57%|█████▋ | 4/7 [00:00<00:00, 4.65it/s]\n 71%|███████▏ | 5/7 [00:01<00:00, 4.77it/s]\n 86%|████████▌ | 6/7 [00:01<00:00, 4.83it/s]\n100%|██████████| 7/7 [00:01<00:00, 4.88it/s]\n100%|██████████| 7/7 [00:01<00:00, 4.63it/s]",
"metrics": {
"predict_time": 3.762999,
"total_time": 125.407762
},
"output": [
"https://replicate.delivery/pbxt/VHFfxS2zJYVMVy4Itjzw4ChNdQtEah9wkcUvyPDcPud72eDSA/out-0.png"
],
"started_at": "2023-12-19T23:38:27.683402Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/keapd7lbiiix7ausubm22o2sbm",
"cancel": "https://api.replicate.com/v1/predictions/keapd7lbiiix7ausubm22o2sbm/cancel"
},
"version": "0a1710e0187b01a255302738ca0158ff02a22f4638679533e111082f9dd1b615"
}
Using seed: 6260703
Token indices sequence length is longer than the specified maximum sequence length for this model (152 > 77). Running this sequence through the model will result in indexing errors
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"]
Token indices sequence length is longer than the specified maximum sequence length for this model (152 > 77). Running this sequence through the model will result in indexing errors
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/7 [00:00<?, ?it/s]
14%|█▍ | 1/7 [00:00<00:01, 3.23it/s]
29%|██▊ | 2/7 [00:00<00:01, 4.09it/s]
43%|████▎ | 3/7 [00:00<00:00, 4.46it/s]
57%|█████▋ | 4/7 [00:00<00:00, 4.65it/s]
71%|███████▏ | 5/7 [00:01<00:00, 4.77it/s]
86%|████████▌ | 6/7 [00:01<00:00, 4.83it/s]
100%|██████████| 7/7 [00:01<00:00, 4.88it/s]
100%|██████████| 7/7 [00:01<00:00, 4.63it/s]