fofr / sdxl-80s-cyberpunk
RealVisXL v3 fine-tuned on 80s cyberpunk images
- Public
- 523 runs
-
L40S
Prediction
fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9ID987bd8gfhsrgg0cfjzrrnev90rStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 768
- prompt
- a low iso film still of an 80s cyberpunk in the style of TOK
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.9
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- cyan, ugly, broken, distorted, disfigured
- prompt_strength
- 0.8
- num_inference_steps
- 25
{ "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", { input: { width: 1024, height: 768, prompt: "a low iso film still of an 80s cyberpunk in the style of TOK", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.9, num_outputs: 1, guidance_scale: 7.5, apply_watermark: false, high_noise_frac: 0.8, negative_prompt: "cyan, ugly, broken, distorted, disfigured", prompt_strength: 0.8, num_inference_steps: 25 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", input={ "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": False, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/sdxl-80s-cyberpunk 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": "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", "input": { "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-20T21:38:41.747390Z", "created_at": "2024-05-20T21:38:28.878000Z", "data_removed": false, "error": null, "id": "987bd8gfhsrgg0cfjzrrnev90r", "input": { "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }, "logs": "Using seed: 49234\nEnsuring enough disk space...\nFree disk space: 2158458437632\nDownloading weights: https://replicate.delivery/pbxt/r0au58ewMVyLBq1eCdCiefyrF6IPFXm9XfrNIHyqHCBeqyltE/trained_model.tar\n2024-05-20T21:38:32Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/3c62278109b1f6cf url=https://replicate.delivery/pbxt/r0au58ewMVyLBq1eCdCiefyrF6IPFXm9XfrNIHyqHCBeqyltE/trained_model.tar\n2024-05-20T21:38:32Z | INFO | [ Complete ] dest=/src/weights-cache/3c62278109b1f6cf size=\"186 MB\" total_elapsed=0.824s url=https://replicate.delivery/pbxt/r0au58ewMVyLBq1eCdCiefyrF6IPFXm9XfrNIHyqHCBeqyltE/trained_model.tar\nb''\nDownloaded weights in 0.9757394790649414 seconds\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nPrompt: a low iso film still of an 80s cyberpunk in the style of <s0><s1>\ntxt2img mode\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:07, 3.05it/s]\n 8%|▊ | 2/25 [00:00<00:05, 3.91it/s]\n 12%|█▏ | 3/25 [00:00<00:05, 4.29it/s]\n 16%|█▌ | 4/25 [00:00<00:04, 4.47it/s]\n 20%|██ | 5/25 [00:01<00:04, 4.56it/s]\n 24%|██▍ | 6/25 [00:01<00:04, 4.65it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 4.71it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 4.75it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 4.77it/s]\n 40%|████ | 10/25 [00:02<00:03, 4.79it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 4.78it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 4.80it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 4.81it/s]\n 56%|█████▌ | 14/25 [00:03<00:02, 4.81it/s]\n 60%|██████ | 15/25 [00:03<00:02, 4.82it/s]\n 64%|██████▍ | 16/25 [00:03<00:01, 4.82it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 4.82it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 4.82it/s]\n 76%|███████▌ | 19/25 [00:04<00:01, 4.82it/s]\n 80%|████████ | 20/25 [00:04<00:01, 4.82it/s]\n 84%|████████▍ | 21/25 [00:04<00:00, 4.82it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 4.82it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 4.82it/s]\n 96%|█████████▌| 24/25 [00:05<00:00, 4.82it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.82it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.71it/s]", "metrics": { "predict_time": 9.730518, "total_time": 12.86939 }, "output": [ "https://replicate.delivery/pbxt/SZFzNuGhKEqGEJgho78vVhkpyG6DcpQnTcq0fg2TSmcwpLbJA/out-0.png" ], "started_at": "2024-05-20T21:38:32.016872Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/987bd8gfhsrgg0cfjzrrnev90r", "cancel": "https://api.replicate.com/v1/predictions/987bd8gfhsrgg0cfjzrrnev90r/cancel" }, "version": "356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9" }
Generated inUsing seed: 49234 Ensuring enough disk space... Free disk space: 2158458437632 Downloading weights: https://replicate.delivery/pbxt/r0au58ewMVyLBq1eCdCiefyrF6IPFXm9XfrNIHyqHCBeqyltE/trained_model.tar 2024-05-20T21:38:32Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/3c62278109b1f6cf url=https://replicate.delivery/pbxt/r0au58ewMVyLBq1eCdCiefyrF6IPFXm9XfrNIHyqHCBeqyltE/trained_model.tar 2024-05-20T21:38:32Z | INFO | [ Complete ] dest=/src/weights-cache/3c62278109b1f6cf size="186 MB" total_elapsed=0.824s url=https://replicate.delivery/pbxt/r0au58ewMVyLBq1eCdCiefyrF6IPFXm9XfrNIHyqHCBeqyltE/trained_model.tar b'' Downloaded weights in 0.9757394790649414 seconds Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Prompt: a low iso film still of an 80s cyberpunk in the style of <s0><s1> txt2img mode 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:07, 3.05it/s] 8%|▊ | 2/25 [00:00<00:05, 3.91it/s] 12%|█▏ | 3/25 [00:00<00:05, 4.29it/s] 16%|█▌ | 4/25 [00:00<00:04, 4.47it/s] 20%|██ | 5/25 [00:01<00:04, 4.56it/s] 24%|██▍ | 6/25 [00:01<00:04, 4.65it/s] 28%|██▊ | 7/25 [00:01<00:03, 4.71it/s] 32%|███▏ | 8/25 [00:01<00:03, 4.75it/s] 36%|███▌ | 9/25 [00:01<00:03, 4.77it/s] 40%|████ | 10/25 [00:02<00:03, 4.79it/s] 44%|████▍ | 11/25 [00:02<00:02, 4.78it/s] 48%|████▊ | 12/25 [00:02<00:02, 4.80it/s] 52%|█████▏ | 13/25 [00:02<00:02, 4.81it/s] 56%|█████▌ | 14/25 [00:03<00:02, 4.81it/s] 60%|██████ | 15/25 [00:03<00:02, 4.82it/s] 64%|██████▍ | 16/25 [00:03<00:01, 4.82it/s] 68%|██████▊ | 17/25 [00:03<00:01, 4.82it/s] 72%|███████▏ | 18/25 [00:03<00:01, 4.82it/s] 76%|███████▌ | 19/25 [00:04<00:01, 4.82it/s] 80%|████████ | 20/25 [00:04<00:01, 4.82it/s] 84%|████████▍ | 21/25 [00:04<00:00, 4.82it/s] 88%|████████▊ | 22/25 [00:04<00:00, 4.82it/s] 92%|█████████▏| 23/25 [00:04<00:00, 4.82it/s] 96%|█████████▌| 24/25 [00:05<00:00, 4.82it/s] 100%|██████████| 25/25 [00:05<00:00, 4.82it/s] 100%|██████████| 25/25 [00:05<00:00, 4.71it/s]
Prediction
fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9IDjkneevq5asrgp0cfjzrthhca2cStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 768
- prompt
- a low iso cyberpunk film still of an 80s car in the style of TOK
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.9
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- cyan, ugly, broken, distorted, disfigured
- prompt_strength
- 0.8
- num_inference_steps
- 25
{ "width": 1024, "height": 768, "prompt": "a low iso cyberpunk film still of an 80s car in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", { input: { width: 1024, height: 768, prompt: "a low iso cyberpunk film still of an 80s car in the style of TOK", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.9, num_outputs: 1, guidance_scale: 7.5, apply_watermark: false, high_noise_frac: 0.8, negative_prompt: "cyan, ugly, broken, distorted, disfigured", prompt_strength: 0.8, num_inference_steps: 25 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", input={ "width": 1024, "height": 768, "prompt": "a low iso cyberpunk film still of an 80s car in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": False, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/sdxl-80s-cyberpunk 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": "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", "input": { "width": 1024, "height": 768, "prompt": "a low iso cyberpunk film still of an 80s car in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-20T21:39:31.994283Z", "created_at": "2024-05-20T21:39:23.606000Z", "data_removed": false, "error": null, "id": "jkneevq5asrgp0cfjzrthhca2c", "input": { "width": 1024, "height": 768, "prompt": "a low iso cyberpunk film still of an 80s car in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }, "logs": "Using seed: 13225\nskipping loading .. weights already loaded\nPrompt: a low iso cyberpunk film still of an 80s car in the style of <s0><s1>\ntxt2img mode\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:04, 4.87it/s]\n 8%|▊ | 2/25 [00:00<00:04, 4.85it/s]\n 12%|█▏ | 3/25 [00:00<00:04, 4.84it/s]\n 16%|█▌ | 4/25 [00:00<00:04, 4.84it/s]\n 20%|██ | 5/25 [00:01<00:04, 4.83it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 4.83it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 4.84it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 4.84it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 4.85it/s]\n 40%|████ | 10/25 [00:02<00:03, 4.84it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 4.84it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 4.84it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 4.84it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 4.85it/s]\n 60%|██████ | 15/25 [00:03<00:02, 4.85it/s]\n 64%|██████▍ | 16/25 [00:03<00:01, 4.85it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 4.84it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 4.84it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 4.85it/s]\n 80%|████████ | 20/25 [00:04<00:01, 4.84it/s]\n 84%|████████▍ | 21/25 [00:04<00:00, 4.84it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 4.84it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 4.84it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 4.84it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.84it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.84it/s]", "metrics": { "predict_time": 7.401863, "total_time": 8.388283 }, "output": [ "https://replicate.delivery/pbxt/eY5EbydO2t1aXCfJVfIo4Q3ap05zUeDXKSJd1BuqgeGTi6yWC/out-0.png" ], "started_at": "2024-05-20T21:39:24.592420Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jkneevq5asrgp0cfjzrthhca2c", "cancel": "https://api.replicate.com/v1/predictions/jkneevq5asrgp0cfjzrthhca2c/cancel" }, "version": "356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9" }
Generated inUsing seed: 13225 skipping loading .. weights already loaded Prompt: a low iso cyberpunk film still of an 80s car in the style of <s0><s1> txt2img mode 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:04, 4.87it/s] 8%|▊ | 2/25 [00:00<00:04, 4.85it/s] 12%|█▏ | 3/25 [00:00<00:04, 4.84it/s] 16%|█▌ | 4/25 [00:00<00:04, 4.84it/s] 20%|██ | 5/25 [00:01<00:04, 4.83it/s] 24%|██▍ | 6/25 [00:01<00:03, 4.83it/s] 28%|██▊ | 7/25 [00:01<00:03, 4.84it/s] 32%|███▏ | 8/25 [00:01<00:03, 4.84it/s] 36%|███▌ | 9/25 [00:01<00:03, 4.85it/s] 40%|████ | 10/25 [00:02<00:03, 4.84it/s] 44%|████▍ | 11/25 [00:02<00:02, 4.84it/s] 48%|████▊ | 12/25 [00:02<00:02, 4.84it/s] 52%|█████▏ | 13/25 [00:02<00:02, 4.84it/s] 56%|█████▌ | 14/25 [00:02<00:02, 4.85it/s] 60%|██████ | 15/25 [00:03<00:02, 4.85it/s] 64%|██████▍ | 16/25 [00:03<00:01, 4.85it/s] 68%|██████▊ | 17/25 [00:03<00:01, 4.84it/s] 72%|███████▏ | 18/25 [00:03<00:01, 4.84it/s] 76%|███████▌ | 19/25 [00:03<00:01, 4.85it/s] 80%|████████ | 20/25 [00:04<00:01, 4.84it/s] 84%|████████▍ | 21/25 [00:04<00:00, 4.84it/s] 88%|████████▊ | 22/25 [00:04<00:00, 4.84it/s] 92%|█████████▏| 23/25 [00:04<00:00, 4.84it/s] 96%|█████████▌| 24/25 [00:04<00:00, 4.84it/s] 100%|██████████| 25/25 [00:05<00:00, 4.84it/s] 100%|██████████| 25/25 [00:05<00:00, 4.84it/s]
Prediction
fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9IDrva8k34s7drgg0cfjzs88ke6fmStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 768
- prompt
- in the style of TOK, a low iso 80s photo of living room interior
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.9
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- cyan, ugly, broken, distorted, disfigured
- prompt_strength
- 0.8
- num_inference_steps
- 25
{ "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of living room interior", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", { input: { width: 1024, height: 768, prompt: "in the style of TOK, a low iso 80s photo of living room interior", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.9, num_outputs: 1, guidance_scale: 7.5, apply_watermark: false, high_noise_frac: 0.8, negative_prompt: "cyan, ugly, broken, distorted, disfigured", prompt_strength: 0.8, num_inference_steps: 25 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", input={ "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of living room interior", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": False, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/sdxl-80s-cyberpunk 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": "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", "input": { "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of living room interior", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-20T21:40:21.843023Z", "created_at": "2024-05-20T21:40:09.659000Z", "data_removed": false, "error": null, "id": "rva8k34s7drgg0cfjzs88ke6fm", "input": { "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of living room interior", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }, "logs": "Using seed: 35669\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nPrompt: in the style of <s0><s1>, a low iso 80s photo of living room interior\ntxt2img mode\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:05, 4.65it/s]\n 8%|▊ | 2/25 [00:00<00:04, 4.77it/s]\n 12%|█▏ | 3/25 [00:00<00:04, 4.82it/s]\n 16%|█▌ | 4/25 [00:00<00:04, 4.84it/s]\n 20%|██ | 5/25 [00:01<00:04, 4.86it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 4.87it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 4.88it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 4.89it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 4.89it/s]\n 40%|████ | 10/25 [00:02<00:03, 4.89it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 4.89it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 4.89it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 4.89it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 4.89it/s]\n 60%|██████ | 15/25 [00:03<00:02, 4.89it/s]\n 64%|██████▍ | 16/25 [00:03<00:01, 4.89it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 4.89it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 4.89it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 4.89it/s]\n 80%|████████ | 20/25 [00:04<00:01, 4.88it/s]\n 84%|████████▍ | 21/25 [00:04<00:00, 4.89it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 4.89it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 4.88it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 4.88it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.88it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.88it/s]", "metrics": { "predict_time": 9.16614, "total_time": 12.184023 }, "output": [ "https://replicate.delivery/pbxt/nhG6X8Tj857aF5WD6qBANHBUGShR3hisKbeBeP1lyYJDVX2SA/out-0.png" ], "started_at": "2024-05-20T21:40:12.676883Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rva8k34s7drgg0cfjzs88ke6fm", "cancel": "https://api.replicate.com/v1/predictions/rva8k34s7drgg0cfjzs88ke6fm/cancel" }, "version": "356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9" }
Generated inUsing seed: 35669 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Prompt: in the style of <s0><s1>, a low iso 80s photo of living room interior txt2img mode 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:05, 4.65it/s] 8%|▊ | 2/25 [00:00<00:04, 4.77it/s] 12%|█▏ | 3/25 [00:00<00:04, 4.82it/s] 16%|█▌ | 4/25 [00:00<00:04, 4.84it/s] 20%|██ | 5/25 [00:01<00:04, 4.86it/s] 24%|██▍ | 6/25 [00:01<00:03, 4.87it/s] 28%|██▊ | 7/25 [00:01<00:03, 4.88it/s] 32%|███▏ | 8/25 [00:01<00:03, 4.89it/s] 36%|███▌ | 9/25 [00:01<00:03, 4.89it/s] 40%|████ | 10/25 [00:02<00:03, 4.89it/s] 44%|████▍ | 11/25 [00:02<00:02, 4.89it/s] 48%|████▊ | 12/25 [00:02<00:02, 4.89it/s] 52%|█████▏ | 13/25 [00:02<00:02, 4.89it/s] 56%|█████▌ | 14/25 [00:02<00:02, 4.89it/s] 60%|██████ | 15/25 [00:03<00:02, 4.89it/s] 64%|██████▍ | 16/25 [00:03<00:01, 4.89it/s] 68%|██████▊ | 17/25 [00:03<00:01, 4.89it/s] 72%|███████▏ | 18/25 [00:03<00:01, 4.89it/s] 76%|███████▌ | 19/25 [00:03<00:01, 4.89it/s] 80%|████████ | 20/25 [00:04<00:01, 4.88it/s] 84%|████████▍ | 21/25 [00:04<00:00, 4.89it/s] 88%|████████▊ | 22/25 [00:04<00:00, 4.89it/s] 92%|█████████▏| 23/25 [00:04<00:00, 4.88it/s] 96%|█████████▌| 24/25 [00:04<00:00, 4.88it/s] 100%|██████████| 25/25 [00:05<00:00, 4.88it/s] 100%|██████████| 25/25 [00:05<00:00, 4.88it/s]
Prediction
fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9IDvkfcwg93enrgj0cfjzsrwxq47rStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 768
- prompt
- in the style of TOK, a low iso 80s photo of a tv
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.9
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- cyan, ugly, broken, distorted, disfigured
- prompt_strength
- 0.8
- num_inference_steps
- 25
{ "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of a tv", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", { input: { width: 1024, height: 768, prompt: "in the style of TOK, a low iso 80s photo of a tv", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.9, num_outputs: 1, guidance_scale: 7.5, apply_watermark: false, high_noise_frac: 0.8, negative_prompt: "cyan, ugly, broken, distorted, disfigured", prompt_strength: 0.8, num_inference_steps: 25 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", input={ "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of a tv", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": False, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/sdxl-80s-cyberpunk 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": "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", "input": { "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of a tv", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-20T21:40:54.680472Z", "created_at": "2024-05-20T21:40:45.045000Z", "data_removed": false, "error": null, "id": "vkfcwg93enrgj0cfjzsrwxq47r", "input": { "width": 1024, "height": 768, "prompt": "in the style of TOK, a low iso 80s photo of a tv", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }, "logs": "Using seed: 61184\nskipping loading .. weights already loaded\nPrompt: in the style of <s0><s1>, a low iso 80s photo of a tv\ntxt2img mode\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:04, 4.88it/s]\n 8%|▊ | 2/25 [00:00<00:04, 4.87it/s]\n 12%|█▏ | 3/25 [00:00<00:04, 4.87it/s]\n 16%|█▌ | 4/25 [00:00<00:04, 4.88it/s]\n 20%|██ | 5/25 [00:01<00:04, 4.89it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 4.89it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 4.89it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 4.89it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 4.89it/s]\n 40%|████ | 10/25 [00:02<00:03, 4.89it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 4.89it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 4.89it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 4.89it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 4.89it/s]\n 60%|██████ | 15/25 [00:03<00:02, 4.89it/s]\n 64%|██████▍ | 16/25 [00:03<00:01, 4.88it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 4.88it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 4.88it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 4.88it/s]\n 80%|████████ | 20/25 [00:04<00:01, 4.88it/s]\n 84%|████████▍ | 21/25 [00:04<00:00, 4.87it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 4.88it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 4.87it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 4.87it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.87it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.88it/s]", "metrics": { "predict_time": 7.609445, "total_time": 9.635472 }, "output": [ "https://replicate.delivery/pbxt/9PnTwLM08S4hFx1opHrkcfAEb9rac7EOas07KXbwneblVX2SA/out-0.png" ], "started_at": "2024-05-20T21:40:47.071027Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/vkfcwg93enrgj0cfjzsrwxq47r", "cancel": "https://api.replicate.com/v1/predictions/vkfcwg93enrgj0cfjzsrwxq47r/cancel" }, "version": "356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9" }
Generated inUsing seed: 61184 skipping loading .. weights already loaded Prompt: in the style of <s0><s1>, a low iso 80s photo of a tv txt2img mode 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:04, 4.88it/s] 8%|▊ | 2/25 [00:00<00:04, 4.87it/s] 12%|█▏ | 3/25 [00:00<00:04, 4.87it/s] 16%|█▌ | 4/25 [00:00<00:04, 4.88it/s] 20%|██ | 5/25 [00:01<00:04, 4.89it/s] 24%|██▍ | 6/25 [00:01<00:03, 4.89it/s] 28%|██▊ | 7/25 [00:01<00:03, 4.89it/s] 32%|███▏ | 8/25 [00:01<00:03, 4.89it/s] 36%|███▌ | 9/25 [00:01<00:03, 4.89it/s] 40%|████ | 10/25 [00:02<00:03, 4.89it/s] 44%|████▍ | 11/25 [00:02<00:02, 4.89it/s] 48%|████▊ | 12/25 [00:02<00:02, 4.89it/s] 52%|█████▏ | 13/25 [00:02<00:02, 4.89it/s] 56%|█████▌ | 14/25 [00:02<00:02, 4.89it/s] 60%|██████ | 15/25 [00:03<00:02, 4.89it/s] 64%|██████▍ | 16/25 [00:03<00:01, 4.88it/s] 68%|██████▊ | 17/25 [00:03<00:01, 4.88it/s] 72%|███████▏ | 18/25 [00:03<00:01, 4.88it/s] 76%|███████▌ | 19/25 [00:03<00:01, 4.88it/s] 80%|████████ | 20/25 [00:04<00:01, 4.88it/s] 84%|████████▍ | 21/25 [00:04<00:00, 4.87it/s] 88%|████████▊ | 22/25 [00:04<00:00, 4.88it/s] 92%|█████████▏| 23/25 [00:04<00:00, 4.87it/s] 96%|█████████▌| 24/25 [00:04<00:00, 4.87it/s] 100%|██████████| 25/25 [00:05<00:00, 4.87it/s] 100%|██████████| 25/25 [00:05<00:00, 4.88it/s]
Prediction
fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9IDa6p232v7vdrgg0cfjztv53ap3mStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 768
- prompt
- a low iso film still of an 80s cyberpunk car interior in the style of TOK
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.9
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- cyan, ugly, broken, distorted, disfigured
- prompt_strength
- 0.8
- num_inference_steps
- 25
{ "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", { input: { width: 1024, height: 768, prompt: "a low iso film still of an 80s cyberpunk car interior in the style of TOK", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.9, num_outputs: 1, guidance_scale: 7.5, apply_watermark: false, high_noise_frac: 0.8, negative_prompt: "cyan, ugly, broken, distorted, disfigured", prompt_strength: 0.8, num_inference_steps: 25 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", input={ "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": False, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/sdxl-80s-cyberpunk 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": "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", "input": { "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-20T21:43:23.488819Z", "created_at": "2024-05-20T21:43:13.627000Z", "data_removed": false, "error": null, "id": "a6p232v7vdrgg0cfjztv53ap3m", "input": { "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }, "logs": "Using seed: 43488\nskipping loading .. weights already loaded\nPrompt: a low iso film still of an 80s cyberpunk car interior in the style of <s0><s1>\ntxt2img mode\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:04, 4.91it/s]\n 8%|▊ | 2/25 [00:00<00:04, 4.89it/s]\n 12%|█▏ | 3/25 [00:00<00:04, 4.87it/s]\n 16%|█▌ | 4/25 [00:00<00:04, 4.86it/s]\n 20%|██ | 5/25 [00:01<00:04, 4.86it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 4.85it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 4.85it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 4.86it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 4.87it/s]\n 40%|████ | 10/25 [00:02<00:03, 4.87it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 4.87it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 4.87it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 4.87it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 4.87it/s]\n 60%|██████ | 15/25 [00:03<00:02, 4.87it/s]\n 64%|██████▍ | 16/25 [00:03<00:01, 4.83it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 4.84it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 4.85it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 4.86it/s]\n 80%|████████ | 20/25 [00:04<00:01, 4.87it/s]\n 84%|████████▍ | 21/25 [00:04<00:00, 4.87it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 4.87it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 4.87it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 4.87it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.87it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.86it/s]", "metrics": { "predict_time": 7.620848, "total_time": 9.861819 }, "output": [ "https://replicate.delivery/pbxt/oQ2vsVKVNO5ef0A5xkMraVx3Xs0OPJORo0VfeUQbCyxof6yWC/out-0.png" ], "started_at": "2024-05-20T21:43:15.867971Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/a6p232v7vdrgg0cfjztv53ap3m", "cancel": "https://api.replicate.com/v1/predictions/a6p232v7vdrgg0cfjztv53ap3m/cancel" }, "version": "356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9" }
Generated inUsing seed: 43488 skipping loading .. weights already loaded Prompt: a low iso film still of an 80s cyberpunk car interior in the style of <s0><s1> txt2img mode 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:04, 4.91it/s] 8%|▊ | 2/25 [00:00<00:04, 4.89it/s] 12%|█▏ | 3/25 [00:00<00:04, 4.87it/s] 16%|█▌ | 4/25 [00:00<00:04, 4.86it/s] 20%|██ | 5/25 [00:01<00:04, 4.86it/s] 24%|██▍ | 6/25 [00:01<00:03, 4.85it/s] 28%|██▊ | 7/25 [00:01<00:03, 4.85it/s] 32%|███▏ | 8/25 [00:01<00:03, 4.86it/s] 36%|███▌ | 9/25 [00:01<00:03, 4.87it/s] 40%|████ | 10/25 [00:02<00:03, 4.87it/s] 44%|████▍ | 11/25 [00:02<00:02, 4.87it/s] 48%|████▊ | 12/25 [00:02<00:02, 4.87it/s] 52%|█████▏ | 13/25 [00:02<00:02, 4.87it/s] 56%|█████▌ | 14/25 [00:02<00:02, 4.87it/s] 60%|██████ | 15/25 [00:03<00:02, 4.87it/s] 64%|██████▍ | 16/25 [00:03<00:01, 4.83it/s] 68%|██████▊ | 17/25 [00:03<00:01, 4.84it/s] 72%|███████▏ | 18/25 [00:03<00:01, 4.85it/s] 76%|███████▌ | 19/25 [00:03<00:01, 4.86it/s] 80%|████████ | 20/25 [00:04<00:01, 4.87it/s] 84%|████████▍ | 21/25 [00:04<00:00, 4.87it/s] 88%|████████▊ | 22/25 [00:04<00:00, 4.87it/s] 92%|█████████▏| 23/25 [00:04<00:00, 4.87it/s] 96%|█████████▌| 24/25 [00:04<00:00, 4.87it/s] 100%|██████████| 25/25 [00:05<00:00, 4.87it/s] 100%|██████████| 25/25 [00:05<00:00, 4.86it/s]
Prediction
fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9IDtryk63e0y5rgg0cfjztrdrc3jwStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1024
- height
- 768
- prompt
- a low iso film still of an 80s cyberpunk car interior in the style of TOK
- refine
- no_refiner
- scheduler
- K_EULER
- lora_scale
- 0.9
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- cyan, ugly, broken, distorted, disfigured
- prompt_strength
- 0.8
- num_inference_steps
- 25
{ "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", { input: { width: 1024, height: 768, prompt: "a low iso film still of an 80s cyberpunk car interior in the style of TOK", refine: "no_refiner", scheduler: "K_EULER", lora_scale: 0.9, num_outputs: 1, guidance_scale: 7.5, apply_watermark: false, high_noise_frac: 0.8, negative_prompt: "cyan, ugly, broken, distorted, disfigured", prompt_strength: 0.8, num_inference_steps: 25 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/sdxl-80s-cyberpunk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", input={ "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": False, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/sdxl-80s-cyberpunk 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": "fofr/sdxl-80s-cyberpunk:356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9", "input": { "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-20T21:43:46.671211Z", "created_at": "2024-05-20T21:43:36.433000Z", "data_removed": false, "error": null, "id": "tryk63e0y5rgg0cfjztrdrc3jw", "input": { "width": 1024, "height": 768, "prompt": "a low iso film still of an 80s cyberpunk car interior in the style of TOK", "refine": "no_refiner", "scheduler": "K_EULER", "lora_scale": 0.9, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": false, "high_noise_frac": 0.8, "negative_prompt": "cyan, ugly, broken, distorted, disfigured", "prompt_strength": 0.8, "num_inference_steps": 25 }, "logs": "Using seed: 17773\nskipping loading .. weights already loaded\nPrompt: a low iso film still of an 80s cyberpunk car interior in the style of <s0><s1>\ntxt2img mode\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:04, 4.91it/s]\n 8%|▊ | 2/25 [00:00<00:04, 4.89it/s]\n 12%|█▏ | 3/25 [00:00<00:04, 4.88it/s]\n 16%|█▌ | 4/25 [00:00<00:04, 4.88it/s]\n 20%|██ | 5/25 [00:01<00:04, 4.88it/s]\n 24%|██▍ | 6/25 [00:01<00:03, 4.89it/s]\n 28%|██▊ | 7/25 [00:01<00:03, 4.89it/s]\n 32%|███▏ | 8/25 [00:01<00:03, 4.89it/s]\n 36%|███▌ | 9/25 [00:01<00:03, 4.89it/s]\n 40%|████ | 10/25 [00:02<00:03, 4.89it/s]\n 44%|████▍ | 11/25 [00:02<00:02, 4.89it/s]\n 48%|████▊ | 12/25 [00:02<00:02, 4.89it/s]\n 52%|█████▏ | 13/25 [00:02<00:02, 4.89it/s]\n 56%|█████▌ | 14/25 [00:02<00:02, 4.89it/s]\n 60%|██████ | 15/25 [00:03<00:02, 4.89it/s]\n 64%|██████▍ | 16/25 [00:03<00:01, 4.89it/s]\n 68%|██████▊ | 17/25 [00:03<00:01, 4.88it/s]\n 72%|███████▏ | 18/25 [00:03<00:01, 4.88it/s]\n 76%|███████▌ | 19/25 [00:03<00:01, 4.88it/s]\n 80%|████████ | 20/25 [00:04<00:01, 4.88it/s]\n 84%|████████▍ | 21/25 [00:04<00:00, 4.88it/s]\n 88%|████████▊ | 22/25 [00:04<00:00, 4.88it/s]\n 92%|█████████▏| 23/25 [00:04<00:00, 4.88it/s]\n 96%|█████████▌| 24/25 [00:04<00:00, 4.88it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.88it/s]\n100%|██████████| 25/25 [00:05<00:00, 4.88it/s]", "metrics": { "predict_time": 7.602619, "total_time": 10.238211 }, "output": [ "https://replicate.delivery/pbxt/u4eyMa2UfhoUGkzxEdKhCGPCish70XQUH7YF3hapgneiwuslA/out-0.png" ], "started_at": "2024-05-20T21:43:39.068592Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/tryk63e0y5rgg0cfjztrdrc3jw", "cancel": "https://api.replicate.com/v1/predictions/tryk63e0y5rgg0cfjztrdrc3jw/cancel" }, "version": "356b6cbe7f0011970aaa0bfe7a9fcd2e6cd3b84b35d0fd09a840ac1bfc7020d9" }
Generated inUsing seed: 17773 skipping loading .. weights already loaded Prompt: a low iso film still of an 80s cyberpunk car interior in the style of <s0><s1> txt2img mode 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:04, 4.91it/s] 8%|▊ | 2/25 [00:00<00:04, 4.89it/s] 12%|█▏ | 3/25 [00:00<00:04, 4.88it/s] 16%|█▌ | 4/25 [00:00<00:04, 4.88it/s] 20%|██ | 5/25 [00:01<00:04, 4.88it/s] 24%|██▍ | 6/25 [00:01<00:03, 4.89it/s] 28%|██▊ | 7/25 [00:01<00:03, 4.89it/s] 32%|███▏ | 8/25 [00:01<00:03, 4.89it/s] 36%|███▌ | 9/25 [00:01<00:03, 4.89it/s] 40%|████ | 10/25 [00:02<00:03, 4.89it/s] 44%|████▍ | 11/25 [00:02<00:02, 4.89it/s] 48%|████▊ | 12/25 [00:02<00:02, 4.89it/s] 52%|█████▏ | 13/25 [00:02<00:02, 4.89it/s] 56%|█████▌ | 14/25 [00:02<00:02, 4.89it/s] 60%|██████ | 15/25 [00:03<00:02, 4.89it/s] 64%|██████▍ | 16/25 [00:03<00:01, 4.89it/s] 68%|██████▊ | 17/25 [00:03<00:01, 4.88it/s] 72%|███████▏ | 18/25 [00:03<00:01, 4.88it/s] 76%|███████▌ | 19/25 [00:03<00:01, 4.88it/s] 80%|████████ | 20/25 [00:04<00:01, 4.88it/s] 84%|████████▍ | 21/25 [00:04<00:00, 4.88it/s] 88%|████████▊ | 22/25 [00:04<00:00, 4.88it/s] 92%|█████████▏| 23/25 [00:04<00:00, 4.88it/s] 96%|█████████▌| 24/25 [00:04<00:00, 4.88it/s] 100%|██████████| 25/25 [00:05<00:00, 4.88it/s] 100%|██████████| 25/25 [00:05<00:00, 4.88it/s]
Want to make some of these yourself?
Run this model