lucataco
/
flux-schnell-lora
FLUX.1-Schnell LoRA Explorer
Prediction
lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574IDknc6znwmgnrj20chs7nvkytm10StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @lucatacoInput
- prompt
- portrait photo of TOK with purple hair
- hf_lora
- https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar
- lora_scale
- 0.8
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- output_quality
- 80
- prompt_strength
- 0.7
- num_inference_steps
- 4
{ "image": "https://replicate.delivery/pbxt/LZwbGwE2kG8XVL5vUUlAZMnlexg9zCsNfn3yAgUUZ8rHk3K4/image.png", "prompt": "portrait photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.7, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", { input: { image: "https://replicate.delivery/pbxt/LZwbGwE2kG8XVL5vUUlAZMnlexg9zCsNfn3yAgUUZ8rHk3K4/image.png", prompt: "portrait photo of TOK with purple hair", hf_lora: "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", lora_scale: 0.8, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", output_quality: 80, prompt_strength: 0.7, num_inference_steps: 4 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", input={ "image": "https://replicate.delivery/pbxt/LZwbGwE2kG8XVL5vUUlAZMnlexg9zCsNfn3yAgUUZ8rHk3K4/image.png", "prompt": "portrait photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.7, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-schnell-lora 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": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", "input": { "image": "https://replicate.delivery/pbxt/LZwbGwE2kG8XVL5vUUlAZMnlexg9zCsNfn3yAgUUZ8rHk3K4/image.png", "prompt": "portrait photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.7, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-07T00:39:07.626746Z", "created_at": "2024-09-07T00:39:05.093000Z", "data_removed": false, "error": null, "id": "knc6znwmgnrj20chs7nvkytm10", "input": { "image": "https://replicate.delivery/pbxt/LZwbGwE2kG8XVL5vUUlAZMnlexg9zCsNfn3yAgUUZ8rHk3K4/image.png", "prompt": "portrait photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.7, "num_inference_steps": 4 }, "logs": "Using seed: 1409\nPrompt: portrait photo of TOK with purple hair\nimg2img mode\nInput image size: 680x680\nInput image size set to: 688x688\nLoading LoRA took: 0.00 seconds\n 0%| | 0/3 [00:00<?, ?it/s]\n 33%|███▎ | 1/3 [00:00<00:00, 2.37it/s]\n 67%|██████▋ | 2/3 [00:00<00:00, 2.09it/s]\n100%|██████████| 3/3 [00:01<00:00, 2.01it/s]\n100%|██████████| 3/3 [00:01<00:00, 2.05it/s]", "metrics": { "predict_time": 2.522924203, "total_time": 2.533746 }, "output": [ "https://replicate.delivery/yhqm/oGJ3gOxSxfVvWq1K6gLNho2hlLpOlJSeVlemxCHG85vXVq0mA/out-0.webp" ], "started_at": "2024-09-07T00:39:05.103822Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/knc6znwmgnrj20chs7nvkytm10", "cancel": "https://api.replicate.com/v1/predictions/knc6znwmgnrj20chs7nvkytm10/cancel" }, "version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574" }
Generated inUsing seed: 1409 Prompt: portrait photo of TOK with purple hair img2img mode Input image size: 680x680 Input image size set to: 688x688 Loading LoRA took: 0.00 seconds 0%| | 0/3 [00:00<?, ?it/s] 33%|███▎ | 1/3 [00:00<00:00, 2.37it/s] 67%|██████▋ | 2/3 [00:00<00:00, 2.09it/s] 100%|██████████| 3/3 [00:01<00:00, 2.01it/s] 100%|██████████| 3/3 [00:01<00:00, 2.05it/s]
Prediction
lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574IDz3dryvt569rj00chs7pbxxtqf8StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- pnt style Illustration of a latina woman
- hf_lora
- https://civitai.com/api/download/models/735262?type=Model&format=SafeTensor
- lora_scale
- 0.8
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- output_quality
- 80
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "prompt": "pnt style Illustration of a latina woman", "hf_lora": "https://civitai.com/api/download/models/735262?type=Model&format=SafeTensor", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", { input: { prompt: "pnt style Illustration of a latina woman", hf_lora: "https://civitai.com/api/download/models/735262?type=Model&format=SafeTensor", lora_scale: 0.8, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", output_quality: 80, prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", input={ "prompt": "pnt style Illustration of a latina woman", "hf_lora": "https://civitai.com/api/download/models/735262?type=Model&format=SafeTensor", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-schnell-lora 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": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", "input": { "prompt": "pnt style Illustration of a latina woman", "hf_lora": "https://civitai.com/api/download/models/735262?type=Model&format=SafeTensor", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-07T00:39:53.022091Z", "created_at": "2024-09-07T00:39:50.322000Z", "data_removed": false, "error": null, "id": "z3dryvt569rj00chs7pbxxtqf8", "input": { "prompt": "pnt style Illustration of a latina woman", "hf_lora": "https://civitai.com/api/download/models/735262?type=Model&format=SafeTensor", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 17827\nPrompt: pnt style Illustration of a latina woman\ntxt2img mode\nLoading LoRA took: 0.00 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:01, 1.88it/s]\n 50%|█████ | 2/4 [00:00<00:00, 2.14it/s]\n 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s]\n100%|██████████| 4/4 [00:01<00:00, 1.99it/s]\n100%|██████████| 4/4 [00:01<00:00, 2.01it/s]", "metrics": { "predict_time": 2.6913324579999998, "total_time": 2.700091 }, "output": [ "https://replicate.delivery/yhqm/MujrYzMMzRJIHh6cbi3mAfCbkgnTzqhZWmFZX2KegAFYLVaTA/out-0.webp" ], "started_at": "2024-09-07T00:39:50.330759Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/z3dryvt569rj00chs7pbxxtqf8", "cancel": "https://api.replicate.com/v1/predictions/z3dryvt569rj00chs7pbxxtqf8/cancel" }, "version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574" }
Generated inUsing seed: 17827 Prompt: pnt style Illustration of a latina woman txt2img mode Loading LoRA took: 0.00 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:01, 1.88it/s] 50%|█████ | 2/4 [00:00<00:00, 2.14it/s] 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s] 100%|██████████| 4/4 [00:01<00:00, 1.99it/s] 100%|██████████| 4/4 [00:01<00:00, 2.01it/s]
Prediction
lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574IDx9jxf1dv7nrj20chs7jvaprbngStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @lucatacoInput
- prompt
- a beautiful castle frstingln illustration
- hf_lora
- alvdansen/frosting_lane_flux
- lora_scale
- 0.8
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- output_quality
- 80
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "prompt": "a beautiful castle frstingln illustration", "hf_lora": "alvdansen/frosting_lane_flux", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", { input: { prompt: "a beautiful castle frstingln illustration", hf_lora: "alvdansen/frosting_lane_flux", lora_scale: 0.8, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", output_quality: 80, prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", input={ "prompt": "a beautiful castle frstingln illustration", "hf_lora": "alvdansen/frosting_lane_flux", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-schnell-lora 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": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", "input": { "prompt": "a beautiful castle frstingln illustration", "hf_lora": "alvdansen/frosting_lane_flux", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-07T00:32:44.536453Z", "created_at": "2024-09-07T00:32:41.789000Z", "data_removed": false, "error": null, "id": "x9jxf1dv7nrj20chs7jvaprbng", "input": { "prompt": "a beautiful castle frstingln illustration", "hf_lora": "alvdansen/frosting_lane_flux", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 48118\nPrompt: a beautiful castle frstingln illustration\ntxt2img mode\nLoading LoRA took: 0.00 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:01, 1.89it/s]\n 50%|█████ | 2/4 [00:00<00:00, 2.15it/s]\n 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s]\n100%|██████████| 4/4 [00:01<00:00, 1.99it/s]\n100%|██████████| 4/4 [00:01<00:00, 2.01it/s]", "metrics": { "predict_time": 2.738578974, "total_time": 2.747453 }, "output": [ "https://replicate.delivery/yhqm/l7Lim6GDESZxDdneWfdJAqMfZoz6wBYhkbqnV7yyOafxSUpNB/out-0.webp" ], "started_at": "2024-09-07T00:32:41.797874Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/x9jxf1dv7nrj20chs7jvaprbng", "cancel": "https://api.replicate.com/v1/predictions/x9jxf1dv7nrj20chs7jvaprbng/cancel" }, "version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574" }
Generated inUsing seed: 48118 Prompt: a beautiful castle frstingln illustration txt2img mode Loading LoRA took: 0.00 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:01, 1.89it/s] 50%|█████ | 2/4 [00:00<00:00, 2.15it/s] 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s] 100%|██████████| 4/4 [00:01<00:00, 1.99it/s] 100%|██████████| 4/4 [00:01<00:00, 2.01it/s]
Prediction
lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574IDs7s62cg37hrj00chs7ktna875cStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- a boat in the style of TOK
- hf_lora
- lucataco/ReplicateFluxLoRA
- lora_scale
- 0.8
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- output_quality
- 80
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "prompt": "a boat in the style of TOK", "hf_lora": "lucataco/ReplicateFluxLoRA", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", { input: { prompt: "a boat in the style of TOK", hf_lora: "lucataco/ReplicateFluxLoRA", lora_scale: 0.8, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", output_quality: 80, prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", input={ "prompt": "a boat in the style of TOK", "hf_lora": "lucataco/ReplicateFluxLoRA", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-schnell-lora 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": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", "input": { "prompt": "a boat in the style of TOK", "hf_lora": "lucataco/ReplicateFluxLoRA", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-07T00:34:08.383366Z", "created_at": "2024-09-07T00:34:05.756000Z", "data_removed": false, "error": null, "id": "s7s62cg37hrj00chs7ktna875c", "input": { "prompt": "a boat in the style of TOK", "hf_lora": "lucataco/ReplicateFluxLoRA", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 1487\nPrompt: a boat in the style of TOK\ntxt2img mode\nLoading LoRA took: 0.00 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:01, 1.89it/s]\n 50%|█████ | 2/4 [00:00<00:00, 2.15it/s]\n 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s]\n100%|██████████| 4/4 [00:01<00:00, 1.99it/s]\n100%|██████████| 4/4 [00:01<00:00, 2.01it/s]", "metrics": { "predict_time": 2.617869992, "total_time": 2.627366 }, "output": [ "https://replicate.delivery/yhqm/LeiKYRqQh2xyWi2euWKSFwtRCaCmBdtmlZgHsQWDqHeBMq0mA/out-0.webp" ], "started_at": "2024-09-07T00:34:05.765496Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/s7s62cg37hrj00chs7ktna875c", "cancel": "https://api.replicate.com/v1/predictions/s7s62cg37hrj00chs7ktna875c/cancel" }, "version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574" }
Generated inUsing seed: 1487 Prompt: a boat in the style of TOK txt2img mode Loading LoRA took: 0.00 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:01, 1.89it/s] 50%|█████ | 2/4 [00:00<00:00, 2.15it/s] 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s] 100%|██████████| 4/4 [00:01<00:00, 1.99it/s] 100%|██████████| 4/4 [00:01<00:00, 2.01it/s]
Prediction
lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574IDq8v8efn1tdrj60chs7ktgpf4v4StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- an elegant and timeless portrait of Julia, exuding grace and sophistication
- hf_lora
- ptx0/flux-dreambooth-lora-r16-dev
- lora_scale
- 0.8
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- output_quality
- 80
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "prompt": "an elegant and timeless portrait of Julia, exuding grace and sophistication", "hf_lora": "ptx0/flux-dreambooth-lora-r16-dev", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", { input: { prompt: "an elegant and timeless portrait of Julia, exuding grace and sophistication", hf_lora: "ptx0/flux-dreambooth-lora-r16-dev", lora_scale: 0.8, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", output_quality: 80, prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", input={ "prompt": "an elegant and timeless portrait of Julia, exuding grace and sophistication", "hf_lora": "ptx0/flux-dreambooth-lora-r16-dev", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-schnell-lora 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": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", "input": { "prompt": "an elegant and timeless portrait of Julia, exuding grace and sophistication", "hf_lora": "ptx0/flux-dreambooth-lora-r16-dev", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-07T00:34:48.931930Z", "created_at": "2024-09-07T00:34:46.355000Z", "data_removed": false, "error": null, "id": "q8v8efn1tdrj60chs7ktgpf4v4", "input": { "prompt": "an elegant and timeless portrait of Julia, exuding grace and sophistication", "hf_lora": "ptx0/flux-dreambooth-lora-r16-dev", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 40073\nPrompt: an elegant and timeless portrait of Julia, exuding grace and sophistication\ntxt2img mode\nLoading LoRA took: 0.00 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:01, 1.95it/s]\n 50%|█████ | 2/4 [00:00<00:00, 2.26it/s]\n 75%|███████▌ | 3/4 [00:01<00:00, 2.12it/s]\n100%|██████████| 4/4 [00:01<00:00, 2.06it/s]\n100%|██████████| 4/4 [00:01<00:00, 2.08it/s]", "metrics": { "predict_time": 2.567946058, "total_time": 2.57693 }, "output": [ "https://replicate.delivery/yhqm/gDxAFjgTNVZDGpgwxqy1w0BmJb6Egmx4PsQSAa1Bf4WUjKtJA/out-0.webp" ], "started_at": "2024-09-07T00:34:46.363984Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/q8v8efn1tdrj60chs7ktgpf4v4", "cancel": "https://api.replicate.com/v1/predictions/q8v8efn1tdrj60chs7ktgpf4v4/cancel" }, "version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574" }
Generated inUsing seed: 40073 Prompt: an elegant and timeless portrait of Julia, exuding grace and sophistication txt2img mode Loading LoRA took: 0.00 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:01, 1.95it/s] 50%|█████ | 2/4 [00:00<00:00, 2.26it/s] 75%|███████▌ | 3/4 [00:01<00:00, 2.12it/s] 100%|██████████| 4/4 [00:01<00:00, 2.06it/s] 100%|██████████| 4/4 [00:01<00:00, 2.08it/s]
Prediction
lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574IDme3m2tn3ghrj00chs7mv3zpfgmStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- photo of TOK with purple hair
- hf_lora
- https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar
- lora_scale
- 0.9
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- output_quality
- 80
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "prompt": "photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.9, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", { input: { prompt: "photo of TOK with purple hair", hf_lora: "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", lora_scale: 0.9, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", output_quality: 80, prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", input={ "prompt": "photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.9, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-schnell-lora 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": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", "input": { "prompt": "photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.9, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-07T00:37:00.557612Z", "created_at": "2024-09-07T00:36:57.860000Z", "data_removed": false, "error": null, "id": "me3m2tn3ghrj00chs7mv3zpfgm", "input": { "prompt": "photo of TOK with purple hair", "hf_lora": "https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar", "lora_scale": 0.9, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 30959\nPrompt: photo of TOK with purple hair\ntxt2img mode\nLoading LoRA took: 0.00 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:01, 1.89it/s]\n 50%|█████ | 2/4 [00:00<00:00, 2.15it/s]\n 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s]\n100%|██████████| 4/4 [00:01<00:00, 1.99it/s]\n100%|██████████| 4/4 [00:01<00:00, 2.01it/s]", "metrics": { "predict_time": 2.6869291840000002, "total_time": 2.697612 }, "output": [ "https://replicate.delivery/yhqm/OfhJb39UJz1hNae3UHo4lrmsZe7DW7fMEV4elcwtNJ6jFpSbC/out-0.webp" ], "started_at": "2024-09-07T00:36:57.870683Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/me3m2tn3ghrj00chs7mv3zpfgm", "cancel": "https://api.replicate.com/v1/predictions/me3m2tn3ghrj00chs7mv3zpfgm/cancel" }, "version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574" }
Generated inUsing seed: 30959 Prompt: photo of TOK with purple hair txt2img mode Loading LoRA took: 0.00 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:01, 1.89it/s] 50%|█████ | 2/4 [00:00<00:00, 2.15it/s] 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s] 100%|██████████| 4/4 [00:01<00:00, 1.99it/s] 100%|██████████| 4/4 [00:01<00:00, 2.01it/s]
Prediction
lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574IDw7pyq9mbmxrj00chs7naeq3dvrStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- prompt
- a photo of TOK dog
- hf_lora
- https://replicate.delivery/yhqm/NBUAeV9jWoSfD0vh6Dfc5JKS4osMUpQSV8RRu62JJLEUvmnmA/trained_model.tar
- lora_scale
- 0.8
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- output_quality
- 80
- prompt_strength
- 0.8
- num_inference_steps
- 4
{ "prompt": "a photo of TOK dog", "hf_lora": "https://replicate.delivery/yhqm/NBUAeV9jWoSfD0vh6Dfc5JKS4osMUpQSV8RRu62JJLEUvmnmA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", { input: { prompt: "a photo of TOK dog", hf_lora: "https://replicate.delivery/yhqm/NBUAeV9jWoSfD0vh6Dfc5JKS4osMUpQSV8RRu62JJLEUvmnmA/trained_model.tar", lora_scale: 0.8, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", output_quality: 80, prompt_strength: 0.8, num_inference_steps: 4 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-schnell-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-schnell-lora:2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", input={ "prompt": "a photo of TOK dog", "hf_lora": "https://replicate.delivery/yhqm/NBUAeV9jWoSfD0vh6Dfc5JKS4osMUpQSV8RRu62JJLEUvmnmA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-schnell-lora 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": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574", "input": { "prompt": "a photo of TOK dog", "hf_lora": "https://replicate.delivery/yhqm/NBUAeV9jWoSfD0vh6Dfc5JKS4osMUpQSV8RRu62JJLEUvmnmA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-07T00:37:59.954008Z", "created_at": "2024-09-07T00:37:57.287000Z", "data_removed": false, "error": null, "id": "w7pyq9mbmxrj00chs7naeq3dvr", "input": { "prompt": "a photo of TOK dog", "hf_lora": "https://replicate.delivery/yhqm/NBUAeV9jWoSfD0vh6Dfc5JKS4osMUpQSV8RRu62JJLEUvmnmA/trained_model.tar", "lora_scale": 0.8, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "output_quality": 80, "prompt_strength": 0.8, "num_inference_steps": 4 }, "logs": "Using seed: 49527\nPrompt: a photo of TOK dog\ntxt2img mode\nLoading LoRA took: 0.00 seconds\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:01, 1.88it/s]\n 50%|█████ | 2/4 [00:00<00:00, 2.14it/s]\n 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s]\n100%|██████████| 4/4 [00:01<00:00, 1.99it/s]\n100%|██████████| 4/4 [00:01<00:00, 2.01it/s]", "metrics": { "predict_time": 2.658193366, "total_time": 2.667008 }, "output": [ "https://replicate.delivery/yhqm/CGRXaxD2wD61KdGb5sh2ZyRGIexGUQdQB1ihJRFfhEhnJVaTA/out-0.webp" ], "started_at": "2024-09-07T00:37:57.295815Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/w7pyq9mbmxrj00chs7naeq3dvr", "cancel": "https://api.replicate.com/v1/predictions/w7pyq9mbmxrj00chs7naeq3dvr/cancel" }, "version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574" }
Generated inUsing seed: 49527 Prompt: a photo of TOK dog txt2img mode Loading LoRA took: 0.00 seconds 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:01, 1.88it/s] 50%|█████ | 2/4 [00:00<00:00, 2.14it/s] 75%|███████▌ | 3/4 [00:01<00:00, 2.04it/s] 100%|██████████| 4/4 [00:01<00:00, 1.99it/s] 100%|██████████| 4/4 [00:01<00:00, 2.01it/s]
Want to make some of these yourself?
Run this model