Readme
This model doesn't have a readme.
(Updated 8 months, 2 weeks ago)
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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run juno-vate/my-varanasi-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"juno-vate/my-varanasi-art:8129881c33605909e2f5a382390a891668b4eb8ed4030353bafafa414e36704c",
{
input: {
image: "https://replicate.delivery/pbxt/LhYGX4qtkAsLXCDeOcNn6V1Qe8v2F7RGj5RQh6BYVviMZ4kw/358135581_10160511113226210_2892338759245866931_n.jpg",
model: "dev",
prompt: "A striking portrait of an elderly Indian man with a white beard and mustache, standing between two ornate pink architectural columns that are grungy and old, like in the style of VARNA. His expression is that he is holding his nose like there's as stench and bad smell. His fingers are holding his nose and he has a disgusted expression. He's wearing vibrant pink and blue-colored traditional Indian clothing - a long kurta, pants, and a jacket with gold embroidery. A bright red scarf drapes over his shoulder. He's barefoot and wears round sunglasses. The man stands ankle-deep in calm, reflective water. The background is a light blue skies, creating a surreal, dreamlike atmosphere. The overall color palette is dominated by shades of pink, red, and light blue, giving a whimsical yet regal feel. Style dominated VARNA style and mixes high-fashion photography meets magical realism, with sharp details and soft, ethereal lighting",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 1,
aspect_ratio: "1:1",
output_format: "webp",
guidance_scale: 3.5,
output_quality: 90,
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 juno-vate/my-varanasi-art using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"juno-vate/my-varanasi-art:8129881c33605909e2f5a382390a891668b4eb8ed4030353bafafa414e36704c",
input={
"image": "https://replicate.delivery/pbxt/LhYGX4qtkAsLXCDeOcNn6V1Qe8v2F7RGj5RQh6BYVviMZ4kw/358135581_10160511113226210_2892338759245866931_n.jpg",
"model": "dev",
"prompt": "A striking portrait of an elderly Indian man with a white beard and mustache, standing between two ornate pink architectural columns that are grungy and old, like in the style of VARNA. His expression is that he is holding his nose like there's as stench and bad smell. His fingers are holding his nose and he has a disgusted expression. He's wearing vibrant pink and blue-colored traditional Indian clothing - a long kurta, pants, and a jacket with gold embroidery. A bright red scarf drapes over his shoulder. He's barefoot and wears round sunglasses. The man stands ankle-deep in calm, reflective water. The background is a light blue skies, creating a surreal, dreamlike atmosphere. The overall color palette is dominated by shades of pink, red, and light blue, giving a whimsical yet regal feel. Style dominated VARNA style and mixes high-fashion photography meets magical realism, with sharp details and soft, ethereal lighting",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 90,
"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 juno-vate/my-varanasi-art 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": "juno-vate/my-varanasi-art:8129881c33605909e2f5a382390a891668b4eb8ed4030353bafafa414e36704c",
"input": {
"image": "https://replicate.delivery/pbxt/LhYGX4qtkAsLXCDeOcNn6V1Qe8v2F7RGj5RQh6BYVviMZ4kw/358135581_10160511113226210_2892338759245866931_n.jpg",
"model": "dev",
"prompt": "A striking portrait of an elderly Indian man with a white beard and mustache, standing between two ornate pink architectural columns that are grungy and old, like in the style of VARNA. His expression is that he is holding his nose like there\'s as stench and bad smell. His fingers are holding his nose and he has a disgusted expression. He\'s wearing vibrant pink and blue-colored traditional Indian clothing - a long kurta, pants, and a jacket with gold embroidery. A bright red scarf drapes over his shoulder. He\'s barefoot and wears round sunglasses. The man stands ankle-deep in calm, reflective water. The background is a light blue skies, creating a surreal, dreamlike atmosphere. The overall color palette is dominated by shades of pink, red, and light blue, giving a whimsical yet regal feel. Style dominated VARNA style and mixes high-fashion photography meets magical realism, with sharp details and soft, ethereal lighting",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 90,
"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.
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-28T11:02:00.532962Z",
"created_at": "2024-09-28T11:01:31.198000Z",
"data_removed": false,
"error": null,
"id": "x0825w7vqsrj00cj71587hxxzw",
"input": {
"image": "https://replicate.delivery/pbxt/LhYGX4qtkAsLXCDeOcNn6V1Qe8v2F7RGj5RQh6BYVviMZ4kw/358135581_10160511113226210_2892338759245866931_n.jpg",
"model": "dev",
"prompt": "A striking portrait of an elderly Indian man with a white beard and mustache, standing between two ornate pink architectural columns that are grungy and old, like in the style of VARNA. His expression is that he is holding his nose like there's as stench and bad smell. His fingers are holding his nose and he has a disgusted expression. He's wearing vibrant pink and blue-colored traditional Indian clothing - a long kurta, pants, and a jacket with gold embroidery. A bright red scarf drapes over his shoulder. He's barefoot and wears round sunglasses. The man stands ankle-deep in calm, reflective water. The background is a light blue skies, creating a surreal, dreamlike atmosphere. The overall color palette is dominated by shades of pink, red, and light blue, giving a whimsical yet regal feel. Style dominated VARNA style and mixes high-fashion photography meets magical realism, with sharp details and soft, ethereal lighting",
"lora_scale": 1,
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 90,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
},
"logs": "Using seed: 4670\nPrompt: A striking portrait of an elderly Indian man with a white beard and mustache, standing between two ornate pink architectural columns that are grungy and old, like in the style of VARNA. His expression is that he is holding his nose like there's as stench and bad smell. His fingers are holding his nose and he has a disgusted expression. He's wearing vibrant pink and blue-colored traditional Indian clothing - a long kurta, pants, and a jacket with gold embroidery. A bright red scarf drapes over his shoulder. He's barefoot and wears round sunglasses. The man stands ankle-deep in calm, reflective water. The background is a light blue skies, creating a surreal, dreamlike atmosphere. The overall color palette is dominated by shades of pink, red, and light blue, giving a whimsical yet regal feel. Style dominated VARNA style and mixes high-fashion photography meets magical realism, with sharp details and soft, ethereal lighting\n[!] Resizing input image from 1067x1600 to 1072x1600\n[!] img2img mode\n[!] Using dev model for img2img\nUsing dev model\nfree=4772209098752\nDownloading weights\n2024-09-28T11:01:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcfto6egf/weights url=https://replicate.delivery/yhqm/FAfYENaFe1iTFUjyjnSyeMtcnUZWOfke8sZeIyjIRmxwaQW4E/trained_model.tar\n2024-09-28T11:01:33Z | INFO | [ Complete ] dest=/tmp/tmpcfto6egf/weights size=\"172 MB\" total_elapsed=2.443s url=https://replicate.delivery/yhqm/FAfYENaFe1iTFUjyjnSyeMtcnUZWOfke8sZeIyjIRmxwaQW4E/trained_model.tar\nDownloaded weights in 2.47s\nLoaded LoRAs in 3.29s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:18, 1.17it/s]\n 9%|▊ | 2/23 [00:01<00:20, 1.02it/s]\n 13%|█▎ | 3/23 [00:03<00:20, 1.03s/it]\n 17%|█▋ | 4/23 [00:04<00:19, 1.05s/it]\n 22%|██▏ | 5/23 [00:05<00:19, 1.06s/it]\n 26%|██▌ | 6/23 [00:06<00:18, 1.06s/it]\n 30%|███ | 7/23 [00:07<00:17, 1.07s/it]\n 35%|███▍ | 8/23 [00:08<00:16, 1.07s/it]\n 39%|███▉ | 9/23 [00:09<00:15, 1.07s/it]\n 43%|████▎ | 10/23 [00:10<00:13, 1.08s/it]\n 48%|████▊ | 11/23 [00:11<00:12, 1.08s/it]\n 52%|█████▏ | 12/23 [00:12<00:11, 1.08s/it]\n 57%|█████▋ | 13/23 [00:13<00:10, 1.08s/it]\n 61%|██████ | 14/23 [00:14<00:09, 1.08s/it]\n 65%|██████▌ | 15/23 [00:15<00:08, 1.08s/it]\n 70%|██████▉ | 16/23 [00:17<00:07, 1.08s/it]\n 74%|███████▍ | 17/23 [00:18<00:06, 1.08s/it]\n 78%|███████▊ | 18/23 [00:19<00:05, 1.08s/it]\n 83%|████████▎ | 19/23 [00:20<00:04, 1.08s/it]\n 87%|████████▋ | 20/23 [00:21<00:03, 1.08s/it]\n 91%|█████████▏| 21/23 [00:22<00:02, 1.08s/it]\n 96%|█████████▌| 22/23 [00:23<00:01, 1.08s/it]\n100%|██████████| 23/23 [00:24<00:00, 1.08s/it]\n100%|██████████| 23/23 [00:24<00:00, 1.07s/it]",
"metrics": {
"predict_time": 29.323425577,
"total_time": 29.334962
},
"output": [
"https://replicate.delivery/yhqm/PNe1K3zMMv2sWSl9nHxgpVfQlYLIVtNTDFDPorPGG9goQZhTA/out-0.webp"
],
"started_at": "2024-09-28T11:01:31.209536Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/x0825w7vqsrj00cj71587hxxzw",
"cancel": "https://api.replicate.com/v1/predictions/x0825w7vqsrj00cj71587hxxzw/cancel"
},
"version": "8129881c33605909e2f5a382390a891668b4eb8ed4030353bafafa414e36704c"
}
Using seed: 4670
Prompt: A striking portrait of an elderly Indian man with a white beard and mustache, standing between two ornate pink architectural columns that are grungy and old, like in the style of VARNA. His expression is that he is holding his nose like there's as stench and bad smell. His fingers are holding his nose and he has a disgusted expression. He's wearing vibrant pink and blue-colored traditional Indian clothing - a long kurta, pants, and a jacket with gold embroidery. A bright red scarf drapes over his shoulder. He's barefoot and wears round sunglasses. The man stands ankle-deep in calm, reflective water. The background is a light blue skies, creating a surreal, dreamlike atmosphere. The overall color palette is dominated by shades of pink, red, and light blue, giving a whimsical yet regal feel. Style dominated VARNA style and mixes high-fashion photography meets magical realism, with sharp details and soft, ethereal lighting
[!] Resizing input image from 1067x1600 to 1072x1600
[!] img2img mode
[!] Using dev model for img2img
Using dev model
free=4772209098752
Downloading weights
2024-09-28T11:01:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcfto6egf/weights url=https://replicate.delivery/yhqm/FAfYENaFe1iTFUjyjnSyeMtcnUZWOfke8sZeIyjIRmxwaQW4E/trained_model.tar
2024-09-28T11:01:33Z | INFO | [ Complete ] dest=/tmp/tmpcfto6egf/weights size="172 MB" total_elapsed=2.443s url=https://replicate.delivery/yhqm/FAfYENaFe1iTFUjyjnSyeMtcnUZWOfke8sZeIyjIRmxwaQW4E/trained_model.tar
Downloaded weights in 2.47s
Loaded LoRAs in 3.29s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:18, 1.17it/s]
9%|▊ | 2/23 [00:01<00:20, 1.02it/s]
13%|█▎ | 3/23 [00:03<00:20, 1.03s/it]
17%|█▋ | 4/23 [00:04<00:19, 1.05s/it]
22%|██▏ | 5/23 [00:05<00:19, 1.06s/it]
26%|██▌ | 6/23 [00:06<00:18, 1.06s/it]
30%|███ | 7/23 [00:07<00:17, 1.07s/it]
35%|███▍ | 8/23 [00:08<00:16, 1.07s/it]
39%|███▉ | 9/23 [00:09<00:15, 1.07s/it]
43%|████▎ | 10/23 [00:10<00:13, 1.08s/it]
48%|████▊ | 11/23 [00:11<00:12, 1.08s/it]
52%|█████▏ | 12/23 [00:12<00:11, 1.08s/it]
57%|█████▋ | 13/23 [00:13<00:10, 1.08s/it]
61%|██████ | 14/23 [00:14<00:09, 1.08s/it]
65%|██████▌ | 15/23 [00:15<00:08, 1.08s/it]
70%|██████▉ | 16/23 [00:17<00:07, 1.08s/it]
74%|███████▍ | 17/23 [00:18<00:06, 1.08s/it]
78%|███████▊ | 18/23 [00:19<00:05, 1.08s/it]
83%|████████▎ | 19/23 [00:20<00:04, 1.08s/it]
87%|████████▋ | 20/23 [00:21<00:03, 1.08s/it]
91%|█████████▏| 21/23 [00:22<00:02, 1.08s/it]
96%|█████████▌| 22/23 [00:23<00:01, 1.08s/it]
100%|██████████| 23/23 [00:24<00:00, 1.08s/it]
100%|██████████| 23/23 [00:24<00:00, 1.07s/it]
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: 4670
Prompt: A striking portrait of an elderly Indian man with a white beard and mustache, standing between two ornate pink architectural columns that are grungy and old, like in the style of VARNA. His expression is that he is holding his nose like there's as stench and bad smell. His fingers are holding his nose and he has a disgusted expression. He's wearing vibrant pink and blue-colored traditional Indian clothing - a long kurta, pants, and a jacket with gold embroidery. A bright red scarf drapes over his shoulder. He's barefoot and wears round sunglasses. The man stands ankle-deep in calm, reflective water. The background is a light blue skies, creating a surreal, dreamlike atmosphere. The overall color palette is dominated by shades of pink, red, and light blue, giving a whimsical yet regal feel. Style dominated VARNA style and mixes high-fashion photography meets magical realism, with sharp details and soft, ethereal lighting
[!] Resizing input image from 1067x1600 to 1072x1600
[!] img2img mode
[!] Using dev model for img2img
Using dev model
free=4772209098752
Downloading weights
2024-09-28T11:01:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcfto6egf/weights url=https://replicate.delivery/yhqm/FAfYENaFe1iTFUjyjnSyeMtcnUZWOfke8sZeIyjIRmxwaQW4E/trained_model.tar
2024-09-28T11:01:33Z | INFO | [ Complete ] dest=/tmp/tmpcfto6egf/weights size="172 MB" total_elapsed=2.443s url=https://replicate.delivery/yhqm/FAfYENaFe1iTFUjyjnSyeMtcnUZWOfke8sZeIyjIRmxwaQW4E/trained_model.tar
Downloaded weights in 2.47s
Loaded LoRAs in 3.29s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:18, 1.17it/s]
9%|▊ | 2/23 [00:01<00:20, 1.02it/s]
13%|█▎ | 3/23 [00:03<00:20, 1.03s/it]
17%|█▋ | 4/23 [00:04<00:19, 1.05s/it]
22%|██▏ | 5/23 [00:05<00:19, 1.06s/it]
26%|██▌ | 6/23 [00:06<00:18, 1.06s/it]
30%|███ | 7/23 [00:07<00:17, 1.07s/it]
35%|███▍ | 8/23 [00:08<00:16, 1.07s/it]
39%|███▉ | 9/23 [00:09<00:15, 1.07s/it]
43%|████▎ | 10/23 [00:10<00:13, 1.08s/it]
48%|████▊ | 11/23 [00:11<00:12, 1.08s/it]
52%|█████▏ | 12/23 [00:12<00:11, 1.08s/it]
57%|█████▋ | 13/23 [00:13<00:10, 1.08s/it]
61%|██████ | 14/23 [00:14<00:09, 1.08s/it]
65%|██████▌ | 15/23 [00:15<00:08, 1.08s/it]
70%|██████▉ | 16/23 [00:17<00:07, 1.08s/it]
74%|███████▍ | 17/23 [00:18<00:06, 1.08s/it]
78%|███████▊ | 18/23 [00:19<00:05, 1.08s/it]
83%|████████▎ | 19/23 [00:20<00:04, 1.08s/it]
87%|████████▋ | 20/23 [00:21<00:03, 1.08s/it]
91%|█████████▏| 21/23 [00:22<00:02, 1.08s/it]
96%|█████████▌| 22/23 [00:23<00:01, 1.08s/it]
100%|██████████| 23/23 [00:24<00:00, 1.08s/it]
100%|██████████| 23/23 [00:24<00:00, 1.07s/it]