Readme
This model doesn't have a readme.
Use DANIELBULL23 to trigger
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 dannyboy2323/lora-flux-danielbull23 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"dannyboy2323/lora-flux-danielbull23:6d4cd4dda84f848355808348c6c5c559b29ff9b336086a68deb062731076666e",
{
input: {
image: "https://replicate.delivery/pbxt/N4AF6FMVfB47O2cTmukjpSJIuVTgqwdUUGazEgP9LGzgiRsz/replicate-prediction-hanjvkp47drma0cpaq6av9kkbg%20%281%29.webp",
model: "dev",
prompt: "DANIELTHEBULL (10 year old boy, messy brown hair, tall and lean build) with his Dad posing in Cavalry uniforms ",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 4,
aspect_ratio: "4:3",
output_format: "jpg",
guidance_scale: 3,
output_quality: 80,
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 dannyboy2323/lora-flux-danielbull23 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"dannyboy2323/lora-flux-danielbull23:6d4cd4dda84f848355808348c6c5c559b29ff9b336086a68deb062731076666e",
input={
"image": "https://replicate.delivery/pbxt/N4AF6FMVfB47O2cTmukjpSJIuVTgqwdUUGazEgP9LGzgiRsz/replicate-prediction-hanjvkp47drma0cpaq6av9kkbg%20%281%29.webp",
"model": "dev",
"prompt": "DANIELTHEBULL (10 year old boy, messy brown hair, tall and lean build) with his Dad posing in Cavalry uniforms ",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "4:3",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"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 dannyboy2323/lora-flux-danielbull23 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": "dannyboy2323/lora-flux-danielbull23:6d4cd4dda84f848355808348c6c5c559b29ff9b336086a68deb062731076666e",
"input": {
"image": "https://replicate.delivery/pbxt/N4AF6FMVfB47O2cTmukjpSJIuVTgqwdUUGazEgP9LGzgiRsz/replicate-prediction-hanjvkp47drma0cpaq6av9kkbg%20%281%29.webp",
"model": "dev",
"prompt": "DANIELTHEBULL (10 year old boy, messy brown hair, tall and lean build) with his Dad posing in Cavalry uniforms ",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "4:3",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"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": "2025-05-24T20:02:20.082538Z",
"created_at": "2025-05-24T20:01:21.539000Z",
"data_removed": false,
"error": null,
"id": "c8yg6yp0gdrm80cq0fhb5j3ddg",
"input": {
"image": "https://replicate.delivery/pbxt/N4AF6FMVfB47O2cTmukjpSJIuVTgqwdUUGazEgP9LGzgiRsz/replicate-prediction-hanjvkp47drma0cpaq6av9kkbg%20%281%29.webp",
"model": "dev",
"prompt": "DANIELTHEBULL (10 year old boy, messy brown hair, tall and lean build) with his Dad posing in Cavalry uniforms ",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 4,
"aspect_ratio": "4:3",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
},
"logs": "free=27796658200576\nDownloading weights\n2025-05-24T20:01:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmppnhmqg9k/weights url=https://replicate.delivery/xezq/1UdGvMs7o9psOtXZQBfuGKMBYdQf77cVipeV3K3TWljGNlfSB/flux-lora.tar\n2025-05-24T20:01:39Z | INFO | [ Cache Service ] enabled=true scheme=http target=hermes.services.svc.cluster.local\n2025-05-24T20:01:40Z | INFO | [ Complete ] dest=/tmp/tmppnhmqg9k/weights size=\"172 MB\" total_elapsed=1.244s url=https://replicate.delivery/xezq/1UdGvMs7o9psOtXZQBfuGKMBYdQf77cVipeV3K3TWljGNlfSB/flux-lora.tar\nDownloaded weights in 1.26s\nLoaded LoRAs in 1.77s\nUsing seed: 42964\nPrompt: DANIELTHEBULL (10 year old boy, messy brown hair, tall and lean build) with his Dad posing in Cavalry uniforms\nInput image size: 4096x3072\n[!] Resizing input image from 4096x3072 to 1440x1088\n[!] img2img mode\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:01<00:26, 1.19s/it]\n 9%|▊ | 2/23 [00:02<00:28, 1.37s/it]\n 13%|█▎ | 3/23 [00:04<00:28, 1.43s/it]\n 17%|█▋ | 4/23 [00:05<00:27, 1.45s/it]\n 22%|██▏ | 5/23 [00:07<00:26, 1.47s/it]\n 26%|██▌ | 6/23 [00:08<00:25, 1.48s/it]\n 30%|███ | 7/23 [00:10<00:23, 1.48s/it]\n 35%|███▍ | 8/23 [00:11<00:22, 1.49s/it]\n 39%|███▉ | 9/23 [00:13<00:20, 1.49s/it]\n 43%|████▎ | 10/23 [00:14<00:19, 1.49s/it]\n 48%|████▊ | 11/23 [00:16<00:17, 1.49s/it]\n 52%|█████▏ | 12/23 [00:17<00:16, 1.49s/it]\n 57%|█████▋ | 13/23 [00:19<00:14, 1.50s/it]\n 61%|██████ | 14/23 [00:20<00:13, 1.50s/it]\n 65%|██████▌ | 15/23 [00:22<00:11, 1.50s/it]\n 70%|██████▉ | 16/23 [00:23<00:10, 1.49s/it]\n 74%|███████▍ | 17/23 [00:25<00:08, 1.50s/it]\n 78%|███████▊ | 18/23 [00:26<00:07, 1.50s/it]\n 83%|████████▎ | 19/23 [00:28<00:05, 1.50s/it]\n 87%|████████▋ | 20/23 [00:29<00:04, 1.50s/it]\n 91%|█████████▏| 21/23 [00:31<00:02, 1.50s/it]\n 96%|█████████▌| 22/23 [00:32<00:01, 1.50s/it]\n100%|██████████| 23/23 [00:34<00:00, 1.50s/it]\n100%|██████████| 23/23 [00:34<00:00, 1.48s/it]\nTotal safe images: 4 out of 4",
"metrics": {
"predict_time": 41.250399722,
"total_time": 58.543538
},
"output": [
"https://replicate.delivery/xezq/5xoj40gLBey2B6TrBmGhJcaVLIOGqsRA56NUnR74EXcmvevUA/out-0.jpg",
"https://replicate.delivery/xezq/pnhJMw66O6rhNRe0mWdKenHQFcjbreXCtdRzsityRfVw81flC/out-1.jpg",
"https://replicate.delivery/xezq/5eHB47idDCV3MSHSXSnfizEmqSJ8Dz321Cnbn4U6QOKMf6fSB/out-2.jpg",
"https://replicate.delivery/xezq/qCqUTha0Dv55FBYLHQ6fL2WgfgPXMLLNh01EZkhmIxfZe1flC/out-3.jpg"
],
"started_at": "2025-05-24T20:01:38.832138Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-yhvxuvyspyql526k7xteshqfufpjelk2z4xoukkf7aurgajn6ara",
"get": "https://api.replicate.com/v1/predictions/c8yg6yp0gdrm80cq0fhb5j3ddg",
"cancel": "https://api.replicate.com/v1/predictions/c8yg6yp0gdrm80cq0fhb5j3ddg/cancel"
},
"version": "df6be3f46f2e64c01367d18402110c4d3bcc103cc6bf51bd929ad0a362a99e0c"
}
free=27796658200576
Downloading weights
2025-05-24T20:01:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmppnhmqg9k/weights url=https://replicate.delivery/xezq/1UdGvMs7o9psOtXZQBfuGKMBYdQf77cVipeV3K3TWljGNlfSB/flux-lora.tar
2025-05-24T20:01:39Z | INFO | [ Cache Service ] enabled=true scheme=http target=hermes.services.svc.cluster.local
2025-05-24T20:01:40Z | INFO | [ Complete ] dest=/tmp/tmppnhmqg9k/weights size="172 MB" total_elapsed=1.244s url=https://replicate.delivery/xezq/1UdGvMs7o9psOtXZQBfuGKMBYdQf77cVipeV3K3TWljGNlfSB/flux-lora.tar
Downloaded weights in 1.26s
Loaded LoRAs in 1.77s
Using seed: 42964
Prompt: DANIELTHEBULL (10 year old boy, messy brown hair, tall and lean build) with his Dad posing in Cavalry uniforms
Input image size: 4096x3072
[!] Resizing input image from 4096x3072 to 1440x1088
[!] img2img mode
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:01<00:26, 1.19s/it]
9%|▊ | 2/23 [00:02<00:28, 1.37s/it]
13%|█▎ | 3/23 [00:04<00:28, 1.43s/it]
17%|█▋ | 4/23 [00:05<00:27, 1.45s/it]
22%|██▏ | 5/23 [00:07<00:26, 1.47s/it]
26%|██▌ | 6/23 [00:08<00:25, 1.48s/it]
30%|███ | 7/23 [00:10<00:23, 1.48s/it]
35%|███▍ | 8/23 [00:11<00:22, 1.49s/it]
39%|███▉ | 9/23 [00:13<00:20, 1.49s/it]
43%|████▎ | 10/23 [00:14<00:19, 1.49s/it]
48%|████▊ | 11/23 [00:16<00:17, 1.49s/it]
52%|█████▏ | 12/23 [00:17<00:16, 1.49s/it]
57%|█████▋ | 13/23 [00:19<00:14, 1.50s/it]
61%|██████ | 14/23 [00:20<00:13, 1.50s/it]
65%|██████▌ | 15/23 [00:22<00:11, 1.50s/it]
70%|██████▉ | 16/23 [00:23<00:10, 1.49s/it]
74%|███████▍ | 17/23 [00:25<00:08, 1.50s/it]
78%|███████▊ | 18/23 [00:26<00:07, 1.50s/it]
83%|████████▎ | 19/23 [00:28<00:05, 1.50s/it]
87%|████████▋ | 20/23 [00:29<00:04, 1.50s/it]
91%|█████████▏| 21/23 [00:31<00:02, 1.50s/it]
96%|█████████▌| 22/23 [00:32<00:01, 1.50s/it]
100%|██████████| 23/23 [00:34<00:00, 1.50s/it]
100%|██████████| 23/23 [00:34<00:00, 1.48s/it]
Total safe images: 4 out of 4
This output was created using a different version of the model, dannyboy2323/lora-flux-danielbull23:df6be3f4.
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
free=27796658200576
Downloading weights
2025-05-24T20:01:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmppnhmqg9k/weights url=https://replicate.delivery/xezq/1UdGvMs7o9psOtXZQBfuGKMBYdQf77cVipeV3K3TWljGNlfSB/flux-lora.tar
2025-05-24T20:01:39Z | INFO | [ Cache Service ] enabled=true scheme=http target=hermes.services.svc.cluster.local
2025-05-24T20:01:40Z | INFO | [ Complete ] dest=/tmp/tmppnhmqg9k/weights size="172 MB" total_elapsed=1.244s url=https://replicate.delivery/xezq/1UdGvMs7o9psOtXZQBfuGKMBYdQf77cVipeV3K3TWljGNlfSB/flux-lora.tar
Downloaded weights in 1.26s
Loaded LoRAs in 1.77s
Using seed: 42964
Prompt: DANIELTHEBULL (10 year old boy, messy brown hair, tall and lean build) with his Dad posing in Cavalry uniforms
Input image size: 4096x3072
[!] Resizing input image from 4096x3072 to 1440x1088
[!] img2img mode
0%| | 0/23 [00:00<?, ?it/s]
4%|▍ | 1/23 [00:01<00:26, 1.19s/it]
9%|▊ | 2/23 [00:02<00:28, 1.37s/it]
13%|█▎ | 3/23 [00:04<00:28, 1.43s/it]
17%|█▋ | 4/23 [00:05<00:27, 1.45s/it]
22%|██▏ | 5/23 [00:07<00:26, 1.47s/it]
26%|██▌ | 6/23 [00:08<00:25, 1.48s/it]
30%|███ | 7/23 [00:10<00:23, 1.48s/it]
35%|███▍ | 8/23 [00:11<00:22, 1.49s/it]
39%|███▉ | 9/23 [00:13<00:20, 1.49s/it]
43%|████▎ | 10/23 [00:14<00:19, 1.49s/it]
48%|████▊ | 11/23 [00:16<00:17, 1.49s/it]
52%|█████▏ | 12/23 [00:17<00:16, 1.49s/it]
57%|█████▋ | 13/23 [00:19<00:14, 1.50s/it]
61%|██████ | 14/23 [00:20<00:13, 1.50s/it]
65%|██████▌ | 15/23 [00:22<00:11, 1.50s/it]
70%|██████▉ | 16/23 [00:23<00:10, 1.49s/it]
74%|███████▍ | 17/23 [00:25<00:08, 1.50s/it]
78%|███████▊ | 18/23 [00:26<00:07, 1.50s/it]
83%|████████▎ | 19/23 [00:28<00:05, 1.50s/it]
87%|████████▋ | 20/23 [00:29<00:04, 1.50s/it]
91%|█████████▏| 21/23 [00:31<00:02, 1.50s/it]
96%|█████████▌| 22/23 [00:32<00:01, 1.50s/it]
100%|██████████| 23/23 [00:34<00:00, 1.50s/it]
100%|██████████| 23/23 [00:34<00:00, 1.48s/it]
Total safe images: 4 out of 4