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: "young woman walking past a racing car, futuristic gas station, robot dog, raining, night city, futuristic, palm trees, 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: 110
}
}
);
// 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": "young woman walking past a racing car, futuristic gas station, robot dog, raining, night city, futuristic, palm trees, 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": 110
}
)
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": "young woman walking past a racing car, futuristic gas station, robot dog, raining, night city, futuristic, palm trees, 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": 110
}
}' \
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:21:07.150230Z",
"created_at": "2023-10-22T10:20:47.691620Z",
"data_removed": false,
"error": null,
"id": "te5wei3bazrql7orc6qfh7n4ze",
"input": {
"width": 1024,
"height": 576,
"prompt": "young woman walking past a racing car, futuristic gas station, robot dog, raining, night city, futuristic, palm trees, 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": 110
},
"logs": "Using seed: 31662\nPrompt: young woman walking past a racing car, futuristic gas station, robot dog, raining, night city, futuristic, palm trees, medium-shot, in the style of <s0><s1>, crisp, sharp\ntxt2img mode\n 0%| | 0/87 [00:00<?, ?it/s]\n 1%| | 1/87 [00:00<00:14, 5.97it/s]\n 2%|▏ | 2/87 [00:00<00:14, 5.95it/s]\n 3%|▎ | 3/87 [00:00<00:14, 5.94it/s]\n 5%|▍ | 4/87 [00:00<00:13, 5.94it/s]\n 6%|▌ | 5/87 [00:00<00:13, 5.93it/s]\n 7%|▋ | 6/87 [00:01<00:13, 5.93it/s]\n 8%|▊ | 7/87 [00:01<00:13, 5.92it/s]\n 9%|▉ | 8/87 [00:01<00:13, 5.93it/s]\n 10%|█ | 9/87 [00:01<00:13, 5.93it/s]\n 11%|█▏ | 10/87 [00:01<00:13, 5.92it/s]\n 13%|█▎ | 11/87 [00:01<00:12, 5.92it/s]\n 14%|█▍ | 12/87 [00:02<00:12, 5.92it/s]\n 15%|█▍ | 13/87 [00:02<00:12, 5.92it/s]\n 16%|█▌ | 14/87 [00:02<00:12, 5.92it/s]\n 17%|█▋ | 15/87 [00:02<00:12, 5.93it/s]\n 18%|█▊ | 16/87 [00:02<00:11, 5.93it/s]\n 20%|█▉ | 17/87 [00:02<00:11, 5.92it/s]\n 21%|██ | 18/87 [00:03<00:11, 5.92it/s]\n 22%|██▏ | 19/87 [00:03<00:11, 5.92it/s]\n 23%|██▎ | 20/87 [00:03<00:11, 5.92it/s]\n 24%|██▍ | 21/87 [00:03<00:11, 5.92it/s]\n 25%|██▌ | 22/87 [00:03<00:10, 5.92it/s]\n 26%|██▋ | 23/87 [00:03<00:10, 5.91it/s]\n 28%|██▊ | 24/87 [00:04<00:10, 5.92it/s]\n 29%|██▊ | 25/87 [00:04<00:10, 5.92it/s]\n 30%|██▉ | 26/87 [00:04<00:10, 5.92it/s]\n 31%|███ | 27/87 [00:04<00:10, 5.92it/s]\n 32%|███▏ | 28/87 [00:04<00:09, 5.92it/s]\n 33%|███▎ | 29/87 [00:04<00:09, 5.92it/s]\n 34%|███▍ | 30/87 [00:05<00:09, 5.92it/s]\n 36%|███▌ | 31/87 [00:05<00:09, 5.92it/s]\n 37%|███▋ | 32/87 [00:05<00:09, 5.91it/s]\n 38%|███▊ | 33/87 [00:05<00:09, 5.92it/s]\n 39%|███▉ | 34/87 [00:05<00:08, 5.92it/s]\n 40%|████ | 35/87 [00:05<00:08, 5.92it/s]\n 41%|████▏ | 36/87 [00:06<00:08, 5.92it/s]\n 43%|████▎ | 37/87 [00:06<00:08, 5.92it/s]\n 44%|████▎ | 38/87 [00:06<00:08, 5.92it/s]\n 45%|████▍ | 39/87 [00:06<00:08, 5.92it/s]\n 46%|████▌ | 40/87 [00:06<00:07, 5.92it/s]\n 47%|████▋ | 41/87 [00:06<00:07, 5.92it/s]\n 48%|████▊ | 42/87 [00:07<00:07, 5.92it/s]\n 49%|████▉ | 43/87 [00:07<00:07, 5.91it/s]\n 51%|█████ | 44/87 [00:07<00:07, 5.92it/s]\n 52%|█████▏ | 45/87 [00:07<00:07, 5.91it/s]\n 53%|█████▎ | 46/87 [00:07<00:06, 5.91it/s]\n 54%|█████▍ | 47/87 [00:07<00:06, 5.92it/s]\n 55%|█████▌ | 48/87 [00:08<00:06, 5.92it/s]\n 56%|█████▋ | 49/87 [00:08<00:06, 5.92it/s]\n 57%|█████▋ | 50/87 [00:08<00:06, 5.91it/s]\n 59%|█████▊ | 51/87 [00:08<00:06, 5.92it/s]\n 60%|█████▉ | 52/87 [00:08<00:05, 5.91it/s]\n 61%|██████ | 53/87 [00:08<00:05, 5.91it/s]\n 62%|██████▏ | 54/87 [00:09<00:05, 5.91it/s]\n 63%|██████▎ | 55/87 [00:09<00:05, 5.91it/s]\n 64%|██████▍ | 56/87 [00:09<00:05, 5.91it/s]\n 66%|██████▌ | 57/87 [00:09<00:05, 5.91it/s]\n 67%|██████▋ | 58/87 [00:09<00:04, 5.91it/s]\n 68%|██████▊ | 59/87 [00:09<00:04, 5.91it/s]\n 69%|██████▉ | 60/87 [00:10<00:04, 5.90it/s]\n 70%|███████ | 61/87 [00:10<00:04, 5.91it/s]\n 71%|███████▏ | 62/87 [00:10<00:04, 5.91it/s]\n 72%|███████▏ | 63/87 [00:10<00:04, 5.91it/s]\n 74%|███████▎ | 64/87 [00:10<00:03, 5.91it/s]\n 75%|███████▍ | 65/87 [00:10<00:03, 5.91it/s]\n 76%|███████▌ | 66/87 [00:11<00:03, 5.91it/s]\n 77%|███████▋ | 67/87 [00:11<00:03, 5.91it/s]\n 78%|███████▊ | 68/87 [00:11<00:03, 5.91it/s]\n 79%|███████▉ | 69/87 [00:11<00:03, 5.91it/s]\n 80%|████████ | 70/87 [00:11<00:02, 5.92it/s]\n 82%|████████▏ | 71/87 [00:11<00:02, 5.91it/s]\n 83%|████████▎ | 72/87 [00:12<00:02, 5.91it/s]\n 84%|████████▍ | 73/87 [00:12<00:02, 5.91it/s]\n 85%|████████▌ | 74/87 [00:12<00:02, 5.91it/s]\n 86%|████████▌ | 75/87 [00:12<00:02, 5.91it/s]\n 87%|████████▋ | 76/87 [00:12<00:01, 5.91it/s]\n 89%|████████▊ | 77/87 [00:13<00:01, 5.91it/s]\n 90%|████████▉ | 78/87 [00:13<00:01, 5.91it/s]\n 91%|█████████ | 79/87 [00:13<00:01, 5.91it/s]\n 92%|█████████▏| 80/87 [00:13<00:01, 5.91it/s]\n 93%|█████████▎| 81/87 [00:13<00:01, 5.91it/s]\n 94%|█████████▍| 82/87 [00:13<00:00, 5.91it/s]\n 95%|█████████▌| 83/87 [00:14<00:00, 5.91it/s]\n 97%|█████████▋| 84/87 [00:14<00:00, 5.91it/s]\n 98%|█████████▊| 85/87 [00:14<00:00, 5.91it/s]\n 99%|█████████▉| 86/87 [00:14<00:00, 5.91it/s]\n100%|██████████| 87/87 [00:14<00:00, 5.91it/s]\n100%|██████████| 87/87 [00:14<00:00, 5.92it/s]\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:02, 7.48it/s]\n 9%|▊ | 2/23 [00:00<00:02, 7.40it/s]\n 13%|█▎ | 3/23 [00:00<00:02, 7.39it/s]\n 17%|█▋ | 4/23 [00:00<00:02, 7.38it/s]\n 22%|██▏ | 5/23 [00:00<00:02, 7.37it/s]\n 26%|██▌ | 6/23 [00:00<00:02, 7.38it/s]\n 30%|███ | 7/23 [00:00<00:02, 7.37it/s]\n 35%|███▍ | 8/23 [00:01<00:02, 7.37it/s]\n 39%|███▉ | 9/23 [00:01<00:01, 7.37it/s]\n 43%|████▎ | 10/23 [00:01<00:01, 7.37it/s]\n 48%|████▊ | 11/23 [00:01<00:01, 7.38it/s]\n 52%|█████▏ | 12/23 [00:01<00:01, 7.37it/s]\n 57%|█████▋ | 13/23 [00:01<00:01, 7.35it/s]\n 61%|██████ | 14/23 [00:01<00:01, 7.36it/s]\n 65%|██████▌ | 15/23 [00:02<00:01, 7.37it/s]\n 70%|██████▉ | 16/23 [00:02<00:00, 7.37it/s]\n 74%|███████▍ | 17/23 [00:02<00:00, 7.37it/s]\n 78%|███████▊ | 18/23 [00:02<00:00, 7.38it/s]\n 83%|████████▎ | 19/23 [00:02<00:00, 7.37it/s]\n 87%|████████▋ | 20/23 [00:02<00:00, 7.38it/s]\n 91%|█████████▏| 21/23 [00:02<00:00, 7.37it/s]\n 96%|█████████▌| 22/23 [00:02<00:00, 7.37it/s]\n100%|██████████| 23/23 [00:03<00:00, 7.37it/s]\n100%|██████████| 23/23 [00:03<00:00, 7.37it/s]",
"metrics": {
"predict_time": 19.498764,
"total_time": 19.45861
},
"output": [
"https://pbxt.replicate.delivery/0GgPIe7gODQ7dCbwqeIAPDQNZzCx9qWT7wfwB38ykdIkMVhjA/out-0.png"
],
"started_at": "2023-10-22T10:20:47.651466Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/te5wei3bazrql7orc6qfh7n4ze",
"cancel": "https://api.replicate.com/v1/predictions/te5wei3bazrql7orc6qfh7n4ze/cancel"
},
"version": "6e967109e2e554d5cd6a61891258e20eef7e68a1491ac8cd1328e19704e4b294"
}
Using seed: 31662
Prompt: young woman walking past a racing car, futuristic gas station, robot dog, raining, night city, futuristic, palm trees, medium-shot, in the style of <s0><s1>, crisp, sharp
txt2img mode
0%| | 0/87 [00:00<?, ?it/s]
1%| | 1/87 [00:00<00:14, 5.97it/s]
2%|▏ | 2/87 [00:00<00:14, 5.95it/s]
3%|▎ | 3/87 [00:00<00:14, 5.94it/s]
5%|▍ | 4/87 [00:00<00:13, 5.94it/s]
6%|▌ | 5/87 [00:00<00:13, 5.93it/s]
7%|▋ | 6/87 [00:01<00:13, 5.93it/s]
8%|▊ | 7/87 [00:01<00:13, 5.92it/s]
9%|▉ | 8/87 [00:01<00:13, 5.93it/s]
10%|█ | 9/87 [00:01<00:13, 5.93it/s]
11%|█▏ | 10/87 [00:01<00:13, 5.92it/s]
13%|█▎ | 11/87 [00:01<00:12, 5.92it/s]
14%|█▍ | 12/87 [00:02<00:12, 5.92it/s]
15%|█▍ | 13/87 [00:02<00:12, 5.92it/s]
16%|█▌ | 14/87 [00:02<00:12, 5.92it/s]
17%|█▋ | 15/87 [00:02<00:12, 5.93it/s]
18%|█▊ | 16/87 [00:02<00:11, 5.93it/s]
20%|█▉ | 17/87 [00:02<00:11, 5.92it/s]
21%|██ | 18/87 [00:03<00:11, 5.92it/s]
22%|██▏ | 19/87 [00:03<00:11, 5.92it/s]
23%|██▎ | 20/87 [00:03<00:11, 5.92it/s]
24%|██▍ | 21/87 [00:03<00:11, 5.92it/s]
25%|██▌ | 22/87 [00:03<00:10, 5.92it/s]
26%|██▋ | 23/87 [00:03<00:10, 5.91it/s]
28%|██▊ | 24/87 [00:04<00:10, 5.92it/s]
29%|██▊ | 25/87 [00:04<00:10, 5.92it/s]
30%|██▉ | 26/87 [00:04<00:10, 5.92it/s]
31%|███ | 27/87 [00:04<00:10, 5.92it/s]
32%|███▏ | 28/87 [00:04<00:09, 5.92it/s]
33%|███▎ | 29/87 [00:04<00:09, 5.92it/s]
34%|███▍ | 30/87 [00:05<00:09, 5.92it/s]
36%|███▌ | 31/87 [00:05<00:09, 5.92it/s]
37%|███▋ | 32/87 [00:05<00:09, 5.91it/s]
38%|███▊ | 33/87 [00:05<00:09, 5.92it/s]
39%|███▉ | 34/87 [00:05<00:08, 5.92it/s]
40%|████ | 35/87 [00:05<00:08, 5.92it/s]
41%|████▏ | 36/87 [00:06<00:08, 5.92it/s]
43%|████▎ | 37/87 [00:06<00:08, 5.92it/s]
44%|████▎ | 38/87 [00:06<00:08, 5.92it/s]
45%|████▍ | 39/87 [00:06<00:08, 5.92it/s]
46%|████▌ | 40/87 [00:06<00:07, 5.92it/s]
47%|████▋ | 41/87 [00:06<00:07, 5.92it/s]
48%|████▊ | 42/87 [00:07<00:07, 5.92it/s]
49%|████▉ | 43/87 [00:07<00:07, 5.91it/s]
51%|█████ | 44/87 [00:07<00:07, 5.92it/s]
52%|█████▏ | 45/87 [00:07<00:07, 5.91it/s]
53%|█████▎ | 46/87 [00:07<00:06, 5.91it/s]
54%|█████▍ | 47/87 [00:07<00:06, 5.92it/s]
55%|█████▌ | 48/87 [00:08<00:06, 5.92it/s]
56%|█████▋ | 49/87 [00:08<00:06, 5.92it/s]
57%|█████▋ | 50/87 [00:08<00:06, 5.91it/s]
59%|█████▊ | 51/87 [00:08<00:06, 5.92it/s]
60%|█████▉ | 52/87 [00:08<00:05, 5.91it/s]
61%|██████ | 53/87 [00:08<00:05, 5.91it/s]
62%|██████▏ | 54/87 [00:09<00:05, 5.91it/s]
63%|██████▎ | 55/87 [00:09<00:05, 5.91it/s]
64%|██████▍ | 56/87 [00:09<00:05, 5.91it/s]
66%|██████▌ | 57/87 [00:09<00:05, 5.91it/s]
67%|██████▋ | 58/87 [00:09<00:04, 5.91it/s]
68%|██████▊ | 59/87 [00:09<00:04, 5.91it/s]
69%|██████▉ | 60/87 [00:10<00:04, 5.90it/s]
70%|███████ | 61/87 [00:10<00:04, 5.91it/s]
71%|███████▏ | 62/87 [00:10<00:04, 5.91it/s]
72%|███████▏ | 63/87 [00:10<00:04, 5.91it/s]
74%|███████▎ | 64/87 [00:10<00:03, 5.91it/s]
75%|███████▍ | 65/87 [00:10<00:03, 5.91it/s]
76%|███████▌ | 66/87 [00:11<00:03, 5.91it/s]
77%|███████▋ | 67/87 [00:11<00:03, 5.91it/s]
78%|███████▊ | 68/87 [00:11<00:03, 5.91it/s]
79%|███████▉ | 69/87 [00:11<00:03, 5.91it/s]
80%|████████ | 70/87 [00:11<00:02, 5.92it/s]
82%|████████▏ | 71/87 [00:11<00:02, 5.91it/s]
83%|████████▎ | 72/87 [00:12<00:02, 5.91it/s]
84%|████████▍ | 73/87 [00:12<00:02, 5.91it/s]
85%|████████▌ | 74/87 [00:12<00:02, 5.91it/s]
86%|████████▌ | 75/87 [00:12<00:02, 5.91it/s]
87%|████████▋ | 76/87 [00:12<00:01, 5.91it/s]
89%|████████▊ | 77/87 [00:13<00:01, 5.91it/s]
90%|████████▉ | 78/87 [00:13<00:01, 5.91it/s]
91%|█████████ | 79/87 [00:13<00:01, 5.91it/s]
92%|█████████▏| 80/87 [00:13<00:01, 5.91it/s]
93%|█████████▎| 81/87 [00:13<00:01, 5.91it/s]
94%|█████████▍| 82/87 [00:13<00:00, 5.91it/s]
95%|█████████▌| 83/87 [00:14<00:00, 5.91it/s]
97%|█████████▋| 84/87 [00:14<00:00, 5.91it/s]
98%|█████████▊| 85/87 [00:14<00:00, 5.91it/s]
99%|█████████▉| 86/87 [00:14<00:00, 5.91it/s]
100%|██████████| 87/87 [00:14<00:00, 5.91it/s]
100%|██████████| 87/87 [00:14<00:00, 5.92it/s]
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:02, 7.48it/s]
9%|▊ | 2/23 [00:00<00:02, 7.40it/s]
13%|█▎ | 3/23 [00:00<00:02, 7.39it/s]
17%|█▋ | 4/23 [00:00<00:02, 7.38it/s]
22%|██▏ | 5/23 [00:00<00:02, 7.37it/s]
26%|██▌ | 6/23 [00:00<00:02, 7.38it/s]
30%|███ | 7/23 [00:00<00:02, 7.37it/s]
35%|███▍ | 8/23 [00:01<00:02, 7.37it/s]
39%|███▉ | 9/23 [00:01<00:01, 7.37it/s]
43%|████▎ | 10/23 [00:01<00:01, 7.37it/s]
48%|████▊ | 11/23 [00:01<00:01, 7.38it/s]
52%|█████▏ | 12/23 [00:01<00:01, 7.37it/s]
57%|█████▋ | 13/23 [00:01<00:01, 7.35it/s]
61%|██████ | 14/23 [00:01<00:01, 7.36it/s]
65%|██████▌ | 15/23 [00:02<00:01, 7.37it/s]
70%|██████▉ | 16/23 [00:02<00:00, 7.37it/s]
74%|███████▍ | 17/23 [00:02<00:00, 7.37it/s]
78%|███████▊ | 18/23 [00:02<00:00, 7.38it/s]
83%|████████▎ | 19/23 [00:02<00:00, 7.37it/s]
87%|████████▋ | 20/23 [00:02<00:00, 7.38it/s]
91%|█████████▏| 21/23 [00:02<00:00, 7.37it/s]
96%|█████████▌| 22/23 [00:02<00:00, 7.37it/s]
100%|██████████| 23/23 [00:03<00:00, 7.37it/s]
100%|██████████| 23/23 [00:03<00:00, 7.37it/s]