chakify / flux-dev-lora-instax
- Public
- 92 runs
-
H100
Prediction
chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50ID0f9g6cd02nrm80cm694t72x984StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A man holding a white INSTAX .
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A man holding a white INSTAX . ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "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 chakify/flux-dev-lora-instax using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50", { input: { model: "dev", prompt: "A man holding a white INSTAX . ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run chakify/flux-dev-lora-instax using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50", input={ "model": "dev", "prompt": "A man holding a white INSTAX . ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "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 chakify/flux-dev-lora-instax 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": "chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50", "input": { "model": "dev", "prompt": "A man holding a white INSTAX . ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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.
Output
{ "completed_at": "2025-01-04T17:08:12.111735Z", "created_at": "2025-01-04T17:07:53.493000Z", "data_removed": false, "error": null, "id": "0f9g6cd02nrm80cm694t72x984", "input": { "model": "dev", "prompt": "A man holding a white INSTAX . ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Lora https://replicate.delivery/xezq/iUeI74d7xWVxOyKlRYXRQ9ELJsknKLYGsBlJG0IW2kIX34AKA/trained_model.tar already loaded\nUsing seed: 6250\n0it [00:00, ?it/s]\n1it [00:00, 8.34it/s]\n2it [00:00, 5.86it/s]\n3it [00:00, 5.35it/s]\n4it [00:00, 5.13it/s]\n5it [00:00, 5.02it/s]\n6it [00:01, 4.94it/s]\n7it [00:01, 4.90it/s]\n8it [00:01, 4.87it/s]\n9it [00:01, 4.86it/s]\n10it [00:01, 4.86it/s]\n11it [00:02, 4.85it/s]\n12it [00:02, 4.85it/s]\n13it [00:02, 4.85it/s]\n14it [00:02, 4.85it/s]\n15it [00:03, 4.85it/s]\n16it [00:03, 4.85it/s]\n17it [00:03, 4.84it/s]\n18it [00:03, 4.85it/s]\n19it [00:03, 4.84it/s]\n20it [00:04, 4.84it/s]\n21it [00:04, 4.84it/s]\n22it [00:04, 4.84it/s]\n23it [00:04, 4.83it/s]\n24it [00:04, 4.83it/s]\n25it [00:05, 4.83it/s]\n26it [00:05, 4.83it/s]\n27it [00:05, 4.83it/s]\n28it [00:05, 4.83it/s]\n28it [00:05, 4.91it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.008349469, "total_time": 18.618735 }, "output": [ "https://replicate.delivery/xezq/e3Z1yVVCjjQQcad6mdX7UvTJygefQfhmZMiUze2a1dmjfccAF/out-0.webp" ], "started_at": "2025-01-04T17:08:06.103386Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-bjt5js7mud3xzvlt7n6d4cg7dnccy4xmjp5irtav75pvocv3663q", "get": "https://api.replicate.com/v1/predictions/0f9g6cd02nrm80cm694t72x984", "cancel": "https://api.replicate.com/v1/predictions/0f9g6cd02nrm80cm694t72x984/cancel" }, "version": "7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50" }
Generated inLora https://replicate.delivery/xezq/iUeI74d7xWVxOyKlRYXRQ9ELJsknKLYGsBlJG0IW2kIX34AKA/trained_model.tar already loaded Using seed: 6250 0it [00:00, ?it/s] 1it [00:00, 8.34it/s] 2it [00:00, 5.86it/s] 3it [00:00, 5.35it/s] 4it [00:00, 5.13it/s] 5it [00:00, 5.02it/s] 6it [00:01, 4.94it/s] 7it [00:01, 4.90it/s] 8it [00:01, 4.87it/s] 9it [00:01, 4.86it/s] 10it [00:01, 4.86it/s] 11it [00:02, 4.85it/s] 12it [00:02, 4.85it/s] 13it [00:02, 4.85it/s] 14it [00:02, 4.85it/s] 15it [00:03, 4.85it/s] 16it [00:03, 4.85it/s] 17it [00:03, 4.84it/s] 18it [00:03, 4.85it/s] 19it [00:03, 4.84it/s] 20it [00:04, 4.84it/s] 21it [00:04, 4.84it/s] 22it [00:04, 4.84it/s] 23it [00:04, 4.83it/s] 24it [00:04, 4.83it/s] 25it [00:05, 4.83it/s] 26it [00:05, 4.83it/s] 27it [00:05, 4.83it/s] 28it [00:05, 4.83it/s] 28it [00:05, 4.91it/s] Total safe images: 1 out of 1
Prediction
chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50IDz44dbg57rhrma0cm696s8wyex0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- Front side right view of a girl, in a fishman hat, holding a white INSTAX . She's on the right frame of the photo. She's taking a picture of a fishbowl with a red fish inside. The girl and the fishbowl are about 6 feet apart.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Front side right view of a girl, in a fishman hat, holding a white INSTAX . She's on the right frame of the photo. She's taking a picture of a fishbowl with a red fish inside. The girl and the fishbowl are about 6 feet apart. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "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 chakify/flux-dev-lora-instax using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50", { input: { model: "dev", prompt: "Front side right view of a girl, in a fishman hat, holding a white INSTAX . She's on the right frame of the photo. She's taking a picture of a fishbowl with a red fish inside. The girl and the fishbowl are about 6 feet apart. ", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run chakify/flux-dev-lora-instax using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50", input={ "model": "dev", "prompt": "Front side right view of a girl, in a fishman hat, holding a white INSTAX . She's on the right frame of the photo. She's taking a picture of a fishbowl with a red fish inside. The girl and the fishbowl are about 6 feet apart. ", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "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 chakify/flux-dev-lora-instax 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": "chakify/flux-dev-lora-instax:7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50", "input": { "model": "dev", "prompt": "Front side right view of a girl, in a fishman hat, holding a white INSTAX . She\'s on the right frame of the photo. She\'s taking a picture of a fishbowl with a red fish inside. The girl and the fishbowl are about 6 feet apart. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "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.
Output
{ "completed_at": "2025-01-04T17:12:24.114573Z", "created_at": "2025-01-04T17:12:17.604000Z", "data_removed": false, "error": null, "id": "z44dbg57rhrma0cm696s8wyex0", "input": { "model": "dev", "prompt": "Front side right view of a girl, in a fishman hat, holding a white INSTAX . She's on the right frame of the photo. She's taking a picture of a fishbowl with a red fish inside. The girl and the fishbowl are about 6 feet apart. ", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2025-01-04 17:12:17.622 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-04 17:12:17.622 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████ | 277/304 [00:00<00:00, 2766.47it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2657.87it/s]\n2025-01-04 17:12:17.737 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\n2025-01-04 17:12:17.738 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/a56112cd0fd42a24\n2025-01-04 17:12:17.852 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2025-01-04 17:12:17.852 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2025-01-04 17:12:17.852 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2777.19it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2662.04it/s]\n2025-01-04 17:12:17.966 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 21353\n0it [00:00, ?it/s]\n1it [00:00, 8.35it/s]\n2it [00:00, 5.84it/s]\n3it [00:00, 5.32it/s]\n4it [00:00, 5.10it/s]\n5it [00:00, 4.97it/s]\n6it [00:01, 4.86it/s]\n7it [00:01, 4.82it/s]\n8it [00:01, 4.80it/s]\n9it [00:01, 4.80it/s]\n10it [00:02, 4.79it/s]\n11it [00:02, 4.78it/s]\n12it [00:02, 4.77it/s]\n13it [00:02, 4.76it/s]\n14it [00:02, 4.76it/s]\n15it [00:03, 4.76it/s]\n16it [00:03, 4.77it/s]\n17it [00:03, 4.77it/s]\n18it [00:03, 4.77it/s]\n19it [00:03, 4.78it/s]\n20it [00:04, 4.77it/s]\n21it [00:04, 4.78it/s]\n22it [00:04, 4.79it/s]\n23it [00:04, 4.78it/s]\n24it [00:04, 4.78it/s]\n25it [00:05, 4.77it/s]\n26it [00:05, 4.77it/s]\n27it [00:05, 4.77it/s]\n28it [00:05, 4.77it/s]\n28it [00:05, 4.84it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.491925437, "total_time": 6.510573 }, "output": [ "https://replicate.delivery/xezq/pa3rf0oq8OwmISf2fLSlj09G4HpQGkcWS7qz0AFfxEhgfOOgC/out-0.webp" ], "started_at": "2025-01-04T17:12:17.622647Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-tc2oquzv5n2t7tiso7fcfdz7dyrfqn3yifhqs2jeuwz6jtquxdwq", "get": "https://api.replicate.com/v1/predictions/z44dbg57rhrma0cm696s8wyex0", "cancel": "https://api.replicate.com/v1/predictions/z44dbg57rhrma0cm696s8wyex0/cancel" }, "version": "7f4319139fb4fa7cd63bcec68ab0fcf80ebaa3bbf84adbae9eaa2791a09feb50" }
Generated in2025-01-04 17:12:17.622 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-04 17:12:17.622 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████ | 277/304 [00:00<00:00, 2766.47it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2657.87it/s] 2025-01-04 17:12:17.737 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s 2025-01-04 17:12:17.738 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/a56112cd0fd42a24 2025-01-04 17:12:17.852 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2025-01-04 17:12:17.852 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2025-01-04 17:12:17.852 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2777.19it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2662.04it/s] 2025-01-04 17:12:17.966 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 21353 0it [00:00, ?it/s] 1it [00:00, 8.35it/s] 2it [00:00, 5.84it/s] 3it [00:00, 5.32it/s] 4it [00:00, 5.10it/s] 5it [00:00, 4.97it/s] 6it [00:01, 4.86it/s] 7it [00:01, 4.82it/s] 8it [00:01, 4.80it/s] 9it [00:01, 4.80it/s] 10it [00:02, 4.79it/s] 11it [00:02, 4.78it/s] 12it [00:02, 4.77it/s] 13it [00:02, 4.76it/s] 14it [00:02, 4.76it/s] 15it [00:03, 4.76it/s] 16it [00:03, 4.77it/s] 17it [00:03, 4.77it/s] 18it [00:03, 4.77it/s] 19it [00:03, 4.78it/s] 20it [00:04, 4.77it/s] 21it [00:04, 4.78it/s] 22it [00:04, 4.79it/s] 23it [00:04, 4.78it/s] 24it [00:04, 4.78it/s] 25it [00:05, 4.77it/s] 26it [00:05, 4.77it/s] 27it [00:05, 4.77it/s] 28it [00:05, 4.77it/s] 28it [00:05, 4.84it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model