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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run juliusk24/kk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"juliusk24/kk:93e356d41f80a1733c3fc43a5019da114985b26eb12b4079547f33fa85b6ebd3",
{
input: {
image: "https://replicate.delivery/pbxt/LfYvp9SGNVfcbNrXrv1aAH4G09j5cZgTnMvMXv9DTNL1UKFS/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
model: "dev",
prompt: "Sophisticated portrait of kk, standing confidently in a sleek, modern indoor setting. He is dressed in a perfectly tailored, dark navy pinstripe suit, paired with a crisp white dress shirt and a subtly textured, light gray tie. His polished brown leather shoes complement the overall professional and refined look. His posture is relaxed but composed, with hands casually tucked into his pockets, projecting an air of quiet confidence and sophistication.\n\nHis hair is neatly styled, adding to his sharp, angular facial features, including a well-defined jawline and high cheekbones. His expression is calm and focused, exuding professionalism and authority.\n\nThe natural lighting floods in through the large windows, casting soft shadows and highlighting the clean lines of his suit. The modern architectural setting, with large windows revealing a scenic view of greenery and distant mountains, further enhances the sense of elegance and luxury. The neutral tones of the environment allow Julius to stand out, making him the clear focal point of the image. The contrast between the sleek indoor space and the natural background adds depth to the composition, balancing modern sophistication with a touch of nature.",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 1,
aspect_ratio: "1:1",
output_format: "png",
guidance_scale: 2.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 juliusk24/kk using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"juliusk24/kk:93e356d41f80a1733c3fc43a5019da114985b26eb12b4079547f33fa85b6ebd3",
input={
"image": "https://replicate.delivery/pbxt/LfYvp9SGNVfcbNrXrv1aAH4G09j5cZgTnMvMXv9DTNL1UKFS/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
"model": "dev",
"prompt": "Sophisticated portrait of kk, standing confidently in a sleek, modern indoor setting. He is dressed in a perfectly tailored, dark navy pinstripe suit, paired with a crisp white dress shirt and a subtly textured, light gray tie. His polished brown leather shoes complement the overall professional and refined look. His posture is relaxed but composed, with hands casually tucked into his pockets, projecting an air of quiet confidence and sophistication.\n\nHis hair is neatly styled, adding to his sharp, angular facial features, including a well-defined jawline and high cheekbones. His expression is calm and focused, exuding professionalism and authority.\n\nThe natural lighting floods in through the large windows, casting soft shadows and highlighting the clean lines of his suit. The modern architectural setting, with large windows revealing a scenic view of greenery and distant mountains, further enhances the sense of elegance and luxury. The neutral tones of the environment allow Julius to stand out, making him the clear focal point of the image. The contrast between the sleek indoor space and the natural background adds depth to the composition, balancing modern sophistication with a touch of nature.",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "png",
"guidance_scale": 2.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 juliusk24/kk 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": "juliusk24/kk:93e356d41f80a1733c3fc43a5019da114985b26eb12b4079547f33fa85b6ebd3",
"input": {
"image": "https://replicate.delivery/pbxt/LfYvp9SGNVfcbNrXrv1aAH4G09j5cZgTnMvMXv9DTNL1UKFS/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
"model": "dev",
"prompt": "Sophisticated portrait of kk, standing confidently in a sleek, modern indoor setting. He is dressed in a perfectly tailored, dark navy pinstripe suit, paired with a crisp white dress shirt and a subtly textured, light gray tie. His polished brown leather shoes complement the overall professional and refined look. His posture is relaxed but composed, with hands casually tucked into his pockets, projecting an air of quiet confidence and sophistication.\\n\\nHis hair is neatly styled, adding to his sharp, angular facial features, including a well-defined jawline and high cheekbones. His expression is calm and focused, exuding professionalism and authority.\\n\\nThe natural lighting floods in through the large windows, casting soft shadows and highlighting the clean lines of his suit. The modern architectural setting, with large windows revealing a scenic view of greenery and distant mountains, further enhances the sense of elegance and luxury. The neutral tones of the environment allow Julius to stand out, making him the clear focal point of the image. The contrast between the sleek indoor space and the natural background adds depth to the composition, balancing modern sophistication with a touch of nature.",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "png",
"guidance_scale": 2.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-22T20:32:01.780001Z",
"created_at": "2024-09-22T20:31:26.063000Z",
"data_removed": false,
"error": null,
"id": "t169vt4sdxrm40cj3dq9w6t14g",
"input": {
"image": "https://replicate.delivery/pbxt/LfYvp9SGNVfcbNrXrv1aAH4G09j5cZgTnMvMXv9DTNL1UKFS/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
"model": "dev",
"prompt": "Sophisticated portrait of kk, standing confidently in a sleek, modern indoor setting. He is dressed in a perfectly tailored, dark navy pinstripe suit, paired with a crisp white dress shirt and a subtly textured, light gray tie. His polished brown leather shoes complement the overall professional and refined look. His posture is relaxed but composed, with hands casually tucked into his pockets, projecting an air of quiet confidence and sophistication.\n\nHis hair is neatly styled, adding to his sharp, angular facial features, including a well-defined jawline and high cheekbones. His expression is calm and focused, exuding professionalism and authority.\n\nThe natural lighting floods in through the large windows, casting soft shadows and highlighting the clean lines of his suit. The modern architectural setting, with large windows revealing a scenic view of greenery and distant mountains, further enhances the sense of elegance and luxury. The neutral tones of the environment allow Julius to stand out, making him the clear focal point of the image. The contrast between the sleek indoor space and the natural background adds depth to the composition, balancing modern sophistication with a touch of nature.",
"lora_scale": 1,
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "png",
"guidance_scale": 2.5,
"output_quality": 90,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
},
"logs": "Using seed: 41745\nPrompt: Sophisticated portrait of kk, standing confidently in a sleek, modern indoor setting. He is dressed in a perfectly tailored, dark navy pinstripe suit, paired with a crisp white dress shirt and a subtly textured, light gray tie. His polished brown leather shoes complement the overall professional and refined look. His posture is relaxed but composed, with hands casually tucked into his pockets, projecting an air of quiet confidence and sophistication.\nHis hair is neatly styled, adding to his sharp, angular facial features, including a well-defined jawline and high cheekbones. His expression is calm and focused, exuding professionalism and authority.\nThe natural lighting floods in through the large windows, casting soft shadows and highlighting the clean lines of his suit. The modern architectural setting, with large windows revealing a scenic view of greenery and distant mountains, further enhances the sense of elegance and luxury. The neutral tones of the environment allow Julius to stand out, making him the clear focal point of the image. The contrast between the sleek indoor space and the natural background adds depth to the composition, balancing modern sophistication with a touch of nature.\n[!] Resizing input image from 1534x2048 to 1536x2048\n[!] img2img mode\n[!] Using dev model for img2img\nUsing dev model\nLoaded LoRAs in 11.15s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:16, 1.34it/s]\n 9%|▊ | 2/23 [00:01<00:18, 1.16it/s]\n 13%|█▎ | 3/23 [00:02<00:18, 1.11it/s]\n 17%|█▋ | 4/23 [00:03<00:17, 1.09it/s]\n 22%|██▏ | 5/23 [00:04<00:16, 1.08it/s]\n 26%|██▌ | 6/23 [00:05<00:15, 1.07it/s]\n 30%|███ | 7/23 [00:06<00:15, 1.07it/s]\n 35%|███▍ | 8/23 [00:07<00:14, 1.06it/s]\n 39%|███▉ | 9/23 [00:08<00:13, 1.06it/s]\n 43%|████▎ | 10/23 [00:09<00:12, 1.06it/s]\n 48%|████▊ | 11/23 [00:10<00:11, 1.06it/s]\n 52%|█████▏ | 12/23 [00:11<00:10, 1.06it/s]\n 57%|█████▋ | 13/23 [00:12<00:09, 1.06it/s]\n 61%|██████ | 14/23 [00:13<00:08, 1.06it/s]\n 65%|██████▌ | 15/23 [00:13<00:07, 1.06it/s]\n 70%|██████▉ | 16/23 [00:14<00:06, 1.06it/s]\n 74%|███████▍ | 17/23 [00:15<00:05, 1.06it/s]\n 78%|███████▊ | 18/23 [00:16<00:04, 1.06it/s]\n 83%|████████▎ | 19/23 [00:17<00:03, 1.06it/s]\n 87%|████████▋ | 20/23 [00:18<00:02, 1.06it/s]\n 91%|█████████▏| 21/23 [00:19<00:01, 1.06it/s]\n 96%|█████████▌| 22/23 [00:20<00:00, 1.06it/s]\n100%|██████████| 23/23 [00:21<00:00, 1.06it/s]\n100%|██████████| 23/23 [00:21<00:00, 1.07it/s]",
"metrics": {
"predict_time": 35.708126414,
"total_time": 35.717001
},
"output": [
"https://replicate.delivery/yhqm/prHQReG1Vx2TD66ZEOTfMF0fJ5fXodWMdLxhWMnKZULGMMebC/out-0.png"
],
"started_at": "2024-09-22T20:31:26.071874Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/t169vt4sdxrm40cj3dq9w6t14g",
"cancel": "https://api.replicate.com/v1/predictions/t169vt4sdxrm40cj3dq9w6t14g/cancel"
},
"version": "93e356d41f80a1733c3fc43a5019da114985b26eb12b4079547f33fa85b6ebd3"
}
Using seed: 41745
Prompt: Sophisticated portrait of kk, standing confidently in a sleek, modern indoor setting. He is dressed in a perfectly tailored, dark navy pinstripe suit, paired with a crisp white dress shirt and a subtly textured, light gray tie. His polished brown leather shoes complement the overall professional and refined look. His posture is relaxed but composed, with hands casually tucked into his pockets, projecting an air of quiet confidence and sophistication.
His hair is neatly styled, adding to his sharp, angular facial features, including a well-defined jawline and high cheekbones. His expression is calm and focused, exuding professionalism and authority.
The natural lighting floods in through the large windows, casting soft shadows and highlighting the clean lines of his suit. The modern architectural setting, with large windows revealing a scenic view of greenery and distant mountains, further enhances the sense of elegance and luxury. The neutral tones of the environment allow Julius to stand out, making him the clear focal point of the image. The contrast between the sleek indoor space and the natural background adds depth to the composition, balancing modern sophistication with a touch of nature.
[!] Resizing input image from 1534x2048 to 1536x2048
[!] img2img mode
[!] Using dev model for img2img
Using dev model
Loaded LoRAs in 11.15s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:16, 1.34it/s]
9%|▊ | 2/23 [00:01<00:18, 1.16it/s]
13%|█▎ | 3/23 [00:02<00:18, 1.11it/s]
17%|█▋ | 4/23 [00:03<00:17, 1.09it/s]
22%|██▏ | 5/23 [00:04<00:16, 1.08it/s]
26%|██▌ | 6/23 [00:05<00:15, 1.07it/s]
30%|███ | 7/23 [00:06<00:15, 1.07it/s]
35%|███▍ | 8/23 [00:07<00:14, 1.06it/s]
39%|███▉ | 9/23 [00:08<00:13, 1.06it/s]
43%|████▎ | 10/23 [00:09<00:12, 1.06it/s]
48%|████▊ | 11/23 [00:10<00:11, 1.06it/s]
52%|█████▏ | 12/23 [00:11<00:10, 1.06it/s]
57%|█████▋ | 13/23 [00:12<00:09, 1.06it/s]
61%|██████ | 14/23 [00:13<00:08, 1.06it/s]
65%|██████▌ | 15/23 [00:13<00:07, 1.06it/s]
70%|██████▉ | 16/23 [00:14<00:06, 1.06it/s]
74%|███████▍ | 17/23 [00:15<00:05, 1.06it/s]
78%|███████▊ | 18/23 [00:16<00:04, 1.06it/s]
83%|████████▎ | 19/23 [00:17<00:03, 1.06it/s]
87%|████████▋ | 20/23 [00:18<00:02, 1.06it/s]
91%|█████████▏| 21/23 [00:19<00:01, 1.06it/s]
96%|█████████▌| 22/23 [00:20<00:00, 1.06it/s]
100%|██████████| 23/23 [00:21<00:00, 1.06it/s]
100%|██████████| 23/23 [00:21<00:00, 1.07it/s]
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.
This model runs on H100 hardware which costs $0.001525 per second. View more.
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: 41745
Prompt: Sophisticated portrait of kk, standing confidently in a sleek, modern indoor setting. He is dressed in a perfectly tailored, dark navy pinstripe suit, paired with a crisp white dress shirt and a subtly textured, light gray tie. His polished brown leather shoes complement the overall professional and refined look. His posture is relaxed but composed, with hands casually tucked into his pockets, projecting an air of quiet confidence and sophistication.
His hair is neatly styled, adding to his sharp, angular facial features, including a well-defined jawline and high cheekbones. His expression is calm and focused, exuding professionalism and authority.
The natural lighting floods in through the large windows, casting soft shadows and highlighting the clean lines of his suit. The modern architectural setting, with large windows revealing a scenic view of greenery and distant mountains, further enhances the sense of elegance and luxury. The neutral tones of the environment allow Julius to stand out, making him the clear focal point of the image. The contrast between the sleek indoor space and the natural background adds depth to the composition, balancing modern sophistication with a touch of nature.
[!] Resizing input image from 1534x2048 to 1536x2048
[!] img2img mode
[!] Using dev model for img2img
Using dev model
Loaded LoRAs in 11.15s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:16, 1.34it/s]
9%|▊ | 2/23 [00:01<00:18, 1.16it/s]
13%|█▎ | 3/23 [00:02<00:18, 1.11it/s]
17%|█▋ | 4/23 [00:03<00:17, 1.09it/s]
22%|██▏ | 5/23 [00:04<00:16, 1.08it/s]
26%|██▌ | 6/23 [00:05<00:15, 1.07it/s]
30%|███ | 7/23 [00:06<00:15, 1.07it/s]
35%|███▍ | 8/23 [00:07<00:14, 1.06it/s]
39%|███▉ | 9/23 [00:08<00:13, 1.06it/s]
43%|████▎ | 10/23 [00:09<00:12, 1.06it/s]
48%|████▊ | 11/23 [00:10<00:11, 1.06it/s]
52%|█████▏ | 12/23 [00:11<00:10, 1.06it/s]
57%|█████▋ | 13/23 [00:12<00:09, 1.06it/s]
61%|██████ | 14/23 [00:13<00:08, 1.06it/s]
65%|██████▌ | 15/23 [00:13<00:07, 1.06it/s]
70%|██████▉ | 16/23 [00:14<00:06, 1.06it/s]
74%|███████▍ | 17/23 [00:15<00:05, 1.06it/s]
78%|███████▊ | 18/23 [00:16<00:04, 1.06it/s]
83%|████████▎ | 19/23 [00:17<00:03, 1.06it/s]
87%|████████▋ | 20/23 [00:18<00:02, 1.06it/s]
91%|█████████▏| 21/23 [00:19<00:01, 1.06it/s]
96%|█████████▌| 22/23 [00:20<00:00, 1.06it/s]
100%|██████████| 23/23 [00:21<00:00, 1.06it/s]
100%|██████████| 23/23 [00:21<00:00, 1.07it/s]