roelfrenkema/flux1.lora.monalisa

She came back. I dont think there has been an artist yet that came so close.





A FLUX.1 lora named.

A FLUX.1 lora named betty. Use with token betty.

A Dutch far right politician. He is the only member of his ruling PVV party. One can see him as the Dutch Donald Trump.

Numer 1 in my gallery of dicators

Dope brain malfunction.

On of my heroes and someone who will go into history as one.

The first Gen-Z hero IMHO. Go Greta

Could just be the saviour of American democracy

She came back. I dont think there has been an artist yet that came so close.
Prediction
roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46aIDm0cd7d30fdrm40cj0j9949pzw0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 768
- height
- 1344
- prompt
- mona, An oil painting portrait of a woman smiling slightly.
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- custom
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run roelfrenkema/flux1.lora.monalisa using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", { input: { model: "dev", width: 768, height: 1344, prompt: "mona, An oil painting portrait of a woman smiling slightly.", lora_scale: 1, num_outputs: 2, aspect_ratio: "custom", output_format: "webp", guidance_scale: 3.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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run roelfrenkema/flux1.lora.monalisa using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", input={ "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run roelfrenkema/flux1.lora.monalisa 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": "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", "input": { "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.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.
Output
{ "completed_at": "2024-09-18T09:59:46.785938Z", "created_at": "2024-09-18T09:59:14.811000Z", "data_removed": false, "error": null, "id": "m0cd7d30fdrm40cj0j9949pzw0", "input": { "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 61685\nPrompt: mona, An oil painting portrait of a woman smiling slightly.\n[!] txt2img mode\nUsing dev model\nfree=7057104982016\nDownloading weights\n2024-09-18T09:59:20Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp81yrx64t/weights url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar\n2024-09-18T09:59:22Z | INFO | [ Complete ] dest=/tmp/tmp81yrx64t/weights size=\"172 MB\" total_elapsed=1.369s url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar\nDownloaded weights in 1.40s\nLoaded LoRAs in 10.12s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:14, 1.86it/s]\n 7%|▋ | 2/28 [00:00<00:12, 2.10it/s]\n 11%|█ | 3/28 [00:01<00:12, 1.98it/s]\n 14%|█▍ | 4/28 [00:02<00:12, 1.93it/s]\n 18%|█▊ | 5/28 [00:02<00:12, 1.90it/s]\n 21%|██▏ | 6/28 [00:03<00:11, 1.88it/s]\n 25%|██▌ | 7/28 [00:03<00:11, 1.87it/s]\n 29%|██▊ | 8/28 [00:04<00:10, 1.86it/s]\n 32%|███▏ | 9/28 [00:04<00:10, 1.86it/s]\n 36%|███▌ | 10/28 [00:05<00:09, 1.86it/s]\n 39%|███▉ | 11/28 [00:05<00:09, 1.85it/s]\n 43%|████▎ | 12/28 [00:06<00:08, 1.85it/s]\n 46%|████▋ | 13/28 [00:06<00:08, 1.85it/s]\n 50%|█████ | 14/28 [00:07<00:07, 1.85it/s]\n 54%|█████▎ | 15/28 [00:08<00:07, 1.85it/s]\n 57%|█████▋ | 16/28 [00:08<00:06, 1.85it/s]\n 61%|██████ | 17/28 [00:09<00:05, 1.85it/s]\n 64%|██████▍ | 18/28 [00:09<00:05, 1.85it/s]\n 68%|██████▊ | 19/28 [00:10<00:04, 1.85it/s]\n 71%|███████▏ | 20/28 [00:10<00:04, 1.85it/s]\n 75%|███████▌ | 21/28 [00:11<00:03, 1.85it/s]\n 79%|███████▊ | 22/28 [00:11<00:03, 1.85it/s]\n 82%|████████▏ | 23/28 [00:12<00:02, 1.84it/s]\n 86%|████████▌ | 24/28 [00:12<00:02, 1.84it/s]\n 89%|████████▉ | 25/28 [00:13<00:01, 1.84it/s]\n 93%|█████████▎| 26/28 [00:13<00:01, 1.84it/s]\n 96%|█████████▋| 27/28 [00:14<00:00, 1.84it/s]\n100%|██████████| 28/28 [00:15<00:00, 1.84it/s]\n100%|██████████| 28/28 [00:15<00:00, 1.86it/s]", "metrics": { "predict_time": 26.175008212, "total_time": 31.974938 }, "output": [ "https://replicate.delivery/yhqm/OV5LusfThXyfEUwSFlGmfACOSSDslrG9ejInP196de4XSrwbC/out-0.webp", "https://replicate.delivery/yhqm/kwpXMamJpbI2DNAVm4reKoHLgerzB063ZYhlvfzTBbNk0K8mA/out-1.webp" ], "started_at": "2024-09-18T09:59:20.610930Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/m0cd7d30fdrm40cj0j9949pzw0", "cancel": "https://api.replicate.com/v1/predictions/m0cd7d30fdrm40cj0j9949pzw0/cancel" }, "version": "fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a" }
Generated inUsing seed: 61685 Prompt: mona, An oil painting portrait of a woman smiling slightly. [!] txt2img mode Using dev model free=7057104982016 Downloading weights 2024-09-18T09:59:20Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp81yrx64t/weights url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar 2024-09-18T09:59:22Z | INFO | [ Complete ] dest=/tmp/tmp81yrx64t/weights size="172 MB" total_elapsed=1.369s url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar Downloaded weights in 1.40s Loaded LoRAs in 10.12s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:14, 1.86it/s] 7%|▋ | 2/28 [00:00<00:12, 2.10it/s] 11%|█ | 3/28 [00:01<00:12, 1.98it/s] 14%|█▍ | 4/28 [00:02<00:12, 1.93it/s] 18%|█▊ | 5/28 [00:02<00:12, 1.90it/s] 21%|██▏ | 6/28 [00:03<00:11, 1.88it/s] 25%|██▌ | 7/28 [00:03<00:11, 1.87it/s] 29%|██▊ | 8/28 [00:04<00:10, 1.86it/s] 32%|███▏ | 9/28 [00:04<00:10, 1.86it/s] 36%|███▌ | 10/28 [00:05<00:09, 1.86it/s] 39%|███▉ | 11/28 [00:05<00:09, 1.85it/s] 43%|████▎ | 12/28 [00:06<00:08, 1.85it/s] 46%|████▋ | 13/28 [00:06<00:08, 1.85it/s] 50%|█████ | 14/28 [00:07<00:07, 1.85it/s] 54%|█████▎ | 15/28 [00:08<00:07, 1.85it/s] 57%|█████▋ | 16/28 [00:08<00:06, 1.85it/s] 61%|██████ | 17/28 [00:09<00:05, 1.85it/s] 64%|██████▍ | 18/28 [00:09<00:05, 1.85it/s] 68%|██████▊ | 19/28 [00:10<00:04, 1.85it/s] 71%|███████▏ | 20/28 [00:10<00:04, 1.85it/s] 75%|███████▌ | 21/28 [00:11<00:03, 1.85it/s] 79%|███████▊ | 22/28 [00:11<00:03, 1.85it/s] 82%|████████▏ | 23/28 [00:12<00:02, 1.84it/s] 86%|████████▌ | 24/28 [00:12<00:02, 1.84it/s] 89%|████████▉ | 25/28 [00:13<00:01, 1.84it/s] 93%|█████████▎| 26/28 [00:13<00:01, 1.84it/s] 96%|█████████▋| 27/28 [00:14<00:00, 1.84it/s] 100%|██████████| 28/28 [00:15<00:00, 1.84it/s] 100%|██████████| 28/28 [00:15<00:00, 1.86it/s]
Prediction
roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46aIDzewjs4wxb1rm20cj0j9sajy33mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 768
- height
- 1344
- prompt
- mona, An old master oil painting portrait of a woman smiling slightly.
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- custom
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run roelfrenkema/flux1.lora.monalisa using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", { input: { model: "dev", width: 768, height: 1344, prompt: "mona, An old master oil painting portrait of a woman smiling slightly.", lora_scale: 1, num_outputs: 2, aspect_ratio: "custom", output_format: "webp", guidance_scale: 3.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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run roelfrenkema/flux1.lora.monalisa using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", input={ "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run roelfrenkema/flux1.lora.monalisa 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": "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", "input": { "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.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.
Output
{ "completed_at": "2024-09-18T10:01:07.379978Z", "created_at": "2024-09-18T10:00:35.928000Z", "data_removed": false, "error": null, "id": "zewjs4wxb1rm20cj0j9sajy33m", "input": { "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 35202\nPrompt: mona, An old master oil painting portrait of a woman smiling slightly.\n[!] txt2img mode\nUsing dev model\nfree=6609184481280\nDownloading weights\n2024-09-18T10:00:37Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpjo9nvlt7/weights url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar\n2024-09-18T10:00:39Z | INFO | [ Complete ] dest=/tmp/tmpjo9nvlt7/weights size=\"172 MB\" total_elapsed=1.533s url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar\nDownloaded weights in 1.57s\nLoaded LoRAs in 13.74s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:14, 1.85it/s]\n 7%|▋ | 2/28 [00:00<00:12, 2.09it/s]\n 11%|█ | 3/28 [00:01<00:12, 1.97it/s]\n 14%|█▍ | 4/28 [00:02<00:12, 1.92it/s]\n 18%|█▊ | 5/28 [00:02<00:12, 1.89it/s]\n 21%|██▏ | 6/28 [00:03<00:11, 1.87it/s]\n 25%|██▌ | 7/28 [00:03<00:11, 1.86it/s]\n 29%|██▊ | 8/28 [00:04<00:10, 1.85it/s]\n 32%|███▏ | 9/28 [00:04<00:10, 1.85it/s]\n 36%|███▌ | 10/28 [00:05<00:09, 1.85it/s]\n 39%|███▉ | 11/28 [00:05<00:09, 1.84it/s]\n 43%|████▎ | 12/28 [00:06<00:08, 1.84it/s]\n 46%|████▋ | 13/28 [00:06<00:08, 1.84it/s]\n 50%|█████ | 14/28 [00:07<00:07, 1.84it/s]\n 54%|█████▎ | 15/28 [00:08<00:07, 1.84it/s]\n 57%|█████▋ | 16/28 [00:08<00:06, 1.84it/s]\n 61%|██████ | 17/28 [00:09<00:05, 1.84it/s]\n 64%|██████▍ | 18/28 [00:09<00:05, 1.84it/s]\n 68%|██████▊ | 19/28 [00:10<00:04, 1.84it/s]\n 71%|███████▏ | 20/28 [00:10<00:04, 1.84it/s]\n 75%|███████▌ | 21/28 [00:11<00:03, 1.84it/s]\n 79%|███████▊ | 22/28 [00:11<00:03, 1.84it/s]\n 82%|████████▏ | 23/28 [00:12<00:02, 1.84it/s]\n 86%|████████▌ | 24/28 [00:12<00:02, 1.84it/s]\n 89%|████████▉ | 25/28 [00:13<00:01, 1.84it/s]\n 93%|█████████▎| 26/28 [00:14<00:01, 1.84it/s]\n 96%|█████████▋| 27/28 [00:14<00:00, 1.84it/s]\n100%|██████████| 28/28 [00:15<00:00, 1.84it/s]\n100%|██████████| 28/28 [00:15<00:00, 1.85it/s]", "metrics": { "predict_time": 29.854323528, "total_time": 31.451978 }, "output": [ "https://replicate.delivery/yhqm/54nzIGS7Ax7XGRKhnMoArLzw0i5wKmdi01WcwkM2wS74Wh3E/out-0.webp", "https://replicate.delivery/yhqm/r3eTX6EZ1rROdq2sY8fpdyQoPbQnjuMb4KCmdbkROZSjbFemA/out-1.webp" ], "started_at": "2024-09-18T10:00:37.525655Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zewjs4wxb1rm20cj0j9sajy33m", "cancel": "https://api.replicate.com/v1/predictions/zewjs4wxb1rm20cj0j9sajy33m/cancel" }, "version": "fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a" }
Generated inUsing seed: 35202 Prompt: mona, An old master oil painting portrait of a woman smiling slightly. [!] txt2img mode Using dev model free=6609184481280 Downloading weights 2024-09-18T10:00:37Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpjo9nvlt7/weights url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar 2024-09-18T10:00:39Z | INFO | [ Complete ] dest=/tmp/tmpjo9nvlt7/weights size="172 MB" total_elapsed=1.533s url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar Downloaded weights in 1.57s Loaded LoRAs in 13.74s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:14, 1.85it/s] 7%|▋ | 2/28 [00:00<00:12, 2.09it/s] 11%|█ | 3/28 [00:01<00:12, 1.97it/s] 14%|█▍ | 4/28 [00:02<00:12, 1.92it/s] 18%|█▊ | 5/28 [00:02<00:12, 1.89it/s] 21%|██▏ | 6/28 [00:03<00:11, 1.87it/s] 25%|██▌ | 7/28 [00:03<00:11, 1.86it/s] 29%|██▊ | 8/28 [00:04<00:10, 1.85it/s] 32%|███▏ | 9/28 [00:04<00:10, 1.85it/s] 36%|███▌ | 10/28 [00:05<00:09, 1.85it/s] 39%|███▉ | 11/28 [00:05<00:09, 1.84it/s] 43%|████▎ | 12/28 [00:06<00:08, 1.84it/s] 46%|████▋ | 13/28 [00:06<00:08, 1.84it/s] 50%|█████ | 14/28 [00:07<00:07, 1.84it/s] 54%|█████▎ | 15/28 [00:08<00:07, 1.84it/s] 57%|█████▋ | 16/28 [00:08<00:06, 1.84it/s] 61%|██████ | 17/28 [00:09<00:05, 1.84it/s] 64%|██████▍ | 18/28 [00:09<00:05, 1.84it/s] 68%|██████▊ | 19/28 [00:10<00:04, 1.84it/s] 71%|███████▏ | 20/28 [00:10<00:04, 1.84it/s] 75%|███████▌ | 21/28 [00:11<00:03, 1.84it/s] 79%|███████▊ | 22/28 [00:11<00:03, 1.84it/s] 82%|████████▏ | 23/28 [00:12<00:02, 1.84it/s] 86%|████████▌ | 24/28 [00:12<00:02, 1.84it/s] 89%|████████▉ | 25/28 [00:13<00:01, 1.84it/s] 93%|█████████▎| 26/28 [00:14<00:01, 1.84it/s] 96%|█████████▋| 27/28 [00:14<00:00, 1.84it/s] 100%|██████████| 28/28 [00:15<00:00, 1.84it/s] 100%|██████████| 28/28 [00:15<00:00, 1.85it/s]
Prediction
roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46aID17h0wddx8srm40cj0ja9dm30m4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 768
- height
- 1344
- prompt
- mona, An old master oil painting portrait of a woman smiling slightly.
- lora_scale
- 1
- num_outputs
- 2
- aspect_ratio
- custom
- output_format
- png
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run roelfrenkema/flux1.lora.monalisa using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", { input: { model: "dev", width: 768, height: 1344, prompt: "mona, An old master oil painting portrait of a woman smiling slightly.", lora_scale: 1, num_outputs: 2, aspect_ratio: "custom", output_format: "png", guidance_scale: 3.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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run roelfrenkema/flux1.lora.monalisa using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", input={ "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run roelfrenkema/flux1.lora.monalisa 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": "roelfrenkema/flux1.lora.monalisa:fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a", "input": { "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "png", "guidance_scale": 3.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.
Output
{ "completed_at": "2024-09-18T10:02:17.664203Z", "created_at": "2024-09-18T10:01:49.638000Z", "data_removed": false, "error": null, "id": "17h0wddx8srm40cj0ja9dm30m4", "input": { "model": "dev", "width": 768, "height": 1344, "prompt": "mona, An old master oil painting portrait of a woman smiling slightly.", "lora_scale": 1, "num_outputs": 2, "aspect_ratio": "custom", "output_format": "png", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 54981\nPrompt: mona, An old master oil painting portrait of a woman smiling slightly.\n[!] txt2img mode\nUsing dev model\nfree=7063654350848\nDownloading weights\n2024-09-18T10:01:49Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcuur2pva/weights url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar\n2024-09-18T10:01:52Z | INFO | [ Complete ] dest=/tmp/tmpcuur2pva/weights size=\"172 MB\" total_elapsed=2.833s url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar\nDownloaded weights in 2.86s\nLoaded LoRAs in 11.05s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:14, 1.86it/s]\n 7%|▋ | 2/28 [00:00<00:12, 2.10it/s]\n 11%|█ | 3/28 [00:01<00:12, 1.98it/s]\n 14%|█▍ | 4/28 [00:02<00:12, 1.93it/s]\n 18%|█▊ | 5/28 [00:02<00:12, 1.90it/s]\n 21%|██▏ | 6/28 [00:03<00:11, 1.88it/s]\n 25%|██▌ | 7/28 [00:03<00:11, 1.87it/s]\n 29%|██▊ | 8/28 [00:04<00:10, 1.87it/s]\n 32%|███▏ | 9/28 [00:04<00:10, 1.86it/s]\n 36%|███▌ | 10/28 [00:05<00:09, 1.86it/s]\n 39%|███▉ | 11/28 [00:05<00:09, 1.86it/s]\n 43%|████▎ | 12/28 [00:06<00:08, 1.85it/s]\n 46%|████▋ | 13/28 [00:06<00:08, 1.85it/s]\n 50%|█████ | 14/28 [00:07<00:07, 1.85it/s]\n 54%|█████▎ | 15/28 [00:07<00:07, 1.85it/s]\n 57%|█████▋ | 16/28 [00:08<00:06, 1.85it/s]\n 61%|██████ | 17/28 [00:09<00:05, 1.85it/s]\n 64%|██████▍ | 18/28 [00:09<00:05, 1.85it/s]\n 68%|██████▊ | 19/28 [00:10<00:04, 1.85it/s]\n 71%|███████▏ | 20/28 [00:10<00:04, 1.85it/s]\n 75%|███████▌ | 21/28 [00:11<00:03, 1.85it/s]\n 79%|███████▊ | 22/28 [00:11<00:03, 1.85it/s]\n 82%|████████▏ | 23/28 [00:12<00:02, 1.85it/s]\n 86%|████████▌ | 24/28 [00:12<00:02, 1.85it/s]\n 89%|████████▉ | 25/28 [00:13<00:01, 1.85it/s]\n 93%|█████████▎| 26/28 [00:13<00:01, 1.85it/s]\n 96%|█████████▋| 27/28 [00:14<00:00, 1.85it/s]\n100%|██████████| 28/28 [00:15<00:00, 1.84it/s]\n100%|██████████| 28/28 [00:15<00:00, 1.86it/s]", "metrics": { "predict_time": 28.016084423, "total_time": 28.026203 }, "output": [ "https://replicate.delivery/yhqm/sXdE9hPeuiVyKqqTAy05CJQU6S0fEwHafNdHkyKxBazT5K8mA/out-0.png", "https://replicate.delivery/yhqm/iUlKADJkykbQINz2epL8AtvfIUCGMl9vqWFHw5qItLfT5K8mA/out-1.png" ], "started_at": "2024-09-18T10:01:49.648119Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/17h0wddx8srm40cj0ja9dm30m4", "cancel": "https://api.replicate.com/v1/predictions/17h0wddx8srm40cj0ja9dm30m4/cancel" }, "version": "fb742bfe5a89a45b2103808e740f7e3a12f3464c31b16f42ece9121c19d3f46a" }
Generated inUsing seed: 54981 Prompt: mona, An old master oil painting portrait of a woman smiling slightly. [!] txt2img mode Using dev model free=7063654350848 Downloading weights 2024-09-18T10:01:49Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpcuur2pva/weights url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar 2024-09-18T10:01:52Z | INFO | [ Complete ] dest=/tmp/tmpcuur2pva/weights size="172 MB" total_elapsed=2.833s url=https://replicate.delivery/yhqm/7xNH6mXOgxbhA5rC11YIczXOhjsW2F2qmlHrcPM09SAtTh3E/trained_model.tar Downloaded weights in 2.86s Loaded LoRAs in 11.05s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:14, 1.86it/s] 7%|▋ | 2/28 [00:00<00:12, 2.10it/s] 11%|█ | 3/28 [00:01<00:12, 1.98it/s] 14%|█▍ | 4/28 [00:02<00:12, 1.93it/s] 18%|█▊ | 5/28 [00:02<00:12, 1.90it/s] 21%|██▏ | 6/28 [00:03<00:11, 1.88it/s] 25%|██▌ | 7/28 [00:03<00:11, 1.87it/s] 29%|██▊ | 8/28 [00:04<00:10, 1.87it/s] 32%|███▏ | 9/28 [00:04<00:10, 1.86it/s] 36%|███▌ | 10/28 [00:05<00:09, 1.86it/s] 39%|███▉ | 11/28 [00:05<00:09, 1.86it/s] 43%|████▎ | 12/28 [00:06<00:08, 1.85it/s] 46%|████▋ | 13/28 [00:06<00:08, 1.85it/s] 50%|█████ | 14/28 [00:07<00:07, 1.85it/s] 54%|█████▎ | 15/28 [00:07<00:07, 1.85it/s] 57%|█████▋ | 16/28 [00:08<00:06, 1.85it/s] 61%|██████ | 17/28 [00:09<00:05, 1.85it/s] 64%|██████▍ | 18/28 [00:09<00:05, 1.85it/s] 68%|██████▊ | 19/28 [00:10<00:04, 1.85it/s] 71%|███████▏ | 20/28 [00:10<00:04, 1.85it/s] 75%|███████▌ | 21/28 [00:11<00:03, 1.85it/s] 79%|███████▊ | 22/28 [00:11<00:03, 1.85it/s] 82%|████████▏ | 23/28 [00:12<00:02, 1.85it/s] 86%|████████▌ | 24/28 [00:12<00:02, 1.85it/s] 89%|████████▉ | 25/28 [00:13<00:01, 1.85it/s] 93%|█████████▎| 26/28 [00:13<00:01, 1.85it/s] 96%|█████████▋| 27/28 [00:14<00:00, 1.85it/s] 100%|██████████| 28/28 [00:15<00:00, 1.84it/s] 100%|██████████| 28/28 [00:15<00:00, 1.86it/s]
Want to make some of these yourself?
Run this model