swk23 / livepalpatine
(Updated 3 months, 1 week ago)
- Public
- 53 runs
Prediction
swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707IDny3r09dmp9rma0cng8avs7pj8mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A **close-up shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire.
- 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 shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire.", "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 replicate
Import 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/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", { input: { model: "dev", prompt: "A **close-up shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire.", 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 replicate
Import the client:import replicate
Run swk23/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", input={ "model": "dev", "prompt": "A **close-up shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire.", "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 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run swk23/livepalpatine 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/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", "input": { "model": "dev", "prompt": "A **close-up shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire.", "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/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-10T22:03:53.790407Z", "created_at": "2025-03-10T22:03:35.474000Z", "data_removed": false, "error": null, "id": "ny3r09dmp9rma0cng8avs7pj8m", "input": { "model": "dev", "prompt": "A **close-up shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire.", "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=27309747507200\nDownloading weights\n2025-03-10T22:03:35Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpv4lrfiuk/weights url=https://replicate.delivery/xezq/zFR02bFIV6pUKBfaWhlCtmeGTf1ohQZPpWZPBch1BYz8biuoA/trained_model.tar\n2025-03-10T22:03:46Z | INFO | [ Complete ] dest=/tmp/tmpv4lrfiuk/weights size=\"172 MB\" total_elapsed=10.853s url=https://replicate.delivery/xezq/zFR02bFIV6pUKBfaWhlCtmeGTf1ohQZPpWZPBch1BYz8biuoA/trained_model.tar\nDownloaded weights in 10.88s\nLoaded LoRAs in 11.45s\nUsing seed: 23813\nPrompt: A **close-up shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire.\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 4.23it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.77it/s]\n 11%|█ | 3/28 [00:00<00:05, 4.49it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.39it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 4.33it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 4.29it/s]\n 25%|██▌ | 7/28 [00:01<00:04, 4.27it/s]\n 29%|██▊ | 8/28 [00:01<00:04, 4.25it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 4.24it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 4.23it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 4.23it/s]\n 43%|████▎ | 12/28 [00:02<00:03, 4.22it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 4.22it/s]\n 50%|█████ | 14/28 [00:03<00:03, 4.22it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 4.22it/s]\n 57%|█████▋ | 16/28 [00:03<00:02, 4.21it/s]\n 61%|██████ | 17/28 [00:03<00:02, 4.22it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 4.22it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 4.22it/s]\n 71%|███████▏ | 20/28 [00:04<00:01, 4.22it/s]\n 75%|███████▌ | 21/28 [00:04<00:01, 4.22it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 4.22it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 4.22it/s]\n 86%|████████▌ | 24/28 [00:05<00:00, 4.22it/s]\n 89%|████████▉ | 25/28 [00:05<00:00, 4.21it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 4.22it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 4.21it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.22it/s]\n100%|██████████| 28/28 [00:06<00:00, 4.25it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 18.24906401, "total_time": 18.316407 }, "output": [ "https://replicate.delivery/xezq/uuaSSeZ8o5wfTk3sr6704BGHtSaaR9DJTyP1TWZSqbFJPRXUA/out-0.jpg" ], "started_at": "2025-03-10T22:03:35.541343Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-kvd23pxex3plo2zdtyta7sjjzzvuqkdqgnunrsu6px5detp6e5ua", "get": "https://api.replicate.com/v1/predictions/ny3r09dmp9rma0cng8avs7pj8m", "cancel": "https://api.replicate.com/v1/predictions/ny3r09dmp9rma0cng8avs7pj8m/cancel" }, "version": "1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707" }
Generated infree=27309747507200 Downloading weights 2025-03-10T22:03:35Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpv4lrfiuk/weights url=https://replicate.delivery/xezq/zFR02bFIV6pUKBfaWhlCtmeGTf1ohQZPpWZPBch1BYz8biuoA/trained_model.tar 2025-03-10T22:03:46Z | INFO | [ Complete ] dest=/tmp/tmpv4lrfiuk/weights size="172 MB" total_elapsed=10.853s url=https://replicate.delivery/xezq/zFR02bFIV6pUKBfaWhlCtmeGTf1ohQZPpWZPBch1BYz8biuoA/trained_model.tar Downloaded weights in 10.88s Loaded LoRAs in 11.45s Using seed: 23813 Prompt: A **close-up shot** of Emperor Palpatine, his **aged, scarred face** illuminated by the eerie glow of Senate chamber lights. His **piercing yellow eyes** radiate sinister intelligence, sunken into the wrinkled depths of his pale, almost translucent skin. His **thin lips curl into a cruel, knowing smirk**, the shadow of his deep hood casting darkness over his forehead. Faint flickers of Sith lightning crackle at his fingertips, a subtle reminder of the power he wields. The background is blurred, emphasizing the pure malice and control in his expression—a man who has orchestrated the fall of the Jedi and the rise of an Empire. [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 4.23it/s] 7%|▋ | 2/28 [00:00<00:05, 4.77it/s] 11%|█ | 3/28 [00:00<00:05, 4.49it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.39it/s] 18%|█▊ | 5/28 [00:01<00:05, 4.33it/s] 21%|██▏ | 6/28 [00:01<00:05, 4.29it/s] 25%|██▌ | 7/28 [00:01<00:04, 4.27it/s] 29%|██▊ | 8/28 [00:01<00:04, 4.25it/s] 32%|███▏ | 9/28 [00:02<00:04, 4.24it/s] 36%|███▌ | 10/28 [00:02<00:04, 4.23it/s] 39%|███▉ | 11/28 [00:02<00:04, 4.23it/s] 43%|████▎ | 12/28 [00:02<00:03, 4.22it/s] 46%|████▋ | 13/28 [00:03<00:03, 4.22it/s] 50%|█████ | 14/28 [00:03<00:03, 4.22it/s] 54%|█████▎ | 15/28 [00:03<00:03, 4.22it/s] 57%|█████▋ | 16/28 [00:03<00:02, 4.21it/s] 61%|██████ | 17/28 [00:03<00:02, 4.22it/s] 64%|██████▍ | 18/28 [00:04<00:02, 4.22it/s] 68%|██████▊ | 19/28 [00:04<00:02, 4.22it/s] 71%|███████▏ | 20/28 [00:04<00:01, 4.22it/s] 75%|███████▌ | 21/28 [00:04<00:01, 4.22it/s] 79%|███████▊ | 22/28 [00:05<00:01, 4.22it/s] 82%|████████▏ | 23/28 [00:05<00:01, 4.22it/s] 86%|████████▌ | 24/28 [00:05<00:00, 4.22it/s] 89%|████████▉ | 25/28 [00:05<00:00, 4.21it/s] 93%|█████████▎| 26/28 [00:06<00:00, 4.22it/s] 96%|█████████▋| 27/28 [00:06<00:00, 4.21it/s] 100%|██████████| 28/28 [00:06<00:00, 4.22it/s] 100%|██████████| 28/28 [00:06<00:00, 4.25it/s] Total safe images: 1 out of 1
Prediction
swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707IDw9y9s856gsrm80cngazsa3czd4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.
- 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/MdcPTGZA17kvewF0x8ckwdQy8SCqUKleKG9M634KdSqZctxQ/test.png", "image": "https://replicate.delivery/pbxt/MdcPTARNuuwSwZLCzogR9MG6ntUq6Hjskkv1vx5QFjY9qkyx/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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 replicate
Import 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/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", { input: { mask: "https://replicate.delivery/pbxt/MdcPTGZA17kvewF0x8ckwdQy8SCqUKleKG9M634KdSqZctxQ/test.png", image: "https://replicate.delivery/pbxt/MdcPTARNuuwSwZLCzogR9MG6ntUq6Hjskkv1vx5QFjY9qkyx/full.png", model: "dev", prompt: "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", 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 replicate
Import the client:import replicate
Run swk23/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", input={ "mask": "https://replicate.delivery/pbxt/MdcPTGZA17kvewF0x8ckwdQy8SCqUKleKG9M634KdSqZctxQ/test.png", "image": "https://replicate.delivery/pbxt/MdcPTARNuuwSwZLCzogR9MG6ntUq6Hjskkv1vx5QFjY9qkyx/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run swk23/livepalpatine 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/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", "input": { "mask": "https://replicate.delivery/pbxt/MdcPTGZA17kvewF0x8ckwdQy8SCqUKleKG9M634KdSqZctxQ/test.png", "image": "https://replicate.delivery/pbxt/MdcPTARNuuwSwZLCzogR9MG6ntUq6Hjskkv1vx5QFjY9qkyx/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne\'s armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-11T01:09:20.469509Z", "created_at": "2025-03-11T01:09:12.966000Z", "data_removed": false, "error": null, "id": "w9y9s856gsrm80cngazsa3czd4", "input": { "mask": "https://replicate.delivery/pbxt/MdcPTGZA17kvewF0x8ckwdQy8SCqUKleKG9M634KdSqZctxQ/test.png", "image": "https://replicate.delivery/pbxt/MdcPTARNuuwSwZLCzogR9MG6ntUq6Hjskkv1vx5QFjY9qkyx/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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.57s\nUsing seed: 48308\nPrompt: Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.\nInput image size: 1920x778\n[!] Resizing input image from 1920x778 to 1440x592\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:20, 1.08it/s]\n 9%|▊ | 2/23 [00:01<00:10, 1.97it/s]\n 13%|█▎ | 3/23 [00:01<00:07, 2.67it/s]\n 17%|█▋ | 4/23 [00:01<00:05, 3.21it/s]\n 22%|██▏ | 5/23 [00:01<00:04, 3.61it/s]\n 26%|██▌ | 6/23 [00:02<00:04, 3.91it/s]\n 30%|███ | 7/23 [00:02<00:03, 4.12it/s]\n 35%|███▍ | 8/23 [00:02<00:03, 4.28it/s]\n 39%|███▉ | 9/23 [00:02<00:03, 4.38it/s]\n 43%|████▎ | 10/23 [00:02<00:02, 4.46it/s]\n 48%|████▊ | 11/23 [00:03<00:02, 4.52it/s]\n 52%|█████▏ | 12/23 [00:03<00:02, 4.56it/s]\n 57%|█████▋ | 13/23 [00:03<00:02, 4.58it/s]\n 61%|██████ | 14/23 [00:03<00:01, 4.60it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.62it/s]\n 70%|██████▉ | 16/23 [00:04<00:01, 4.62it/s]\n 74%|███████▍ | 17/23 [00:04<00:01, 4.63it/s]\n 78%|███████▊ | 18/23 [00:04<00:01, 4.64it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.64it/s]\n 87%|████████▋ | 20/23 [00:05<00:00, 4.65it/s]\n 91%|█████████▏| 21/23 [00:05<00:00, 4.65it/s]\n 96%|█████████▌| 22/23 [00:05<00:00, 4.65it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.92it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.09it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 7.484658999, "total_time": 7.503509 }, "output": [ "https://replicate.delivery/xezq/rEh1l8YPvhLOMVvgenwhoJfChx9vQs5JAqZZt1mGahZA9TXUA/out-0.jpg" ], "started_at": "2025-03-11T01:09:12.984850Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-sqzewi5pchtyriey4cafghjsntez6pvjpfejda32kdc43b75fmdq", "get": "https://api.replicate.com/v1/predictions/w9y9s856gsrm80cngazsa3czd4", "cancel": "https://api.replicate.com/v1/predictions/w9y9s856gsrm80cngazsa3czd4/cancel" }, "version": "1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707" }
Generated inLoaded LoRAs in 0.57s Using seed: 48308 Prompt: Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy. Input image size: 1920x778 [!] Resizing input image from 1920x778 to 1440x592 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:20, 1.08it/s] 9%|▊ | 2/23 [00:01<00:10, 1.97it/s] 13%|█▎ | 3/23 [00:01<00:07, 2.67it/s] 17%|█▋ | 4/23 [00:01<00:05, 3.21it/s] 22%|██▏ | 5/23 [00:01<00:04, 3.61it/s] 26%|██▌ | 6/23 [00:02<00:04, 3.91it/s] 30%|███ | 7/23 [00:02<00:03, 4.12it/s] 35%|███▍ | 8/23 [00:02<00:03, 4.28it/s] 39%|███▉ | 9/23 [00:02<00:03, 4.38it/s] 43%|████▎ | 10/23 [00:02<00:02, 4.46it/s] 48%|████▊ | 11/23 [00:03<00:02, 4.52it/s] 52%|█████▏ | 12/23 [00:03<00:02, 4.56it/s] 57%|█████▋ | 13/23 [00:03<00:02, 4.58it/s] 61%|██████ | 14/23 [00:03<00:01, 4.60it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.62it/s] 70%|██████▉ | 16/23 [00:04<00:01, 4.62it/s] 74%|███████▍ | 17/23 [00:04<00:01, 4.63it/s] 78%|███████▊ | 18/23 [00:04<00:01, 4.64it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.64it/s] 87%|████████▋ | 20/23 [00:05<00:00, 4.65it/s] 91%|█████████▏| 21/23 [00:05<00:00, 4.65it/s] 96%|█████████▌| 22/23 [00:05<00:00, 4.65it/s] 100%|██████████| 23/23 [00:05<00:00, 4.92it/s] 100%|██████████| 23/23 [00:05<00:00, 4.09it/s] Total safe images: 1 out of 1
Prediction
swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707ID52d1nq2m1xrma0cngb0bhcgtvcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.
- 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/MdcQ9lCkPZ8bqVZ4IWfzbnBCV3qcMtFdINJz94D7QkiSMrBz/test.png", "image": "https://replicate.delivery/pbxt/MdcQATlSIr6GWVUlYtP2nIsmpj4omj9OoGilZdWC9A9C3T4M/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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 replicate
Import 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/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", { input: { mask: "https://replicate.delivery/pbxt/MdcQ9lCkPZ8bqVZ4IWfzbnBCV3qcMtFdINJz94D7QkiSMrBz/test.png", image: "https://replicate.delivery/pbxt/MdcQATlSIr6GWVUlYtP2nIsmpj4omj9OoGilZdWC9A9C3T4M/full.png", model: "dev", prompt: "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", 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 replicate
Import the client:import replicate
Run swk23/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", input={ "mask": "https://replicate.delivery/pbxt/MdcQ9lCkPZ8bqVZ4IWfzbnBCV3qcMtFdINJz94D7QkiSMrBz/test.png", "image": "https://replicate.delivery/pbxt/MdcQATlSIr6GWVUlYtP2nIsmpj4omj9OoGilZdWC9A9C3T4M/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run swk23/livepalpatine 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/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", "input": { "mask": "https://replicate.delivery/pbxt/MdcQ9lCkPZ8bqVZ4IWfzbnBCV3qcMtFdINJz94D7QkiSMrBz/test.png", "image": "https://replicate.delivery/pbxt/MdcQATlSIr6GWVUlYtP2nIsmpj4omj9OoGilZdWC9A9C3T4M/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne\'s armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-11T01:10:02.958932Z", "created_at": "2025-03-11T01:09:57.391000Z", "data_removed": false, "error": null, "id": "52d1nq2m1xrma0cngb0bhcgtvc", "input": { "mask": "https://replicate.delivery/pbxt/MdcQ9lCkPZ8bqVZ4IWfzbnBCV3qcMtFdINJz94D7QkiSMrBz/test.png", "image": "https://replicate.delivery/pbxt/MdcQATlSIr6GWVUlYtP2nIsmpj4omj9OoGilZdWC9A9C3T4M/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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.03s\nUsing seed: 13202\nPrompt: Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.\nInput image size: 1920x778\n[!] Resizing input image from 1920x778 to 1440x592\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:05, 3.88it/s]\n 9%|▊ | 2/23 [00:00<00:04, 4.30it/s]\n 13%|█▎ | 3/23 [00:00<00:04, 4.46it/s]\n 17%|█▋ | 4/23 [00:00<00:04, 4.53it/s]\n 22%|██▏ | 5/23 [00:01<00:03, 4.57it/s]\n 26%|██▌ | 6/23 [00:01<00:03, 4.60it/s]\n 30%|███ | 7/23 [00:01<00:03, 4.62it/s]\n 35%|███▍ | 8/23 [00:01<00:03, 4.63it/s]\n 39%|███▉ | 9/23 [00:01<00:03, 4.64it/s]\n 43%|████▎ | 10/23 [00:02<00:02, 4.64it/s]\n 48%|████▊ | 11/23 [00:02<00:02, 4.64it/s]\n 52%|█████▏ | 12/23 [00:02<00:02, 4.64it/s]\n 57%|█████▋ | 13/23 [00:02<00:02, 4.65it/s]\n 61%|██████ | 14/23 [00:03<00:01, 4.65it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.65it/s]\n 70%|██████▉ | 16/23 [00:03<00:01, 4.65it/s]\n 74%|███████▍ | 17/23 [00:03<00:01, 4.65it/s]\n 78%|███████▊ | 18/23 [00:03<00:01, 4.65it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.65it/s]\n 87%|████████▋ | 20/23 [00:04<00:00, 4.64it/s]\n 91%|█████████▏| 21/23 [00:04<00:00, 4.64it/s]\n 96%|█████████▌| 22/23 [00:04<00:00, 4.64it/s]\n100%|██████████| 23/23 [00:04<00:00, 4.91it/s]\n100%|██████████| 23/23 [00:04<00:00, 4.65it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 5.563043946, "total_time": 5.567932 }, "output": [ "https://replicate.delivery/xezq/uofpnSIgoxRqeELpC2FyDVUV2EXm8heoTiVJ7um7WN7V7nuoA/out-0.jpg" ], "started_at": "2025-03-11T01:09:57.395888Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-6e2lhckjd4k3gsikwxsyx6ijtixpxuy53finhklnaecuvj3ks7sa", "get": "https://api.replicate.com/v1/predictions/52d1nq2m1xrma0cngb0bhcgtvc", "cancel": "https://api.replicate.com/v1/predictions/52d1nq2m1xrma0cngb0bhcgtvc/cancel" }, "version": "1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707" }
Generated inWeights already loaded Loaded LoRAs in 0.03s Using seed: 13202 Prompt: Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy. Input image size: 1920x778 [!] Resizing input image from 1920x778 to 1440x592 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:05, 3.88it/s] 9%|▊ | 2/23 [00:00<00:04, 4.30it/s] 13%|█▎ | 3/23 [00:00<00:04, 4.46it/s] 17%|█▋ | 4/23 [00:00<00:04, 4.53it/s] 22%|██▏ | 5/23 [00:01<00:03, 4.57it/s] 26%|██▌ | 6/23 [00:01<00:03, 4.60it/s] 30%|███ | 7/23 [00:01<00:03, 4.62it/s] 35%|███▍ | 8/23 [00:01<00:03, 4.63it/s] 39%|███▉ | 9/23 [00:01<00:03, 4.64it/s] 43%|████▎ | 10/23 [00:02<00:02, 4.64it/s] 48%|████▊ | 11/23 [00:02<00:02, 4.64it/s] 52%|█████▏ | 12/23 [00:02<00:02, 4.64it/s] 57%|█████▋ | 13/23 [00:02<00:02, 4.65it/s] 61%|██████ | 14/23 [00:03<00:01, 4.65it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.65it/s] 70%|██████▉ | 16/23 [00:03<00:01, 4.65it/s] 74%|███████▍ | 17/23 [00:03<00:01, 4.65it/s] 78%|███████▊ | 18/23 [00:03<00:01, 4.65it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.65it/s] 87%|████████▋ | 20/23 [00:04<00:00, 4.64it/s] 91%|█████████▏| 21/23 [00:04<00:00, 4.64it/s] 96%|█████████▌| 22/23 [00:04<00:00, 4.64it/s] 100%|██████████| 23/23 [00:04<00:00, 4.91it/s] 100%|██████████| 23/23 [00:04<00:00, 4.65it/s] Total safe images: 1 out of 1
Prediction
swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707ID9xg4d48v29rme0cngc3bpr2hsmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.
- 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/MddaNviMqpRRhKpOzItUgVLQbdaX1L3i2Gat9BgrS03pPp36/test.png", "image": "https://replicate.delivery/pbxt/MddaNrKm7WhkaMRiJ0qaxgpHi3YF9qHH5XWr535o3g2FTSMP/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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 replicate
Import 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/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", { input: { mask: "https://replicate.delivery/pbxt/MddaNviMqpRRhKpOzItUgVLQbdaX1L3i2Gat9BgrS03pPp36/test.png", image: "https://replicate.delivery/pbxt/MddaNrKm7WhkaMRiJ0qaxgpHi3YF9qHH5XWr535o3g2FTSMP/full.png", model: "dev", prompt: "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", 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 replicate
Import the client:import replicate
Run swk23/livepalpatine using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", input={ "mask": "https://replicate.delivery/pbxt/MddaNviMqpRRhKpOzItUgVLQbdaX1L3i2Gat9BgrS03pPp36/test.png", "image": "https://replicate.delivery/pbxt/MddaNrKm7WhkaMRiJ0qaxgpHi3YF9qHH5XWr535o3g2FTSMP/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run swk23/livepalpatine 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/livepalpatine:1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707", "input": { "mask": "https://replicate.delivery/pbxt/MddaNviMqpRRhKpOzItUgVLQbdaX1L3i2Gat9BgrS03pPp36/test.png", "image": "https://replicate.delivery/pbxt/MddaNrKm7WhkaMRiJ0qaxgpHi3YF9qHH5XWr535o3g2FTSMP/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne\'s armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-11T02:26:15.841046Z", "created_at": "2025-03-11T02:26:10.322000Z", "data_removed": false, "error": null, "id": "9xg4d48v29rme0cngc3bpr2hsm", "input": { "mask": "https://replicate.delivery/pbxt/MddaNviMqpRRhKpOzItUgVLQbdaX1L3i2Gat9BgrS03pPp36/test.png", "image": "https://replicate.delivery/pbxt/MddaNrKm7WhkaMRiJ0qaxgpHi3YF9qHH5XWr535o3g2FTSMP/full.png", "model": "dev", "prompt": "Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.", "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: 37153\nPrompt: Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy.\nInput image size: 1920x778\n[!] Resizing input image from 1920x778 to 1440x592\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:05, 3.91it/s]\n 9%|▊ | 2/23 [00:00<00:04, 4.34it/s]\n 13%|█▎ | 3/23 [00:00<00:04, 4.50it/s]\n 17%|█▋ | 4/23 [00:00<00:04, 4.58it/s]\n 22%|██▏ | 5/23 [00:01<00:03, 4.62it/s]\n 26%|██▌ | 6/23 [00:01<00:03, 4.64it/s]\n 30%|███ | 7/23 [00:01<00:03, 4.66it/s]\n 35%|███▍ | 8/23 [00:01<00:03, 4.67it/s]\n 39%|███▉ | 9/23 [00:01<00:02, 4.68it/s]\n 43%|████▎ | 10/23 [00:02<00:02, 4.68it/s]\n 48%|████▊ | 11/23 [00:02<00:02, 4.68it/s]\n 52%|█████▏ | 12/23 [00:02<00:02, 4.69it/s]\n 57%|█████▋ | 13/23 [00:02<00:02, 4.69it/s]\n 61%|██████ | 14/23 [00:03<00:01, 4.69it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.69it/s]\n 70%|██████▉ | 16/23 [00:03<00:01, 4.69it/s]\n 74%|███████▍ | 17/23 [00:03<00:01, 4.69it/s]\n 78%|███████▊ | 18/23 [00:03<00:01, 4.69it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.69it/s]\n 87%|████████▋ | 20/23 [00:04<00:00, 4.69it/s]\n 91%|█████████▏| 21/23 [00:04<00:00, 4.69it/s]\n 96%|█████████▌| 22/23 [00:04<00:00, 4.69it/s]\n100%|██████████| 23/23 [00:04<00:00, 4.96it/s]\n100%|██████████| 23/23 [00:04<00:00, 4.69it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 5.510841469, "total_time": 5.519046 }, "output": [ "https://replicate.delivery/xezq/BubmsPoV9hZ9HRfQnpZR7VwaC3paN4ukT5n61TiDPdfHFVXUA/out-0.jpg" ], "started_at": "2025-03-11T02:26:10.330204Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-745z7ht6mpsaphovnsh2uo2bp3yn7ezyny5lrwb4dnni62aixfka", "get": "https://api.replicate.com/v1/predictions/9xg4d48v29rme0cngc3bpr2hsm", "cancel": "https://api.replicate.com/v1/predictions/9xg4d48v29rme0cngc3bpr2hsm/cancel" }, "version": "1db9d74c7edec39adcad96f67d99dca04d051834df9a2c47ffc207a253428707" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 37153 Prompt: Emperor Palpatine sits menacingly in a high-backed throne, draped in dark Sith robes that conceal most of his form. His hood casts a shadow over his deeply wrinkled, pale face, leaving only his piercing yellow eyes and sinister smirk visible. His skeletal hands rest on the throne's armrests, fingers slightly curled as if in quiet calculation. Behind him, the vast cityscape of Coruscant stretches into the distance, illuminated by countless glowing lights and towering skyscrapers. The atmosphere is ominous and foreboding, with cold, muted lighting emphasizing his dark presence. The composition is cinematic, placing Palpatine at the center, exuding an aura of absolute power and control over the galaxy. Input image size: 1920x778 [!] Resizing input image from 1920x778 to 1440x592 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:05, 3.91it/s] 9%|▊ | 2/23 [00:00<00:04, 4.34it/s] 13%|█▎ | 3/23 [00:00<00:04, 4.50it/s] 17%|█▋ | 4/23 [00:00<00:04, 4.58it/s] 22%|██▏ | 5/23 [00:01<00:03, 4.62it/s] 26%|██▌ | 6/23 [00:01<00:03, 4.64it/s] 30%|███ | 7/23 [00:01<00:03, 4.66it/s] 35%|███▍ | 8/23 [00:01<00:03, 4.67it/s] 39%|███▉ | 9/23 [00:01<00:02, 4.68it/s] 43%|████▎ | 10/23 [00:02<00:02, 4.68it/s] 48%|████▊ | 11/23 [00:02<00:02, 4.68it/s] 52%|█████▏ | 12/23 [00:02<00:02, 4.69it/s] 57%|█████▋ | 13/23 [00:02<00:02, 4.69it/s] 61%|██████ | 14/23 [00:03<00:01, 4.69it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.69it/s] 70%|██████▉ | 16/23 [00:03<00:01, 4.69it/s] 74%|███████▍ | 17/23 [00:03<00:01, 4.69it/s] 78%|███████▊ | 18/23 [00:03<00:01, 4.69it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.69it/s] 87%|████████▋ | 20/23 [00:04<00:00, 4.69it/s] 91%|█████████▏| 21/23 [00:04<00:00, 4.69it/s] 96%|█████████▌| 22/23 [00:04<00:00, 4.69it/s] 100%|██████████| 23/23 [00:04<00:00, 4.96it/s] 100%|██████████| 23/23 [00:04<00:00, 4.69it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model