Readme
This model doesn't have a readme.
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: "no_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": "no_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": "no_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
{
"completed_at": "2023-10-22T09:42:13.690662Z",
"created_at": "2023-10-22T09:42:00.377829Z",
"data_removed": false,
"error": null,
"id": "ooc34htb47jz6le4xr3ml64u7q",
"input": {
"width": 1024,
"height": 576,
"prompt": "young woman posing in a futuristic desert, dusty, medium-shot, in the style of TOK, crisp, sharp",
"refine": "no_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: 20397\nPrompt: young woman posing in a futuristic desert, dusty, medium-shot, in the style of <s0><s1>, crisp, sharp\ntxt2img mode\n 0%| | 0/70 [00:00<?, ?it/s]\n 1%|▏ | 1/70 [00:00<00:11, 5.99it/s]\n 3%|▎ | 2/70 [00:00<00:11, 5.97it/s]\n 4%|▍ | 3/70 [00:00<00:11, 5.96it/s]\n 6%|▌ | 4/70 [00:00<00:11, 5.96it/s]\n 7%|▋ | 5/70 [00:00<00:10, 5.96it/s]\n 9%|▊ | 6/70 [00:01<00:10, 5.96it/s]\n 10%|█ | 7/70 [00:01<00:10, 5.96it/s]\n 11%|█▏ | 8/70 [00:01<00:10, 5.96it/s]\n 13%|█▎ | 9/70 [00:01<00:10, 5.96it/s]\n 14%|█▍ | 10/70 [00:01<00:10, 5.95it/s]\n 16%|█▌ | 11/70 [00:01<00:09, 5.95it/s]\n 17%|█▋ | 12/70 [00:02<00:09, 5.95it/s]\n 19%|█▊ | 13/70 [00:02<00:09, 5.94it/s]\n 20%|██ | 14/70 [00:02<00:09, 5.94it/s]\n 21%|██▏ | 15/70 [00:02<00:09, 5.93it/s]\n 23%|██▎ | 16/70 [00:02<00:09, 5.93it/s]\n 24%|██▍ | 17/70 [00:02<00:08, 5.93it/s]\n 26%|██▌ | 18/70 [00:03<00:08, 5.93it/s]\n 27%|██▋ | 19/70 [00:03<00:08, 5.93it/s]\n 29%|██▊ | 20/70 [00:03<00:08, 5.93it/s]\n 30%|███ | 21/70 [00:03<00:08, 5.93it/s]\n 31%|███▏ | 22/70 [00:03<00:08, 5.93it/s]\n 33%|███▎ | 23/70 [00:03<00:07, 5.92it/s]\n 34%|███▍ | 24/70 [00:04<00:07, 5.93it/s]\n 36%|███▌ | 25/70 [00:04<00:07, 5.93it/s]\n 37%|███▋ | 26/70 [00:04<00:07, 5.93it/s]\n 39%|███▊ | 27/70 [00:04<00:07, 5.93it/s]\n 40%|████ | 28/70 [00:04<00:07, 5.93it/s]\n 41%|████▏ | 29/70 [00:04<00:06, 5.93it/s]\n 43%|████▎ | 30/70 [00:05<00:06, 5.93it/s]\n 44%|████▍ | 31/70 [00:05<00:06, 5.93it/s]\n 46%|████▌ | 32/70 [00:05<00:06, 5.93it/s]\n 47%|████▋ | 33/70 [00:05<00:06, 5.93it/s]\n 49%|████▊ | 34/70 [00:05<00:06, 5.93it/s]\n 50%|█████ | 35/70 [00:05<00:05, 5.92it/s]\n 51%|█████▏ | 36/70 [00:06<00:05, 5.93it/s]\n 53%|█████▎ | 37/70 [00:06<00:05, 5.92it/s]\n 54%|█████▍ | 38/70 [00:06<00:05, 5.92it/s]\n 56%|█████▌ | 39/70 [00:06<00:05, 5.92it/s]\n 57%|█████▋ | 40/70 [00:06<00:05, 5.93it/s]\n 59%|█████▊ | 41/70 [00:06<00:04, 5.92it/s]\n 60%|██████ | 42/70 [00:07<00:04, 5.93it/s]\n 61%|██████▏ | 43/70 [00:07<00:04, 5.93it/s]\n 63%|██████▎ | 44/70 [00:07<00:04, 5.92it/s]\n 64%|██████▍ | 45/70 [00:07<00:04, 5.92it/s]\n 66%|██████▌ | 46/70 [00:07<00:04, 5.93it/s]\n 67%|██████▋ | 47/70 [00:07<00:03, 5.92it/s]\n 69%|██████▊ | 48/70 [00:08<00:03, 5.93it/s]\n 70%|███████ | 49/70 [00:08<00:03, 5.93it/s]\n 71%|███████▏ | 50/70 [00:08<00:03, 5.93it/s]\n 73%|███████▎ | 51/70 [00:08<00:03, 5.93it/s]\n 74%|███████▍ | 52/70 [00:08<00:03, 5.92it/s]\n 76%|███████▌ | 53/70 [00:08<00:02, 5.92it/s]\n 77%|███████▋ | 54/70 [00:09<00:02, 5.91it/s]\n 79%|███████▊ | 55/70 [00:09<00:02, 5.91it/s]\n 80%|████████ | 56/70 [00:09<00:02, 5.84it/s]\n 81%|████████▏ | 57/70 [00:09<00:02, 5.83it/s]\n 83%|████████▎ | 58/70 [00:09<00:02, 5.86it/s]\n 84%|████████▍ | 59/70 [00:09<00:01, 5.87it/s]\n 86%|████████▌ | 60/70 [00:10<00:01, 5.89it/s]\n 87%|████████▋ | 61/70 [00:10<00:01, 5.90it/s]\n 89%|████████▊ | 62/70 [00:10<00:01, 5.91it/s]\n 90%|█████████ | 63/70 [00:10<00:01, 5.91it/s]\n 91%|█████████▏| 64/70 [00:10<00:01, 5.91it/s]\n 93%|█████████▎| 65/70 [00:10<00:00, 5.91it/s]\n 94%|█████████▍| 66/70 [00:11<00:00, 5.91it/s]\n 96%|█████████▌| 67/70 [00:11<00:00, 5.91it/s]\n 97%|█████████▋| 68/70 [00:11<00:00, 5.91it/s]\n 99%|█████████▊| 69/70 [00:11<00:00, 5.92it/s]\n100%|██████████| 70/70 [00:11<00:00, 5.92it/s]\n100%|██████████| 70/70 [00:11<00:00, 5.92it/s]",
"metrics": {
"predict_time": 13.430409,
"total_time": 13.312833
},
"output": [
"https://pbxt.replicate.delivery/k1k63hrKwoZQFdL5PMA83VfohwHnikfrxaTrUJfpVYNoDUhjA/out-0.png"
],
"started_at": "2023-10-22T09:42:00.260253Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/ooc34htb47jz6le4xr3ml64u7q",
"cancel": "https://api.replicate.com/v1/predictions/ooc34htb47jz6le4xr3ml64u7q/cancel"
},
"version": "6e967109e2e554d5cd6a61891258e20eef7e68a1491ac8cd1328e19704e4b294"
}
Using seed: 20397
Prompt: young woman posing in a futuristic desert, dusty, medium-shot, in the style of <s0><s1>, crisp, sharp
txt2img mode
0%| | 0/70 [00:00<?, ?it/s]
1%|▏ | 1/70 [00:00<00:11, 5.99it/s]
3%|▎ | 2/70 [00:00<00:11, 5.97it/s]
4%|▍ | 3/70 [00:00<00:11, 5.96it/s]
6%|▌ | 4/70 [00:00<00:11, 5.96it/s]
7%|▋ | 5/70 [00:00<00:10, 5.96it/s]
9%|▊ | 6/70 [00:01<00:10, 5.96it/s]
10%|█ | 7/70 [00:01<00:10, 5.96it/s]
11%|█▏ | 8/70 [00:01<00:10, 5.96it/s]
13%|█▎ | 9/70 [00:01<00:10, 5.96it/s]
14%|█▍ | 10/70 [00:01<00:10, 5.95it/s]
16%|█▌ | 11/70 [00:01<00:09, 5.95it/s]
17%|█▋ | 12/70 [00:02<00:09, 5.95it/s]
19%|█▊ | 13/70 [00:02<00:09, 5.94it/s]
20%|██ | 14/70 [00:02<00:09, 5.94it/s]
21%|██▏ | 15/70 [00:02<00:09, 5.93it/s]
23%|██▎ | 16/70 [00:02<00:09, 5.93it/s]
24%|██▍ | 17/70 [00:02<00:08, 5.93it/s]
26%|██▌ | 18/70 [00:03<00:08, 5.93it/s]
27%|██▋ | 19/70 [00:03<00:08, 5.93it/s]
29%|██▊ | 20/70 [00:03<00:08, 5.93it/s]
30%|███ | 21/70 [00:03<00:08, 5.93it/s]
31%|███▏ | 22/70 [00:03<00:08, 5.93it/s]
33%|███▎ | 23/70 [00:03<00:07, 5.92it/s]
34%|███▍ | 24/70 [00:04<00:07, 5.93it/s]
36%|███▌ | 25/70 [00:04<00:07, 5.93it/s]
37%|███▋ | 26/70 [00:04<00:07, 5.93it/s]
39%|███▊ | 27/70 [00:04<00:07, 5.93it/s]
40%|████ | 28/70 [00:04<00:07, 5.93it/s]
41%|████▏ | 29/70 [00:04<00:06, 5.93it/s]
43%|████▎ | 30/70 [00:05<00:06, 5.93it/s]
44%|████▍ | 31/70 [00:05<00:06, 5.93it/s]
46%|████▌ | 32/70 [00:05<00:06, 5.93it/s]
47%|████▋ | 33/70 [00:05<00:06, 5.93it/s]
49%|████▊ | 34/70 [00:05<00:06, 5.93it/s]
50%|█████ | 35/70 [00:05<00:05, 5.92it/s]
51%|█████▏ | 36/70 [00:06<00:05, 5.93it/s]
53%|█████▎ | 37/70 [00:06<00:05, 5.92it/s]
54%|█████▍ | 38/70 [00:06<00:05, 5.92it/s]
56%|█████▌ | 39/70 [00:06<00:05, 5.92it/s]
57%|█████▋ | 40/70 [00:06<00:05, 5.93it/s]
59%|█████▊ | 41/70 [00:06<00:04, 5.92it/s]
60%|██████ | 42/70 [00:07<00:04, 5.93it/s]
61%|██████▏ | 43/70 [00:07<00:04, 5.93it/s]
63%|██████▎ | 44/70 [00:07<00:04, 5.92it/s]
64%|██████▍ | 45/70 [00:07<00:04, 5.92it/s]
66%|██████▌ | 46/70 [00:07<00:04, 5.93it/s]
67%|██████▋ | 47/70 [00:07<00:03, 5.92it/s]
69%|██████▊ | 48/70 [00:08<00:03, 5.93it/s]
70%|███████ | 49/70 [00:08<00:03, 5.93it/s]
71%|███████▏ | 50/70 [00:08<00:03, 5.93it/s]
73%|███████▎ | 51/70 [00:08<00:03, 5.93it/s]
74%|███████▍ | 52/70 [00:08<00:03, 5.92it/s]
76%|███████▌ | 53/70 [00:08<00:02, 5.92it/s]
77%|███████▋ | 54/70 [00:09<00:02, 5.91it/s]
79%|███████▊ | 55/70 [00:09<00:02, 5.91it/s]
80%|████████ | 56/70 [00:09<00:02, 5.84it/s]
81%|████████▏ | 57/70 [00:09<00:02, 5.83it/s]
83%|████████▎ | 58/70 [00:09<00:02, 5.86it/s]
84%|████████▍ | 59/70 [00:09<00:01, 5.87it/s]
86%|████████▌ | 60/70 [00:10<00:01, 5.89it/s]
87%|████████▋ | 61/70 [00:10<00:01, 5.90it/s]
89%|████████▊ | 62/70 [00:10<00:01, 5.91it/s]
90%|█████████ | 63/70 [00:10<00:01, 5.91it/s]
91%|█████████▏| 64/70 [00:10<00:01, 5.91it/s]
93%|█████████▎| 65/70 [00:10<00:00, 5.91it/s]
94%|█████████▍| 66/70 [00:11<00:00, 5.91it/s]
96%|█████████▌| 67/70 [00:11<00:00, 5.91it/s]
97%|█████████▋| 68/70 [00:11<00:00, 5.91it/s]
99%|█████████▊| 69/70 [00:11<00:00, 5.92it/s]
100%|██████████| 70/70 [00:11<00:00, 5.92it/s]
100%|██████████| 70/70 [00:11<00:00, 5.92it/s]
This model costs approximately $0.010 to run on Replicate, or 100 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 11 seconds.
This model doesn't have a readme.
This model is warm. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
This model costs approximately $0.010 to run on Replicate, but this varies depending on your inputs. View more.
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Using seed: 20397
Prompt: young woman posing in a futuristic desert, dusty, medium-shot, in the style of <s0><s1>, crisp, sharp
txt2img mode
0%| | 0/70 [00:00<?, ?it/s]
1%|▏ | 1/70 [00:00<00:11, 5.99it/s]
3%|▎ | 2/70 [00:00<00:11, 5.97it/s]
4%|▍ | 3/70 [00:00<00:11, 5.96it/s]
6%|▌ | 4/70 [00:00<00:11, 5.96it/s]
7%|▋ | 5/70 [00:00<00:10, 5.96it/s]
9%|▊ | 6/70 [00:01<00:10, 5.96it/s]
10%|█ | 7/70 [00:01<00:10, 5.96it/s]
11%|█▏ | 8/70 [00:01<00:10, 5.96it/s]
13%|█▎ | 9/70 [00:01<00:10, 5.96it/s]
14%|█▍ | 10/70 [00:01<00:10, 5.95it/s]
16%|█▌ | 11/70 [00:01<00:09, 5.95it/s]
17%|█▋ | 12/70 [00:02<00:09, 5.95it/s]
19%|█▊ | 13/70 [00:02<00:09, 5.94it/s]
20%|██ | 14/70 [00:02<00:09, 5.94it/s]
21%|██▏ | 15/70 [00:02<00:09, 5.93it/s]
23%|██▎ | 16/70 [00:02<00:09, 5.93it/s]
24%|██▍ | 17/70 [00:02<00:08, 5.93it/s]
26%|██▌ | 18/70 [00:03<00:08, 5.93it/s]
27%|██▋ | 19/70 [00:03<00:08, 5.93it/s]
29%|██▊ | 20/70 [00:03<00:08, 5.93it/s]
30%|███ | 21/70 [00:03<00:08, 5.93it/s]
31%|███▏ | 22/70 [00:03<00:08, 5.93it/s]
33%|███▎ | 23/70 [00:03<00:07, 5.92it/s]
34%|███▍ | 24/70 [00:04<00:07, 5.93it/s]
36%|███▌ | 25/70 [00:04<00:07, 5.93it/s]
37%|███▋ | 26/70 [00:04<00:07, 5.93it/s]
39%|███▊ | 27/70 [00:04<00:07, 5.93it/s]
40%|████ | 28/70 [00:04<00:07, 5.93it/s]
41%|████▏ | 29/70 [00:04<00:06, 5.93it/s]
43%|████▎ | 30/70 [00:05<00:06, 5.93it/s]
44%|████▍ | 31/70 [00:05<00:06, 5.93it/s]
46%|████▌ | 32/70 [00:05<00:06, 5.93it/s]
47%|████▋ | 33/70 [00:05<00:06, 5.93it/s]
49%|████▊ | 34/70 [00:05<00:06, 5.93it/s]
50%|█████ | 35/70 [00:05<00:05, 5.92it/s]
51%|█████▏ | 36/70 [00:06<00:05, 5.93it/s]
53%|█████▎ | 37/70 [00:06<00:05, 5.92it/s]
54%|█████▍ | 38/70 [00:06<00:05, 5.92it/s]
56%|█████▌ | 39/70 [00:06<00:05, 5.92it/s]
57%|█████▋ | 40/70 [00:06<00:05, 5.93it/s]
59%|█████▊ | 41/70 [00:06<00:04, 5.92it/s]
60%|██████ | 42/70 [00:07<00:04, 5.93it/s]
61%|██████▏ | 43/70 [00:07<00:04, 5.93it/s]
63%|██████▎ | 44/70 [00:07<00:04, 5.92it/s]
64%|██████▍ | 45/70 [00:07<00:04, 5.92it/s]
66%|██████▌ | 46/70 [00:07<00:04, 5.93it/s]
67%|██████▋ | 47/70 [00:07<00:03, 5.92it/s]
69%|██████▊ | 48/70 [00:08<00:03, 5.93it/s]
70%|███████ | 49/70 [00:08<00:03, 5.93it/s]
71%|███████▏ | 50/70 [00:08<00:03, 5.93it/s]
73%|███████▎ | 51/70 [00:08<00:03, 5.93it/s]
74%|███████▍ | 52/70 [00:08<00:03, 5.92it/s]
76%|███████▌ | 53/70 [00:08<00:02, 5.92it/s]
77%|███████▋ | 54/70 [00:09<00:02, 5.91it/s]
79%|███████▊ | 55/70 [00:09<00:02, 5.91it/s]
80%|████████ | 56/70 [00:09<00:02, 5.84it/s]
81%|████████▏ | 57/70 [00:09<00:02, 5.83it/s]
83%|████████▎ | 58/70 [00:09<00:02, 5.86it/s]
84%|████████▍ | 59/70 [00:09<00:01, 5.87it/s]
86%|████████▌ | 60/70 [00:10<00:01, 5.89it/s]
87%|████████▋ | 61/70 [00:10<00:01, 5.90it/s]
89%|████████▊ | 62/70 [00:10<00:01, 5.91it/s]
90%|█████████ | 63/70 [00:10<00:01, 5.91it/s]
91%|█████████▏| 64/70 [00:10<00:01, 5.91it/s]
93%|█████████▎| 65/70 [00:10<00:00, 5.91it/s]
94%|█████████▍| 66/70 [00:11<00:00, 5.91it/s]
96%|█████████▌| 67/70 [00:11<00:00, 5.91it/s]
97%|█████████▋| 68/70 [00:11<00:00, 5.91it/s]
99%|█████████▊| 69/70 [00:11<00:00, 5.92it/s]
100%|██████████| 70/70 [00:11<00:00, 5.92it/s]
100%|██████████| 70/70 [00:11<00:00, 5.92it/s]