swk23/vader
Prediction
swk23/vader:b78e5a9fModelID0ttnmjc0ynrm80cm7w19g1sq2cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- "A close-up of Darth Vader's iconic helmet in a dark, shadowy room. The polished black surface reflects faint glimmers of light, emphasizing the intricate details of the mask. His red-lit eyes glow faintly, exuding a menacing presence, while subtle wisps of mist curl around the base of his helmet. The room's darkness frames his imposing visage, creating an atmosphere of intimidation and mystery."
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "\"A close-up of Darth Vader's iconic helmet in a dark, shadowy room. The polished black surface reflects faint glimmers of light, emphasizing the intricate details of the mask. His red-lit eyes glow faintly, exuding a menacing presence, while subtle wisps of mist curl around the base of his helmet. The room's darkness frames his imposing visage, creating an atmosphere of intimidation and mystery.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { model: "dev", prompt: "\"A close-up of Darth Vader's iconic helmet in a dark, shadowy room. The polished black surface reflects faint glimmers of light, emphasizing the intricate details of the mask. His red-lit eyes glow faintly, exuding a menacing presence, while subtle wisps of mist curl around the base of his helmet. The room's darkness frames his imposing visage, creating an atmosphere of intimidation and mystery.\"", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "model": "dev", "prompt": "\"A close-up of Darth Vader's iconic helmet in a dark, shadowy room. The polished black surface reflects faint glimmers of light, emphasizing the intricate details of the mask. His red-lit eyes glow faintly, exuding a menacing presence, while subtle wisps of mist curl around the base of his helmet. The room's darkness frames his imposing visage, creating an atmosphere of intimidation and mystery.\"", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "model": "dev", "prompt": "\\"A close-up of Darth Vader\'s iconic helmet in a dark, shadowy room. The polished black surface reflects faint glimmers of light, emphasizing the intricate details of the mask. His red-lit eyes glow faintly, exuding a menacing presence, while subtle wisps of mist curl around the base of his helmet. The room\'s darkness frames his imposing visage, creating an atmosphere of intimidation and mystery.\\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-07T04:25:30.473786Z", "created_at": "2025-01-07T04:25:16.277000Z", "data_removed": false, "error": null, "id": "0ttnmjc0ynrm80cm7w19g1sq2c", "input": { "model": "dev", "prompt": "\"A close-up of Darth Vader's iconic helmet in a dark, shadowy room. The polished black surface reflects faint glimmers of light, emphasizing the intricate details of the mask. His red-lit eyes glow faintly, exuding a menacing presence, while subtle wisps of mist curl around the base of his helmet. The room's darkness frames his imposing visage, creating an atmosphere of intimidation and mystery.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2025-01-07 04:25:19.067 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-07 04:25:19.068 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2734.59it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2643.06it/s]\n2025-01-07 04:25:19.183 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=28915602481152\nDownloading weights\n2025-01-07T04:25:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6ylwg7vd/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\n2025-01-07T04:25:24Z | INFO | [ Complete ] dest=/tmp/tmp6ylwg7vd/weights size=\"172 MB\" total_elapsed=5.592s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\nDownloaded weights in 5.62s\n2025-01-07 04:25:24.801 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/b8333114e6bacd62\n2025-01-07 04:25:24.871 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-07 04:25:24.871 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-07 04:25:24.872 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2739.17it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2647.00it/s]\n2025-01-07 04:25:24.987 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 12705\n0it [00:00, ?it/s]\n1it [00:00, 9.19it/s]\n2it [00:00, 6.45it/s]\n3it [00:00, 5.89it/s]\n4it [00:00, 5.66it/s]\n5it [00:00, 5.53it/s]\n6it [00:01, 5.38it/s]\n7it [00:01, 5.37it/s]\n8it [00:01, 5.36it/s]\n9it [00:01, 5.35it/s]\n10it [00:01, 5.34it/s]\n11it [00:01, 5.31it/s]\n12it [00:02, 5.28it/s]\n13it [00:02, 5.28it/s]\n14it [00:02, 5.29it/s]\n15it [00:02, 5.31it/s]\n16it [00:02, 5.31it/s]\n17it [00:03, 5.29it/s]\n18it [00:03, 5.30it/s]\n19it [00:03, 5.29it/s]\n20it [00:03, 5.29it/s]\n21it [00:03, 5.29it/s]\n22it [00:04, 5.30it/s]\n23it [00:04, 5.28it/s]\n24it [00:04, 5.29it/s]\n25it [00:04, 5.30it/s]\n26it [00:04, 5.29it/s]\n27it [00:05, 5.31it/s]\n28it [00:05, 5.31it/s]\n28it [00:05, 5.38it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 11.405299867, "total_time": 14.196786 }, "output": [ "https://replicate.delivery/xezq/d8e9iWHDe1kkdkHqriYRUpTaWfD9e3r1XalMeuHV9jiRXvUgC/out-0.jpg" ], "started_at": "2025-01-07T04:25:19.068486Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-oijwn5323qxg5dzau5uacsoqu32gkl55saot327zugbpih4okqvq", "get": "https://api.replicate.com/v1/predictions/0ttnmjc0ynrm80cm7w19g1sq2c", "cancel": "https://api.replicate.com/v1/predictions/0ttnmjc0ynrm80cm7w19g1sq2c/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated in2025-01-07 04:25:19.067 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-07 04:25:19.068 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2734.59it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2643.06it/s] 2025-01-07 04:25:19.183 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=28915602481152 Downloading weights 2025-01-07T04:25:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6ylwg7vd/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar 2025-01-07T04:25:24Z | INFO | [ Complete ] dest=/tmp/tmp6ylwg7vd/weights size="172 MB" total_elapsed=5.592s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar Downloaded weights in 5.62s 2025-01-07 04:25:24.801 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/b8333114e6bacd62 2025-01-07 04:25:24.871 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-07 04:25:24.871 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-07 04:25:24.872 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2739.17it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2647.00it/s] 2025-01-07 04:25:24.987 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 12705 0it [00:00, ?it/s] 1it [00:00, 9.19it/s] 2it [00:00, 6.45it/s] 3it [00:00, 5.89it/s] 4it [00:00, 5.66it/s] 5it [00:00, 5.53it/s] 6it [00:01, 5.38it/s] 7it [00:01, 5.37it/s] 8it [00:01, 5.36it/s] 9it [00:01, 5.35it/s] 10it [00:01, 5.34it/s] 11it [00:01, 5.31it/s] 12it [00:02, 5.28it/s] 13it [00:02, 5.28it/s] 14it [00:02, 5.29it/s] 15it [00:02, 5.31it/s] 16it [00:02, 5.31it/s] 17it [00:03, 5.29it/s] 18it [00:03, 5.30it/s] 19it [00:03, 5.29it/s] 20it [00:03, 5.29it/s] 21it [00:03, 5.29it/s] 22it [00:04, 5.30it/s] 23it [00:04, 5.28it/s] 24it [00:04, 5.29it/s] 25it [00:04, 5.30it/s] 26it [00:04, 5.29it/s] 27it [00:05, 5.31it/s] 28it [00:05, 5.31it/s] 28it [00:05, 5.38it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelIDe4z0ewet8xrmc0cm8cett859jrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- "Darth Vader, mid-swing with his ignited red lightsaber, stands amidst the fiery chaos of Mustafar. His black armor gleams under the intense glow of molten lava, while his flowing cape whips through the air, caught in the force of his movement. The crimson blade cuts through the ash-filled atmosphere, leaving a vivid arc of light in its wake. Embers and sparks scatter around him, and the volcanic terrain blurs with the motion, amplifying the raw power and aggression of his attack."
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "\"Darth Vader, mid-swing with his ignited red lightsaber, stands amidst the fiery chaos of Mustafar. His black armor gleams under the intense glow of molten lava, while his flowing cape whips through the air, caught in the force of his movement. The crimson blade cuts through the ash-filled atmosphere, leaving a vivid arc of light in its wake. Embers and sparks scatter around him, and the volcanic terrain blurs with the motion, amplifying the raw power and aggression of his attack.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { model: "dev", prompt: "\"Darth Vader, mid-swing with his ignited red lightsaber, stands amidst the fiery chaos of Mustafar. His black armor gleams under the intense glow of molten lava, while his flowing cape whips through the air, caught in the force of his movement. The crimson blade cuts through the ash-filled atmosphere, leaving a vivid arc of light in its wake. Embers and sparks scatter around him, and the volcanic terrain blurs with the motion, amplifying the raw power and aggression of his attack.\"", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "model": "dev", "prompt": "\"Darth Vader, mid-swing with his ignited red lightsaber, stands amidst the fiery chaos of Mustafar. His black armor gleams under the intense glow of molten lava, while his flowing cape whips through the air, caught in the force of his movement. The crimson blade cuts through the ash-filled atmosphere, leaving a vivid arc of light in its wake. Embers and sparks scatter around him, and the volcanic terrain blurs with the motion, amplifying the raw power and aggression of his attack.\"", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "model": "dev", "prompt": "\\"Darth Vader, mid-swing with his ignited red lightsaber, stands amidst the fiery chaos of Mustafar. His black armor gleams under the intense glow of molten lava, while his flowing cape whips through the air, caught in the force of his movement. The crimson blade cuts through the ash-filled atmosphere, leaving a vivid arc of light in its wake. Embers and sparks scatter around him, and the volcanic terrain blurs with the motion, amplifying the raw power and aggression of his attack.\\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-07T23:33:46.884086Z", "created_at": "2025-01-07T23:33:37.479000Z", "data_removed": false, "error": null, "id": "e4z0ewet8xrmc0cm8cett859jr", "input": { "model": "dev", "prompt": "\"Darth Vader, mid-swing with his ignited red lightsaber, stands amidst the fiery chaos of Mustafar. His black armor gleams under the intense glow of molten lava, while his flowing cape whips through the air, caught in the force of his movement. The crimson blade cuts through the ash-filled atmosphere, leaving a vivid arc of light in its wake. Embers and sparks scatter around him, and the volcanic terrain blurs with the motion, amplifying the raw power and aggression of his attack.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2025-01-07 23:33:37.859 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-07 23:33:37.860 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 285/304 [00:00<00:00, 2840.04it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2785.87it/s]\n2025-01-07 23:33:37.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-07 23:33:37.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 59%|█████▊ | 178/304 [00:00<00:00, 1776.06it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 1873.93it/s]\n2025-01-07 23:33:38.132 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.27s\nfree=29244652830720\nDownloading weights\n2025-01-07T23:33:38Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpdbmx7obm/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\n2025-01-07T23:33:41Z | INFO | [ Complete ] dest=/tmp/tmpdbmx7obm/weights size=\"172 MB\" total_elapsed=2.966s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\nDownloaded weights in 2.99s\n2025-01-07 23:33:41.126 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/b8333114e6bacd62\n2025-01-07 23:33:41.199 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-07 23:33:41.199 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-07 23:33:41.199 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 286/304 [00:00<00:00, 2848.42it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2795.58it/s]\n2025-01-07 23:33:41.308 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s\nUsing seed: 5932\n0it [00:00, ?it/s]\n1it [00:00, 9.12it/s]\n2it [00:00, 6.41it/s]\n3it [00:00, 5.86it/s]\n4it [00:00, 5.63it/s]\n5it [00:00, 5.48it/s]\n6it [00:01, 5.33it/s]\n7it [00:01, 5.27it/s]\n8it [00:01, 5.28it/s]\n9it [00:01, 5.29it/s]\n10it [00:01, 5.28it/s]\n11it [00:02, 5.27it/s]\n12it [00:02, 5.24it/s]\n13it [00:02, 5.23it/s]\n14it [00:02, 5.24it/s]\n15it [00:02, 5.25it/s]\n16it [00:02, 5.24it/s]\n17it [00:03, 5.24it/s]\n18it [00:03, 5.24it/s]\n19it [00:03, 5.23it/s]\n20it [00:03, 5.21it/s]\n21it [00:03, 5.19it/s]\n22it [00:04, 5.18it/s]\n23it [00:04, 5.20it/s]\n24it [00:04, 5.22it/s]\n25it [00:04, 5.21it/s]\n26it [00:04, 5.20it/s]\n27it [00:05, 5.20it/s]\n28it [00:05, 5.19it/s]\n28it [00:05, 5.30it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 9.024050464, "total_time": 9.405086 }, "output": [ "https://replicate.delivery/xezq/4xN0M8AaWT6pMpSEFmonyLTwDH6rXjXwvKjBUTrmiWu2rtAF/out-0.jpg" ], "started_at": "2025-01-07T23:33:37.860035Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-lxx76vrfc34sevhu54kn3vm5kjic4ykiiu7phn2yabrckupxa5rq", "get": "https://api.replicate.com/v1/predictions/e4z0ewet8xrmc0cm8cett859jr", "cancel": "https://api.replicate.com/v1/predictions/e4z0ewet8xrmc0cm8cett859jr/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated in2025-01-07 23:33:37.859 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-07 23:33:37.860 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 285/304 [00:00<00:00, 2840.04it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2785.87it/s] 2025-01-07 23:33:37.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-07 23:33:37.969 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 59%|█████▊ | 178/304 [00:00<00:00, 1776.06it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 1873.93it/s] 2025-01-07 23:33:38.132 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.27s free=29244652830720 Downloading weights 2025-01-07T23:33:38Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpdbmx7obm/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar 2025-01-07T23:33:41Z | INFO | [ Complete ] dest=/tmp/tmpdbmx7obm/weights size="172 MB" total_elapsed=2.966s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar Downloaded weights in 2.99s 2025-01-07 23:33:41.126 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/b8333114e6bacd62 2025-01-07 23:33:41.199 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-07 23:33:41.199 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-07 23:33:41.199 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 286/304 [00:00<00:00, 2848.42it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2795.58it/s] 2025-01-07 23:33:41.308 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s Using seed: 5932 0it [00:00, ?it/s] 1it [00:00, 9.12it/s] 2it [00:00, 6.41it/s] 3it [00:00, 5.86it/s] 4it [00:00, 5.63it/s] 5it [00:00, 5.48it/s] 6it [00:01, 5.33it/s] 7it [00:01, 5.27it/s] 8it [00:01, 5.28it/s] 9it [00:01, 5.29it/s] 10it [00:01, 5.28it/s] 11it [00:02, 5.27it/s] 12it [00:02, 5.24it/s] 13it [00:02, 5.23it/s] 14it [00:02, 5.24it/s] 15it [00:02, 5.25it/s] 16it [00:02, 5.24it/s] 17it [00:03, 5.24it/s] 18it [00:03, 5.24it/s] 19it [00:03, 5.23it/s] 20it [00:03, 5.21it/s] 21it [00:03, 5.19it/s] 22it [00:04, 5.18it/s] 23it [00:04, 5.20it/s] 24it [00:04, 5.22it/s] 25it [00:04, 5.21it/s] 26it [00:04, 5.20it/s] 27it [00:05, 5.20it/s] 28it [00:05, 5.19it/s] 28it [00:05, 5.30it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelIDmsb79yy5cxrme0cm8w48ag98m4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- "close up of Darth Vader stands in the dimly lit control room on Mustafar. he holds a red lightsaber with one hand. Through the large reinforced windows, the fiery rivers of molten lava outside bathe the room in an orange-red hue, creating a stark contrast to the cold, calculated interior of the control room. Embers and ash swirl faintly beyond the glass, amplifying the tension of the moment. he faces the camera"
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "\"close up of Darth Vader stands in the dimly lit control room on Mustafar. he holds a red lightsaber with one hand. Through the large reinforced windows, the fiery rivers of molten lava outside bathe the room in an orange-red hue, creating a stark contrast to the cold, calculated interior of the control room. Embers and ash swirl faintly beyond the glass, amplifying the tension of the moment. he faces the camera\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { model: "dev", prompt: "\"close up of Darth Vader stands in the dimly lit control room on Mustafar. he holds a red lightsaber with one hand. Through the large reinforced windows, the fiery rivers of molten lava outside bathe the room in an orange-red hue, creating a stark contrast to the cold, calculated interior of the control room. Embers and ash swirl faintly beyond the glass, amplifying the tension of the moment. he faces the camera\"", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "model": "dev", "prompt": "\"close up of Darth Vader stands in the dimly lit control room on Mustafar. he holds a red lightsaber with one hand. Through the large reinforced windows, the fiery rivers of molten lava outside bathe the room in an orange-red hue, creating a stark contrast to the cold, calculated interior of the control room. Embers and ash swirl faintly beyond the glass, amplifying the tension of the moment. he faces the camera\"", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "model": "dev", "prompt": "\\"close up of Darth Vader stands in the dimly lit control room on Mustafar. he holds a red lightsaber with one hand. Through the large reinforced windows, the fiery rivers of molten lava outside bathe the room in an orange-red hue, creating a stark contrast to the cold, calculated interior of the control room. Embers and ash swirl faintly beyond the glass, amplifying the tension of the moment. he faces the camera\\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-08T17:49:10.228643Z", "created_at": "2025-01-08T17:49:04.743000Z", "data_removed": false, "error": null, "id": "msb79yy5cxrme0cm8w48ag98m4", "input": { "model": "dev", "prompt": "\"close up of Darth Vader stands in the dimly lit control room on Mustafar. he holds a red lightsaber with one hand. Through the large reinforced windows, the fiery rivers of molten lava outside bathe the room in an orange-red hue, creating a stark contrast to the cold, calculated interior of the control room. Embers and ash swirl faintly beyond the glass, amplifying the tension of the moment. he faces the camera\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Lora https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar already loaded\nUsing seed: 44894\n0it [00:00, ?it/s]\n1it [00:00, 9.15it/s]\n2it [00:00, 6.41it/s]\n3it [00:00, 5.85it/s]\n4it [00:00, 5.62it/s]\n5it [00:00, 5.49it/s]\n6it [00:01, 5.36it/s]\n7it [00:01, 5.33it/s]\n8it [00:01, 5.32it/s]\n9it [00:01, 5.33it/s]\n10it [00:01, 5.31it/s]\n11it [00:02, 5.26it/s]\n12it [00:02, 5.24it/s]\n13it [00:02, 5.25it/s]\n14it [00:02, 5.28it/s]\n15it [00:02, 5.28it/s]\n16it [00:02, 5.27it/s]\n17it [00:03, 5.24it/s]\n18it [00:03, 5.23it/s]\n19it [00:03, 5.25it/s]\n20it [00:03, 5.26it/s]\n21it [00:03, 5.26it/s]\n22it [00:04, 5.24it/s]\n23it [00:04, 5.24it/s]\n24it [00:04, 5.23it/s]\n25it [00:04, 5.24it/s]\n26it [00:04, 5.25it/s]\n27it [00:05, 5.25it/s]\n28it [00:05, 5.25it/s]\n28it [00:05, 5.34it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 5.478715746, "total_time": 5.485643 }, "output": [ "https://replicate.delivery/xezq/VexC0H1CX5V4BiBTRjWJnfnR2B2kVJXPvGmvVecjt9IskNGoA/out-0.jpg" ], "started_at": "2025-01-08T17:49:04.749927Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-yegkedexlbznvldc33muis4y7upolkpy5j2jshuf2pa546ipio2q", "get": "https://api.replicate.com/v1/predictions/msb79yy5cxrme0cm8w48ag98m4", "cancel": "https://api.replicate.com/v1/predictions/msb79yy5cxrme0cm8w48ag98m4/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated inLora https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar already loaded Using seed: 44894 0it [00:00, ?it/s] 1it [00:00, 9.15it/s] 2it [00:00, 6.41it/s] 3it [00:00, 5.85it/s] 4it [00:00, 5.62it/s] 5it [00:00, 5.49it/s] 6it [00:01, 5.36it/s] 7it [00:01, 5.33it/s] 8it [00:01, 5.32it/s] 9it [00:01, 5.33it/s] 10it [00:01, 5.31it/s] 11it [00:02, 5.26it/s] 12it [00:02, 5.24it/s] 13it [00:02, 5.25it/s] 14it [00:02, 5.28it/s] 15it [00:02, 5.28it/s] 16it [00:02, 5.27it/s] 17it [00:03, 5.24it/s] 18it [00:03, 5.23it/s] 19it [00:03, 5.25it/s] 20it [00:03, 5.26it/s] 21it [00:03, 5.26it/s] 22it [00:04, 5.24it/s] 23it [00:04, 5.24it/s] 24it [00:04, 5.23it/s] 25it [00:04, 5.24it/s] 26it [00:04, 5.25it/s] 27it [00:05, 5.25it/s] 28it [00:05, 5.25it/s] 28it [00:05, 5.34it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelIDe56j5t69snrma0cmj1a9rmyzg4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- "Full-body shot of Darth Vader standing tall in a dark cave, his imposing black armor and cape dominating the shadowy surroundings. His helmeted face is emotionless and intimidating, and the cave’s dim, scattered light highlights the contrast between the cold metallic sheen of his armor and the organic roughness of the cave. The atmosphere is heavy with tension, as if the darkness itself bends to his immense presence."
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "\"Full-body shot of Darth Vader standing tall in a dark cave, his imposing black armor and cape dominating the shadowy surroundings. His helmeted face is emotionless and intimidating, and the cave’s dim, scattered light highlights the contrast between the cold metallic sheen of his armor and the organic roughness of the cave. The atmosphere is heavy with tension, as if the darkness itself bends to his immense presence.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { model: "dev", prompt: "\"Full-body shot of Darth Vader standing tall in a dark cave, his imposing black armor and cape dominating the shadowy surroundings. His helmeted face is emotionless and intimidating, and the cave’s dim, scattered light highlights the contrast between the cold metallic sheen of his armor and the organic roughness of the cave. The atmosphere is heavy with tension, as if the darkness itself bends to his immense presence.\"", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "model": "dev", "prompt": "\"Full-body shot of Darth Vader standing tall in a dark cave, his imposing black armor and cape dominating the shadowy surroundings. His helmeted face is emotionless and intimidating, and the cave’s dim, scattered light highlights the contrast between the cold metallic sheen of his armor and the organic roughness of the cave. The atmosphere is heavy with tension, as if the darkness itself bends to his immense presence.\"", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "model": "dev", "prompt": "\\"Full-body shot of Darth Vader standing tall in a dark cave, his imposing black armor and cape dominating the shadowy surroundings. His helmeted face is emotionless and intimidating, and the cave’s dim, scattered light highlights the contrast between the cold metallic sheen of his armor and the organic roughness of the cave. The atmosphere is heavy with tension, as if the darkness itself bends to his immense presence.\\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-22T23:24:34.966809Z", "created_at": "2025-01-22T23:24:23.373000Z", "data_removed": false, "error": null, "id": "e56j5t69snrma0cmj1a9rmyzg4", "input": { "model": "dev", "prompt": "\"Full-body shot of Darth Vader standing tall in a dark cave, his imposing black armor and cape dominating the shadowy surroundings. His helmeted face is emotionless and intimidating, and the cave’s dim, scattered light highlights the contrast between the cold metallic sheen of his armor and the organic roughness of the cave. The atmosphere is heavy with tension, as if the darkness itself bends to his immense presence.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2025-01-22 23:24:23.572 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 23:24:23.573 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████ | 276/304 [00:00<00:00, 2747.68it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2665.52it/s]\n2025-01-22 23:24:23.687 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\nfree=29109144846336\nDownloading weights\n2025-01-22T23:24:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzowc754w/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\n2025-01-22T23:24:29Z | INFO | [ Complete ] dest=/tmp/tmpzowc754w/weights size=\"172 MB\" total_elapsed=5.566s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\nDownloaded weights in 5.59s\n2025-01-22 23:24:29.278 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/b8333114e6bacd62\n2025-01-22 23:24:29.347 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-22 23:24:29.348 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-22 23:24:29.348 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████ | 276/304 [00:00<00:00, 2717.40it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2639.37it/s]\n2025-01-22 23:24:29.463 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 5518\n0it [00:00, ?it/s]\n1it [00:00, 9.16it/s]\n2it [00:00, 6.44it/s]\n3it [00:00, 5.88it/s]\n4it [00:00, 5.64it/s]\n5it [00:00, 5.51it/s]\n6it [00:01, 5.40it/s]\n7it [00:01, 5.35it/s]\n8it [00:01, 5.32it/s]\n9it [00:01, 5.31it/s]\n10it [00:01, 5.32it/s]\n11it [00:02, 5.30it/s]\n12it [00:02, 5.28it/s]\n13it [00:02, 5.28it/s]\n14it [00:02, 5.27it/s]\n15it [00:02, 5.28it/s]\n16it [00:02, 5.29it/s]\n17it [00:03, 5.28it/s]\n18it [00:03, 5.27it/s]\n19it [00:03, 5.28it/s]\n20it [00:03, 5.29it/s]\n21it [00:03, 5.29it/s]\n22it [00:04, 5.30it/s]\n23it [00:04, 5.30it/s]\n24it [00:04, 5.30it/s]\n25it [00:04, 5.31it/s]\n26it [00:04, 5.31it/s]\n27it [00:05, 5.31it/s]\n28it [00:05, 5.32it/s]\n28it [00:05, 5.37it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 11.393296146, "total_time": 11.593809 }, "output": [ "https://replicate.delivery/xezq/XUQnPShVyrLfUqkUwByWNQKb92xdFafA82nVPXc0fKokBmPoA/out-0.jpg" ], "started_at": "2025-01-22T23:24:23.573513Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-lfe7xadieimqo7yhlrqqdhooepgawdaomgrc2jzvamasldesh72q", "get": "https://api.replicate.com/v1/predictions/e56j5t69snrma0cmj1a9rmyzg4", "cancel": "https://api.replicate.com/v1/predictions/e56j5t69snrma0cmj1a9rmyzg4/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated in2025-01-22 23:24:23.572 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 23:24:23.573 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████ | 276/304 [00:00<00:00, 2747.68it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2665.52it/s] 2025-01-22 23:24:23.687 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s free=29109144846336 Downloading weights 2025-01-22T23:24:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzowc754w/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar 2025-01-22T23:24:29Z | INFO | [ Complete ] dest=/tmp/tmpzowc754w/weights size="172 MB" total_elapsed=5.566s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar Downloaded weights in 5.59s 2025-01-22 23:24:29.278 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/b8333114e6bacd62 2025-01-22 23:24:29.347 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-22 23:24:29.348 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-22 23:24:29.348 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████ | 276/304 [00:00<00:00, 2717.40it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2639.37it/s] 2025-01-22 23:24:29.463 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 5518 0it [00:00, ?it/s] 1it [00:00, 9.16it/s] 2it [00:00, 6.44it/s] 3it [00:00, 5.88it/s] 4it [00:00, 5.64it/s] 5it [00:00, 5.51it/s] 6it [00:01, 5.40it/s] 7it [00:01, 5.35it/s] 8it [00:01, 5.32it/s] 9it [00:01, 5.31it/s] 10it [00:01, 5.32it/s] 11it [00:02, 5.30it/s] 12it [00:02, 5.28it/s] 13it [00:02, 5.28it/s] 14it [00:02, 5.27it/s] 15it [00:02, 5.28it/s] 16it [00:02, 5.29it/s] 17it [00:03, 5.28it/s] 18it [00:03, 5.27it/s] 19it [00:03, 5.28it/s] 20it [00:03, 5.29it/s] 21it [00:03, 5.29it/s] 22it [00:04, 5.30it/s] 23it [00:04, 5.30it/s] 24it [00:04, 5.30it/s] 25it [00:04, 5.31it/s] 26it [00:04, 5.31it/s] 27it [00:05, 5.31it/s] 28it [00:05, 5.32it/s] 28it [00:05, 5.37it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelID63m8fwe72hrme0cmt77b44nctcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- *"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette."*
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { model: "dev", prompt: "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\"*", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\"*", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "model": "dev", "prompt": "*\\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-04T16:33:03.790986Z", "created_at": "2025-02-04T16:32:57.108000Z", "data_removed": false, "error": null, "id": "63m8fwe72hrme0cmt77b44nctc", "input": { "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 28912\nPrompt: *\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\"*\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 4.30it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.86it/s]\n 11%|█ | 3/28 [00:00<00:05, 4.60it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.48it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 4.42it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 4.39it/s]\n 25%|██▌ | 7/28 [00:01<00:04, 4.36it/s]\n 29%|██▊ | 8/28 [00:01<00:04, 4.35it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 4.33it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 4.33it/s]\n 39%|███▉ | 11/28 [00:02<00:03, 4.32it/s]\n 43%|████▎ | 12/28 [00:02<00:03, 4.32it/s]\n 46%|████▋ | 13/28 [00:02<00:03, 4.32it/s]\n 50%|█████ | 14/28 [00:03<00:03, 4.32it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 4.32it/s]\n 57%|█████▋ | 16/28 [00:03<00:02, 4.32it/s]\n 61%|██████ | 17/28 [00:03<00:02, 4.32it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 4.32it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 4.32it/s]\n 71%|███████▏ | 20/28 [00:04<00:01, 4.31it/s]\n 75%|███████▌ | 21/28 [00:04<00:01, 4.31it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 4.31it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 4.31it/s]\n 86%|████████▌ | 24/28 [00:05<00:00, 4.32it/s]\n 89%|████████▉ | 25/28 [00:05<00:00, 4.32it/s]\n 93%|█████████▎| 26/28 [00:05<00:00, 4.31it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 4.31it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.31it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.34it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.671903988, "total_time": 6.682986 }, "output": [ "https://replicate.delivery/xezq/PVONDggPhBqNK5tB6BZeUFz0lIvEXB9Af1Z0eyqBg9Afz8vQB/out-0.jpg" ], "started_at": "2025-02-04T16:32:57.119082Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-unx5oyckfwwfymavx5fvjsdwg6zgwbmwn6cgcmrkvnov65ouuo2a", "get": "https://api.replicate.com/v1/predictions/63m8fwe72hrme0cmt77b44nctc", "cancel": "https://api.replicate.com/v1/predictions/63m8fwe72hrme0cmt77b44nctc/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 28912 Prompt: *"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor scorched and crackling as tendrils of **blazing blue Sith lightning** surge through his body. His heavy black cape pools on the polished floor, twitching from the sheer force of the energy. His mechanical hands, normally symbols of strength, are now splayed out at his sides, spasming under the relentless assault. The golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights against the violent contrast of **brilliant, searing blue lightning**. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, flickering erratically from the disturbance. **Sith artifacts tremble**, their dark energies reacting to the sheer power in the air. The polished black surfaces reflect both the raging lightning and Vader’s torment, his helmet tilted downward in silent agony. The air is thick with raw power, tension, and an overwhelming sense of **pain and submission**, evoking a hyper-realistic, cinematic atmosphere with intricate textures, deep shadows, and a dramatic, high-contrast color palette."* [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 4.30it/s] 7%|▋ | 2/28 [00:00<00:05, 4.86it/s] 11%|█ | 3/28 [00:00<00:05, 4.60it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.48it/s] 18%|█▊ | 5/28 [00:01<00:05, 4.42it/s] 21%|██▏ | 6/28 [00:01<00:05, 4.39it/s] 25%|██▌ | 7/28 [00:01<00:04, 4.36it/s] 29%|██▊ | 8/28 [00:01<00:04, 4.35it/s] 32%|███▏ | 9/28 [00:02<00:04, 4.33it/s] 36%|███▌ | 10/28 [00:02<00:04, 4.33it/s] 39%|███▉ | 11/28 [00:02<00:03, 4.32it/s] 43%|████▎ | 12/28 [00:02<00:03, 4.32it/s] 46%|████▋ | 13/28 [00:02<00:03, 4.32it/s] 50%|█████ | 14/28 [00:03<00:03, 4.32it/s] 54%|█████▎ | 15/28 [00:03<00:03, 4.32it/s] 57%|█████▋ | 16/28 [00:03<00:02, 4.32it/s] 61%|██████ | 17/28 [00:03<00:02, 4.32it/s] 64%|██████▍ | 18/28 [00:04<00:02, 4.32it/s] 68%|██████▊ | 19/28 [00:04<00:02, 4.32it/s] 71%|███████▏ | 20/28 [00:04<00:01, 4.31it/s] 75%|███████▌ | 21/28 [00:04<00:01, 4.31it/s] 79%|███████▊ | 22/28 [00:05<00:01, 4.31it/s] 82%|████████▏ | 23/28 [00:05<00:01, 4.31it/s] 86%|████████▌ | 24/28 [00:05<00:00, 4.32it/s] 89%|████████▉ | 25/28 [00:05<00:00, 4.32it/s] 93%|█████████▎| 26/28 [00:05<00:00, 4.31it/s] 96%|█████████▋| 27/28 [00:06<00:00, 4.31it/s] 100%|██████████| 28/28 [00:06<00:00, 4.31it/s] 100%|██████████| 28/28 [00:06<00:00, 4.34it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelID5w1z31shwdrma0cmt81by2zbjgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- *"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette."*
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { model: "dev", prompt: "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "model": "dev", "prompt": "*\\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-04T17:29:19.038796Z", "created_at": "2025-02-04T17:29:06.787000Z", "data_removed": false, "error": null, "id": "5w1z31shwdrma0cmt81by2zbjg", "input": { "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=28558655078400\nDownloading weights\n2025-02-04T17:29:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpljfta0nc/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\n2025-02-04T17:29:11Z | INFO | [ Complete ] dest=/tmp/tmpljfta0nc/weights size=\"172 MB\" total_elapsed=4.979s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\nDownloaded weights in 5.00s\nLoaded LoRAs in 5.57s\nUsing seed: 48891\nPrompt: *\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 4.31it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.86it/s]\n 11%|█ | 3/28 [00:00<00:05, 4.60it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.48it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 4.42it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 4.38it/s]\n 25%|██▌ | 7/28 [00:01<00:04, 4.36it/s]\n 29%|██▊ | 8/28 [00:01<00:04, 4.34it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 4.33it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 4.32it/s]\n 39%|███▉ | 11/28 [00:02<00:03, 4.31it/s]\n 43%|████▎ | 12/28 [00:02<00:03, 4.30it/s]\n 46%|████▋ | 13/28 [00:02<00:03, 4.30it/s]\n 50%|█████ | 14/28 [00:03<00:03, 4.30it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 4.31it/s]\n 57%|█████▋ | 16/28 [00:03<00:02, 4.31it/s]\n 61%|██████ | 17/28 [00:03<00:02, 4.31it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 4.31it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 4.31it/s]\n 71%|███████▏ | 20/28 [00:04<00:01, 4.31it/s]\n 75%|███████▌ | 21/28 [00:04<00:01, 4.30it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 4.29it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 4.29it/s]\n 86%|████████▌ | 24/28 [00:05<00:00, 4.30it/s]\n 89%|████████▉ | 25/28 [00:05<00:00, 4.30it/s]\n 93%|█████████▎| 26/28 [00:05<00:00, 4.30it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 4.30it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.29it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.33it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 12.229350307, "total_time": 12.251796 }, "output": [ "https://replicate.delivery/xezq/ZmnAdKAT847LGl9uWZaIHMztFhmJGYPf2lexBMz2BM9vBAMUA/out-0.jpg" ], "started_at": "2025-02-04T17:29:06.809446Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-3yg3dzot2csf7rrqhihx3uecu3kdpj7yt65wpzf3chvm4bll7d7q", "get": "https://api.replicate.com/v1/predictions/5w1z31shwdrma0cmt81by2zbjg", "cancel": "https://api.replicate.com/v1/predictions/5w1z31shwdrma0cmt81by2zbjg/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated infree=28558655078400 Downloading weights 2025-02-04T17:29:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpljfta0nc/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar 2025-02-04T17:29:11Z | INFO | [ Complete ] dest=/tmp/tmpljfta0nc/weights size="172 MB" total_elapsed=4.979s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar Downloaded weights in 5.00s Loaded LoRAs in 5.57s Using seed: 48891 Prompt: *"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette."* [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 4.31it/s] 7%|▋ | 2/28 [00:00<00:05, 4.86it/s] 11%|█ | 3/28 [00:00<00:05, 4.60it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.48it/s] 18%|█▊ | 5/28 [00:01<00:05, 4.42it/s] 21%|██▏ | 6/28 [00:01<00:05, 4.38it/s] 25%|██▌ | 7/28 [00:01<00:04, 4.36it/s] 29%|██▊ | 8/28 [00:01<00:04, 4.34it/s] 32%|███▏ | 9/28 [00:02<00:04, 4.33it/s] 36%|███▌ | 10/28 [00:02<00:04, 4.32it/s] 39%|███▉ | 11/28 [00:02<00:03, 4.31it/s] 43%|████▎ | 12/28 [00:02<00:03, 4.30it/s] 46%|████▋ | 13/28 [00:02<00:03, 4.30it/s] 50%|█████ | 14/28 [00:03<00:03, 4.30it/s] 54%|█████▎ | 15/28 [00:03<00:03, 4.31it/s] 57%|█████▋ | 16/28 [00:03<00:02, 4.31it/s] 61%|██████ | 17/28 [00:03<00:02, 4.31it/s] 64%|██████▍ | 18/28 [00:04<00:02, 4.31it/s] 68%|██████▊ | 19/28 [00:04<00:02, 4.31it/s] 71%|███████▏ | 20/28 [00:04<00:01, 4.31it/s] 75%|███████▌ | 21/28 [00:04<00:01, 4.30it/s] 79%|███████▊ | 22/28 [00:05<00:01, 4.29it/s] 82%|████████▏ | 23/28 [00:05<00:01, 4.29it/s] 86%|████████▌ | 24/28 [00:05<00:00, 4.30it/s] 89%|████████▉ | 25/28 [00:05<00:00, 4.30it/s] 93%|█████████▎| 26/28 [00:05<00:00, 4.30it/s] 96%|█████████▋| 27/28 [00:06<00:00, 4.30it/s] 100%|██████████| 28/28 [00:06<00:00, 4.29it/s] 100%|██████████| 28/28 [00:06<00:00, 4.33it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelIDxcsg5a79kdrme0cmt81b68cw28StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- *"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette."*
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { model: "dev", prompt: "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "model": "dev", "prompt": "*\\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-04T17:30:07.873507Z", "created_at": "2025-02-04T17:29:53.819000Z", "data_removed": false, "error": null, "id": "xcsg5a79kdrme0cmt81b68cw28", "input": { "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=5867063902208\nDownloading weights\n2025-02-04T17:29:54Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxckzqs6g/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\n2025-02-04T17:30:00Z | INFO | [ Complete ] dest=/tmp/tmpxckzqs6g/weights size=\"172 MB\" total_elapsed=6.569s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\nDownloaded weights in 6.62s\nLoaded LoRAs in 7.17s\nUsing seed: 36279\nPrompt: *\"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette.\"*\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 4.29it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.84it/s]\n 11%|█ | 3/28 [00:00<00:05, 4.57it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.46it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 4.40it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 4.36it/s]\n 25%|██▌ | 7/28 [00:01<00:04, 4.34it/s]\n 29%|██▊ | 8/28 [00:01<00:04, 4.32it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 4.31it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 4.30it/s]\n 39%|███▉ | 11/28 [00:02<00:03, 4.30it/s]\n 43%|████▎ | 12/28 [00:02<00:03, 4.30it/s]\n 46%|████▋ | 13/28 [00:02<00:03, 4.30it/s]\n 50%|█████ | 14/28 [00:03<00:03, 4.29it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 4.29it/s]\n 57%|█████▋ | 16/28 [00:03<00:02, 4.29it/s]\n 61%|██████ | 17/28 [00:03<00:02, 4.29it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 4.29it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 4.29it/s]\n 71%|███████▏ | 20/28 [00:04<00:01, 4.29it/s]\n 75%|███████▌ | 21/28 [00:04<00:01, 4.29it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 4.29it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 4.29it/s]\n 86%|████████▌ | 24/28 [00:05<00:00, 4.29it/s]\n 89%|████████▉ | 25/28 [00:05<00:00, 4.29it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 4.29it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 4.29it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.29it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.32it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 13.859386403, "total_time": 14.054507 }, "output": [ "https://replicate.delivery/xezq/D05xXdfqUjQKRCbXxljc2gbWU8bz4KwlbIjfEXqQPg7fEAYoA/out-0.jpg" ], "started_at": "2025-02-04T17:29:54.014120Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-a2x5jet3faeocydbe6f2eh2wf6cfmf2ivcw5css254zvqeuzyh7a", "get": "https://api.replicate.com/v1/predictions/xcsg5a79kdrme0cmt81b68cw28", "cancel": "https://api.replicate.com/v1/predictions/xcsg5a79kdrme0cmt81b68cw28/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated infree=5867063902208 Downloading weights 2025-02-04T17:29:54Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxckzqs6g/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar 2025-02-04T17:30:00Z | INFO | [ Complete ] dest=/tmp/tmpxckzqs6g/weights size="172 MB" total_elapsed=6.569s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar Downloaded weights in 6.62s Loaded LoRAs in 7.17s Using seed: 36279 Prompt: *"A highly detailed cinematic close-up of Darth Vader on his knees in his grand office, his imposing black armor gleaming under the dim ambient lighting. His heavy black cape drapes over his shoulders and pools onto the polished floor, his mechanical hands resting at his sides in tense stillness. His glossy black helmet is slightly tilted downward, exuding a rare moment of vulnerability or contemplation. The warm, golden-orange hues of a **Coruscant sunset** filter through the dimly lit room, casting dramatic highlights and deep shadows across his dark form. The office, with no windows, is illuminated only by the cold, mechanical glow of **red and amber lights** embedded in the walls, reflecting off polished black surfaces. **Sith artifacts and Imperial insignias** stand silently around him, symbols of power and control, now seeming distant in this moment of stillness. The atmosphere is cinematic and foreboding, thick with tension, evoking a hyper-realistic scene with intricate textures, deep shadows, and a dramatic, moody color palette."* [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 4.29it/s] 7%|▋ | 2/28 [00:00<00:05, 4.84it/s] 11%|█ | 3/28 [00:00<00:05, 4.57it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.46it/s] 18%|█▊ | 5/28 [00:01<00:05, 4.40it/s] 21%|██▏ | 6/28 [00:01<00:05, 4.36it/s] 25%|██▌ | 7/28 [00:01<00:04, 4.34it/s] 29%|██▊ | 8/28 [00:01<00:04, 4.32it/s] 32%|███▏ | 9/28 [00:02<00:04, 4.31it/s] 36%|███▌ | 10/28 [00:02<00:04, 4.30it/s] 39%|███▉ | 11/28 [00:02<00:03, 4.30it/s] 43%|████▎ | 12/28 [00:02<00:03, 4.30it/s] 46%|████▋ | 13/28 [00:02<00:03, 4.30it/s] 50%|█████ | 14/28 [00:03<00:03, 4.29it/s] 54%|█████▎ | 15/28 [00:03<00:03, 4.29it/s] 57%|█████▋ | 16/28 [00:03<00:02, 4.29it/s] 61%|██████ | 17/28 [00:03<00:02, 4.29it/s] 64%|██████▍ | 18/28 [00:04<00:02, 4.29it/s] 68%|██████▊ | 19/28 [00:04<00:02, 4.29it/s] 71%|███████▏ | 20/28 [00:04<00:01, 4.29it/s] 75%|███████▌ | 21/28 [00:04<00:01, 4.29it/s] 79%|███████▊ | 22/28 [00:05<00:01, 4.29it/s] 82%|████████▏ | 23/28 [00:05<00:01, 4.29it/s] 86%|████████▌ | 24/28 [00:05<00:00, 4.29it/s] 89%|████████▉ | 25/28 [00:05<00:00, 4.29it/s] 93%|█████████▎| 26/28 [00:06<00:00, 4.29it/s] 96%|█████████▋| 27/28 [00:06<00:00, 4.29it/s] 100%|██████████| 28/28 [00:06<00:00, 4.29it/s] 100%|██████████| 28/28 [00:06<00:00, 4.32it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelID9ztawd7z15rmc0cmzdxtag052wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- darth vader kneeling
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MUIN9yYNt4RcExHklyzwwBlm2lxWZoM5k2CMz3uTU5deE3jO/test.png", "image": "https://replicate.delivery/pbxt/MUINA1FQPUXnqQlys6B3umL3qSZ1JnJBlju8cfiqQxcUXEZh/full.png", "model": "dev", "prompt": "darth vader kneeling", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { mask: "https://replicate.delivery/pbxt/MUIN9yYNt4RcExHklyzwwBlm2lxWZoM5k2CMz3uTU5deE3jO/test.png", image: "https://replicate.delivery/pbxt/MUINA1FQPUXnqQlys6B3umL3qSZ1JnJBlju8cfiqQxcUXEZh/full.png", model: "dev", prompt: "darth vader kneeling", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "mask": "https://replicate.delivery/pbxt/MUIN9yYNt4RcExHklyzwwBlm2lxWZoM5k2CMz3uTU5deE3jO/test.png", "image": "https://replicate.delivery/pbxt/MUINA1FQPUXnqQlys6B3umL3qSZ1JnJBlju8cfiqQxcUXEZh/full.png", "model": "dev", "prompt": "darth vader kneeling", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "mask": "https://replicate.delivery/pbxt/MUIN9yYNt4RcExHklyzwwBlm2lxWZoM5k2CMz3uTU5deE3jO/test.png", "image": "https://replicate.delivery/pbxt/MUINA1FQPUXnqQlys6B3umL3qSZ1JnJBlju8cfiqQxcUXEZh/full.png", "model": "dev", "prompt": "darth vader kneeling", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-12T18:46:50.949084Z", "created_at": "2025-02-12T18:46:35.017000Z", "data_removed": false, "error": null, "id": "9ztawd7z15rmc0cmzdxtag052w", "input": { "mask": "https://replicate.delivery/pbxt/MUIN9yYNt4RcExHklyzwwBlm2lxWZoM5k2CMz3uTU5deE3jO/test.png", "image": "https://replicate.delivery/pbxt/MUINA1FQPUXnqQlys6B3umL3qSZ1JnJBlju8cfiqQxcUXEZh/full.png", "model": "dev", "prompt": "darth vader kneeling", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=28600297902080\nDownloading weights\n2025-02-12T18:46:35Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpnj4ti4ku/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\n2025-02-12T18:46:39Z | INFO | [ Complete ] dest=/tmp/tmpnj4ti4ku/weights size=\"172 MB\" total_elapsed=4.026s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar\nDownloaded weights in 4.05s\nLoaded LoRAs in 4.60s\nUsing seed: 60526\nPrompt: darth vader kneeling\n[!] Resizing input image from 1920x796 to 1920x800\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:01<00:22, 1.04s/it]\n 9%|▊ | 2/23 [00:01<00:13, 1.57it/s]\n 13%|█▎ | 3/23 [00:01<00:10, 1.96it/s]\n 17%|█▋ | 4/23 [00:02<00:08, 2.21it/s]\n 22%|██▏ | 5/23 [00:02<00:07, 2.39it/s]\n 26%|██▌ | 6/23 [00:02<00:06, 2.50it/s]\n 30%|███ | 7/23 [00:03<00:06, 2.58it/s]\n 35%|███▍ | 8/23 [00:03<00:05, 2.65it/s]\n 39%|███▉ | 9/23 [00:03<00:05, 2.69it/s]\n 43%|████▎ | 10/23 [00:04<00:04, 2.71it/s]\n 48%|████▊ | 11/23 [00:04<00:04, 2.74it/s]\n 52%|█████▏ | 12/23 [00:04<00:04, 2.75it/s]\n 57%|█████▋ | 13/23 [00:05<00:03, 2.76it/s]\n 61%|██████ | 14/23 [00:05<00:03, 2.77it/s]\n 65%|██████▌ | 15/23 [00:06<00:02, 2.77it/s]\n 70%|██████▉ | 16/23 [00:06<00:02, 2.77it/s]\n 74%|███████▍ | 17/23 [00:06<00:02, 2.77it/s]\n 78%|███████▊ | 18/23 [00:07<00:01, 2.77it/s]\n 83%|████████▎ | 19/23 [00:07<00:01, 2.77it/s]\n 87%|████████▋ | 20/23 [00:07<00:01, 2.77it/s]\n 91%|█████████▏| 21/23 [00:08<00:00, 2.77it/s]\n 96%|█████████▌| 22/23 [00:08<00:00, 2.78it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.96it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.59it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 15.457228401, "total_time": 15.932084 }, "output": [ "https://replicate.delivery/xezq/dunRtXqHyo48Pht33mWHBYIA5cfVy5p66YiISFKjSe4a6pOUA/out-0.jpg" ], "started_at": "2025-02-12T18:46:35.491855Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-opfdphmtotfkqfo6y3uvsqcf3ulejk24fim6qseaypbimzf4e2wq", "get": "https://api.replicate.com/v1/predictions/9ztawd7z15rmc0cmzdxtag052w", "cancel": "https://api.replicate.com/v1/predictions/9ztawd7z15rmc0cmzdxtag052w/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated infree=28600297902080 Downloading weights 2025-02-12T18:46:35Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpnj4ti4ku/weights url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar 2025-02-12T18:46:39Z | INFO | [ Complete ] dest=/tmp/tmpnj4ti4ku/weights size="172 MB" total_elapsed=4.026s url=https://replicate.delivery/yhqm/JKAlEJBElCqxGNf5qaH0wcufp2fZ23XYLIiTVJ1DKAKK5tMnA/trained_model.tar Downloaded weights in 4.05s Loaded LoRAs in 4.60s Using seed: 60526 Prompt: darth vader kneeling [!] Resizing input image from 1920x796 to 1920x800 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:01<00:22, 1.04s/it] 9%|▊ | 2/23 [00:01<00:13, 1.57it/s] 13%|█▎ | 3/23 [00:01<00:10, 1.96it/s] 17%|█▋ | 4/23 [00:02<00:08, 2.21it/s] 22%|██▏ | 5/23 [00:02<00:07, 2.39it/s] 26%|██▌ | 6/23 [00:02<00:06, 2.50it/s] 30%|███ | 7/23 [00:03<00:06, 2.58it/s] 35%|███▍ | 8/23 [00:03<00:05, 2.65it/s] 39%|███▉ | 9/23 [00:03<00:05, 2.69it/s] 43%|████▎ | 10/23 [00:04<00:04, 2.71it/s] 48%|████▊ | 11/23 [00:04<00:04, 2.74it/s] 52%|█████▏ | 12/23 [00:04<00:04, 2.75it/s] 57%|█████▋ | 13/23 [00:05<00:03, 2.76it/s] 61%|██████ | 14/23 [00:05<00:03, 2.77it/s] 65%|██████▌ | 15/23 [00:06<00:02, 2.77it/s] 70%|██████▉ | 16/23 [00:06<00:02, 2.77it/s] 74%|███████▍ | 17/23 [00:06<00:02, 2.77it/s] 78%|███████▊ | 18/23 [00:07<00:01, 2.77it/s] 83%|████████▎ | 19/23 [00:07<00:01, 2.77it/s] 87%|████████▋ | 20/23 [00:07<00:01, 2.77it/s] 91%|█████████▏| 21/23 [00:08<00:00, 2.77it/s] 96%|█████████▌| 22/23 [00:08<00:00, 2.78it/s] 100%|██████████| 23/23 [00:08<00:00, 2.96it/s] 100%|██████████| 23/23 [00:08<00:00, 2.59it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelID2y4bfmhts9rm80cmzdzvzvmdw0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- darth vader kneeling
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MUIQVQENQVnG2j3qJqheibcUhSGbw6NYak8A3d1ccPpIYrqX/test.png", "image": "https://replicate.delivery/pbxt/MUIQVHcn0mHO21R54Fsav1Js9JieelX1HSOXJCl9e9UNngGz/replicate-prediction-9ztawd7z15rmc0cmzdxtag052w.jpg", "model": "dev", "prompt": "darth vader kneeling ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { mask: "https://replicate.delivery/pbxt/MUIQVQENQVnG2j3qJqheibcUhSGbw6NYak8A3d1ccPpIYrqX/test.png", image: "https://replicate.delivery/pbxt/MUIQVHcn0mHO21R54Fsav1Js9JieelX1HSOXJCl9e9UNngGz/replicate-prediction-9ztawd7z15rmc0cmzdxtag052w.jpg", model: "dev", prompt: "darth vader kneeling ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "mask": "https://replicate.delivery/pbxt/MUIQVQENQVnG2j3qJqheibcUhSGbw6NYak8A3d1ccPpIYrqX/test.png", "image": "https://replicate.delivery/pbxt/MUIQVHcn0mHO21R54Fsav1Js9JieelX1HSOXJCl9e9UNngGz/replicate-prediction-9ztawd7z15rmc0cmzdxtag052w.jpg", "model": "dev", "prompt": "darth vader kneeling ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "mask": "https://replicate.delivery/pbxt/MUIQVQENQVnG2j3qJqheibcUhSGbw6NYak8A3d1ccPpIYrqX/test.png", "image": "https://replicate.delivery/pbxt/MUIQVHcn0mHO21R54Fsav1Js9JieelX1HSOXJCl9e9UNngGz/replicate-prediction-9ztawd7z15rmc0cmzdxtag052w.jpg", "model": "dev", "prompt": "darth vader kneeling ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-12T18:50:15.856437Z", "created_at": "2025-02-12T18:50:06.922000Z", "data_removed": false, "error": null, "id": "2y4bfmhts9rm80cmzdzvzvmdw0", "input": { "mask": "https://replicate.delivery/pbxt/MUIQVQENQVnG2j3qJqheibcUhSGbw6NYak8A3d1ccPpIYrqX/test.png", "image": "https://replicate.delivery/pbxt/MUIQVHcn0mHO21R54Fsav1Js9JieelX1HSOXJCl9e9UNngGz/replicate-prediction-9ztawd7z15rmc0cmzdxtag052w.jpg", "model": "dev", "prompt": "darth vader kneeling ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Weights already loaded\nLoaded LoRAs in 0.02s\nUsing seed: 32229\nPrompt: darth vader kneeling\n[!] Resizing input image from 1920x800 to 1920x800\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:09, 2.27it/s]\n 9%|▊ | 2/23 [00:00<00:08, 2.56it/s]\n 13%|█▎ | 3/23 [00:01<00:07, 2.66it/s]\n 17%|█▋ | 4/23 [00:01<00:07, 2.71it/s]\n 22%|██▏ | 5/23 [00:01<00:06, 2.74it/s]\n 26%|██▌ | 6/23 [00:02<00:06, 2.75it/s]\n 30%|███ | 7/23 [00:02<00:05, 2.76it/s]\n 35%|███▍ | 8/23 [00:02<00:05, 2.77it/s]\n 39%|███▉ | 9/23 [00:03<00:05, 2.78it/s]\n 43%|████▎ | 10/23 [00:03<00:04, 2.78it/s]\n 48%|████▊ | 11/23 [00:04<00:04, 2.78it/s]\n 52%|█████▏ | 12/23 [00:04<00:03, 2.78it/s]\n 57%|█████▋ | 13/23 [00:04<00:03, 2.79it/s]\n 61%|██████ | 14/23 [00:05<00:03, 2.79it/s]\n 65%|██████▌ | 15/23 [00:05<00:02, 2.78it/s]\n 70%|██████▉ | 16/23 [00:05<00:02, 2.78it/s]\n 74%|███████▍ | 17/23 [00:06<00:02, 2.79it/s]\n 78%|███████▊ | 18/23 [00:06<00:01, 2.78it/s]\n 83%|████████▎ | 19/23 [00:06<00:01, 2.79it/s]\n 87%|████████▋ | 20/23 [00:07<00:01, 2.79it/s]\n 91%|█████████▏| 21/23 [00:07<00:00, 2.78it/s]\n 96%|█████████▌| 22/23 [00:07<00:00, 2.78it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.96it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.78it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.92870227, "total_time": 8.934437 }, "output": [ "https://replicate.delivery/xezq/6TXQYI0fEo3MJSiWnLirkvMFJfCTOi9VIPmumgBuOuSn9pOUA/out-0.jpg" ], "started_at": "2025-02-12T18:50:06.927734Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-p4kucvjndkuwaliz7pkxxyu3krfbks4lcgkjei2pmk5ipethkwpq", "get": "https://api.replicate.com/v1/predictions/2y4bfmhts9rm80cmzdzvzvmdw0", "cancel": "https://api.replicate.com/v1/predictions/2y4bfmhts9rm80cmzdzvzvmdw0/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 32229 Prompt: darth vader kneeling [!] Resizing input image from 1920x800 to 1920x800 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:09, 2.27it/s] 9%|▊ | 2/23 [00:00<00:08, 2.56it/s] 13%|█▎ | 3/23 [00:01<00:07, 2.66it/s] 17%|█▋ | 4/23 [00:01<00:07, 2.71it/s] 22%|██▏ | 5/23 [00:01<00:06, 2.74it/s] 26%|██▌ | 6/23 [00:02<00:06, 2.75it/s] 30%|███ | 7/23 [00:02<00:05, 2.76it/s] 35%|███▍ | 8/23 [00:02<00:05, 2.77it/s] 39%|███▉ | 9/23 [00:03<00:05, 2.78it/s] 43%|████▎ | 10/23 [00:03<00:04, 2.78it/s] 48%|████▊ | 11/23 [00:04<00:04, 2.78it/s] 52%|█████▏ | 12/23 [00:04<00:03, 2.78it/s] 57%|█████▋ | 13/23 [00:04<00:03, 2.79it/s] 61%|██████ | 14/23 [00:05<00:03, 2.79it/s] 65%|██████▌ | 15/23 [00:05<00:02, 2.78it/s] 70%|██████▉ | 16/23 [00:05<00:02, 2.78it/s] 74%|███████▍ | 17/23 [00:06<00:02, 2.79it/s] 78%|███████▊ | 18/23 [00:06<00:01, 2.78it/s] 83%|████████▎ | 19/23 [00:06<00:01, 2.79it/s] 87%|████████▋ | 20/23 [00:07<00:01, 2.79it/s] 91%|█████████▏| 21/23 [00:07<00:00, 2.78it/s] 96%|█████████▌| 22/23 [00:07<00:00, 2.78it/s] 100%|██████████| 23/23 [00:08<00:00, 2.96it/s] 100%|██████████| 23/23 [00:08<00:00, 2.78it/s] Total safe images: 1 out of 1Prediction
swk23/vader:b78e5a9fModelID06v22x1bthrma0cmze79gbeg58StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MUIfxmUfldwCJppvWjoNQeUO4NygjT7jvlZFQRndZyEUMqy4/test.png", "image": "https://replicate.delivery/pbxt/MUIfxd3p0CImzTu2KMGChuk0IQpR0CEUDRakGuhYk0UAVgOD/full.png", "model": "dev", "prompt": " Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }Install Replicate’s Node.js client library:npm install replicateImport and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });Run swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", { input: { mask: "https://replicate.delivery/pbxt/MUIfxmUfldwCJppvWjoNQeUO4NygjT7jvlZFQRndZyEUMqy4/test.png", image: "https://replicate.delivery/pbxt/MUIfxd3p0CImzTu2KMGChuk0IQpR0CEUDRakGuhYk0UAVgOD/full.png", model: "dev", prompt: " Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "jpg", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 replicateImport the client:import replicateRun swk23/vader using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", input={ "mask": "https://replicate.delivery/pbxt/MUIfxmUfldwCJppvWjoNQeUO4NygjT7jvlZFQRndZyEUMqy4/test.png", "image": "https://replicate.delivery/pbxt/MUIfxd3p0CImzTu2KMGChuk0IQpR0CEUDRakGuhYk0UAVgOD/full.png", "model": "dev", "prompt": " Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())To learn more, take a look at the guide on getting started with Python.
Run swk23/vader 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": "swk23/vader:b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f", "input": { "mask": "https://replicate.delivery/pbxt/MUIfxmUfldwCJppvWjoNQeUO4NygjT7jvlZFQRndZyEUMqy4/test.png", "image": "https://replicate.delivery/pbxt/MUIfxd3p0CImzTu2KMGChuk0IQpR0CEUDRakGuhYk0UAVgOD/full.png", "model": "dev", "prompt": " Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-02-12T19:06:37.821264Z", "created_at": "2025-02-12T19:06:26.132000Z", "data_removed": false, "error": null, "id": "06v22x1bthrma0cmze79gbeg58", "input": { "mask": "https://replicate.delivery/pbxt/MUIfxmUfldwCJppvWjoNQeUO4NygjT7jvlZFQRndZyEUMqy4/test.png", "image": "https://replicate.delivery/pbxt/MUIfxd3p0CImzTu2KMGChuk0IQpR0CEUDRakGuhYk0UAVgOD/full.png", "model": "dev", "prompt": " Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Loaded LoRAs in 0.66s\nUsing seed: 5755\nPrompt: Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee\n[!] Resizing input image from 1920x796 to 1920x800\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:01<00:22, 1.03s/it]\n 9%|▊ | 2/23 [00:01<00:13, 1.57it/s]\n 13%|█▎ | 3/23 [00:01<00:10, 1.95it/s]\n 17%|█▋ | 4/23 [00:02<00:08, 2.20it/s]\n 22%|██▏ | 5/23 [00:02<00:07, 2.37it/s]\n 26%|██▌ | 6/23 [00:02<00:06, 2.49it/s]\n 30%|███ | 7/23 [00:03<00:06, 2.56it/s]\n 35%|███▍ | 8/23 [00:03<00:05, 2.62it/s]\n 39%|███▉ | 9/23 [00:03<00:05, 2.65it/s]\n 43%|████▎ | 10/23 [00:04<00:04, 2.67it/s]\n 48%|████▊ | 11/23 [00:04<00:04, 2.70it/s]\n 52%|█████▏ | 12/23 [00:05<00:04, 2.71it/s]\n 57%|█████▋ | 13/23 [00:05<00:03, 2.72it/s]\n 61%|██████ | 14/23 [00:05<00:03, 2.73it/s]\n 65%|██████▌ | 15/23 [00:06<00:02, 2.73it/s]\n 70%|██████▉ | 16/23 [00:06<00:02, 2.73it/s]\n 74%|███████▍ | 17/23 [00:06<00:02, 2.74it/s]\n 78%|███████▊ | 18/23 [00:07<00:01, 2.74it/s]\n 83%|████████▎ | 19/23 [00:07<00:01, 2.74it/s]\n 87%|████████▋ | 20/23 [00:07<00:01, 2.74it/s]\n 91%|█████████▏| 21/23 [00:08<00:00, 2.74it/s]\n 96%|█████████▌| 22/23 [00:08<00:00, 2.74it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.91it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.56it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 11.486070656, "total_time": 11.689264 }, "output": [ "https://replicate.delivery/xezq/6fXXRQmibmyf1UOZ2xcZbet0E4GtlAzbKBSgbWxzeDF3zo6QB/out-0.jpg" ], "started_at": "2025-02-12T19:06:26.335194Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-bw2srzvftneupzqnugepbf7eb7yt64qnwkxdsp4y6x3j7xn4irhq", "get": "https://api.replicate.com/v1/predictions/06v22x1bthrma0cmze79gbeg58", "cancel": "https://api.replicate.com/v1/predictions/06v22x1bthrma0cmze79gbeg58/cancel" }, "version": "b78e5a9f0e79033b003074bcece2f0b85a915af6cd8aed82ea47578e9ee34b8f" }Generated inLoaded LoRAs in 0.66s Using seed: 5755 Prompt: Darth Vader in a dark, shadowy room. side profile shot, kneeling on one knee [!] Resizing input image from 1920x796 to 1920x800 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:01<00:22, 1.03s/it] 9%|▊ | 2/23 [00:01<00:13, 1.57it/s] 13%|█▎ | 3/23 [00:01<00:10, 1.95it/s] 17%|█▋ | 4/23 [00:02<00:08, 2.20it/s] 22%|██▏ | 5/23 [00:02<00:07, 2.37it/s] 26%|██▌ | 6/23 [00:02<00:06, 2.49it/s] 30%|███ | 7/23 [00:03<00:06, 2.56it/s] 35%|███▍ | 8/23 [00:03<00:05, 2.62it/s] 39%|███▉ | 9/23 [00:03<00:05, 2.65it/s] 43%|████▎ | 10/23 [00:04<00:04, 2.67it/s] 48%|████▊ | 11/23 [00:04<00:04, 2.70it/s] 52%|█████▏ | 12/23 [00:05<00:04, 2.71it/s] 57%|█████▋ | 13/23 [00:05<00:03, 2.72it/s] 61%|██████ | 14/23 [00:05<00:03, 2.73it/s] 65%|██████▌ | 15/23 [00:06<00:02, 2.73it/s] 70%|██████▉ | 16/23 [00:06<00:02, 2.73it/s] 74%|███████▍ | 17/23 [00:06<00:02, 2.74it/s] 78%|███████▊ | 18/23 [00:07<00:01, 2.74it/s] 83%|████████▎ | 19/23 [00:07<00:01, 2.74it/s] 87%|████████▋ | 20/23 [00:07<00:01, 2.74it/s] 91%|█████████▏| 21/23 [00:08<00:00, 2.74it/s] 96%|█████████▌| 22/23 [00:08<00:00, 2.74it/s] 100%|██████████| 23/23 [00:08<00:00, 2.91it/s] 100%|██████████| 23/23 [00:08<00:00, 2.56it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model














