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 idvorkin/idvorkin-flux-lora-1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"idvorkin/idvorkin-flux-lora-1:3b28f3ad4762e11f61a4f15e3574342fadd116c5bf573b1c7800e7cc6df6e2e9",
{
input: {
model: "dev",
prompt: "A realistic photo of a 40-year-old bald man named Idvorkin, who is wearing pink glasses, sitting in the front of a rowboat sculling on a calm lake. Behind him is a 30-year-old woman from the MNLSA , with her hair down and not wearing glasses. The scene captures them rowing together, with Idvorkin in the foreground and the woman in the background. The serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"",
go_fast: false,
extra_lora: "huggingface.co/fofr/flux-mona-lisa",
lora_scale: 1,
megapixels: "1",
num_outputs: 4,
aspect_ratio: "16:9",
output_format: "webp",
guidance_scale: 3.5,
output_quality: 80,
prompt_strength: 0.8,
extra_lora_scale: 0.5,
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 idvorkin/idvorkin-flux-lora-1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"idvorkin/idvorkin-flux-lora-1:3b28f3ad4762e11f61a4f15e3574342fadd116c5bf573b1c7800e7cc6df6e2e9",
input={
"model": "dev",
"prompt": "A realistic photo of a 40-year-old bald man named Idvorkin, who is wearing pink glasses, sitting in the front of a rowboat sculling on a calm lake. Behind him is a 30-year-old woman from the MNLSA , with her hair down and not wearing glasses. The scene captures them rowing together, with Idvorkin in the foreground and the woman in the background. The serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"",
"go_fast": False,
"extra_lora": "huggingface.co/fofr/flux-mona-lisa",
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "16:9",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 0.5,
"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 idvorkin/idvorkin-flux-lora-1 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": "3b28f3ad4762e11f61a4f15e3574342fadd116c5bf573b1c7800e7cc6df6e2e9",
"input": {
"model": "dev",
"prompt": "A realistic photo of a 40-year-old bald man named Idvorkin, who is wearing pink glasses, sitting in the front of a rowboat sculling on a calm lake. Behind him is a 30-year-old woman from the MNLSA , with her hair down and not wearing glasses. The scene captures them rowing together, with Idvorkin in the foreground and the woman in the background. The serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\\"",
"go_fast": false,
"extra_lora": "huggingface.co/fofr/flux-mona-lisa",
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "16:9",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 0.5,
"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-08-29T15:17:23.618635Z",
"created_at": "2024-08-29T15:16:31.108000Z",
"data_removed": false,
"error": null,
"id": "2a6w5f590hrm00chkttr3bsypm",
"input": {
"model": "dev",
"prompt": "A realistic photo of a 40-year-old bald man named Idvorkin, who is wearing pink glasses, sitting in the front of a rowboat sculling on a calm lake. Behind him is a 30-year-old woman from the MNLSA , with her hair down and not wearing glasses. The scene captures them rowing together, with Idvorkin in the foreground and the woman in the background. The serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"",
"extra_lora": "huggingface.co/fofr/flux-mona-lisa",
"lora_scale": 1,
"num_outputs": 4,
"aspect_ratio": "16:9",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"extra_lora_scale": 0.5,
"num_inference_steps": 28
},
"logs": "Using seed: 2524\nPrompt: A realistic photo of a 40-year-old bald man named Idvorkin, who is wearing pink glasses, sitting in the front of a rowboat sculling on a calm lake. Behind him is a 30-year-old woman from the MNLSA , with her hair down and not wearing glasses. The scene captures them rowing together, with Idvorkin in the foreground and the woman in the background. The serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"\ntxt2img mode\nUsing dev model\nLoading extra LoRA weights from: huggingface.co/fofr/flux-mona-lisa\nLoaded LoRAs in 19.66s\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere.\"']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:30, 1.12s/it]\n 7%|▋ | 2/28 [00:02<00:26, 1.02s/it]\n 11%|█ | 3/28 [00:03<00:26, 1.07s/it]\n 14%|█▍ | 4/28 [00:04<00:26, 1.09s/it]\n 18%|█▊ | 5/28 [00:05<00:25, 1.10s/it]\n 21%|██▏ | 6/28 [00:06<00:24, 1.11s/it]\n 25%|██▌ | 7/28 [00:07<00:23, 1.11s/it]\n 29%|██▊ | 8/28 [00:08<00:22, 1.11s/it]\n 32%|███▏ | 9/28 [00:09<00:21, 1.12s/it]\n 36%|███▌ | 10/28 [00:11<00:20, 1.12s/it]\n 39%|███▉ | 11/28 [00:12<00:19, 1.12s/it]\n 43%|████▎ | 12/28 [00:13<00:17, 1.12s/it]\n 46%|████▋ | 13/28 [00:14<00:16, 1.12s/it]\n 50%|█████ | 14/28 [00:15<00:15, 1.12s/it]\n 54%|█████▎ | 15/28 [00:16<00:14, 1.12s/it]\n 57%|█████▋ | 16/28 [00:17<00:13, 1.12s/it]\n 61%|██████ | 17/28 [00:18<00:12, 1.12s/it]\n 64%|██████▍ | 18/28 [00:20<00:11, 1.12s/it]\n 68%|██████▊ | 19/28 [00:21<00:10, 1.12s/it]\n 71%|███████▏ | 20/28 [00:22<00:08, 1.12s/it]\n 75%|███████▌ | 21/28 [00:23<00:07, 1.12s/it]\n 79%|███████▊ | 22/28 [00:24<00:06, 1.12s/it]\n 82%|████████▏ | 23/28 [00:25<00:05, 1.12s/it]\n 86%|████████▌ | 24/28 [00:26<00:04, 1.12s/it]\n 89%|████████▉ | 25/28 [00:27<00:03, 1.12s/it]\n 93%|█████████▎| 26/28 [00:28<00:02, 1.12s/it]\n 96%|█████████▋| 27/28 [00:30<00:01, 1.12s/it]\n100%|██████████| 28/28 [00:31<00:00, 1.12s/it]\n100%|██████████| 28/28 [00:31<00:00, 1.12s/it]",
"metrics": {
"predict_time": 52.502622834,
"total_time": 52.510635
},
"output": [
"https://replicate.delivery/yhqm/ef2vM34pDInKDEDkqeFkmKT62drSaPwVJbK9wV8wTioHYIvmA/out-0.webp",
"https://replicate.delivery/yhqm/lAeHibzN1S3CEKOEUqeZXd7tLCpXFGsHEGQVdhatmsZDMkXTA/out-1.webp",
"https://replicate.delivery/yhqm/SEDRX3GljL6hP5t7wRfHDDbDWeIPNw0Y6Y4tOE9LuS3DMkXTA/out-2.webp",
"https://replicate.delivery/yhqm/A6tXjH6Uhx56P1BL8xxveb9ScoGxkaGlCEoW8QsECdmBGyrJA/out-3.webp"
],
"started_at": "2024-08-29T15:16:31.116012Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/2a6w5f590hrm00chkttr3bsypm",
"cancel": "https://api.replicate.com/v1/predictions/2a6w5f590hrm00chkttr3bsypm/cancel"
},
"version": "3b28f3ad4762e11f61a4f15e3574342fadd116c5bf573b1c7800e7cc6df6e2e9"
}
Using seed: 2524
Prompt: A realistic photo of a 40-year-old bald man named Idvorkin, who is wearing pink glasses, sitting in the front of a rowboat sculling on a calm lake. Behind him is a 30-year-old woman from the MNLSA , with her hair down and not wearing glasses. The scene captures them rowing together, with Idvorkin in the foreground and the woman in the background. The serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."
txt2img mode
Using dev model
Loading extra LoRA weights from: huggingface.co/fofr/flux-mona-lisa
Loaded LoRAs in 19.66s
The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."']
0%| | 0/28 [00:00<?, ?it/s]
4%|▎ | 1/28 [00:01<00:30, 1.12s/it]
7%|▋ | 2/28 [00:02<00:26, 1.02s/it]
11%|█ | 3/28 [00:03<00:26, 1.07s/it]
14%|█▍ | 4/28 [00:04<00:26, 1.09s/it]
18%|█▊ | 5/28 [00:05<00:25, 1.10s/it]
21%|██▏ | 6/28 [00:06<00:24, 1.11s/it]
25%|██▌ | 7/28 [00:07<00:23, 1.11s/it]
29%|██▊ | 8/28 [00:08<00:22, 1.11s/it]
32%|███▏ | 9/28 [00:09<00:21, 1.12s/it]
36%|███▌ | 10/28 [00:11<00:20, 1.12s/it]
39%|███▉ | 11/28 [00:12<00:19, 1.12s/it]
43%|████▎ | 12/28 [00:13<00:17, 1.12s/it]
46%|████▋ | 13/28 [00:14<00:16, 1.12s/it]
50%|█████ | 14/28 [00:15<00:15, 1.12s/it]
54%|█████▎ | 15/28 [00:16<00:14, 1.12s/it]
57%|█████▋ | 16/28 [00:17<00:13, 1.12s/it]
61%|██████ | 17/28 [00:18<00:12, 1.12s/it]
64%|██████▍ | 18/28 [00:20<00:11, 1.12s/it]
68%|██████▊ | 19/28 [00:21<00:10, 1.12s/it]
71%|███████▏ | 20/28 [00:22<00:08, 1.12s/it]
75%|███████▌ | 21/28 [00:23<00:07, 1.12s/it]
79%|███████▊ | 22/28 [00:24<00:06, 1.12s/it]
82%|████████▏ | 23/28 [00:25<00:05, 1.12s/it]
86%|████████▌ | 24/28 [00:26<00:04, 1.12s/it]
89%|████████▉ | 25/28 [00:27<00:03, 1.12s/it]
93%|█████████▎| 26/28 [00:28<00:02, 1.12s/it]
96%|█████████▋| 27/28 [00:30<00:01, 1.12s/it]
100%|██████████| 28/28 [00:31<00:00, 1.12s/it]
100%|██████████| 28/28 [00:31<00:00, 1.12s/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: 2524
Prompt: A realistic photo of a 40-year-old bald man named Idvorkin, who is wearing pink glasses, sitting in the front of a rowboat sculling on a calm lake. Behind him is a 30-year-old woman from the MNLSA , with her hair down and not wearing glasses. The scene captures them rowing together, with Idvorkin in the foreground and the woman in the background. The serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."
txt2img mode
Using dev model
Loading extra LoRA weights from: huggingface.co/fofr/flux-mona-lisa
Loaded LoRAs in 19.66s
The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."', 'kin in the foreground and the woman in the background. the serene water reflects the boat and their surroundings, and the image is shot from within the boat, giving the perspective of being part of the scene, with soft natural light enhancing the tranquil atmosphere."']
0%| | 0/28 [00:00<?, ?it/s]
4%|▎ | 1/28 [00:01<00:30, 1.12s/it]
7%|▋ | 2/28 [00:02<00:26, 1.02s/it]
11%|█ | 3/28 [00:03<00:26, 1.07s/it]
14%|█▍ | 4/28 [00:04<00:26, 1.09s/it]
18%|█▊ | 5/28 [00:05<00:25, 1.10s/it]
21%|██▏ | 6/28 [00:06<00:24, 1.11s/it]
25%|██▌ | 7/28 [00:07<00:23, 1.11s/it]
29%|██▊ | 8/28 [00:08<00:22, 1.11s/it]
32%|███▏ | 9/28 [00:09<00:21, 1.12s/it]
36%|███▌ | 10/28 [00:11<00:20, 1.12s/it]
39%|███▉ | 11/28 [00:12<00:19, 1.12s/it]
43%|████▎ | 12/28 [00:13<00:17, 1.12s/it]
46%|████▋ | 13/28 [00:14<00:16, 1.12s/it]
50%|█████ | 14/28 [00:15<00:15, 1.12s/it]
54%|█████▎ | 15/28 [00:16<00:14, 1.12s/it]
57%|█████▋ | 16/28 [00:17<00:13, 1.12s/it]
61%|██████ | 17/28 [00:18<00:12, 1.12s/it]
64%|██████▍ | 18/28 [00:20<00:11, 1.12s/it]
68%|██████▊ | 19/28 [00:21<00:10, 1.12s/it]
71%|███████▏ | 20/28 [00:22<00:08, 1.12s/it]
75%|███████▌ | 21/28 [00:23<00:07, 1.12s/it]
79%|███████▊ | 22/28 [00:24<00:06, 1.12s/it]
82%|████████▏ | 23/28 [00:25<00:05, 1.12s/it]
86%|████████▌ | 24/28 [00:26<00:04, 1.12s/it]
89%|████████▉ | 25/28 [00:27<00:03, 1.12s/it]
93%|█████████▎| 26/28 [00:28<00:02, 1.12s/it]
96%|█████████▋| 27/28 [00:30<00:01, 1.12s/it]
100%|██████████| 28/28 [00:31<00:00, 1.12s/it]
100%|██████████| 28/28 [00:31<00:00, 1.12s/it]