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 posing in a futuristic desert, dusty, 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.8,
num_inference_steps: 70
}
}
);
// 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 posing in a futuristic desert, dusty, 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.8,
"num_inference_steps": 70
}
)
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 posing in a futuristic desert, dusty, 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.8,
"num_inference_steps": 70
}
}' \
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-22T09:46:25.022341Z",
"created_at": "2023-10-22T09:46:11.974561Z",
"data_removed": false,
"error": null,
"id": "uro24y3babqgpqyko3o67qnfni",
"input": {
"width": 1024,
"height": 576,
"prompt": "young woman posing in a futuristic desert, dusty, 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.8,
"num_inference_steps": 70
},
"logs": "Using seed: 55178\nPrompt: young woman posing in a futuristic desert, dusty, medium-shot, in the style of <s0><s1>, crisp, sharp\ntxt2img mode\n 0%| | 0/55 [00:00<?, ?it/s]\n 2%|▏ | 1/55 [00:00<00:09, 5.98it/s]\n 4%|▎ | 2/55 [00:00<00:08, 5.97it/s]\n 5%|▌ | 3/55 [00:00<00:08, 5.95it/s]\n 7%|▋ | 4/55 [00:00<00:08, 5.95it/s]\n 9%|▉ | 5/55 [00:00<00:08, 5.95it/s]\n 11%|█ | 6/55 [00:01<00:08, 5.95it/s]\n 13%|█▎ | 7/55 [00:01<00:08, 5.95it/s]\n 15%|█▍ | 8/55 [00:01<00:07, 5.95it/s]\n 16%|█▋ | 9/55 [00:01<00:07, 5.95it/s]\n 18%|█▊ | 10/55 [00:01<00:07, 5.94it/s]\n 20%|██ | 11/55 [00:01<00:07, 5.93it/s]\n 22%|██▏ | 12/55 [00:02<00:07, 5.94it/s]\n 24%|██▎ | 13/55 [00:02<00:07, 5.94it/s]\n 25%|██▌ | 14/55 [00:02<00:06, 5.94it/s]\n 27%|██▋ | 15/55 [00:02<00:06, 5.94it/s]\n 29%|██▉ | 16/55 [00:02<00:06, 5.94it/s]\n 31%|███ | 17/55 [00:02<00:06, 5.94it/s]\n 33%|███▎ | 18/55 [00:03<00:06, 5.93it/s]\n 35%|███▍ | 19/55 [00:03<00:06, 5.93it/s]\n 36%|███▋ | 20/55 [00:03<00:05, 5.93it/s]\n 38%|███▊ | 21/55 [00:03<00:05, 5.93it/s]\n 40%|████ | 22/55 [00:03<00:05, 5.93it/s]\n 42%|████▏ | 23/55 [00:03<00:05, 5.94it/s]\n 44%|████▎ | 24/55 [00:04<00:05, 5.94it/s]\n 45%|████▌ | 25/55 [00:04<00:05, 5.93it/s]\n 47%|████▋ | 26/55 [00:04<00:04, 5.93it/s]\n 49%|████▉ | 27/55 [00:04<00:04, 5.93it/s]\n 51%|█████ | 28/55 [00:04<00:04, 5.93it/s]\n 53%|█████▎ | 29/55 [00:04<00:04, 5.92it/s]\n 55%|█████▍ | 30/55 [00:05<00:04, 5.92it/s]\n 56%|█████▋ | 31/55 [00:05<00:04, 5.92it/s]\n 58%|█████▊ | 32/55 [00:05<00:03, 5.92it/s]\n 60%|██████ | 33/55 [00:05<00:03, 5.93it/s]\n 62%|██████▏ | 34/55 [00:05<00:03, 5.93it/s]\n 64%|██████▎ | 35/55 [00:05<00:03, 5.93it/s]\n 65%|██████▌ | 36/55 [00:06<00:03, 5.92it/s]\n 67%|██████▋ | 37/55 [00:06<00:03, 5.92it/s]\n 69%|██████▉ | 38/55 [00:06<00:02, 5.93it/s]\n 71%|███████ | 39/55 [00:06<00:02, 5.93it/s]\n 73%|███████▎ | 40/55 [00:06<00:02, 5.92it/s]\n 75%|███████▍ | 41/55 [00:06<00:02, 5.92it/s]\n 76%|███████▋ | 42/55 [00:07<00:02, 5.92it/s]\n 78%|███████▊ | 43/55 [00:07<00:02, 5.92it/s]\n 80%|████████ | 44/55 [00:07<00:01, 5.92it/s]\n 82%|████████▏ | 45/55 [00:07<00:01, 5.92it/s]\n 84%|████████▎ | 46/55 [00:07<00:01, 5.92it/s]\n 85%|████████▌ | 47/55 [00:07<00:01, 5.92it/s]\n 87%|████████▋ | 48/55 [00:08<00:01, 5.92it/s]\n 89%|████████▉ | 49/55 [00:08<00:01, 5.92it/s]\n 91%|█████████ | 50/55 [00:08<00:00, 5.92it/s]\n 93%|█████████▎| 51/55 [00:08<00:00, 5.92it/s]\n 95%|█████████▍| 52/55 [00:08<00:00, 5.92it/s]\n 96%|█████████▋| 53/55 [00:08<00:00, 5.92it/s]\n 98%|█████████▊| 54/55 [00:09<00:00, 5.91it/s]\n100%|██████████| 55/55 [00:09<00:00, 5.92it/s]\n100%|██████████| 55/55 [00:09<00:00, 5.93it/s]\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:00<00:01, 7.47it/s]\n 13%|█▎ | 2/15 [00:00<00:01, 7.42it/s]\n 20%|██ | 3/15 [00:00<00:01, 7.40it/s]\n 27%|██▋ | 4/15 [00:00<00:01, 7.40it/s]\n 33%|███▎ | 5/15 [00:00<00:01, 7.39it/s]\n 40%|████ | 6/15 [00:00<00:01, 7.38it/s]\n 47%|████▋ | 7/15 [00:00<00:01, 7.38it/s]\n 53%|█████▎ | 8/15 [00:01<00:00, 7.38it/s]\n 60%|██████ | 9/15 [00:01<00:00, 7.38it/s]\n 67%|██████▋ | 10/15 [00:01<00:00, 7.38it/s]\n 73%|███████▎ | 11/15 [00:01<00:00, 7.39it/s]\n 80%|████████ | 12/15 [00:01<00:00, 7.38it/s]\n 87%|████████▋ | 13/15 [00:01<00:00, 7.37it/s]\n 93%|█████████▎| 14/15 [00:01<00:00, 7.37it/s]\n100%|██████████| 15/15 [00:02<00:00, 7.37it/s]\n100%|██████████| 15/15 [00:02<00:00, 7.38it/s]",
"metrics": {
"predict_time": 13.106313,
"total_time": 13.04778
},
"output": [
"https://pbxt.replicate.delivery/dAd5aZ0pBuZfeE9bCMLP7KDyFtmj0k7682NUn7n4eAFhLUhjA/out-0.png"
],
"started_at": "2023-10-22T09:46:11.916028Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/uro24y3babqgpqyko3o67qnfni",
"cancel": "https://api.replicate.com/v1/predictions/uro24y3babqgpqyko3o67qnfni/cancel"
},
"version": "6e967109e2e554d5cd6a61891258e20eef7e68a1491ac8cd1328e19704e4b294"
}
Using seed: 55178
Prompt: young woman posing in a futuristic desert, dusty, medium-shot, in the style of <s0><s1>, crisp, sharp
txt2img mode
0%| | 0/55 [00:00<?, ?it/s]
2%|▏ | 1/55 [00:00<00:09, 5.98it/s]
4%|▎ | 2/55 [00:00<00:08, 5.97it/s]
5%|▌ | 3/55 [00:00<00:08, 5.95it/s]
7%|▋ | 4/55 [00:00<00:08, 5.95it/s]
9%|▉ | 5/55 [00:00<00:08, 5.95it/s]
11%|█ | 6/55 [00:01<00:08, 5.95it/s]
13%|█▎ | 7/55 [00:01<00:08, 5.95it/s]
15%|█▍ | 8/55 [00:01<00:07, 5.95it/s]
16%|█▋ | 9/55 [00:01<00:07, 5.95it/s]
18%|█▊ | 10/55 [00:01<00:07, 5.94it/s]
20%|██ | 11/55 [00:01<00:07, 5.93it/s]
22%|██▏ | 12/55 [00:02<00:07, 5.94it/s]
24%|██▎ | 13/55 [00:02<00:07, 5.94it/s]
25%|██▌ | 14/55 [00:02<00:06, 5.94it/s]
27%|██▋ | 15/55 [00:02<00:06, 5.94it/s]
29%|██▉ | 16/55 [00:02<00:06, 5.94it/s]
31%|███ | 17/55 [00:02<00:06, 5.94it/s]
33%|███▎ | 18/55 [00:03<00:06, 5.93it/s]
35%|███▍ | 19/55 [00:03<00:06, 5.93it/s]
36%|███▋ | 20/55 [00:03<00:05, 5.93it/s]
38%|███▊ | 21/55 [00:03<00:05, 5.93it/s]
40%|████ | 22/55 [00:03<00:05, 5.93it/s]
42%|████▏ | 23/55 [00:03<00:05, 5.94it/s]
44%|████▎ | 24/55 [00:04<00:05, 5.94it/s]
45%|████▌ | 25/55 [00:04<00:05, 5.93it/s]
47%|████▋ | 26/55 [00:04<00:04, 5.93it/s]
49%|████▉ | 27/55 [00:04<00:04, 5.93it/s]
51%|█████ | 28/55 [00:04<00:04, 5.93it/s]
53%|█████▎ | 29/55 [00:04<00:04, 5.92it/s]
55%|█████▍ | 30/55 [00:05<00:04, 5.92it/s]
56%|█████▋ | 31/55 [00:05<00:04, 5.92it/s]
58%|█████▊ | 32/55 [00:05<00:03, 5.92it/s]
60%|██████ | 33/55 [00:05<00:03, 5.93it/s]
62%|██████▏ | 34/55 [00:05<00:03, 5.93it/s]
64%|██████▎ | 35/55 [00:05<00:03, 5.93it/s]
65%|██████▌ | 36/55 [00:06<00:03, 5.92it/s]
67%|██████▋ | 37/55 [00:06<00:03, 5.92it/s]
69%|██████▉ | 38/55 [00:06<00:02, 5.93it/s]
71%|███████ | 39/55 [00:06<00:02, 5.93it/s]
73%|███████▎ | 40/55 [00:06<00:02, 5.92it/s]
75%|███████▍ | 41/55 [00:06<00:02, 5.92it/s]
76%|███████▋ | 42/55 [00:07<00:02, 5.92it/s]
78%|███████▊ | 43/55 [00:07<00:02, 5.92it/s]
80%|████████ | 44/55 [00:07<00:01, 5.92it/s]
82%|████████▏ | 45/55 [00:07<00:01, 5.92it/s]
84%|████████▎ | 46/55 [00:07<00:01, 5.92it/s]
85%|████████▌ | 47/55 [00:07<00:01, 5.92it/s]
87%|████████▋ | 48/55 [00:08<00:01, 5.92it/s]
89%|████████▉ | 49/55 [00:08<00:01, 5.92it/s]
91%|█████████ | 50/55 [00:08<00:00, 5.92it/s]
93%|█████████▎| 51/55 [00:08<00:00, 5.92it/s]
95%|█████████▍| 52/55 [00:08<00:00, 5.92it/s]
96%|█████████▋| 53/55 [00:08<00:00, 5.92it/s]
98%|█████████▊| 54/55 [00:09<00:00, 5.91it/s]
100%|██████████| 55/55 [00:09<00:00, 5.92it/s]
100%|██████████| 55/55 [00:09<00:00, 5.93it/s]
0%| | 0/15 [00:00<?, ?it/s]
7%|▋ | 1/15 [00:00<00:01, 7.47it/s]
13%|█▎ | 2/15 [00:00<00:01, 7.42it/s]
20%|██ | 3/15 [00:00<00:01, 7.40it/s]
27%|██▋ | 4/15 [00:00<00:01, 7.40it/s]
33%|███▎ | 5/15 [00:00<00:01, 7.39it/s]
40%|████ | 6/15 [00:00<00:01, 7.38it/s]
47%|████▋ | 7/15 [00:00<00:01, 7.38it/s]
53%|█████▎ | 8/15 [00:01<00:00, 7.38it/s]
60%|██████ | 9/15 [00:01<00:00, 7.38it/s]
67%|██████▋ | 10/15 [00:01<00:00, 7.38it/s]
73%|███████▎ | 11/15 [00:01<00:00, 7.39it/s]
80%|████████ | 12/15 [00:01<00:00, 7.38it/s]
87%|████████▋ | 13/15 [00:01<00:00, 7.37it/s]
93%|█████████▎| 14/15 [00:01<00:00, 7.37it/s]
100%|██████████| 15/15 [00:02<00:00, 7.37it/s]
100%|██████████| 15/15 [00:02<00:00, 7.38it/s]