Readme
This model doesn't have a readme.
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run swk23/padmelive using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"swk23/padmelive:cfce21225cd3c64a5558efe7577367f5ab8e57b99e4700d0e1baba1954ba144e",
{
input: {
image: "https://replicate.delivery/pbxt/MVmTAJ4xeb8tsK30nfjCb3WBKkiwoNLJndJuKEJDLZgEvIKi/479160428_644521281390082_3747235023009175098_n.jpg",
model: "dev",
prompt: "tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 1,
aspect_ratio: "21:9",
output_format: "jpg",
guidance_scale: 3,
output_quality: 80,
prompt_strength: 0.8,
extra_lora_scale: 1,
num_inference_steps: 28
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run swk23/padmelive using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"swk23/padmelive:cfce21225cd3c64a5558efe7577367f5ab8e57b99e4700d0e1baba1954ba144e",
input={
"image": "https://replicate.delivery/pbxt/MVmTAJ4xeb8tsK30nfjCb3WBKkiwoNLJndJuKEJDLZgEvIKi/479160428_644521281390082_3747235023009175098_n.jpg",
"model": "dev",
"prompt": "tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "21:9",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run swk23/padmelive 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/padmelive:cfce21225cd3c64a5558efe7577367f5ab8e57b99e4700d0e1baba1954ba144e",
"input": {
"image": "https://replicate.delivery/pbxt/MVmTAJ4xeb8tsK30nfjCb3WBKkiwoNLJndJuKEJDLZgEvIKi/479160428_644521281390082_3747235023009175098_n.jpg",
"model": "dev",
"prompt": "tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "21:9",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/swk23/padmelive@sha256:cfce21225cd3c64a5558efe7577367f5ab8e57b99e4700d0e1baba1954ba144e \
-i 'image="https://replicate.delivery/pbxt/MVmTAJ4xeb8tsK30nfjCb3WBKkiwoNLJndJuKEJDLZgEvIKi/479160428_644521281390082_3747235023009175098_n.jpg"' \
-i 'model="dev"' \
-i 'prompt="tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping"' \
-i 'go_fast=false' \
-i 'lora_scale=1' \
-i 'megapixels="1"' \
-i 'num_outputs=1' \
-i 'aspect_ratio="21:9"' \
-i 'output_format="jpg"' \
-i 'guidance_scale=3' \
-i 'output_quality=80' \
-i 'prompt_strength=0.8' \
-i 'extra_lora_scale=1' \
-i 'num_inference_steps=28'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/swk23/padmelive@sha256:cfce21225cd3c64a5558efe7577367f5ab8e57b99e4700d0e1baba1954ba144e
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/MVmTAJ4xeb8tsK30nfjCb3WBKkiwoNLJndJuKEJDLZgEvIKi/479160428_644521281390082_3747235023009175098_n.jpg", "model": "dev", "prompt": "tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "21:9", "output_format": "jpg", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
Each run costs approximately $0.010. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
{
"completed_at": "2025-02-16T23:12:56.593580Z",
"created_at": "2025-02-16T23:12:45.022000Z",
"data_removed": false,
"error": null,
"id": "yjga2q0xvsrme0cn244rjmd224",
"input": {
"image": "https://replicate.delivery/pbxt/MVmTAJ4xeb8tsK30nfjCb3WBKkiwoNLJndJuKEJDLZgEvIKi/479160428_644521281390082_3747235023009175098_n.jpg",
"model": "dev",
"prompt": "tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "21:9",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
},
"logs": "Loaded LoRAs in 2.49s\nUsing seed: 61043\nPrompt: tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping\nInput image size: 2048x1536\n[!] Resizing input image from 2048x1536 to 1440x1088\n[!] img2img mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:06, 3.44it/s]\n 9%|▊ | 2/23 [00:00<00:07, 3.00it/s]\n 13%|█▎ | 3/23 [00:01<00:06, 2.86it/s]\n 17%|█▋ | 4/23 [00:01<00:06, 2.81it/s]\n 22%|██▏ | 5/23 [00:01<00:06, 2.78it/s]\n 26%|██▌ | 6/23 [00:02<00:06, 2.76it/s]\n 30%|███ | 7/23 [00:02<00:05, 2.75it/s]\n 35%|███▍ | 8/23 [00:02<00:05, 2.74it/s]\n 39%|███▉ | 9/23 [00:03<00:05, 2.73it/s]\n 43%|████▎ | 10/23 [00:03<00:04, 2.73it/s]\n 48%|████▊ | 11/23 [00:03<00:04, 2.73it/s]\n 52%|█████▏ | 12/23 [00:04<00:04, 2.73it/s]\n 57%|█████▋ | 13/23 [00:04<00:03, 2.73it/s]\n 61%|██████ | 14/23 [00:05<00:03, 2.72it/s]\n 65%|██████▌ | 15/23 [00:05<00:02, 2.73it/s]\n 70%|██████▉ | 16/23 [00:05<00:02, 2.73it/s]\n 74%|███████▍ | 17/23 [00:06<00:02, 2.72it/s]\n 78%|███████▊ | 18/23 [00:06<00:01, 2.72it/s]\n 83%|████████▎ | 19/23 [00:06<00:01, 2.73it/s]\n 87%|████████▋ | 20/23 [00:07<00:01, 2.73it/s]\n 91%|█████████▏| 21/23 [00:07<00:00, 2.73it/s]\n 96%|█████████▌| 22/23 [00:07<00:00, 2.73it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.72it/s]\n100%|██████████| 23/23 [00:08<00:00, 2.75it/s]\nTotal safe images: 1 out of 1",
"metrics": {
"predict_time": 11.442485037,
"total_time": 11.57158
},
"output": [
"https://replicate.delivery/xezq/sW9yHCXh76b0LFUbosp12dAg0ZjiCDP9JmpdXPATqwGeFBIKA/out-0.jpg"
],
"started_at": "2025-02-16T23:12:45.151095Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-qzxivy7cw6uzbqvelqg5ze2z7l5mocrtocyclu3ojhzjc2nqslia",
"get": "https://api.replicate.com/v1/predictions/yjga2q0xvsrme0cn244rjmd224",
"cancel": "https://api.replicate.com/v1/predictions/yjga2q0xvsrme0cn244rjmd224/cancel"
},
"version": "cfce21225cd3c64a5558efe7577367f5ab8e57b99e4700d0e1baba1954ba144e"
}
Loaded LoRAs in 2.49s
Using seed: 61043
Prompt: tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping
Input image size: 2048x1536
[!] Resizing input image from 2048x1536 to 1440x1088
[!] img2img mode
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:06, 3.44it/s]
9%|▊ | 2/23 [00:00<00:07, 3.00it/s]
13%|█▎ | 3/23 [00:01<00:06, 2.86it/s]
17%|█▋ | 4/23 [00:01<00:06, 2.81it/s]
22%|██▏ | 5/23 [00:01<00:06, 2.78it/s]
26%|██▌ | 6/23 [00:02<00:06, 2.76it/s]
30%|███ | 7/23 [00:02<00:05, 2.75it/s]
35%|███▍ | 8/23 [00:02<00:05, 2.74it/s]
39%|███▉ | 9/23 [00:03<00:05, 2.73it/s]
43%|████▎ | 10/23 [00:03<00:04, 2.73it/s]
48%|████▊ | 11/23 [00:03<00:04, 2.73it/s]
52%|█████▏ | 12/23 [00:04<00:04, 2.73it/s]
57%|█████▋ | 13/23 [00:04<00:03, 2.73it/s]
61%|██████ | 14/23 [00:05<00:03, 2.72it/s]
65%|██████▌ | 15/23 [00:05<00:02, 2.73it/s]
70%|██████▉ | 16/23 [00:05<00:02, 2.73it/s]
74%|███████▍ | 17/23 [00:06<00:02, 2.72it/s]
78%|███████▊ | 18/23 [00:06<00:01, 2.72it/s]
83%|████████▎ | 19/23 [00:06<00:01, 2.73it/s]
87%|████████▋ | 20/23 [00:07<00:01, 2.73it/s]
91%|█████████▏| 21/23 [00:07<00:00, 2.73it/s]
96%|█████████▌| 22/23 [00:07<00:00, 2.73it/s]
100%|██████████| 23/23 [00:08<00:00, 2.72it/s]
100%|██████████| 23/23 [00:08<00:00, 2.75it/s]
Total safe images: 1 out of 1
This model costs approximately $0.010 to run on Replicate, or 100 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia H100 GPU hardware. Predictions typically complete within 7 seconds.
This model doesn't have a readme.
This model is warm. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Loaded LoRAs in 2.49s
Using seed: 61043
Prompt: tok , A close-up of a woman wearing a flowing blue dress, rasing her fist. fist pumping
Input image size: 2048x1536
[!] Resizing input image from 2048x1536 to 1440x1088
[!] img2img mode
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:06, 3.44it/s]
9%|▊ | 2/23 [00:00<00:07, 3.00it/s]
13%|█▎ | 3/23 [00:01<00:06, 2.86it/s]
17%|█▋ | 4/23 [00:01<00:06, 2.81it/s]
22%|██▏ | 5/23 [00:01<00:06, 2.78it/s]
26%|██▌ | 6/23 [00:02<00:06, 2.76it/s]
30%|███ | 7/23 [00:02<00:05, 2.75it/s]
35%|███▍ | 8/23 [00:02<00:05, 2.74it/s]
39%|███▉ | 9/23 [00:03<00:05, 2.73it/s]
43%|████▎ | 10/23 [00:03<00:04, 2.73it/s]
48%|████▊ | 11/23 [00:03<00:04, 2.73it/s]
52%|█████▏ | 12/23 [00:04<00:04, 2.73it/s]
57%|█████▋ | 13/23 [00:04<00:03, 2.73it/s]
61%|██████ | 14/23 [00:05<00:03, 2.72it/s]
65%|██████▌ | 15/23 [00:05<00:02, 2.73it/s]
70%|██████▉ | 16/23 [00:05<00:02, 2.73it/s]
74%|███████▍ | 17/23 [00:06<00:02, 2.72it/s]
78%|███████▊ | 18/23 [00:06<00:01, 2.72it/s]
83%|████████▎ | 19/23 [00:06<00:01, 2.73it/s]
87%|████████▋ | 20/23 [00:07<00:01, 2.73it/s]
91%|█████████▏| 21/23 [00:07<00:00, 2.73it/s]
96%|█████████▌| 22/23 [00:07<00:00, 2.73it/s]
100%|██████████| 23/23 [00:08<00:00, 2.72it/s]
100%|██████████| 23/23 [00:08<00:00, 2.75it/s]
Total safe images: 1 out of 1