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 dfrostar/hermes_kellybag using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"dfrostar/hermes_kellybag:b885673b065e4549606bc2e351c05dcb6ebfb4b612d23f721bf5ca129a0359cb",
{
input: {
seed: 5,
model: "dev",
prompt: "HERMESKELLY held by female model, park avenue, fashion model, clothed, summer",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 2,
aspect_ratio: "4:5",
output_format: "png",
guidance_scale: 3.5,
output_quality: 100,
prompt_strength: 0.8,
extra_lora_scale: 0.8,
num_inference_steps: 33
}
}
);
// 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 dfrostar/hermes_kellybag using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"dfrostar/hermes_kellybag:b885673b065e4549606bc2e351c05dcb6ebfb4b612d23f721bf5ca129a0359cb",
input={
"seed": 5,
"model": "dev",
"prompt": "HERMESKELLY held by female model, park avenue, fashion model, clothed, summer",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 2,
"aspect_ratio": "4:5",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 33
}
)
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 dfrostar/hermes_kellybag 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": "b885673b065e4549606bc2e351c05dcb6ebfb4b612d23f721bf5ca129a0359cb",
"input": {
"seed": 5,
"model": "dev",
"prompt": "HERMESKELLY held by female model, park avenue, fashion model, clothed, summer",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 2,
"aspect_ratio": "4:5",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 33
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
{
"completed_at": "2024-08-27T03:07:55.417528Z",
"created_at": "2024-08-27T03:07:21.729000Z",
"data_removed": false,
"error": null,
"id": "rsv0vkb105rm20chj76ttvxz3r",
"input": {
"seed": 5,
"model": "dev",
"prompt": "HERMESKELLY held by female model, park avenue, fashion model, clothed, summer",
"lora_scale": 1,
"num_outputs": 2,
"aspect_ratio": "4:5",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 100,
"extra_lora_scale": 0.8,
"num_inference_steps": 33
},
"logs": "Using seed: 5\nPrompt: HERMESKELLY held by female model, park avenue, fashion model, clothed, summer\ntxt2img mode\nUsing dev model\nfree=9476191404032\nDownloading weights\n2024-08-27T03:07:22Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp5sv5a2ux/weights url=https://replicate.delivery/yhqm/vb43DvXxD97FPZyuUkn6wmFaVBdY1I30w0SP13usKhFNwr1E/trained_model.tar\n2024-08-27T03:07:25Z | INFO | [ Complete ] dest=/tmp/tmp5sv5a2ux/weights size=\"344 MB\" total_elapsed=3.106s url=https://replicate.delivery/yhqm/vb43DvXxD97FPZyuUkn6wmFaVBdY1I30w0SP13usKhFNwr1E/trained_model.tar\nDownloaded weights in 3.15s\nLoaded LoRAs in 15.90s\n 0%| | 0/33 [00:00<?, ?it/s]\n 3%|▎ | 1/33 [00:00<00:15, 2.06it/s]\n 6%|▌ | 2/33 [00:00<00:13, 2.36it/s]\n 9%|▉ | 3/33 [00:01<00:13, 2.21it/s]\n 12%|█▏ | 4/33 [00:01<00:13, 2.15it/s]\n 15%|█▌ | 5/33 [00:02<00:13, 2.11it/s]\n 18%|█▊ | 6/33 [00:02<00:12, 2.10it/s]\n 21%|██ | 7/33 [00:03<00:12, 2.09it/s]\n 24%|██▍ | 8/33 [00:03<00:12, 2.08it/s]\n 27%|██▋ | 9/33 [00:04<00:11, 2.07it/s]\n 30%|███ | 10/33 [00:04<00:11, 2.07it/s]\n 33%|███▎ | 11/33 [00:05<00:10, 2.07it/s]\n 36%|███▋ | 12/33 [00:05<00:10, 2.06it/s]\n 39%|███▉ | 13/33 [00:06<00:09, 2.06it/s]\n 42%|████▏ | 14/33 [00:06<00:09, 2.06it/s]\n 45%|████▌ | 15/33 [00:07<00:08, 2.06it/s]\n 48%|████▊ | 16/33 [00:07<00:08, 2.06it/s]\n 52%|█████▏ | 17/33 [00:08<00:07, 2.06it/s]\n 55%|█████▍ | 18/33 [00:08<00:07, 2.06it/s]\n 58%|█████▊ | 19/33 [00:09<00:06, 2.06it/s]\n 61%|██████ | 20/33 [00:09<00:06, 2.06it/s]\n 64%|██████▎ | 21/33 [00:10<00:05, 2.06it/s]\n 67%|██████▋ | 22/33 [00:10<00:05, 2.06it/s]\n 70%|██████▉ | 23/33 [00:11<00:04, 2.06it/s]\n 73%|███████▎ | 24/33 [00:11<00:04, 2.06it/s]\n 76%|███████▌ | 25/33 [00:12<00:03, 2.06it/s]\n 79%|███████▉ | 26/33 [00:12<00:03, 2.06it/s]\n 82%|████████▏ | 27/33 [00:12<00:02, 2.06it/s]\n 85%|████████▍ | 28/33 [00:13<00:02, 2.06it/s]\n 88%|████████▊ | 29/33 [00:13<00:01, 2.06it/s]\n 91%|█████████ | 30/33 [00:14<00:01, 2.06it/s]\n 94%|█████████▍| 31/33 [00:14<00:00, 2.06it/s]\n 97%|█████████▋| 32/33 [00:15<00:00, 2.06it/s]\n100%|██████████| 33/33 [00:15<00:00, 2.06it/s]\n100%|██████████| 33/33 [00:15<00:00, 2.07it/s]\nPotential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed.\nNSFW content detected in image 1",
"metrics": {
"predict_time": 32.879728675,
"total_time": 33.688528
},
"output": [
"https://replicate.delivery/yhqm/IrSZOeIqbLV4T6AWiDa0YUwftxj0ffNRFs3OKVfrvbVdh61aC/out-0.png"
],
"started_at": "2024-08-27T03:07:22.537800Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/rsv0vkb105rm20chj76ttvxz3r",
"cancel": "https://api.replicate.com/v1/predictions/rsv0vkb105rm20chj76ttvxz3r/cancel"
},
"version": "b885673b065e4549606bc2e351c05dcb6ebfb4b612d23f721bf5ca129a0359cb"
}
Using seed: 5
Prompt: HERMESKELLY held by female model, park avenue, fashion model, clothed, summer
txt2img mode
Using dev model
free=9476191404032
Downloading weights
2024-08-27T03:07:22Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp5sv5a2ux/weights url=https://replicate.delivery/yhqm/vb43DvXxD97FPZyuUkn6wmFaVBdY1I30w0SP13usKhFNwr1E/trained_model.tar
2024-08-27T03:07:25Z | INFO | [ Complete ] dest=/tmp/tmp5sv5a2ux/weights size="344 MB" total_elapsed=3.106s url=https://replicate.delivery/yhqm/vb43DvXxD97FPZyuUkn6wmFaVBdY1I30w0SP13usKhFNwr1E/trained_model.tar
Downloaded weights in 3.15s
Loaded LoRAs in 15.90s
0%| | 0/33 [00:00<?, ?it/s]
3%|▎ | 1/33 [00:00<00:15, 2.06it/s]
6%|▌ | 2/33 [00:00<00:13, 2.36it/s]
9%|▉ | 3/33 [00:01<00:13, 2.21it/s]
12%|█▏ | 4/33 [00:01<00:13, 2.15it/s]
15%|█▌ | 5/33 [00:02<00:13, 2.11it/s]
18%|█▊ | 6/33 [00:02<00:12, 2.10it/s]
21%|██ | 7/33 [00:03<00:12, 2.09it/s]
24%|██▍ | 8/33 [00:03<00:12, 2.08it/s]
27%|██▋ | 9/33 [00:04<00:11, 2.07it/s]
30%|███ | 10/33 [00:04<00:11, 2.07it/s]
33%|███▎ | 11/33 [00:05<00:10, 2.07it/s]
36%|███▋ | 12/33 [00:05<00:10, 2.06it/s]
39%|███▉ | 13/33 [00:06<00:09, 2.06it/s]
42%|████▏ | 14/33 [00:06<00:09, 2.06it/s]
45%|████▌ | 15/33 [00:07<00:08, 2.06it/s]
48%|████▊ | 16/33 [00:07<00:08, 2.06it/s]
52%|█████▏ | 17/33 [00:08<00:07, 2.06it/s]
55%|█████▍ | 18/33 [00:08<00:07, 2.06it/s]
58%|█████▊ | 19/33 [00:09<00:06, 2.06it/s]
61%|██████ | 20/33 [00:09<00:06, 2.06it/s]
64%|██████▎ | 21/33 [00:10<00:05, 2.06it/s]
67%|██████▋ | 22/33 [00:10<00:05, 2.06it/s]
70%|██████▉ | 23/33 [00:11<00:04, 2.06it/s]
73%|███████▎ | 24/33 [00:11<00:04, 2.06it/s]
76%|███████▌ | 25/33 [00:12<00:03, 2.06it/s]
79%|███████▉ | 26/33 [00:12<00:03, 2.06it/s]
82%|████████▏ | 27/33 [00:12<00:02, 2.06it/s]
85%|████████▍ | 28/33 [00:13<00:02, 2.06it/s]
88%|████████▊ | 29/33 [00:13<00:01, 2.06it/s]
91%|█████████ | 30/33 [00:14<00:01, 2.06it/s]
94%|█████████▍| 31/33 [00:14<00:00, 2.06it/s]
97%|█████████▋| 32/33 [00:15<00:00, 2.06it/s]
100%|██████████| 33/33 [00:15<00:00, 2.06it/s]
100%|██████████| 33/33 [00:15<00:00, 2.07it/s]
Potential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed.
NSFW content detected in image 1
This model runs on Nvidia H100 GPU hardware. We don't yet have enough runs of this model to provide performance information.
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
Using seed: 5
Prompt: HERMESKELLY held by female model, park avenue, fashion model, clothed, summer
txt2img mode
Using dev model
free=9476191404032
Downloading weights
2024-08-27T03:07:22Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp5sv5a2ux/weights url=https://replicate.delivery/yhqm/vb43DvXxD97FPZyuUkn6wmFaVBdY1I30w0SP13usKhFNwr1E/trained_model.tar
2024-08-27T03:07:25Z | INFO | [ Complete ] dest=/tmp/tmp5sv5a2ux/weights size="344 MB" total_elapsed=3.106s url=https://replicate.delivery/yhqm/vb43DvXxD97FPZyuUkn6wmFaVBdY1I30w0SP13usKhFNwr1E/trained_model.tar
Downloaded weights in 3.15s
Loaded LoRAs in 15.90s
0%| | 0/33 [00:00<?, ?it/s]
3%|▎ | 1/33 [00:00<00:15, 2.06it/s]
6%|▌ | 2/33 [00:00<00:13, 2.36it/s]
9%|▉ | 3/33 [00:01<00:13, 2.21it/s]
12%|█▏ | 4/33 [00:01<00:13, 2.15it/s]
15%|█▌ | 5/33 [00:02<00:13, 2.11it/s]
18%|█▊ | 6/33 [00:02<00:12, 2.10it/s]
21%|██ | 7/33 [00:03<00:12, 2.09it/s]
24%|██▍ | 8/33 [00:03<00:12, 2.08it/s]
27%|██▋ | 9/33 [00:04<00:11, 2.07it/s]
30%|███ | 10/33 [00:04<00:11, 2.07it/s]
33%|███▎ | 11/33 [00:05<00:10, 2.07it/s]
36%|███▋ | 12/33 [00:05<00:10, 2.06it/s]
39%|███▉ | 13/33 [00:06<00:09, 2.06it/s]
42%|████▏ | 14/33 [00:06<00:09, 2.06it/s]
45%|████▌ | 15/33 [00:07<00:08, 2.06it/s]
48%|████▊ | 16/33 [00:07<00:08, 2.06it/s]
52%|█████▏ | 17/33 [00:08<00:07, 2.06it/s]
55%|█████▍ | 18/33 [00:08<00:07, 2.06it/s]
58%|█████▊ | 19/33 [00:09<00:06, 2.06it/s]
61%|██████ | 20/33 [00:09<00:06, 2.06it/s]
64%|██████▎ | 21/33 [00:10<00:05, 2.06it/s]
67%|██████▋ | 22/33 [00:10<00:05, 2.06it/s]
70%|██████▉ | 23/33 [00:11<00:04, 2.06it/s]
73%|███████▎ | 24/33 [00:11<00:04, 2.06it/s]
76%|███████▌ | 25/33 [00:12<00:03, 2.06it/s]
79%|███████▉ | 26/33 [00:12<00:03, 2.06it/s]
82%|████████▏ | 27/33 [00:12<00:02, 2.06it/s]
85%|████████▍ | 28/33 [00:13<00:02, 2.06it/s]
88%|████████▊ | 29/33 [00:13<00:01, 2.06it/s]
91%|█████████ | 30/33 [00:14<00:01, 2.06it/s]
94%|█████████▍| 31/33 [00:14<00:00, 2.06it/s]
97%|█████████▋| 32/33 [00:15<00:00, 2.06it/s]
100%|██████████| 33/33 [00:15<00:00, 2.06it/s]
100%|██████████| 33/33 [00:15<00:00, 2.07it/s]
Potential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed.
NSFW content detected in image 1