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 juddisjudd/roxannec using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"juddisjudd/roxannec:49a169e5669b595d20a00a0efbb7635c99f7ff847996659c65fbb2319b753c74",
{
input: {
model: "dev",
width: 1020,
height: 1350,
prompt: "a photo of ROX, a woman with a nose piercing, wearing a black shirt and earrings, looking at the camera with a smirk on her face",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 2,
aspect_ratio: "1:1",
output_format: "png",
guidance_scale: 3.5,
output_quality: 100,
prompt_strength: 0.8,
extra_lora_scale: 0.8,
num_inference_steps: 35
}
}
);
// 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 juddisjudd/roxannec using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"juddisjudd/roxannec:49a169e5669b595d20a00a0efbb7635c99f7ff847996659c65fbb2319b753c74",
input={
"model": "dev",
"width": 1020,
"height": 1350,
"prompt": "a photo of ROX, a woman with a nose piercing, wearing a black shirt and earrings, looking at the camera with a smirk on her face",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 2,
"aspect_ratio": "1:1",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 35
}
)
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 juddisjudd/roxannec 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": "49a169e5669b595d20a00a0efbb7635c99f7ff847996659c65fbb2319b753c74",
"input": {
"model": "dev",
"width": 1020,
"height": 1350,
"prompt": "a photo of ROX, a woman with a nose piercing, wearing a black shirt and earrings, looking at the camera with a smirk on her face",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 2,
"aspect_ratio": "1:1",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 0.8,
"num_inference_steps": 35
}
}' \
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-09-02T03:08:34.778694Z",
"created_at": "2024-09-02T03:08:03.729000Z",
"data_removed": false,
"error": null,
"id": "tjdefthd25rm40chp2ta2s6q2r",
"input": {
"model": "dev",
"width": 1020,
"height": 1350,
"prompt": "a photo of ROX, a woman with a nose piercing, wearing a black shirt and earrings, looking at the camera with a smirk on her face",
"lora_scale": 1,
"num_outputs": 2,
"aspect_ratio": "1:1",
"output_format": "png",
"guidance_scale": 3.5,
"output_quality": 100,
"extra_lora_scale": 0.8,
"num_inference_steps": 35
},
"logs": "Using seed: 2257\nPrompt: a photo of ROX, a woman with a nose piercing, wearing a black shirt and earrings, looking at the camera with a smirk on her face\ntxt2img mode\nUsing dev model\nfree=9484248555520\nDownloading weights\n2024-09-02T03:08:03Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp0l9_wo1j/weights url=https://replicate.delivery/yhqm/TpL2jrBDzeSjekdXFzDcQeNjv6eOTwmXunlFd11tutvmd2iNB/trained_model.tar\n2024-09-02T03:08:07Z | INFO | [ Complete ] dest=/tmp/tmp0l9_wo1j/weights size=\"172 MB\" total_elapsed=3.596s url=https://replicate.delivery/yhqm/TpL2jrBDzeSjekdXFzDcQeNjv6eOTwmXunlFd11tutvmd2iNB/trained_model.tar\nDownloaded weights in 3.63s\nLoaded LoRAs in 11.85s\n 0%| | 0/35 [00:00<?, ?it/s]\n 3%|▎ | 1/35 [00:00<00:17, 1.93it/s]\n 6%|▌ | 2/35 [00:00<00:14, 2.21it/s]\n 9%|▊ | 3/35 [00:01<00:15, 2.07it/s]\n 11%|█▏ | 4/35 [00:01<00:15, 2.01it/s]\n 14%|█▍ | 5/35 [00:02<00:15, 1.97it/s]\n 17%|█▋ | 6/35 [00:03<00:14, 1.96it/s]\n 20%|██ | 7/35 [00:03<00:14, 1.94it/s]\n 23%|██▎ | 8/35 [00:04<00:13, 1.94it/s]\n 26%|██▌ | 9/35 [00:04<00:13, 1.93it/s]\n 29%|██▊ | 10/35 [00:05<00:12, 1.93it/s]\n 31%|███▏ | 11/35 [00:05<00:12, 1.92it/s]\n 34%|███▍ | 12/35 [00:06<00:11, 1.92it/s]\n 37%|███▋ | 13/35 [00:06<00:11, 1.92it/s]\n 40%|████ | 14/35 [00:07<00:10, 1.92it/s]\n 43%|████▎ | 15/35 [00:07<00:10, 1.92it/s]\n 46%|████▌ | 16/35 [00:08<00:09, 1.92it/s]\n 49%|████▊ | 17/35 [00:08<00:09, 1.92it/s]\n 51%|█████▏ | 18/35 [00:09<00:08, 1.92it/s]\n 54%|█████▍ | 19/35 [00:09<00:08, 1.92it/s]\n 57%|█████▋ | 20/35 [00:10<00:07, 1.92it/s]\n 60%|██████ | 21/35 [00:10<00:07, 1.92it/s]\n 63%|██████▎ | 22/35 [00:11<00:06, 1.92it/s]\n 66%|██████▌ | 23/35 [00:11<00:06, 1.92it/s]\n 69%|██████▊ | 24/35 [00:12<00:05, 1.92it/s]\n 71%|███████▏ | 25/35 [00:12<00:05, 1.92it/s]\n 74%|███████▍ | 26/35 [00:13<00:04, 1.92it/s]\n 77%|███████▋ | 27/35 [00:13<00:04, 1.92it/s]\n 80%|████████ | 28/35 [00:14<00:03, 1.92it/s]\n 83%|████████▎ | 29/35 [00:14<00:03, 1.92it/s]\n 86%|████████▌ | 30/35 [00:15<00:02, 1.92it/s]\n 89%|████████▊ | 31/35 [00:16<00:02, 1.92it/s]\n 91%|█████████▏| 32/35 [00:16<00:01, 1.92it/s]\n 94%|█████████▍| 33/35 [00:17<00:01, 1.92it/s]\n 97%|█████████▋| 34/35 [00:17<00:00, 1.92it/s]\n100%|██████████| 35/35 [00:18<00:00, 1.92it/s]\n100%|██████████| 35/35 [00:18<00:00, 1.93it/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 0",
"metrics": {
"predict_time": 31.042999257,
"total_time": 31.049694
},
"output": [
"https://replicate.delivery/yhqm/s2tvdKE2SPKjMF3ntqH3KuaCIae9xs22kLnw5e2MsZ9y4tYTA/out-1.png"
],
"started_at": "2024-09-02T03:08:03.735695Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/tjdefthd25rm40chp2ta2s6q2r",
"cancel": "https://api.replicate.com/v1/predictions/tjdefthd25rm40chp2ta2s6q2r/cancel"
},
"version": "14d7e5934a0744925391ef6b5e1453a4bb3d7559a7dc689427f940fb92cb9f42"
}
Using seed: 2257
Prompt: a photo of ROX, a woman with a nose piercing, wearing a black shirt and earrings, looking at the camera with a smirk on her face
txt2img mode
Using dev model
free=9484248555520
Downloading weights
2024-09-02T03:08:03Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp0l9_wo1j/weights url=https://replicate.delivery/yhqm/TpL2jrBDzeSjekdXFzDcQeNjv6eOTwmXunlFd11tutvmd2iNB/trained_model.tar
2024-09-02T03:08:07Z | INFO | [ Complete ] dest=/tmp/tmp0l9_wo1j/weights size="172 MB" total_elapsed=3.596s url=https://replicate.delivery/yhqm/TpL2jrBDzeSjekdXFzDcQeNjv6eOTwmXunlFd11tutvmd2iNB/trained_model.tar
Downloaded weights in 3.63s
Loaded LoRAs in 11.85s
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:17, 1.93it/s]
6%|▌ | 2/35 [00:00<00:14, 2.21it/s]
9%|▊ | 3/35 [00:01<00:15, 2.07it/s]
11%|█▏ | 4/35 [00:01<00:15, 2.01it/s]
14%|█▍ | 5/35 [00:02<00:15, 1.97it/s]
17%|█▋ | 6/35 [00:03<00:14, 1.96it/s]
20%|██ | 7/35 [00:03<00:14, 1.94it/s]
23%|██▎ | 8/35 [00:04<00:13, 1.94it/s]
26%|██▌ | 9/35 [00:04<00:13, 1.93it/s]
29%|██▊ | 10/35 [00:05<00:12, 1.93it/s]
31%|███▏ | 11/35 [00:05<00:12, 1.92it/s]
34%|███▍ | 12/35 [00:06<00:11, 1.92it/s]
37%|███▋ | 13/35 [00:06<00:11, 1.92it/s]
40%|████ | 14/35 [00:07<00:10, 1.92it/s]
43%|████▎ | 15/35 [00:07<00:10, 1.92it/s]
46%|████▌ | 16/35 [00:08<00:09, 1.92it/s]
49%|████▊ | 17/35 [00:08<00:09, 1.92it/s]
51%|█████▏ | 18/35 [00:09<00:08, 1.92it/s]
54%|█████▍ | 19/35 [00:09<00:08, 1.92it/s]
57%|█████▋ | 20/35 [00:10<00:07, 1.92it/s]
60%|██████ | 21/35 [00:10<00:07, 1.92it/s]
63%|██████▎ | 22/35 [00:11<00:06, 1.92it/s]
66%|██████▌ | 23/35 [00:11<00:06, 1.92it/s]
69%|██████▊ | 24/35 [00:12<00:05, 1.92it/s]
71%|███████▏ | 25/35 [00:12<00:05, 1.92it/s]
74%|███████▍ | 26/35 [00:13<00:04, 1.92it/s]
77%|███████▋ | 27/35 [00:13<00:04, 1.92it/s]
80%|████████ | 28/35 [00:14<00:03, 1.92it/s]
83%|████████▎ | 29/35 [00:14<00:03, 1.92it/s]
86%|████████▌ | 30/35 [00:15<00:02, 1.92it/s]
89%|████████▊ | 31/35 [00:16<00:02, 1.92it/s]
91%|█████████▏| 32/35 [00:16<00:01, 1.92it/s]
94%|█████████▍| 33/35 [00:17<00:01, 1.92it/s]
97%|█████████▋| 34/35 [00:17<00:00, 1.92it/s]
100%|██████████| 35/35 [00:18<00:00, 1.92it/s]
100%|██████████| 35/35 [00:18<00:00, 1.93it/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 0
This output was created using a different version of the model, juddisjudd/roxannec:14d7e593.
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: 2257
Prompt: a photo of ROX, a woman with a nose piercing, wearing a black shirt and earrings, looking at the camera with a smirk on her face
txt2img mode
Using dev model
free=9484248555520
Downloading weights
2024-09-02T03:08:03Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp0l9_wo1j/weights url=https://replicate.delivery/yhqm/TpL2jrBDzeSjekdXFzDcQeNjv6eOTwmXunlFd11tutvmd2iNB/trained_model.tar
2024-09-02T03:08:07Z | INFO | [ Complete ] dest=/tmp/tmp0l9_wo1j/weights size="172 MB" total_elapsed=3.596s url=https://replicate.delivery/yhqm/TpL2jrBDzeSjekdXFzDcQeNjv6eOTwmXunlFd11tutvmd2iNB/trained_model.tar
Downloaded weights in 3.63s
Loaded LoRAs in 11.85s
0%| | 0/35 [00:00<?, ?it/s]
3%|▎ | 1/35 [00:00<00:17, 1.93it/s]
6%|▌ | 2/35 [00:00<00:14, 2.21it/s]
9%|▊ | 3/35 [00:01<00:15, 2.07it/s]
11%|█▏ | 4/35 [00:01<00:15, 2.01it/s]
14%|█▍ | 5/35 [00:02<00:15, 1.97it/s]
17%|█▋ | 6/35 [00:03<00:14, 1.96it/s]
20%|██ | 7/35 [00:03<00:14, 1.94it/s]
23%|██▎ | 8/35 [00:04<00:13, 1.94it/s]
26%|██▌ | 9/35 [00:04<00:13, 1.93it/s]
29%|██▊ | 10/35 [00:05<00:12, 1.93it/s]
31%|███▏ | 11/35 [00:05<00:12, 1.92it/s]
34%|███▍ | 12/35 [00:06<00:11, 1.92it/s]
37%|███▋ | 13/35 [00:06<00:11, 1.92it/s]
40%|████ | 14/35 [00:07<00:10, 1.92it/s]
43%|████▎ | 15/35 [00:07<00:10, 1.92it/s]
46%|████▌ | 16/35 [00:08<00:09, 1.92it/s]
49%|████▊ | 17/35 [00:08<00:09, 1.92it/s]
51%|█████▏ | 18/35 [00:09<00:08, 1.92it/s]
54%|█████▍ | 19/35 [00:09<00:08, 1.92it/s]
57%|█████▋ | 20/35 [00:10<00:07, 1.92it/s]
60%|██████ | 21/35 [00:10<00:07, 1.92it/s]
63%|██████▎ | 22/35 [00:11<00:06, 1.92it/s]
66%|██████▌ | 23/35 [00:11<00:06, 1.92it/s]
69%|██████▊ | 24/35 [00:12<00:05, 1.92it/s]
71%|███████▏ | 25/35 [00:12<00:05, 1.92it/s]
74%|███████▍ | 26/35 [00:13<00:04, 1.92it/s]
77%|███████▋ | 27/35 [00:13<00:04, 1.92it/s]
80%|████████ | 28/35 [00:14<00:03, 1.92it/s]
83%|████████▎ | 29/35 [00:14<00:03, 1.92it/s]
86%|████████▌ | 30/35 [00:15<00:02, 1.92it/s]
89%|████████▊ | 31/35 [00:16<00:02, 1.92it/s]
91%|█████████▏| 32/35 [00:16<00:01, 1.92it/s]
94%|█████████▍| 33/35 [00:17<00:01, 1.92it/s]
97%|█████████▋| 34/35 [00:17<00:00, 1.92it/s]
100%|██████████| 35/35 [00:18<00:00, 1.92it/s]
100%|██████████| 35/35 [00:18<00:00, 1.93it/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 0