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 juliusk24/jakob using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"juliusk24/jakob:392ed0834fbcfdf9a0854e8e1b2ff8126b7951fe9de93d054dcdd6ccd1823d55",
{
input: {
image: "https://replicate.delivery/pbxt/Lt8KPYG1BIeIvxFryYBExEDPpqdafLvZcIfxqcKHVDV9GQK7/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
model: "dev",
prompt: "The camera captures the man in a close-up shot, focusing primarily on his upper body and face, revealing intricate details of his sharp, dark pinstripe suit and subtly patterned tie. His crisp white shirt peeks perfectly under the lapels, and a neatly folded pocket square adds a touch of refinement. The close framing emphasizes his composed expression, well-groomed hair, and confident gaze. The fine textures of the suit fabric are visible, illuminated by soft natural light from nearby windows. In the blurred background, hints of greenery and modern architecture subtly set the scene.",
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/jakob using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"juliusk24/jakob:392ed0834fbcfdf9a0854e8e1b2ff8126b7951fe9de93d054dcdd6ccd1823d55",
input={
"image": "https://replicate.delivery/pbxt/Lt8KPYG1BIeIvxFryYBExEDPpqdafLvZcIfxqcKHVDV9GQK7/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
"model": "dev",
"prompt": "The camera captures the man in a close-up shot, focusing primarily on his upper body and face, revealing intricate details of his sharp, dark pinstripe suit and subtly patterned tie. His crisp white shirt peeks perfectly under the lapels, and a neatly folded pocket square adds a touch of refinement. The close framing emphasizes his composed expression, well-groomed hair, and confident gaze. The fine textures of the suit fabric are visible, illuminated by soft natural light from nearby windows. In the blurred background, hints of greenery and modern architecture subtly set the scene.",
"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/jakob 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/jakob:392ed0834fbcfdf9a0854e8e1b2ff8126b7951fe9de93d054dcdd6ccd1823d55",
"input": {
"image": "https://replicate.delivery/pbxt/Lt8KPYG1BIeIvxFryYBExEDPpqdafLvZcIfxqcKHVDV9GQK7/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
"model": "dev",
"prompt": "The camera captures the man in a close-up shot, focusing primarily on his upper body and face, revealing intricate details of his sharp, dark pinstripe suit and subtly patterned tie. His crisp white shirt peeks perfectly under the lapels, and a neatly folded pocket square adds a touch of refinement. The close framing emphasizes his composed expression, well-groomed hair, and confident gaze. The fine textures of the suit fabric are visible, illuminated by soft natural light from nearby windows. In the blurred background, hints of greenery and modern architecture subtly set the scene.",
"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-10-31T02:06:53.658218Z",
"created_at": "2024-10-31T02:06:25.197000Z",
"data_removed": false,
"error": null,
"id": "mcqqnm7hnnrm60cjw1995a56zr",
"input": {
"image": "https://replicate.delivery/pbxt/Lt8KPYG1BIeIvxFryYBExEDPpqdafLvZcIfxqcKHVDV9GQK7/3f646442-8e3d-4db3-bcc4-a7d9461528da.png",
"model": "dev",
"prompt": "The camera captures the man in a close-up shot, focusing primarily on his upper body and face, revealing intricate details of his sharp, dark pinstripe suit and subtly patterned tie. His crisp white shirt peeks perfectly under the lapels, and a neatly folded pocket square adds a touch of refinement. The close framing emphasizes his composed expression, well-groomed hair, and confident gaze. The fine textures of the suit fabric are visible, illuminated by soft natural light from nearby windows. In the blurred background, hints of greenery and modern architecture subtly set the scene.",
"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: 38756\nPrompt: The camera captures the man in a close-up shot, focusing primarily on his upper body and face, revealing intricate details of his sharp, dark pinstripe suit and subtly patterned tie. His crisp white shirt peeks perfectly under the lapels, and a neatly folded pocket square adds a touch of refinement. The close framing emphasizes his composed expression, well-groomed hair, and confident gaze. The fine textures of the suit fabric are visible, illuminated by soft natural light from nearby windows. In the blurred background, hints of greenery and modern architecture subtly set the scene.\n[!] Resizing input image from 1534x2048 to 1536x2048\n[!] img2img mode\n[!] Using dev model for img2img\nUsing dev model\nLoaded LoRAs in 0.70s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:19, 1.11it/s]\n 9%|▊ | 2/23 [00:02<00:21, 1.02s/it]\n 13%|█▎ | 3/23 [00:03<00:21, 1.06s/it]\n 17%|█▋ | 4/23 [00:04<00:20, 1.08s/it]\n 22%|██▏ | 5/23 [00:05<00:19, 1.08s/it]\n 26%|██▌ | 6/23 [00:06<00:18, 1.09s/it]\n 30%|███ | 7/23 [00:07<00:17, 1.10s/it]\n 35%|███▍ | 8/23 [00:08<00:16, 1.10s/it]\n 39%|███▉ | 9/23 [00:09<00:15, 1.10s/it]\n 43%|████▎ | 10/23 [00:10<00:14, 1.11s/it]\n 48%|████▊ | 11/23 [00:11<00:13, 1.11s/it]\n 52%|█████▏ | 12/23 [00:13<00:12, 1.11s/it]\n 57%|█████▋ | 13/23 [00:14<00:11, 1.11s/it]\n 61%|██████ | 14/23 [00:15<00:09, 1.11s/it]\n 65%|██████▌ | 15/23 [00:16<00:08, 1.11s/it]\n 70%|██████▉ | 16/23 [00:17<00:07, 1.11s/it]\n 74%|███████▍ | 17/23 [00:18<00:06, 1.11s/it]\n 78%|███████▊ | 18/23 [00:19<00:05, 1.11s/it]\n 83%|████████▎ | 19/23 [00:20<00:04, 1.11s/it]\n 87%|████████▋ | 20/23 [00:21<00:03, 1.11s/it]\n 91%|█████████▏| 21/23 [00:23<00:02, 1.11s/it]\n 96%|█████████▌| 22/23 [00:24<00:01, 1.11s/it]\n100%|██████████| 23/23 [00:25<00:00, 1.11s/it]\n100%|██████████| 23/23 [00:25<00:00, 1.10s/it]",
"metrics": {
"predict_time": 28.454951891,
"total_time": 28.461218
},
"output": [
"https://replicate.delivery/yhqm/I0EMejBYQZQIeEVHyfowUrSrXifDFyPsrR1TCr3Zf94qHMhdC/out-0.png"
],
"started_at": "2024-10-31T02:06:25.203266Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/wcdb-fv6ibpuwb3llchccgqpemedomvjo3zk4kmvcmp5nxbqhnvgqjcnq",
"get": "https://api.replicate.com/v1/predictions/mcqqnm7hnnrm60cjw1995a56zr",
"cancel": "https://api.replicate.com/v1/predictions/mcqqnm7hnnrm60cjw1995a56zr/cancel"
},
"version": "392ed0834fbcfdf9a0854e8e1b2ff8126b7951fe9de93d054dcdd6ccd1823d55"
}
Using seed: 38756
Prompt: The camera captures the man in a close-up shot, focusing primarily on his upper body and face, revealing intricate details of his sharp, dark pinstripe suit and subtly patterned tie. His crisp white shirt peeks perfectly under the lapels, and a neatly folded pocket square adds a touch of refinement. The close framing emphasizes his composed expression, well-groomed hair, and confident gaze. The fine textures of the suit fabric are visible, illuminated by soft natural light from nearby windows. In the blurred background, hints of greenery and modern architecture subtly set the scene.
[!] Resizing input image from 1534x2048 to 1536x2048
[!] img2img mode
[!] Using dev model for img2img
Using dev model
Loaded LoRAs in 0.70s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:19, 1.11it/s]
9%|▊ | 2/23 [00:02<00:21, 1.02s/it]
13%|█▎ | 3/23 [00:03<00:21, 1.06s/it]
17%|█▋ | 4/23 [00:04<00:20, 1.08s/it]
22%|██▏ | 5/23 [00:05<00:19, 1.08s/it]
26%|██▌ | 6/23 [00:06<00:18, 1.09s/it]
30%|███ | 7/23 [00:07<00:17, 1.10s/it]
35%|███▍ | 8/23 [00:08<00:16, 1.10s/it]
39%|███▉ | 9/23 [00:09<00:15, 1.10s/it]
43%|████▎ | 10/23 [00:10<00:14, 1.11s/it]
48%|████▊ | 11/23 [00:11<00:13, 1.11s/it]
52%|█████▏ | 12/23 [00:13<00:12, 1.11s/it]
57%|█████▋ | 13/23 [00:14<00:11, 1.11s/it]
61%|██████ | 14/23 [00:15<00:09, 1.11s/it]
65%|██████▌ | 15/23 [00:16<00:08, 1.11s/it]
70%|██████▉ | 16/23 [00:17<00:07, 1.11s/it]
74%|███████▍ | 17/23 [00:18<00:06, 1.11s/it]
78%|███████▊ | 18/23 [00:19<00:05, 1.11s/it]
83%|████████▎ | 19/23 [00:20<00:04, 1.11s/it]
87%|████████▋ | 20/23 [00:21<00:03, 1.11s/it]
91%|█████████▏| 21/23 [00:23<00:02, 1.11s/it]
96%|█████████▌| 22/23 [00:24<00:01, 1.11s/it]
100%|██████████| 23/23 [00:25<00:00, 1.11s/it]
100%|██████████| 23/23 [00:25<00:00, 1.10s/it]
This model costs approximately $0.023 to run on Replicate, or 43 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 16 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
Using seed: 38756
Prompt: The camera captures the man in a close-up shot, focusing primarily on his upper body and face, revealing intricate details of his sharp, dark pinstripe suit and subtly patterned tie. His crisp white shirt peeks perfectly under the lapels, and a neatly folded pocket square adds a touch of refinement. The close framing emphasizes his composed expression, well-groomed hair, and confident gaze. The fine textures of the suit fabric are visible, illuminated by soft natural light from nearby windows. In the blurred background, hints of greenery and modern architecture subtly set the scene.
[!] Resizing input image from 1534x2048 to 1536x2048
[!] img2img mode
[!] Using dev model for img2img
Using dev model
Loaded LoRAs in 0.70s
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:00<00:19, 1.11it/s]
9%|▊ | 2/23 [00:02<00:21, 1.02s/it]
13%|█▎ | 3/23 [00:03<00:21, 1.06s/it]
17%|█▋ | 4/23 [00:04<00:20, 1.08s/it]
22%|██▏ | 5/23 [00:05<00:19, 1.08s/it]
26%|██▌ | 6/23 [00:06<00:18, 1.09s/it]
30%|███ | 7/23 [00:07<00:17, 1.10s/it]
35%|███▍ | 8/23 [00:08<00:16, 1.10s/it]
39%|███▉ | 9/23 [00:09<00:15, 1.10s/it]
43%|████▎ | 10/23 [00:10<00:14, 1.11s/it]
48%|████▊ | 11/23 [00:11<00:13, 1.11s/it]
52%|█████▏ | 12/23 [00:13<00:12, 1.11s/it]
57%|█████▋ | 13/23 [00:14<00:11, 1.11s/it]
61%|██████ | 14/23 [00:15<00:09, 1.11s/it]
65%|██████▌ | 15/23 [00:16<00:08, 1.11s/it]
70%|██████▉ | 16/23 [00:17<00:07, 1.11s/it]
74%|███████▍ | 17/23 [00:18<00:06, 1.11s/it]
78%|███████▊ | 18/23 [00:19<00:05, 1.11s/it]
83%|████████▎ | 19/23 [00:20<00:04, 1.11s/it]
87%|████████▋ | 20/23 [00:21<00:03, 1.11s/it]
91%|█████████▏| 21/23 [00:23<00:02, 1.11s/it]
96%|█████████▌| 22/23 [00:24<00:01, 1.11s/it]
100%|██████████| 23/23 [00:25<00:00, 1.11s/it]
100%|██████████| 23/23 [00:25<00:00, 1.10s/it]