Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
jbilcke /sdxl-cyberpunk-2077:6e967109
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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run jbilcke/sdxl-cyberpunk-2077 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"jbilcke/sdxl-cyberpunk-2077:6e967109e2e554d5cd6a61891258e20eef7e68a1491ac8cd1328e19704e4b294",
{
input: {
width: 1024,
height: 576,
prompt: "woman driving a motorbike, plastic raincoat, cyborg, raining, night city, futuristic, medium-shot, in the style of TOK, crisp, sharp",
refine: "expert_ensemble_refiner",
scheduler: "K_EULER",
lora_scale: 0.9,
num_outputs: 1,
guidance_scale: 8.99,
apply_watermark: true,
high_noise_frac: 0.8,
negative_prompt: "cropped, low quality, lowres, deformed",
prompt_strength: 0.85,
num_inference_steps: 90
}
}
);
// 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.
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 jbilcke/sdxl-cyberpunk-2077 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"jbilcke/sdxl-cyberpunk-2077:6e967109e2e554d5cd6a61891258e20eef7e68a1491ac8cd1328e19704e4b294",
input={
"width": 1024,
"height": 576,
"prompt": "woman driving a motorbike, plastic raincoat, cyborg, raining, night city, futuristic, medium-shot, in the style of TOK, crisp, sharp",
"refine": "expert_ensemble_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.9,
"num_outputs": 1,
"guidance_scale": 8.99,
"apply_watermark": True,
"high_noise_frac": 0.8,
"negative_prompt": "cropped, low quality, lowres, deformed",
"prompt_strength": 0.85,
"num_inference_steps": 90
}
)
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 jbilcke/sdxl-cyberpunk-2077 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": "jbilcke/sdxl-cyberpunk-2077:6e967109e2e554d5cd6a61891258e20eef7e68a1491ac8cd1328e19704e4b294",
"input": {
"width": 1024,
"height": 576,
"prompt": "woman driving a motorbike, plastic raincoat, cyborg, raining, night city, futuristic, medium-shot, in the style of TOK, crisp, sharp",
"refine": "expert_ensemble_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.9,
"num_outputs": 1,
"guidance_scale": 8.99,
"apply_watermark": true,
"high_noise_frac": 0.8,
"negative_prompt": "cropped, low quality, lowres, deformed",
"prompt_strength": 0.85,
"num_inference_steps": 90
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2023-10-22T10:11:34.387318Z",
"created_at": "2023-10-22T10:11:18.153896Z",
"data_removed": false,
"error": null,
"id": "kgdnqwdbhfg2gzvieef5runfpu",
"input": {
"width": 1024,
"height": 576,
"prompt": "woman driving a motorbike, plastic raincoat, cyborg, raining, night city, futuristic, medium-shot, in the style of TOK, crisp, sharp",
"refine": "expert_ensemble_refiner",
"scheduler": "K_EULER",
"lora_scale": 0.9,
"num_outputs": 1,
"guidance_scale": 8.99,
"apply_watermark": true,
"high_noise_frac": 0.8,
"negative_prompt": "cropped, low quality, lowres, deformed",
"prompt_strength": 0.85,
"num_inference_steps": 90
},
"logs": "Using seed: 46646\nPrompt: woman driving a motorbike, plastic raincoat, cyborg, raining, night city, futuristic, medium-shot, in the style of <s0><s1>, crisp, sharp\ntxt2img mode\n 0%| | 0/71 [00:00<?, ?it/s]\n 1%|▏ | 1/71 [00:00<00:11, 5.96it/s]\n 3%|▎ | 2/71 [00:00<00:11, 5.94it/s]\n 4%|▍ | 3/71 [00:00<00:11, 5.93it/s]\n 6%|▌ | 4/71 [00:00<00:11, 5.93it/s]\n 7%|▋ | 5/71 [00:00<00:11, 5.93it/s]\n 8%|▊ | 6/71 [00:01<00:10, 5.93it/s]\n 10%|▉ | 7/71 [00:01<00:10, 5.93it/s]\n 11%|█▏ | 8/71 [00:01<00:10, 5.93it/s]\n 13%|█▎ | 9/71 [00:01<00:10, 5.93it/s]\n 14%|█▍ | 10/71 [00:01<00:10, 5.93it/s]\n 15%|█▌ | 11/71 [00:01<00:10, 5.92it/s]\n 17%|█▋ | 12/71 [00:02<00:09, 5.93it/s]\n 18%|█▊ | 13/71 [00:02<00:09, 5.93it/s]\n 20%|█▉ | 14/71 [00:02<00:09, 5.93it/s]\n 21%|██ | 15/71 [00:02<00:09, 5.93it/s]\n 23%|██▎ | 16/71 [00:02<00:09, 5.92it/s]\n 24%|██▍ | 17/71 [00:02<00:09, 5.92it/s]\n 25%|██▌ | 18/71 [00:03<00:08, 5.92it/s]\n 27%|██▋ | 19/71 [00:03<00:08, 5.92it/s]\n 28%|██▊ | 20/71 [00:03<00:08, 5.92it/s]\n 30%|██▉ | 21/71 [00:03<00:08, 5.92it/s]\n 31%|███ | 22/71 [00:03<00:08, 5.92it/s]\n 32%|███▏ | 23/71 [00:03<00:08, 5.92it/s]\n 34%|███▍ | 24/71 [00:04<00:07, 5.92it/s]\n 35%|███▌ | 25/71 [00:04<00:07, 5.91it/s]\n 37%|███▋ | 26/71 [00:04<00:07, 5.92it/s]\n 38%|███▊ | 27/71 [00:04<00:07, 5.91it/s]\n 39%|███▉ | 28/71 [00:04<00:07, 5.92it/s]\n 41%|████ | 29/71 [00:04<00:07, 5.91it/s]\n 42%|████▏ | 30/71 [00:05<00:06, 5.91it/s]\n 44%|████▎ | 31/71 [00:05<00:06, 5.92it/s]\n 45%|████▌ | 32/71 [00:05<00:06, 5.92it/s]\n 46%|████▋ | 33/71 [00:05<00:06, 5.92it/s]\n 48%|████▊ | 34/71 [00:05<00:06, 5.92it/s]\n 49%|████▉ | 35/71 [00:05<00:06, 5.92it/s]\n 51%|█████ | 36/71 [00:06<00:05, 5.91it/s]\n 52%|█████▏ | 37/71 [00:06<00:05, 5.92it/s]\n 54%|█████▎ | 38/71 [00:06<00:05, 5.91it/s]\n 55%|█████▍ | 39/71 [00:06<00:05, 5.92it/s]\n 56%|█████▋ | 40/71 [00:06<00:05, 5.92it/s]\n 58%|█████▊ | 41/71 [00:06<00:05, 5.92it/s]\n 59%|█████▉ | 42/71 [00:07<00:04, 5.91it/s]\n 61%|██████ | 43/71 [00:07<00:04, 5.92it/s]\n 62%|██████▏ | 44/71 [00:07<00:04, 5.92it/s]\n 63%|██████▎ | 45/71 [00:07<00:04, 5.91it/s]\n 65%|██████▍ | 46/71 [00:07<00:04, 5.91it/s]\n 66%|██████▌ | 47/71 [00:07<00:04, 5.91it/s]\n 68%|██████▊ | 48/71 [00:08<00:03, 5.91it/s]\n 69%|██████▉ | 49/71 [00:08<00:03, 5.91it/s]\n 70%|███████ | 50/71 [00:08<00:03, 5.92it/s]\n 72%|███████▏ | 51/71 [00:08<00:03, 5.92it/s]\n 73%|███████▎ | 52/71 [00:08<00:03, 5.91it/s]\n 75%|███████▍ | 53/71 [00:08<00:03, 5.91it/s]\n 76%|███████▌ | 54/71 [00:09<00:02, 5.91it/s]\n 77%|███████▋ | 55/71 [00:09<00:02, 5.92it/s]\n 79%|███████▉ | 56/71 [00:09<00:02, 5.92it/s]\n 80%|████████ | 57/71 [00:09<00:02, 5.92it/s]\n 82%|████████▏ | 58/71 [00:09<00:02, 5.91it/s]\n 83%|████████▎ | 59/71 [00:09<00:02, 5.91it/s]\n 85%|████████▍ | 60/71 [00:10<00:01, 5.90it/s]\n 86%|████████▌ | 61/71 [00:10<00:01, 5.91it/s]\n 87%|████████▋ | 62/71 [00:10<00:01, 5.91it/s]\n 89%|████████▊ | 63/71 [00:10<00:01, 5.91it/s]\n 90%|█████████ | 64/71 [00:10<00:01, 5.91it/s]\n 92%|█████████▏| 65/71 [00:10<00:01, 5.90it/s]\n 93%|█████████▎| 66/71 [00:11<00:00, 5.90it/s]\n 94%|█████████▍| 67/71 [00:11<00:00, 5.90it/s]\n 96%|█████████▌| 68/71 [00:11<00:00, 5.90it/s]\n 97%|█████████▋| 69/71 [00:11<00:00, 5.91it/s]\n 99%|█████████▊| 70/71 [00:11<00:00, 5.90it/s]\n100%|██████████| 71/71 [00:12<00:00, 5.90it/s]\n100%|██████████| 71/71 [00:12<00:00, 5.92it/s]\n 0%| | 0/19 [00:00<?, ?it/s]\n 5%|▌ | 1/19 [00:00<00:02, 7.51it/s]\n 11%|█ | 2/19 [00:00<00:02, 7.44it/s]\n 16%|█▌ | 3/19 [00:00<00:02, 7.42it/s]\n 21%|██ | 4/19 [00:00<00:02, 7.41it/s]\n 26%|██▋ | 5/19 [00:00<00:01, 7.39it/s]\n 32%|███▏ | 6/19 [00:00<00:01, 7.40it/s]\n 37%|███▋ | 7/19 [00:00<00:01, 7.38it/s]\n 42%|████▏ | 8/19 [00:01<00:01, 7.36it/s]\n 47%|████▋ | 9/19 [00:01<00:01, 7.35it/s]\n 53%|█████▎ | 10/19 [00:01<00:01, 7.36it/s]\n 58%|█████▊ | 11/19 [00:01<00:01, 7.38it/s]\n 63%|██████▎ | 12/19 [00:01<00:00, 7.39it/s]\n 68%|██████▊ | 13/19 [00:01<00:00, 7.39it/s]\n 74%|███████▎ | 14/19 [00:01<00:00, 7.38it/s]\n 79%|███████▉ | 15/19 [00:02<00:00, 7.38it/s]\n 84%|████████▍ | 16/19 [00:02<00:00, 7.38it/s]\n 89%|████████▉ | 17/19 [00:02<00:00, 7.38it/s]\n 95%|█████████▍| 18/19 [00:02<00:00, 7.38it/s]\n100%|██████████| 19/19 [00:02<00:00, 7.38it/s]\n100%|██████████| 19/19 [00:02<00:00, 7.38it/s]",
"metrics": {
"predict_time": 16.307457,
"total_time": 16.233422
},
"output": [
"https://pbxt.replicate.delivery/Ppof7PEjRd10DiA3y6xFT4Q4Uk9ammua2rfpCiZa87BVdqwRA/out-0.png"
],
"started_at": "2023-10-22T10:11:18.079861Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/kgdnqwdbhfg2gzvieef5runfpu",
"cancel": "https://api.replicate.com/v1/predictions/kgdnqwdbhfg2gzvieef5runfpu/cancel"
},
"version": "6e967109e2e554d5cd6a61891258e20eef7e68a1491ac8cd1328e19704e4b294"
}
Using seed: 46646
Prompt: woman driving a motorbike, plastic raincoat, cyborg, raining, night city, futuristic, medium-shot, in the style of <s0><s1>, crisp, sharp
txt2img mode
0%| | 0/71 [00:00<?, ?it/s]
1%|▏ | 1/71 [00:00<00:11, 5.96it/s]
3%|▎ | 2/71 [00:00<00:11, 5.94it/s]
4%|▍ | 3/71 [00:00<00:11, 5.93it/s]
6%|▌ | 4/71 [00:00<00:11, 5.93it/s]
7%|▋ | 5/71 [00:00<00:11, 5.93it/s]
8%|▊ | 6/71 [00:01<00:10, 5.93it/s]
10%|▉ | 7/71 [00:01<00:10, 5.93it/s]
11%|█▏ | 8/71 [00:01<00:10, 5.93it/s]
13%|█▎ | 9/71 [00:01<00:10, 5.93it/s]
14%|█▍ | 10/71 [00:01<00:10, 5.93it/s]
15%|█▌ | 11/71 [00:01<00:10, 5.92it/s]
17%|█▋ | 12/71 [00:02<00:09, 5.93it/s]
18%|█▊ | 13/71 [00:02<00:09, 5.93it/s]
20%|█▉ | 14/71 [00:02<00:09, 5.93it/s]
21%|██ | 15/71 [00:02<00:09, 5.93it/s]
23%|██▎ | 16/71 [00:02<00:09, 5.92it/s]
24%|██▍ | 17/71 [00:02<00:09, 5.92it/s]
25%|██▌ | 18/71 [00:03<00:08, 5.92it/s]
27%|██▋ | 19/71 [00:03<00:08, 5.92it/s]
28%|██▊ | 20/71 [00:03<00:08, 5.92it/s]
30%|██▉ | 21/71 [00:03<00:08, 5.92it/s]
31%|███ | 22/71 [00:03<00:08, 5.92it/s]
32%|███▏ | 23/71 [00:03<00:08, 5.92it/s]
34%|███▍ | 24/71 [00:04<00:07, 5.92it/s]
35%|███▌ | 25/71 [00:04<00:07, 5.91it/s]
37%|███▋ | 26/71 [00:04<00:07, 5.92it/s]
38%|███▊ | 27/71 [00:04<00:07, 5.91it/s]
39%|███▉ | 28/71 [00:04<00:07, 5.92it/s]
41%|████ | 29/71 [00:04<00:07, 5.91it/s]
42%|████▏ | 30/71 [00:05<00:06, 5.91it/s]
44%|████▎ | 31/71 [00:05<00:06, 5.92it/s]
45%|████▌ | 32/71 [00:05<00:06, 5.92it/s]
46%|████▋ | 33/71 [00:05<00:06, 5.92it/s]
48%|████▊ | 34/71 [00:05<00:06, 5.92it/s]
49%|████▉ | 35/71 [00:05<00:06, 5.92it/s]
51%|█████ | 36/71 [00:06<00:05, 5.91it/s]
52%|█████▏ | 37/71 [00:06<00:05, 5.92it/s]
54%|█████▎ | 38/71 [00:06<00:05, 5.91it/s]
55%|█████▍ | 39/71 [00:06<00:05, 5.92it/s]
56%|█████▋ | 40/71 [00:06<00:05, 5.92it/s]
58%|█████▊ | 41/71 [00:06<00:05, 5.92it/s]
59%|█████▉ | 42/71 [00:07<00:04, 5.91it/s]
61%|██████ | 43/71 [00:07<00:04, 5.92it/s]
62%|██████▏ | 44/71 [00:07<00:04, 5.92it/s]
63%|██████▎ | 45/71 [00:07<00:04, 5.91it/s]
65%|██████▍ | 46/71 [00:07<00:04, 5.91it/s]
66%|██████▌ | 47/71 [00:07<00:04, 5.91it/s]
68%|██████▊ | 48/71 [00:08<00:03, 5.91it/s]
69%|██████▉ | 49/71 [00:08<00:03, 5.91it/s]
70%|███████ | 50/71 [00:08<00:03, 5.92it/s]
72%|███████▏ | 51/71 [00:08<00:03, 5.92it/s]
73%|███████▎ | 52/71 [00:08<00:03, 5.91it/s]
75%|███████▍ | 53/71 [00:08<00:03, 5.91it/s]
76%|███████▌ | 54/71 [00:09<00:02, 5.91it/s]
77%|███████▋ | 55/71 [00:09<00:02, 5.92it/s]
79%|███████▉ | 56/71 [00:09<00:02, 5.92it/s]
80%|████████ | 57/71 [00:09<00:02, 5.92it/s]
82%|████████▏ | 58/71 [00:09<00:02, 5.91it/s]
83%|████████▎ | 59/71 [00:09<00:02, 5.91it/s]
85%|████████▍ | 60/71 [00:10<00:01, 5.90it/s]
86%|████████▌ | 61/71 [00:10<00:01, 5.91it/s]
87%|████████▋ | 62/71 [00:10<00:01, 5.91it/s]
89%|████████▊ | 63/71 [00:10<00:01, 5.91it/s]
90%|█████████ | 64/71 [00:10<00:01, 5.91it/s]
92%|█████████▏| 65/71 [00:10<00:01, 5.90it/s]
93%|█████████▎| 66/71 [00:11<00:00, 5.90it/s]
94%|█████████▍| 67/71 [00:11<00:00, 5.90it/s]
96%|█████████▌| 68/71 [00:11<00:00, 5.90it/s]
97%|█████████▋| 69/71 [00:11<00:00, 5.91it/s]
99%|█████████▊| 70/71 [00:11<00:00, 5.90it/s]
100%|██████████| 71/71 [00:12<00:00, 5.90it/s]
100%|██████████| 71/71 [00:12<00:00, 5.92it/s]
0%| | 0/19 [00:00<?, ?it/s]
5%|▌ | 1/19 [00:00<00:02, 7.51it/s]
11%|█ | 2/19 [00:00<00:02, 7.44it/s]
16%|█▌ | 3/19 [00:00<00:02, 7.42it/s]
21%|██ | 4/19 [00:00<00:02, 7.41it/s]
26%|██▋ | 5/19 [00:00<00:01, 7.39it/s]
32%|███▏ | 6/19 [00:00<00:01, 7.40it/s]
37%|███▋ | 7/19 [00:00<00:01, 7.38it/s]
42%|████▏ | 8/19 [00:01<00:01, 7.36it/s]
47%|████▋ | 9/19 [00:01<00:01, 7.35it/s]
53%|█████▎ | 10/19 [00:01<00:01, 7.36it/s]
58%|█████▊ | 11/19 [00:01<00:01, 7.38it/s]
63%|██████▎ | 12/19 [00:01<00:00, 7.39it/s]
68%|██████▊ | 13/19 [00:01<00:00, 7.39it/s]
74%|███████▎ | 14/19 [00:01<00:00, 7.38it/s]
79%|███████▉ | 15/19 [00:02<00:00, 7.38it/s]
84%|████████▍ | 16/19 [00:02<00:00, 7.38it/s]
89%|████████▉ | 17/19 [00:02<00:00, 7.38it/s]
95%|█████████▍| 18/19 [00:02<00:00, 7.38it/s]
100%|██████████| 19/19 [00:02<00:00, 7.38it/s]
100%|██████████| 19/19 [00:02<00:00, 7.38it/s]