swk23/palps
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelIDsc6wgqkg99rm80cmszhas54b58StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- *"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power."*
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MRI3MXYqMXsSfZYoJi72vsbABNJVOCOkIEuFoFgHMy3gVLqh/test.png", "image": "https://replicate.delivery/pbxt/MRI3M4GaaYB5KTPMWFUvGQrhLPYdsPQNSHdKfSzTpEdMIATa/full.png", "model": "dev", "prompt": "*\"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/MRI3MXYqMXsSfZYoJi72vsbABNJVOCOkIEuFoFgHMy3gVLqh/test.png", image: "https://replicate.delivery/pbxt/MRI3M4GaaYB5KTPMWFUvGQrhLPYdsPQNSHdKfSzTpEdMIATa/full.png", model: "dev", prompt: "*\"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power.\"*", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/MRI3MXYqMXsSfZYoJi72vsbABNJVOCOkIEuFoFgHMy3gVLqh/test.png", "image": "https://replicate.delivery/pbxt/MRI3M4GaaYB5KTPMWFUvGQrhLPYdsPQNSHdKfSzTpEdMIATa/full.png", "model": "dev", "prompt": "*\"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power.\"*", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/MRI3MXYqMXsSfZYoJi72vsbABNJVOCOkIEuFoFgHMy3gVLqh/test.png", "image": "https://replicate.delivery/pbxt/MRI3M4GaaYB5KTPMWFUvGQrhLPYdsPQNSHdKfSzTpEdMIATa/full.png", "model": "dev", "prompt": "*\\"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power.\\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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-02-04T07:35:19.638073Z", "created_at": "2025-02-04T07:35:11.178000Z", "data_removed": false, "error": null, "id": "sc6wgqkg99rm80cmszhas54b58", "input": { "mask": "https://replicate.delivery/pbxt/MRI3MXYqMXsSfZYoJi72vsbABNJVOCOkIEuFoFgHMy3gVLqh/test.png", "image": "https://replicate.delivery/pbxt/MRI3M4GaaYB5KTPMWFUvGQrhLPYdsPQNSHdKfSzTpEdMIATa/full.png", "model": "dev", "prompt": "*\"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power.\"*", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=29577902108672\nDownloading weights\n2025-02-04T07:35:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp3yyxromh/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\n2025-02-04T07:35:13Z | INFO | [ Complete ] dest=/tmp/tmp3yyxromh/weights size=\"172 MB\" total_elapsed=1.656s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\nDownloaded weights in 1.70s\nLoaded LoRAs in 2.25s\nUsing seed: 47357\nPrompt: *\"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power.\"*\n[!] Resizing input image from 1536x640 to 1536x640\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:06, 3.53it/s]\n 9%|▊ | 2/23 [00:00<00:05, 3.92it/s]\n 13%|█▎ | 3/23 [00:00<00:04, 4.07it/s]\n 17%|█▋ | 4/23 [00:00<00:04, 4.14it/s]\n 22%|██▏ | 5/23 [00:01<00:04, 4.18it/s]\n 26%|██▌ | 6/23 [00:01<00:04, 4.20it/s]\n 30%|███ | 7/23 [00:01<00:03, 4.22it/s]\n 35%|███▍ | 8/23 [00:01<00:03, 4.23it/s]\n 39%|███▉ | 9/23 [00:02<00:03, 4.24it/s]\n 43%|████▎ | 10/23 [00:02<00:03, 4.25it/s]\n 48%|████▊ | 11/23 [00:02<00:02, 4.25it/s]\n 52%|█████▏ | 12/23 [00:02<00:02, 4.25it/s]\n 57%|█████▋ | 13/23 [00:03<00:02, 4.25it/s]\n 61%|██████ | 14/23 [00:03<00:02, 4.25it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.25it/s]\n 70%|██████▉ | 16/23 [00:03<00:01, 4.26it/s]\n 74%|███████▍ | 17/23 [00:04<00:01, 4.26it/s]\n 78%|███████▊ | 18/23 [00:04<00:01, 4.25it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.25it/s]\n 87%|████████▋ | 20/23 [00:04<00:00, 4.25it/s]\n 91%|█████████▏| 21/23 [00:04<00:00, 4.25it/s]\n 96%|█████████▌| 22/23 [00:05<00:00, 4.25it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.52it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.25it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.377844088, "total_time": 8.460073 }, "output": [ "https://replicate.delivery/xezq/aPawQPUN7pJzJFEuWxjaZDbKXam3STohwhcNxZXg5pfbq7FKA/out-0.webp" ], "started_at": "2025-02-04T07:35:11.260229Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-gs7mouk36xe3oqkt5aabismrb4p3wlj4qirupbq6ntd3kwlpob5q", "get": "https://api.replicate.com/v1/predictions/sc6wgqkg99rm80cmszhas54b58", "cancel": "https://api.replicate.com/v1/predictions/sc6wgqkg99rm80cmszhas54b58/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated infree=29577902108672 Downloading weights 2025-02-04T07:35:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp3yyxromh/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar 2025-02-04T07:35:13Z | INFO | [ Complete ] dest=/tmp/tmp3yyxromh/weights size="172 MB" total_elapsed=1.656s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar Downloaded weights in 1.70s Loaded LoRAs in 2.25s Using seed: 47357 Prompt: *"Emperor Palpatine slowly raises his hands, his palms facing the ground, before unleashing a torrent of crackling blue lightning from his fingertips, illuminating the dimly lit chamber with raw Sith power."* [!] Resizing input image from 1536x640 to 1536x640 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:06, 3.53it/s] 9%|▊ | 2/23 [00:00<00:05, 3.92it/s] 13%|█▎ | 3/23 [00:00<00:04, 4.07it/s] 17%|█▋ | 4/23 [00:00<00:04, 4.14it/s] 22%|██▏ | 5/23 [00:01<00:04, 4.18it/s] 26%|██▌ | 6/23 [00:01<00:04, 4.20it/s] 30%|███ | 7/23 [00:01<00:03, 4.22it/s] 35%|███▍ | 8/23 [00:01<00:03, 4.23it/s] 39%|███▉ | 9/23 [00:02<00:03, 4.24it/s] 43%|████▎ | 10/23 [00:02<00:03, 4.25it/s] 48%|████▊ | 11/23 [00:02<00:02, 4.25it/s] 52%|█████▏ | 12/23 [00:02<00:02, 4.25it/s] 57%|█████▋ | 13/23 [00:03<00:02, 4.25it/s] 61%|██████ | 14/23 [00:03<00:02, 4.25it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.25it/s] 70%|██████▉ | 16/23 [00:03<00:01, 4.26it/s] 74%|███████▍ | 17/23 [00:04<00:01, 4.26it/s] 78%|███████▊ | 18/23 [00:04<00:01, 4.25it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.25it/s] 87%|████████▋ | 20/23 [00:04<00:00, 4.25it/s] 91%|█████████▏| 21/23 [00:04<00:00, 4.25it/s] 96%|█████████▌| 22/23 [00:05<00:00, 4.25it/s] 100%|██████████| 23/23 [00:05<00:00, 4.52it/s] 100%|██████████| 23/23 [00:05<00:00, 4.25it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelID678f5bgd7nrm80cmtbj80jwfkrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- *"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition with intricate textures, deep shadows, and a dramatic, high-contrast color palette."*
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MRUttnZWAMbrQbJFzS0LvvULpBfXFubOuJ1iaIjY9lhTj2tc/test.png", "image": "https://replicate.delivery/pbxt/MRUtt1lL4drFx5BpbMt0phb3XA5UElfm6NxQo4J5zAgMLMZj/full.png", "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/MRUttnZWAMbrQbJFzS0LvvULpBfXFubOuJ1iaIjY9lhTj2tc/test.png", image: "https://replicate.delivery/pbxt/MRUtt1lL4drFx5BpbMt0phb3XA5UElfm6NxQo4J5zAgMLMZj/full.png", model: "dev", prompt: "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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: "16:9", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/MRUttnZWAMbrQbJFzS0LvvULpBfXFubOuJ1iaIjY9lhTj2tc/test.png", "image": "https://replicate.delivery/pbxt/MRUtt1lL4drFx5BpbMt0phb3XA5UElfm6NxQo4J5zAgMLMZj/full.png", "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/MRUttnZWAMbrQbJFzS0LvvULpBfXFubOuJ1iaIjY9lhTj2tc/test.png", "image": "https://replicate.delivery/pbxt/MRUtt1lL4drFx5BpbMt0phb3XA5UElfm6NxQo4J5zAgMLMZj/full.png", "model": "dev", "prompt": "*\\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "webp", "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-02-04T21:35:54.543311Z", "created_at": "2025-02-04T21:35:48.541000Z", "data_removed": false, "error": null, "id": "678f5bgd7nrm80cmtbj80jwfkr", "input": { "mask": "https://replicate.delivery/pbxt/MRUttnZWAMbrQbJFzS0LvvULpBfXFubOuJ1iaIjY9lhTj2tc/test.png", "image": "https://replicate.delivery/pbxt/MRUtt1lL4drFx5BpbMt0phb3XA5UElfm6NxQo4J5zAgMLMZj/full.png", "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "webp", "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: 35108\nPrompt: *\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\"*\n[!] Resizing input image from 1536x640 to 1536x640\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:06, 3.53it/s]\n 9%|▊ | 2/23 [00:00<00:05, 3.94it/s]\n 13%|█▎ | 3/23 [00:00<00:04, 4.10it/s]\n 17%|█▋ | 4/23 [00:00<00:04, 4.18it/s]\n 22%|██▏ | 5/23 [00:01<00:04, 4.22it/s]\n 26%|██▌ | 6/23 [00:01<00:04, 4.25it/s]\n 30%|███ | 7/23 [00:01<00:03, 4.25it/s]\n 35%|███▍ | 8/23 [00:01<00:03, 4.25it/s]\n 39%|███▉ | 9/23 [00:02<00:03, 4.25it/s]\n 43%|████▎ | 10/23 [00:02<00:03, 4.25it/s]\n 48%|████▊ | 11/23 [00:02<00:02, 4.25it/s]\n 52%|█████▏ | 12/23 [00:02<00:02, 4.25it/s]\n 57%|█████▋ | 13/23 [00:03<00:02, 4.26it/s]\n 61%|██████ | 14/23 [00:03<00:02, 4.26it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.26it/s]\n 70%|██████▉ | 16/23 [00:03<00:01, 4.26it/s]\n 74%|███████▍ | 17/23 [00:04<00:01, 4.26it/s]\n 78%|███████▊ | 18/23 [00:04<00:01, 4.26it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.25it/s]\n 87%|████████▋ | 20/23 [00:04<00:00, 4.26it/s]\n 91%|█████████▏| 21/23 [00:04<00:00, 4.27it/s]\n 96%|█████████▌| 22/23 [00:05<00:00, 4.28it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.55it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.27it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 5.994562242, "total_time": 6.002311 }, "output": [ "https://replicate.delivery/xezq/uf0LzJ0krD0Fd66x2eXlZhyf9J5FfUfAJ5ss1dLVz1fuO6ADF/out-0.webp" ], "started_at": "2025-02-04T21:35:48.548749Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-o2vvsfzwixymvwcsujljg622kcv775dxn6wdi2fclyhdra7qgt2q", "get": "https://api.replicate.com/v1/predictions/678f5bgd7nrm80cmtbj80jwfkr", "cancel": "https://api.replicate.com/v1/predictions/678f5bgd7nrm80cmtbj80jwfkr/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 35108 Prompt: *"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition with intricate textures, deep shadows, and a dramatic, high-contrast color palette."* [!] Resizing input image from 1536x640 to 1536x640 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:06, 3.53it/s] 9%|▊ | 2/23 [00:00<00:05, 3.94it/s] 13%|█▎ | 3/23 [00:00<00:04, 4.10it/s] 17%|█▋ | 4/23 [00:00<00:04, 4.18it/s] 22%|██▏ | 5/23 [00:01<00:04, 4.22it/s] 26%|██▌ | 6/23 [00:01<00:04, 4.25it/s] 30%|███ | 7/23 [00:01<00:03, 4.25it/s] 35%|███▍ | 8/23 [00:01<00:03, 4.25it/s] 39%|███▉ | 9/23 [00:02<00:03, 4.25it/s] 43%|████▎ | 10/23 [00:02<00:03, 4.25it/s] 48%|████▊ | 11/23 [00:02<00:02, 4.25it/s] 52%|█████▏ | 12/23 [00:02<00:02, 4.25it/s] 57%|█████▋ | 13/23 [00:03<00:02, 4.26it/s] 61%|██████ | 14/23 [00:03<00:02, 4.26it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.26it/s] 70%|██████▉ | 16/23 [00:03<00:01, 4.26it/s] 74%|███████▍ | 17/23 [00:04<00:01, 4.26it/s] 78%|███████▊ | 18/23 [00:04<00:01, 4.26it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.25it/s] 87%|████████▋ | 20/23 [00:04<00:00, 4.26it/s] 91%|█████████▏| 21/23 [00:04<00:00, 4.27it/s] 96%|█████████▌| 22/23 [00:05<00:00, 4.28it/s] 100%|██████████| 23/23 [00:05<00:00, 4.55it/s] 100%|██████████| 23/23 [00:05<00:00, 4.27it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelIDdw0etbh3r1rmc0cmtbjsxfpttmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- *"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition with intricate textures, deep shadows, and a dramatic, high-contrast color palette."*
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- png
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MRUv1AqBnkFCSiYwpG1Qldt9Cq23ucwJLXOoI1Yr6pUri72x/test.png", "image": "https://replicate.delivery/pbxt/MRUv0g4PlXiaKeTK8l55axnLV22nZ2UwBtCoButJ2ZurdDGC/full.png", "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "png", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/MRUv1AqBnkFCSiYwpG1Qldt9Cq23ucwJLXOoI1Yr6pUri72x/test.png", image: "https://replicate.delivery/pbxt/MRUv0g4PlXiaKeTK8l55axnLV22nZ2UwBtCoButJ2ZurdDGC/full.png", model: "dev", prompt: "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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: "16:9", output_format: "png", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/MRUv1AqBnkFCSiYwpG1Qldt9Cq23ucwJLXOoI1Yr6pUri72x/test.png", "image": "https://replicate.delivery/pbxt/MRUv0g4PlXiaKeTK8l55axnLV22nZ2UwBtCoButJ2ZurdDGC/full.png", "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "png", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/MRUv1AqBnkFCSiYwpG1Qldt9Cq23ucwJLXOoI1Yr6pUri72x/test.png", "image": "https://replicate.delivery/pbxt/MRUv0g4PlXiaKeTK8l55axnLV22nZ2UwBtCoButJ2ZurdDGC/full.png", "model": "dev", "prompt": "*\\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "png", "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-02-04T21:37:07.167930Z", "created_at": "2025-02-04T21:36:59.840000Z", "data_removed": false, "error": null, "id": "dw0etbh3r1rmc0cmtbjsxfpttm", "input": { "mask": "https://replicate.delivery/pbxt/MRUv1AqBnkFCSiYwpG1Qldt9Cq23ucwJLXOoI1Yr6pUri72x/test.png", "image": "https://replicate.delivery/pbxt/MRUv0g4PlXiaKeTK8l55axnLV22nZ2UwBtCoButJ2ZurdDGC/full.png", "model": "dev", "prompt": "*\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition 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": "16:9", "output_format": "png", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=28643074764800\nDownloading weights\n2025-02-04T21:37:00Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpd7eofv95/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\n2025-02-04T21:37:00Z | INFO | [ Complete ] dest=/tmp/tmpd7eofv95/weights size=\"172 MB\" total_elapsed=0.397s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\nDownloaded weights in 0.42s\nLoaded LoRAs in 0.99s\nUsing seed: 41952\nPrompt: *\"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition with intricate textures, deep shadows, and a dramatic, high-contrast color palette.\"*\n[!] Resizing input image from 1536x640 to 1536x640\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:06, 3.53it/s]\n 9%|▊ | 2/23 [00:00<00:05, 3.93it/s]\n 13%|█▎ | 3/23 [00:00<00:04, 4.08it/s]\n 17%|█▋ | 4/23 [00:00<00:04, 4.16it/s]\n 22%|██▏ | 5/23 [00:01<00:04, 4.20it/s]\n 26%|██▌ | 6/23 [00:01<00:04, 4.23it/s]\n 30%|███ | 7/23 [00:01<00:03, 4.25it/s]\n 35%|███▍ | 8/23 [00:01<00:03, 4.26it/s]\n 39%|███▉ | 9/23 [00:02<00:03, 4.27it/s]\n 43%|████▎ | 10/23 [00:02<00:03, 4.27it/s]\n 48%|████▊ | 11/23 [00:02<00:02, 4.27it/s]\n 52%|█████▏ | 12/23 [00:02<00:02, 4.27it/s]\n 57%|█████▋ | 13/23 [00:03<00:02, 4.27it/s]\n 61%|██████ | 14/23 [00:03<00:02, 4.27it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.27it/s]\n 70%|██████▉ | 16/23 [00:03<00:01, 4.27it/s]\n 74%|███████▍ | 17/23 [00:04<00:01, 4.27it/s]\n 78%|███████▊ | 18/23 [00:04<00:01, 4.27it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.27it/s]\n 87%|████████▋ | 20/23 [00:04<00:00, 4.27it/s]\n 91%|█████████▏| 21/23 [00:04<00:00, 4.27it/s]\n 96%|█████████▌| 22/23 [00:05<00:00, 4.28it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.54it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.27it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 7.31602432, "total_time": 7.32793 }, "output": [ "https://replicate.delivery/xezq/s4X7XeoLV9zXHy2xIGRLgJOgc2GyfhpKbXoYf8d3UdGGUHYoA/out-0.png" ], "started_at": "2025-02-04T21:36:59.851906Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-jfjaxd4hco66bam7fbqpi2ngcaww6nsjygmp7tnqbfburqnisfaq", "get": "https://api.replicate.com/v1/predictions/dw0etbh3r1rmc0cmtbjsxfpttm", "cancel": "https://api.replicate.com/v1/predictions/dw0etbh3r1rmc0cmtbjsxfpttm/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated infree=28643074764800 Downloading weights 2025-02-04T21:37:00Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpd7eofv95/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar 2025-02-04T21:37:00Z | INFO | [ Complete ] dest=/tmp/tmpd7eofv95/weights size="172 MB" total_elapsed=0.397s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar Downloaded weights in 0.42s Loaded LoRAs in 0.99s Using seed: 41952 Prompt: *"A highly detailed cinematic close-up of **Emperor Palpatine facing the camera**, his **dark hooded robe** casting deep shadows over his **pale, wrinkled face**. His **piercing yellow eyes** glow with sinister intensity, filled with malice and absolute control. Deep creases and scars line his twisted expression, his cracked lips curled into a faint, knowing smirk. Behind him, the vast **Coruscant skyline** stretches endlessly, bathed in the golden-orange hues of a breathtaking **sunset**, with towering skyscrapers shimmering in the fading light and speeders weaving through the sky. The warm glow of the city contrasts sharply with Palpatine’s **dark, menacing presence**, partially illuminating his aged, decrepit features in eerie highlights. The atmosphere is **heavy with power and foreboding**, evoking a hyper-realistic, cinematic composition with intricate textures, deep shadows, and a dramatic, high-contrast color palette."* [!] Resizing input image from 1536x640 to 1536x640 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:06, 3.53it/s] 9%|▊ | 2/23 [00:00<00:05, 3.93it/s] 13%|█▎ | 3/23 [00:00<00:04, 4.08it/s] 17%|█▋ | 4/23 [00:00<00:04, 4.16it/s] 22%|██▏ | 5/23 [00:01<00:04, 4.20it/s] 26%|██▌ | 6/23 [00:01<00:04, 4.23it/s] 30%|███ | 7/23 [00:01<00:03, 4.25it/s] 35%|███▍ | 8/23 [00:01<00:03, 4.26it/s] 39%|███▉ | 9/23 [00:02<00:03, 4.27it/s] 43%|████▎ | 10/23 [00:02<00:03, 4.27it/s] 48%|████▊ | 11/23 [00:02<00:02, 4.27it/s] 52%|█████▏ | 12/23 [00:02<00:02, 4.27it/s] 57%|█████▋ | 13/23 [00:03<00:02, 4.27it/s] 61%|██████ | 14/23 [00:03<00:02, 4.27it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.27it/s] 70%|██████▉ | 16/23 [00:03<00:01, 4.27it/s] 74%|███████▍ | 17/23 [00:04<00:01, 4.27it/s] 78%|███████▊ | 18/23 [00:04<00:01, 4.27it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.27it/s] 87%|████████▋ | 20/23 [00:04<00:00, 4.27it/s] 91%|█████████▏| 21/23 [00:04<00:00, 4.27it/s] 96%|█████████▌| 22/23 [00:05<00:00, 4.28it/s] 100%|██████████| 23/23 [00:05<00:00, 4.54it/s] 100%|██████████| 23/23 [00:05<00:00, 4.27it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelIDv94khe3165rma0cmwbnb6zgs70StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- "Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike."
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 21:9
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "\"Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { model: "dev", prompt: "\"Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike.\"", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "21:9", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "model": "dev", "prompt": "\"Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike.\"", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "model": "dev", "prompt": "\\"Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike.\\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "webp", "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-02-08T00:16:48.510652Z", "created_at": "2025-02-08T00:16:38.705000Z", "data_removed": false, "error": null, "id": "v94khe3165rma0cmwbnb6zgs70", "input": { "model": "dev", "prompt": "\"Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike.\"", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=28661646172160\nDownloading weights\n2025-02-08T00:16:38Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmf1qffpn/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\n2025-02-08T00:16:41Z | INFO | [ Complete ] dest=/tmp/tmpmf1qffpn/weights size=\"172 MB\" total_elapsed=2.477s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\nDownloaded weights in 2.50s\nLoaded LoRAs in 3.06s\nUsing seed: 59720\nPrompt: \"Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike.\"\n[!] txt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 4.28it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.83it/s]\n 11%|█ | 3/28 [00:00<00:05, 4.57it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.45it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 4.39it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 4.35it/s]\n 25%|██▌ | 7/28 [00:01<00:04, 4.33it/s]\n 29%|██▊ | 8/28 [00:01<00:04, 4.31it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 4.30it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 4.29it/s]\n 39%|███▉ | 11/28 [00:02<00:03, 4.29it/s]\n 43%|████▎ | 12/28 [00:02<00:03, 4.29it/s]\n 46%|████▋ | 13/28 [00:02<00:03, 4.28it/s]\n 50%|█████ | 14/28 [00:03<00:03, 4.28it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 4.29it/s]\n 57%|█████▋ | 16/28 [00:03<00:02, 4.28it/s]\n 61%|██████ | 17/28 [00:03<00:02, 4.28it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 4.29it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 4.28it/s]\n 71%|███████▏ | 20/28 [00:04<00:01, 4.28it/s]\n 75%|███████▌ | 21/28 [00:04<00:01, 4.28it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 4.28it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 4.28it/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.31it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 9.799147166000001, "total_time": 9.805652 }, "output": [ "https://replicate.delivery/xezq/QPqGNeL2SHwEU6iHaiEHrsXEms7Kuy6zg14uNFcgbXB4oiGKA/out-0.webp" ], "started_at": "2025-02-08T00:16:38.711505Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-7kxp67smfm3hve3jaeetz7srckvh73kkpahdq3wtvtcgdwbk2zoa", "get": "https://api.replicate.com/v1/predictions/v94khe3165rma0cmwbnb6zgs70", "cancel": "https://api.replicate.com/v1/predictions/v94khe3165rma0cmwbnb6zgs70/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated infree=28661646172160 Downloading weights 2025-02-08T00:16:38Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmf1qffpn/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar 2025-02-08T00:16:41Z | INFO | [ Complete ] dest=/tmp/tmpmf1qffpn/weights size="172 MB" total_elapsed=2.477s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar Downloaded weights in 2.50s Loaded LoRAs in 3.06s Using seed: 59720 Prompt: "Emperor Palpatine stands in the command bridge of a Venator-class Star Destroyer, his hooded form bathed in the eerie crimson glow of his ignited red lightsaber. His yellow eyes burn with malice, deep wrinkles carving into his withered face as a twisted grin stretches across his lips. The flickering light from distant explosions casts shifting shadows over his decayed skin, the hum of his blade filling the tense silence. Behind him, control panels spark from the ship’s failing systems, the bridge trembling as the battle rages outside. The Dark Lord of the Sith stands ready, reveling in the confrontation as he prepares to strike." [!] txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 4.28it/s] 7%|▋ | 2/28 [00:00<00:05, 4.83it/s] 11%|█ | 3/28 [00:00<00:05, 4.57it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.45it/s] 18%|█▊ | 5/28 [00:01<00:05, 4.39it/s] 21%|██▏ | 6/28 [00:01<00:05, 4.35it/s] 25%|██▌ | 7/28 [00:01<00:04, 4.33it/s] 29%|██▊ | 8/28 [00:01<00:04, 4.31it/s] 32%|███▏ | 9/28 [00:02<00:04, 4.30it/s] 36%|███▌ | 10/28 [00:02<00:04, 4.29it/s] 39%|███▉ | 11/28 [00:02<00:03, 4.29it/s] 43%|████▎ | 12/28 [00:02<00:03, 4.29it/s] 46%|████▋ | 13/28 [00:02<00:03, 4.28it/s] 50%|█████ | 14/28 [00:03<00:03, 4.28it/s] 54%|█████▎ | 15/28 [00:03<00:03, 4.29it/s] 57%|█████▋ | 16/28 [00:03<00:02, 4.28it/s] 61%|██████ | 17/28 [00:03<00:02, 4.28it/s] 64%|██████▍ | 18/28 [00:04<00:02, 4.29it/s] 68%|██████▊ | 19/28 [00:04<00:02, 4.28it/s] 71%|███████▏ | 20/28 [00:04<00:01, 4.28it/s] 75%|███████▌ | 21/28 [00:04<00:01, 4.28it/s] 79%|███████▊ | 22/28 [00:05<00:01, 4.28it/s] 82%|████████▏ | 23/28 [00:05<00:01, 4.28it/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.31it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelIDx9j79vf1p9rmc0cn6t99q17c0wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MYMsuMFTjZi2Gxh0grr1xEocHX9RZhmy07I7PNxtF5ErPSDk/test.png", "image": "https://replicate.delivery/pbxt/MYMsuiymOiNhL3KZhd9yStue80Rr5GHxz7DAmxFohwe3I5ei/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/MYMsuMFTjZi2Gxh0grr1xEocHX9RZhmy07I7PNxtF5ErPSDk/test.png", image: "https://replicate.delivery/pbxt/MYMsuiymOiNhL3KZhd9yStue80Rr5GHxz7DAmxFohwe3I5ei/full.png", model: "dev", prompt: "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/MYMsuMFTjZi2Gxh0grr1xEocHX9RZhmy07I7PNxtF5ErPSDk/test.png", "image": "https://replicate.delivery/pbxt/MYMsuiymOiNhL3KZhd9yStue80Rr5GHxz7DAmxFohwe3I5ei/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/MYMsuMFTjZi2Gxh0grr1xEocHX9RZhmy07I7PNxtF5ErPSDk/test.png", "image": "https://replicate.delivery/pbxt/MYMsuiymOiNhL3KZhd9yStue80Rr5GHxz7DAmxFohwe3I5ei/full.png", "model": "dev", "prompt": "TOK\\n\\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \\n\\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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-02-24T06:09:22.336329Z", "created_at": "2025-02-24T06:09:10.578000Z", "data_removed": false, "error": null, "id": "x9j79vf1p9rmc0cn6t99q17c0w", "input": { "mask": "https://replicate.delivery/pbxt/MYMsuMFTjZi2Gxh0grr1xEocHX9RZhmy07I7PNxtF5ErPSDk/test.png", "image": "https://replicate.delivery/pbxt/MYMsuiymOiNhL3KZhd9yStue80Rr5GHxz7DAmxFohwe3I5ei/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=29254152220672\nDownloading weights\n2025-02-24T06:09:12Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp45dpb0_z/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\n2025-02-24T06:09:15Z | INFO | [ Complete ] dest=/tmp/tmp45dpb0_z/weights size=\"172 MB\" total_elapsed=2.717s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\nDownloaded weights in 2.74s\nLoaded LoRAs in 3.28s\nUsing seed: 11676\nPrompt: TOK\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy.\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.\nInput image size: 1536x640\n[!] Resizing input image from 1536x640 to 1440x608\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:19, 1.11it/s]\n 9%|▊ | 2/23 [00:01<00:10, 2.00it/s]\n 13%|█▎ | 3/23 [00:01<00:07, 2.70it/s]\n 17%|█▋ | 4/23 [00:01<00:05, 3.23it/s]\n 22%|██▏ | 5/23 [00:01<00:04, 3.63it/s]\n 26%|██▌ | 6/23 [00:01<00:04, 3.92it/s]\n 30%|███ | 7/23 [00:02<00:03, 4.12it/s]\n 35%|███▍ | 8/23 [00:02<00:03, 4.27it/s]\n 39%|███▉ | 9/23 [00:02<00:03, 4.38it/s]\n 43%|████▎ | 10/23 [00:02<00:02, 4.45it/s]\n 48%|████▊ | 11/23 [00:03<00:02, 4.51it/s]\n 52%|█████▏ | 12/23 [00:03<00:02, 4.54it/s]\n 57%|█████▋ | 13/23 [00:03<00:02, 4.57it/s]\n 61%|██████ | 14/23 [00:03<00:01, 4.59it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.60it/s]\n 70%|██████▉ | 16/23 [00:04<00:01, 4.61it/s]\n 74%|███████▍ | 17/23 [00:04<00:01, 4.62it/s]\n 78%|███████▊ | 18/23 [00:04<00:01, 4.62it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.62it/s]\n 87%|████████▋ | 20/23 [00:05<00:00, 4.63it/s]\n 91%|█████████▏| 21/23 [00:05<00:00, 4.63it/s]\n 96%|█████████▌| 22/23 [00:05<00:00, 4.63it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.90it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.10it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 10.34735023, "total_time": 11.758329 }, "output": [ "https://replicate.delivery/xezq/aqtFWvuSZwpyAZICnSHAe9MzTlPhmKqsRzoN1IVe2A2S8bSUA/out-0.webp" ], "started_at": "2025-02-24T06:09:11.988979Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-bso7zo4wu3ckpszhux42bbmkanbwwabvvg5orgflp7nhjlzmm4ka", "get": "https://api.replicate.com/v1/predictions/x9j79vf1p9rmc0cn6t99q17c0w", "cancel": "https://api.replicate.com/v1/predictions/x9j79vf1p9rmc0cn6t99q17c0w/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated infree=29254152220672 Downloading weights 2025-02-24T06:09:12Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp45dpb0_z/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar 2025-02-24T06:09:15Z | INFO | [ Complete ] dest=/tmp/tmp45dpb0_z/weights size="172 MB" total_elapsed=2.717s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar Downloaded weights in 2.74s Loaded LoRAs in 3.28s Using seed: 11676 Prompt: TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design. Input image size: 1536x640 [!] Resizing input image from 1536x640 to 1440x608 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:19, 1.11it/s] 9%|▊ | 2/23 [00:01<00:10, 2.00it/s] 13%|█▎ | 3/23 [00:01<00:07, 2.70it/s] 17%|█▋ | 4/23 [00:01<00:05, 3.23it/s] 22%|██▏ | 5/23 [00:01<00:04, 3.63it/s] 26%|██▌ | 6/23 [00:01<00:04, 3.92it/s] 30%|███ | 7/23 [00:02<00:03, 4.12it/s] 35%|███▍ | 8/23 [00:02<00:03, 4.27it/s] 39%|███▉ | 9/23 [00:02<00:03, 4.38it/s] 43%|████▎ | 10/23 [00:02<00:02, 4.45it/s] 48%|████▊ | 11/23 [00:03<00:02, 4.51it/s] 52%|█████▏ | 12/23 [00:03<00:02, 4.54it/s] 57%|█████▋ | 13/23 [00:03<00:02, 4.57it/s] 61%|██████ | 14/23 [00:03<00:01, 4.59it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.60it/s] 70%|██████▉ | 16/23 [00:04<00:01, 4.61it/s] 74%|███████▍ | 17/23 [00:04<00:01, 4.62it/s] 78%|███████▊ | 18/23 [00:04<00:01, 4.62it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.62it/s] 87%|████████▋ | 20/23 [00:05<00:00, 4.63it/s] 91%|█████████▏| 21/23 [00:05<00:00, 4.63it/s] 96%|█████████▌| 22/23 [00:05<00:00, 4.63it/s] 100%|██████████| 23/23 [00:05<00:00, 4.90it/s] 100%|██████████| 23/23 [00:05<00:00, 4.10it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelID3axard0sh1rme0cn6tattg09bmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MYMvCbdHXgrtQhxDgSjrOkyhL2mpOgWasfXLYDnjoUKTqhHP/test.png", "image": "https://replicate.delivery/pbxt/MYMvCVSV5WWvHPH97eiLqwxFAsrfiMxoZyfWhSXaMMamRIpI/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/MYMvCbdHXgrtQhxDgSjrOkyhL2mpOgWasfXLYDnjoUKTqhHP/test.png", image: "https://replicate.delivery/pbxt/MYMvCVSV5WWvHPH97eiLqwxFAsrfiMxoZyfWhSXaMMamRIpI/full.png", model: "dev", prompt: "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/MYMvCbdHXgrtQhxDgSjrOkyhL2mpOgWasfXLYDnjoUKTqhHP/test.png", "image": "https://replicate.delivery/pbxt/MYMvCVSV5WWvHPH97eiLqwxFAsrfiMxoZyfWhSXaMMamRIpI/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/MYMvCbdHXgrtQhxDgSjrOkyhL2mpOgWasfXLYDnjoUKTqhHP/test.png", "image": "https://replicate.delivery/pbxt/MYMvCVSV5WWvHPH97eiLqwxFAsrfiMxoZyfWhSXaMMamRIpI/full.png", "model": "dev", "prompt": "TOK\\n\\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \\n\\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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-02-24T06:11:41.497034Z", "created_at": "2025-02-24T06:11:35.944000Z", "data_removed": false, "error": null, "id": "3axard0sh1rme0cn6tattg09bm", "input": { "mask": "https://replicate.delivery/pbxt/MYMvCbdHXgrtQhxDgSjrOkyhL2mpOgWasfXLYDnjoUKTqhHP/test.png", "image": "https://replicate.delivery/pbxt/MYMvCVSV5WWvHPH97eiLqwxFAsrfiMxoZyfWhSXaMMamRIpI/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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: 23434\nPrompt: TOK\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy.\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.\nInput image size: 1536x640\n[!] Resizing input image from 1536x640 to 1440x608\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:05, 3.90it/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.65it/s]\n 30%|███ | 7/23 [00:01<00:03, 4.67it/s]\n 35%|███▍ | 8/23 [00:01<00:03, 4.68it/s]\n 39%|███▉ | 9/23 [00:01<00:02, 4.69it/s]\n 43%|████▎ | 10/23 [00:02<00:02, 4.70it/s]\n 48%|████▊ | 11/23 [00:02<00:02, 4.70it/s]\n 52%|█████▏ | 12/23 [00:02<00:02, 4.70it/s]\n 57%|█████▋ | 13/23 [00:02<00:02, 4.70it/s]\n 61%|██████ | 14/23 [00:03<00:01, 4.70it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.70it/s]\n 70%|██████▉ | 16/23 [00:03<00:01, 4.70it/s]\n 74%|███████▍ | 17/23 [00:03<00:01, 4.70it/s]\n 78%|███████▊ | 18/23 [00:03<00:01, 4.70it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.70it/s]\n 87%|████████▋ | 20/23 [00:04<00:00, 4.70it/s]\n 91%|█████████▏| 21/23 [00:04<00:00, 4.70it/s]\n 96%|█████████▌| 22/23 [00:04<00:00, 4.71it/s]\n100%|██████████| 23/23 [00:04<00:00, 4.98it/s]\n100%|██████████| 23/23 [00:04<00:00, 4.70it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 5.545787929, "total_time": 5.553034 }, "output": [ "https://replicate.delivery/xezq/ttDecdXBe3rnCUz1tOpxLLy9VOwm6xqQ5HBsMInnnKvde3koA/out-0.webp" ], "started_at": "2025-02-24T06:11:35.951246Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-praitgyxr73j75cn2o32ok7agfrfs2x2pyshg6powko33loijrdq", "get": "https://api.replicate.com/v1/predictions/3axard0sh1rme0cn6tattg09bm", "cancel": "https://api.replicate.com/v1/predictions/3axard0sh1rme0cn6tattg09bm/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated inWeights already loaded Loaded LoRAs in 0.02s Using seed: 23434 Prompt: TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design. Input image size: 1536x640 [!] Resizing input image from 1536x640 to 1440x608 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:05, 3.90it/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.65it/s] 30%|███ | 7/23 [00:01<00:03, 4.67it/s] 35%|███▍ | 8/23 [00:01<00:03, 4.68it/s] 39%|███▉ | 9/23 [00:01<00:02, 4.69it/s] 43%|████▎ | 10/23 [00:02<00:02, 4.70it/s] 48%|████▊ | 11/23 [00:02<00:02, 4.70it/s] 52%|█████▏ | 12/23 [00:02<00:02, 4.70it/s] 57%|█████▋ | 13/23 [00:02<00:02, 4.70it/s] 61%|██████ | 14/23 [00:03<00:01, 4.70it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.70it/s] 70%|██████▉ | 16/23 [00:03<00:01, 4.70it/s] 74%|███████▍ | 17/23 [00:03<00:01, 4.70it/s] 78%|███████▊ | 18/23 [00:03<00:01, 4.70it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.70it/s] 87%|████████▋ | 20/23 [00:04<00:00, 4.70it/s] 91%|█████████▏| 21/23 [00:04<00:00, 4.70it/s] 96%|█████████▌| 22/23 [00:04<00:00, 4.71it/s] 100%|██████████| 23/23 [00:04<00:00, 4.98it/s] 100%|██████████| 23/23 [00:04<00:00, 4.70it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelIDm2gxs4ejq1rma0cn6tavarmhnrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MYMvxD8AxZ98ufIcSFbIxagXSokl4zjYqwqa8dA6LqXJpj4E/test.png", "image": "https://replicate.delivery/pbxt/MYMvx1xCSoouoMvymuDmok0CVGQQPA0SJljvLrjVFEIbGW8h/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/MYMvxD8AxZ98ufIcSFbIxagXSokl4zjYqwqa8dA6LqXJpj4E/test.png", image: "https://replicate.delivery/pbxt/MYMvx1xCSoouoMvymuDmok0CVGQQPA0SJljvLrjVFEIbGW8h/full.png", model: "dev", prompt: "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/MYMvxD8AxZ98ufIcSFbIxagXSokl4zjYqwqa8dA6LqXJpj4E/test.png", "image": "https://replicate.delivery/pbxt/MYMvx1xCSoouoMvymuDmok0CVGQQPA0SJljvLrjVFEIbGW8h/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/MYMvxD8AxZ98ufIcSFbIxagXSokl4zjYqwqa8dA6LqXJpj4E/test.png", "image": "https://replicate.delivery/pbxt/MYMvx1xCSoouoMvymuDmok0CVGQQPA0SJljvLrjVFEIbGW8h/full.png", "model": "dev", "prompt": "TOK\\n\\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \\n\\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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-02-24T06:12:33.045998Z", "created_at": "2025-02-24T06:12:23.352000Z", "data_removed": false, "error": null, "id": "m2gxs4ejq1rma0cn6tavarmhnr", "input": { "mask": "https://replicate.delivery/pbxt/MYMvxD8AxZ98ufIcSFbIxagXSokl4zjYqwqa8dA6LqXJpj4E/test.png", "image": "https://replicate.delivery/pbxt/MYMvx1xCSoouoMvymuDmok0CVGQQPA0SJljvLrjVFEIbGW8h/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=29129074335744\nDownloading weights\n2025-02-24T06:12:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp2tmmgsgr/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\n2025-02-24T06:12:25Z | INFO | [ Complete ] dest=/tmp/tmp2tmmgsgr/weights size=\"172 MB\" total_elapsed=2.156s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\nDownloaded weights in 2.19s\nLoaded LoRAs in 2.76s\nUsing seed: 64596\nPrompt: TOK\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy.\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.\nInput image size: 1536x640\n[!] Resizing input image from 1536x640 to 1440x608\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:19, 1.12it/s]\n 9%|▊ | 2/23 [00:01<00:10, 2.01it/s]\n 13%|█▎ | 3/23 [00:01<00:07, 2.71it/s]\n 17%|█▋ | 4/23 [00:01<00:05, 3.24it/s]\n 22%|██▏ | 5/23 [00:01<00:04, 3.63it/s]\n 26%|██▌ | 6/23 [00:01<00:04, 3.92it/s]\n 30%|███ | 7/23 [00:02<00:03, 4.12it/s]\n 35%|███▍ | 8/23 [00:02<00:03, 4.27it/s]\n 39%|███▉ | 9/23 [00:02<00:03, 4.37it/s]\n 43%|████▎ | 10/23 [00:02<00:02, 4.45it/s]\n 48%|████▊ | 11/23 [00:03<00:02, 4.50it/s]\n 52%|█████▏ | 12/23 [00:03<00:02, 4.53it/s]\n 57%|█████▋ | 13/23 [00:03<00:02, 4.56it/s]\n 61%|██████ | 14/23 [00:03<00:01, 4.58it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.59it/s]\n 70%|██████▉ | 16/23 [00:04<00:01, 4.60it/s]\n 74%|███████▍ | 17/23 [00:04<00:01, 4.60it/s]\n 78%|███████▊ | 18/23 [00:04<00:01, 4.61it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.61it/s]\n 87%|████████▋ | 20/23 [00:05<00:00, 4.61it/s]\n 91%|█████████▏| 21/23 [00:05<00:00, 4.61it/s]\n 96%|█████████▌| 22/23 [00:05<00:00, 4.61it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.88it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.09it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 9.634815778, "total_time": 9.693998 }, "output": [ "https://replicate.delivery/xezq/Ru78Yp0VjW7kDdNYqZk5QfBnQlrDOc4IRpXcYyY7UWfRf3koA/out-0.webp" ], "started_at": "2025-02-24T06:12:23.411182Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-jdgtmnw6wifqtireum7r65jnz3vcgi4bi4adtpz5cw76tpi5dtpa", "get": "https://api.replicate.com/v1/predictions/m2gxs4ejq1rma0cn6tavarmhnr", "cancel": "https://api.replicate.com/v1/predictions/m2gxs4ejq1rma0cn6tavarmhnr/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated infree=29129074335744 Downloading weights 2025-02-24T06:12:23Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp2tmmgsgr/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar 2025-02-24T06:12:25Z | INFO | [ Complete ] dest=/tmp/tmp2tmmgsgr/weights size="172 MB" total_elapsed=2.156s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar Downloaded weights in 2.19s Loaded LoRAs in 2.76s Using seed: 64596 Prompt: TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design. Input image size: 1536x640 [!] Resizing input image from 1536x640 to 1440x608 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:19, 1.12it/s] 9%|▊ | 2/23 [00:01<00:10, 2.01it/s] 13%|█▎ | 3/23 [00:01<00:07, 2.71it/s] 17%|█▋ | 4/23 [00:01<00:05, 3.24it/s] 22%|██▏ | 5/23 [00:01<00:04, 3.63it/s] 26%|██▌ | 6/23 [00:01<00:04, 3.92it/s] 30%|███ | 7/23 [00:02<00:03, 4.12it/s] 35%|███▍ | 8/23 [00:02<00:03, 4.27it/s] 39%|███▉ | 9/23 [00:02<00:03, 4.37it/s] 43%|████▎ | 10/23 [00:02<00:02, 4.45it/s] 48%|████▊ | 11/23 [00:03<00:02, 4.50it/s] 52%|█████▏ | 12/23 [00:03<00:02, 4.53it/s] 57%|█████▋ | 13/23 [00:03<00:02, 4.56it/s] 61%|██████ | 14/23 [00:03<00:01, 4.58it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.59it/s] 70%|██████▉ | 16/23 [00:04<00:01, 4.60it/s] 74%|███████▍ | 17/23 [00:04<00:01, 4.60it/s] 78%|███████▊ | 18/23 [00:04<00:01, 4.61it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.61it/s] 87%|████████▋ | 20/23 [00:05<00:00, 4.61it/s] 91%|█████████▏| 21/23 [00:05<00:00, 4.61it/s] 96%|█████████▌| 22/23 [00:05<00:00, 4.61it/s] 100%|██████████| 23/23 [00:05<00:00, 4.88it/s] 100%|██████████| 23/23 [00:05<00:00, 4.09it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelIDehfnr80xwnrme0cn6tbasam540StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/MYMwFuGVGSX59SW9LFLbNtn92xqoe5ASwU7oycICaF64kD2S/test.png", "image": "https://replicate.delivery/pbxt/MYMwGL2jgW2EF0BJsaGsX5lA1NirZvGDWPKz6joSGzmtsuIi/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/MYMwFuGVGSX59SW9LFLbNtn92xqoe5ASwU7oycICaF64kD2S/test.png", image: "https://replicate.delivery/pbxt/MYMwGL2jgW2EF0BJsaGsX5lA1NirZvGDWPKz6joSGzmtsuIi/full.png", model: "dev", prompt: "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/MYMwFuGVGSX59SW9LFLbNtn92xqoe5ASwU7oycICaF64kD2S/test.png", "image": "https://replicate.delivery/pbxt/MYMwGL2jgW2EF0BJsaGsX5lA1NirZvGDWPKz6joSGzmtsuIi/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/MYMwFuGVGSX59SW9LFLbNtn92xqoe5ASwU7oycICaF64kD2S/test.png", "image": "https://replicate.delivery/pbxt/MYMwGL2jgW2EF0BJsaGsX5lA1NirZvGDWPKz6joSGzmtsuIi/full.png", "model": "dev", "prompt": "TOK\\n\\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \\n\\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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-02-24T06:12:51.570977Z", "created_at": "2025-02-24T06:12:42.597000Z", "data_removed": false, "error": null, "id": "ehfnr80xwnrme0cn6tbasam540", "input": { "mask": "https://replicate.delivery/pbxt/MYMwFuGVGSX59SW9LFLbNtn92xqoe5ASwU7oycICaF64kD2S/test.png", "image": "https://replicate.delivery/pbxt/MYMwGL2jgW2EF0BJsaGsX5lA1NirZvGDWPKz6joSGzmtsuIi/full.png", "model": "dev", "prompt": "TOK\n\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. \n\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=27089353568256\nDownloading weights\n2025-02-24T06:12:43Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpijebhqlf/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\n2025-02-24T06:12:45Z | INFO | [ Complete ] dest=/tmp/tmpijebhqlf/weights size=\"172 MB\" total_elapsed=2.717s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\nDownloaded weights in 2.74s\nLoaded LoRAs in 3.30s\nUsing seed: 20902\nPrompt: TOK\nEmperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy.\nBehind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design.\nInput image size: 1536x640\n[!] Resizing input image from 1536x640 to 1440x608\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:05, 3.90it/s]\n 9%|▊ | 2/23 [00:00<00:04, 4.34it/s]\n 13%|█▎ | 3/23 [00:00<00:04, 4.49it/s]\n 17%|█▋ | 4/23 [00:00<00:04, 4.57it/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.67it/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.68it/s]\n 57%|█████▋ | 13/23 [00:02<00:02, 4.68it/s]\n 61%|██████ | 14/23 [00:03<00:01, 4.68it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.68it/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.68it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.68it/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.97it/s]\n100%|██████████| 23/23 [00:04<00:00, 4.68it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.814170474, "total_time": 8.973977 }, "output": [ "https://replicate.delivery/xezq/f21OfMaiDtgqR0AXKMNLvABaLHkcfe4ml2heYRyyVzdf4fNJKA/out-0.webp" ], "started_at": "2025-02-24T06:12:42.756807Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-bfzscs57aiodifty6nlslvodl6uqopyjempf3fiofuzzgbdrwlma", "get": "https://api.replicate.com/v1/predictions/ehfnr80xwnrme0cn6tbasam540", "cancel": "https://api.replicate.com/v1/predictions/ehfnr80xwnrme0cn6tbasam540/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated infree=27089353568256 Downloading weights 2025-02-24T06:12:43Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpijebhqlf/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar 2025-02-24T06:12:45Z | INFO | [ Complete ] dest=/tmp/tmpijebhqlf/weights size="172 MB" total_elapsed=2.717s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar Downloaded weights in 2.74s Loaded LoRAs in 3.30s Using seed: 20902 Prompt: TOK Emperor Palpatine sits in his high-backed throne, shrouded in darkness, his hood pulled up over his deformed face, casting deep shadows over his sunken, wrinkled features. His piercing yellow eyes glow ominously beneath the cowl, exuding an aura of absolute control. His skeletal hands rest on the throne’s armrests, fingers curled slightly as if weaving the very fate of the galaxy. Behind him, the sprawling cityscape of Coruscant stretches endlessly, its towering skyscrapers illuminated by neon lights and the constant flow of speeder traffic. The night sky is alive with movement, but inside the throne room, an unsettling stillness lingers. The only light comes from the city beyond, casting a faint glow through the massive window behind the Sith Lord, creating a haunting silhouette of his cloaked form. The contrast between the vibrant metropolis and the throne room’s oppressive darkness serves as a stark reminder—while Coruscant thrives, its true master watches in the shadows, ruling from the depths of his own design. Input image size: 1536x640 [!] Resizing input image from 1536x640 to 1440x608 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:05, 3.90it/s] 9%|▊ | 2/23 [00:00<00:04, 4.34it/s] 13%|█▎ | 3/23 [00:00<00:04, 4.49it/s] 17%|█▋ | 4/23 [00:00<00:04, 4.57it/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.67it/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.68it/s] 57%|█████▋ | 13/23 [00:02<00:02, 4.68it/s] 61%|██████ | 14/23 [00:03<00:01, 4.68it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.68it/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.68it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.68it/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.97it/s] 100%|██████████| 23/23 [00:04<00:00, 4.68it/s] Total safe images: 1 out of 1
Prediction
swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4dModelIDdzq859w6x1rmc0cne6zskmpwhrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- close-up headshot of your sinister emperor, in the style of TOK
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "mask": "https://replicate.delivery/pbxt/McRl9wAt73PrruNsau8DAh9QOzhiRCmBfWt3kSW389fs9GGE/test.png", "image": "https://replicate.delivery/pbxt/McRlA6cGTAnXrLsOuKH5MMnnOPfVDsyRK0LlU98jyKvYgwMj/full.png", "model": "dev", "prompt": "close-up headshot of your sinister emperor, in the style of TOK", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", { input: { mask: "https://replicate.delivery/pbxt/McRl9wAt73PrruNsau8DAh9QOzhiRCmBfWt3kSW389fs9GGE/test.png", image: "https://replicate.delivery/pbxt/McRlA6cGTAnXrLsOuKH5MMnnOPfVDsyRK0LlU98jyKvYgwMj/full.png", model: "dev", prompt: "close-up headshot of your sinister emperor, in the style of TOK", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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/palps using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "swk23/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", input={ "mask": "https://replicate.delivery/pbxt/McRl9wAt73PrruNsau8DAh9QOzhiRCmBfWt3kSW389fs9GGE/test.png", "image": "https://replicate.delivery/pbxt/McRlA6cGTAnXrLsOuKH5MMnnOPfVDsyRK0LlU98jyKvYgwMj/full.png", "model": "dev", "prompt": "close-up headshot of your sinister emperor, in the style of TOK", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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/palps 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/palps:6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d", "input": { "mask": "https://replicate.delivery/pbxt/McRl9wAt73PrruNsau8DAh9QOzhiRCmBfWt3kSW389fs9GGE/test.png", "image": "https://replicate.delivery/pbxt/McRlA6cGTAnXrLsOuKH5MMnnOPfVDsyRK0LlU98jyKvYgwMj/full.png", "model": "dev", "prompt": "close-up headshot of your sinister emperor, in the style of TOK", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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-07T17:55:49.706994Z", "created_at": "2025-03-07T17:55:32.200000Z", "data_removed": false, "error": null, "id": "dzq859w6x1rmc0cne6zskmpwhr", "input": { "mask": "https://replicate.delivery/pbxt/McRl9wAt73PrruNsau8DAh9QOzhiRCmBfWt3kSW389fs9GGE/test.png", "image": "https://replicate.delivery/pbxt/McRlA6cGTAnXrLsOuKH5MMnnOPfVDsyRK0LlU98jyKvYgwMj/full.png", "model": "dev", "prompt": "close-up headshot of your sinister emperor, in the style of TOK", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "free=27688842698752\nDownloading weights\n2025-03-07T17:55:41Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpe34hctxy/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\n2025-03-07T17:55:43Z | INFO | [ Complete ] dest=/tmp/tmpe34hctxy/weights size=\"172 MB\" total_elapsed=2.402s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar\nDownloaded weights in 2.43s\nLoaded LoRAs in 3.01s\nUsing seed: 18982\nPrompt: close-up headshot of your sinister emperor, in the style of TOK\nInput image size: 1280x720\n[!] Resizing input image from 1280x720 to 1280x720\n[!] inpaint mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:05, 3.68it/s]\n 9%|▊ | 2/23 [00:00<00:05, 4.09it/s]\n 13%|█▎ | 3/23 [00:00<00:04, 4.24it/s]\n 17%|█▋ | 4/23 [00:00<00:04, 4.31it/s]\n 22%|██▏ | 5/23 [00:01<00:04, 4.35it/s]\n 26%|██▌ | 6/23 [00:01<00:03, 4.38it/s]\n 30%|███ | 7/23 [00:01<00:03, 4.39it/s]\n 35%|███▍ | 8/23 [00:01<00:03, 4.40it/s]\n 39%|███▉ | 9/23 [00:02<00:03, 4.41it/s]\n 43%|████▎ | 10/23 [00:02<00:02, 4.42it/s]\n 48%|████▊ | 11/23 [00:02<00:02, 4.42it/s]\n 52%|█████▏ | 12/23 [00:02<00:02, 4.42it/s]\n 57%|█████▋ | 13/23 [00:02<00:02, 4.43it/s]\n 61%|██████ | 14/23 [00:03<00:02, 4.43it/s]\n 65%|██████▌ | 15/23 [00:03<00:01, 4.43it/s]\n 70%|██████▉ | 16/23 [00:03<00:01, 4.43it/s]\n 74%|███████▍ | 17/23 [00:03<00:01, 4.43it/s]\n 78%|███████▊ | 18/23 [00:04<00:01, 4.42it/s]\n 83%|████████▎ | 19/23 [00:04<00:00, 4.42it/s]\n 87%|████████▋ | 20/23 [00:04<00:00, 4.42it/s]\n 91%|█████████▏| 21/23 [00:04<00:00, 4.42it/s]\n 96%|█████████▌| 22/23 [00:05<00:00, 4.42it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.69it/s]\n100%|██████████| 23/23 [00:05<00:00, 4.42it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.908771061, "total_time": 17.506994 }, "output": [ "https://replicate.delivery/xezq/kpcaT1Kq8srnHlBHo7Umqdle1wqzxgrhIeyE5vSeYWeUS5YRB/out-0.webp" ], "started_at": "2025-03-07T17:55:40.798223Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-7cudl7e3eq2csgoza5xjk4qexa6dbqjzconnkcl2zx6ks4vqr52q", "get": "https://api.replicate.com/v1/predictions/dzq859w6x1rmc0cne6zskmpwhr", "cancel": "https://api.replicate.com/v1/predictions/dzq859w6x1rmc0cne6zskmpwhr/cancel" }, "version": "6611c77369c06d32895ba992029d064a0b9730df3a6eeaa4a6fe7d8dece5eb4d" }
Generated infree=27688842698752 Downloading weights 2025-03-07T17:55:41Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpe34hctxy/weights url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar 2025-03-07T17:55:43Z | INFO | [ Complete ] dest=/tmp/tmpe34hctxy/weights size="172 MB" total_elapsed=2.402s url=https://replicate.delivery/xezq/omoZ3YNbgxagLJMbQuLxINpHCSpAp0GxiGMMYk0wrv1Gp7CF/trained_model.tar Downloaded weights in 2.43s Loaded LoRAs in 3.01s Using seed: 18982 Prompt: close-up headshot of your sinister emperor, in the style of TOK Input image size: 1280x720 [!] Resizing input image from 1280x720 to 1280x720 [!] inpaint mode 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:05, 3.68it/s] 9%|▊ | 2/23 [00:00<00:05, 4.09it/s] 13%|█▎ | 3/23 [00:00<00:04, 4.24it/s] 17%|█▋ | 4/23 [00:00<00:04, 4.31it/s] 22%|██▏ | 5/23 [00:01<00:04, 4.35it/s] 26%|██▌ | 6/23 [00:01<00:03, 4.38it/s] 30%|███ | 7/23 [00:01<00:03, 4.39it/s] 35%|███▍ | 8/23 [00:01<00:03, 4.40it/s] 39%|███▉ | 9/23 [00:02<00:03, 4.41it/s] 43%|████▎ | 10/23 [00:02<00:02, 4.42it/s] 48%|████▊ | 11/23 [00:02<00:02, 4.42it/s] 52%|█████▏ | 12/23 [00:02<00:02, 4.42it/s] 57%|█████▋ | 13/23 [00:02<00:02, 4.43it/s] 61%|██████ | 14/23 [00:03<00:02, 4.43it/s] 65%|██████▌ | 15/23 [00:03<00:01, 4.43it/s] 70%|██████▉ | 16/23 [00:03<00:01, 4.43it/s] 74%|███████▍ | 17/23 [00:03<00:01, 4.43it/s] 78%|███████▊ | 18/23 [00:04<00:01, 4.42it/s] 83%|████████▎ | 19/23 [00:04<00:00, 4.42it/s] 87%|████████▋ | 20/23 [00:04<00:00, 4.42it/s] 91%|█████████▏| 21/23 [00:04<00:00, 4.42it/s] 96%|█████████▌| 22/23 [00:05<00:00, 4.42it/s] 100%|██████████| 23/23 [00:05<00:00, 4.69it/s] 100%|██████████| 23/23 [00:05<00:00, 4.42it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model