sigil-wen / laika-flux-lora
A FLUX.1 [dev] LoRA trained on Laika, Julia's dog (Updated 10 months ago)
- Public
- 149 runs
Prediction
sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29IDmmgcj2c9t9rm00cheagvfv8kq8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LAIKA, dog cooking food as a chef
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LAIKA, dog cooking food as a chef", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", { input: { model: "dev", prompt: "A photo of LAIKA, dog cooking food as a chef", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", input={ "model": "dev", "prompt": "A photo of LAIKA, dog cooking food as a chef", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sigil-wen/laika-flux-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": "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog cooking food as a chef", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-21T01:51:44.989547Z", "created_at": "2024-08-21T01:51:14.898000Z", "data_removed": false, "error": null, "id": "mmgcj2c9t9rm00cheagvfv8kq8", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog cooking food as a chef", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 63954\nPrompt: A photo of LAIKA, dog cooking food as a chef\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9864565583872\nDownloading weights\n2024-08-21T01:51:25Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\n2024-08-21T01:51:28Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size=\"172 MB\" total_elapsed=3.026s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\nb''\nDownloaded weights in 3.059236526489258 seconds\nLoRA weights loaded successfully\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.66it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.21it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.92it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.80it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.74it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.72it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.69it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.67it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.67it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.66it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.66it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.65it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.65it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.65it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.64it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.64it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.64it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.65it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.64it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.64it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.64it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.64it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.64it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.64it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.65it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.64it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.64it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.67it/s]", "metrics": { "predict_time": 19.759901891, "total_time": 30.091547 }, "output": [ "https://replicate.delivery/yhqm/pfJmkrGP86zedEQ1eP5WVyf6h0Yvp6tginnsSZkfFGrAG9laC/out-0.webp" ], "started_at": "2024-08-21T01:51:25.229645Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mmgcj2c9t9rm00cheagvfv8kq8", "cancel": "https://api.replicate.com/v1/predictions/mmgcj2c9t9rm00cheagvfv8kq8/cancel" }, "version": "799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29" }
Generated inUsing seed: 63954 Prompt: A photo of LAIKA, dog cooking food as a chef txt2img mode Using dev model Loading LoRA weights Ensuring enough disk space... Free disk space: 9864565583872 Downloading weights 2024-08-21T01:51:25Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar 2024-08-21T01:51:28Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size="172 MB" total_elapsed=3.026s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar b'' Downloaded weights in 3.059236526489258 seconds LoRA weights loaded successfully 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.66it/s] 7%|▋ | 2/28 [00:00<00:06, 4.21it/s] 11%|█ | 3/28 [00:00<00:06, 3.92it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.80it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.74it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.72it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.69it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.67it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.67it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.66it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.66it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.65it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.65it/s] 50%|█████ | 14/28 [00:03<00:03, 3.65it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.64it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.64it/s] 61%|██████ | 17/28 [00:04<00:03, 3.64it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.65it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.64it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.64it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.64it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.64it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.64it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.64it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.65it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.64it/s] 100%|██████████| 28/28 [00:07<00:00, 3.64it/s] 100%|██████████| 28/28 [00:07<00:00, 3.67it/s]
Prediction
sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29IDpj0typb7ydrm00cheahbp2xnnwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LAIKA, dog baking a cake food as a chef hat
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LAIKA, dog baking a cake food as a chef hat", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", { input: { model: "dev", prompt: "A photo of LAIKA, dog baking a cake food as a chef hat", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", input={ "model": "dev", "prompt": "A photo of LAIKA, dog baking a cake food as a chef hat", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sigil-wen/laika-flux-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": "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog baking a cake food as a chef hat", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-21T01:52:28.827221Z", "created_at": "2024-08-21T01:52:11.763000Z", "data_removed": false, "error": null, "id": "pj0typb7ydrm00cheahbp2xnnw", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog baking a cake food as a chef hat", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 28297\nPrompt: A photo of LAIKA, dog baking a cake food as a chef hat\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9768497025024\nDownloading weights\n2024-08-21T01:52:11Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\n2024-08-21T01:52:13Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size=\"172 MB\" total_elapsed=1.727s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\nb''\nDownloaded weights in 1.8264179229736328 seconds\nLoRA weights loaded successfully\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.68it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.23it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.94it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.82it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.76it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.73it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.70it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.68it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.68it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.67it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.66it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.66it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.67it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.66it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.66it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.66it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.66it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.65it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.66it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.66it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.66it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.65it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.66it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.66it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.66it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.66it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.69it/s]", "metrics": { "predict_time": 17.042851179, "total_time": 17.064221 }, "output": [ "https://replicate.delivery/yhqm/pEnbKXq3DPL9NdqZ9enMMw47M2sgJAdBHehfRPvFq8X4SfSNB/out-0.webp" ], "started_at": "2024-08-21T01:52:11.784369Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/pj0typb7ydrm00cheahbp2xnnw", "cancel": "https://api.replicate.com/v1/predictions/pj0typb7ydrm00cheahbp2xnnw/cancel" }, "version": "799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29" }
Generated inUsing seed: 28297 Prompt: A photo of LAIKA, dog baking a cake food as a chef hat txt2img mode Using dev model Loading LoRA weights Ensuring enough disk space... Free disk space: 9768497025024 Downloading weights 2024-08-21T01:52:11Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar 2024-08-21T01:52:13Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size="172 MB" total_elapsed=1.727s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar b'' Downloaded weights in 1.8264179229736328 seconds LoRA weights loaded successfully 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.68it/s] 7%|▋ | 2/28 [00:00<00:06, 4.23it/s] 11%|█ | 3/28 [00:00<00:06, 3.94it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.82it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.76it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.73it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.70it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.68it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.68it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.67it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.66it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.66it/s] 50%|█████ | 14/28 [00:03<00:03, 3.67it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.66it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.66it/s] 61%|██████ | 17/28 [00:04<00:03, 3.66it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.66it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.65it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.66it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.66it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.66it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.65it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.66it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.66it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.66it/s] 100%|██████████| 28/28 [00:07<00:00, 3.66it/s] 100%|██████████| 28/28 [00:07<00:00, 3.69it/s]
Prediction
sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29ID2et5f497c5rm20cheaht50jj30StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LAIKA, dog swimming with a dolphin
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LAIKA, dog swimming with a dolphin", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", { input: { model: "dev", prompt: "A photo of LAIKA, dog swimming with a dolphin", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", input={ "model": "dev", "prompt": "A photo of LAIKA, dog swimming with a dolphin", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sigil-wen/laika-flux-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": "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog swimming with a dolphin", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-21T01:53:19.638115Z", "created_at": "2024-08-21T01:53:00.769000Z", "data_removed": false, "error": null, "id": "2et5f497c5rm20cheaht50jj30", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog swimming with a dolphin", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 10131\nPrompt: A photo of LAIKA, dog swimming with a dolphin\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9664543997952\nDownloading weights\n2024-08-21T01:53:00Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\n2024-08-21T01:53:04Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size=\"172 MB\" total_elapsed=3.262s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\nb''\nDownloaded weights in 3.2956089973449707 seconds\nLoRA weights loaded successfully\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.69it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.24it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.95it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.83it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.78it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.74it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.71it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.69it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.67it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.67it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.67it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.67it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.66it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.67it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.66it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.67it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.67it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.66it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.66it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.67it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.67it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.66it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.66it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.70it/s]", "metrics": { "predict_time": 18.836643915, "total_time": 18.869115 }, "output": [ "https://replicate.delivery/yhqm/0K86Hm7neCWMPqMmbkboclJXqkZ7VCopOJveJaiVX9UPqvUTA/out-0.webp" ], "started_at": "2024-08-21T01:53:00.801471Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2et5f497c5rm20cheaht50jj30", "cancel": "https://api.replicate.com/v1/predictions/2et5f497c5rm20cheaht50jj30/cancel" }, "version": "799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29" }
Generated inUsing seed: 10131 Prompt: A photo of LAIKA, dog swimming with a dolphin txt2img mode Using dev model Loading LoRA weights Ensuring enough disk space... Free disk space: 9664543997952 Downloading weights 2024-08-21T01:53:00Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar 2024-08-21T01:53:04Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size="172 MB" total_elapsed=3.262s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar b'' Downloaded weights in 3.2956089973449707 seconds LoRA weights loaded successfully 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.69it/s] 7%|▋ | 2/28 [00:00<00:06, 4.24it/s] 11%|█ | 3/28 [00:00<00:06, 3.95it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.83it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.78it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.74it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.71it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.69it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.67it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.67it/s] 50%|█████ | 14/28 [00:03<00:03, 3.67it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.67it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.66it/s] 61%|██████ | 17/28 [00:04<00:02, 3.67it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.66it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.67it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.67it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.66it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.66it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.67it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.67it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.66it/s] 100%|██████████| 28/28 [00:07<00:00, 3.66it/s] 100%|██████████| 28/28 [00:07<00:00, 3.70it/s]
Prediction
sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29ID227wsr8sssrm20cheamttx811mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LAIKA, dog kissing donald trump
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LAIKA, dog kissing donald trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", { input: { model: "dev", prompt: "A photo of LAIKA, dog kissing donald trump", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", input={ "model": "dev", "prompt": "A photo of LAIKA, dog kissing donald trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sigil-wen/laika-flux-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": "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog kissing donald trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-21T02:00:07.769337Z", "created_at": "2024-08-21T01:59:30.510000Z", "data_removed": false, "error": null, "id": "227wsr8sssrm20cheamttx811m", "input": { "model": "dev", "prompt": "A photo of LAIKA, dog kissing donald trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 20795\nPrompt: A photo of LAIKA, dog kissing donald trump\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nLoRA weights loaded successfully\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.65it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.18it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.93it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.82it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.75it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.71it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.70it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.67it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.66it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.66it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.66it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.65it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.65it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.65it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.65it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.65it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.65it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.65it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.66it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.65it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.65it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.65it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.65it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.64it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.65it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.65it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.68it/s]", "metrics": { "predict_time": 16.626202116, "total_time": 37.259337 }, "output": [ "https://replicate.delivery/yhqm/vE6bTJYO93KrNd7UbJUUfjcdtProhgoKnB6H2xjT4CoT4XqJA/out-0.webp" ], "started_at": "2024-08-21T01:59:51.143135Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/227wsr8sssrm20cheamttx811m", "cancel": "https://api.replicate.com/v1/predictions/227wsr8sssrm20cheamttx811m/cancel" }, "version": "799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29" }
Generated inUsing seed: 20795 Prompt: A photo of LAIKA, dog kissing donald trump txt2img mode Using dev model Loading LoRA weights LoRA weights loaded successfully 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.65it/s] 7%|▋ | 2/28 [00:00<00:06, 4.18it/s] 11%|█ | 3/28 [00:00<00:06, 3.93it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.82it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.75it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.71it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.70it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.67it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.66it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.66it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.66it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.65it/s] 50%|█████ | 14/28 [00:03<00:03, 3.65it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.65it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.65it/s] 61%|██████ | 17/28 [00:04<00:03, 3.65it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.65it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.65it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.66it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.65it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.65it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.65it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.65it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.64it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.65it/s] 100%|██████████| 28/28 [00:07<00:00, 3.65it/s] 100%|██████████| 28/28 [00:07<00:00, 3.68it/s]
Prediction
sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29IDd58hs4sefxrm00chcy6vsz562mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LAIKA, flying through the sky with wings
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LAIKA, flying through the sky with wings", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", { input: { model: "dev", prompt: "A photo of LAIKA, flying through the sky with wings", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", input={ "model": "dev", "prompt": "A photo of LAIKA, flying through the sky with wings", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sigil-wen/laika-flux-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": "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", "input": { "model": "dev", "prompt": "A photo of LAIKA, flying through the sky with wings", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-18T22:14:27.103565Z", "created_at": "2024-08-18T22:13:11.423000Z", "data_removed": false, "error": null, "id": "d58hs4sefxrm00chcy6vsz562m", "input": { "model": "dev", "prompt": "A photo of LAIKA, flying through the sky with wings", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 63403\nPrompt: A photo of LAIKA, flying through the sky with wings\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9535391256576\nDownloading weights\n2024-08-18T22:14:00Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\n2024-08-18T22:14:01Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size=\"172 MB\" total_elapsed=1.652s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\nb''\nDownloaded weights in 1.6845386028289795 seconds\nLoRA weights loaded successfully\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.66it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.22it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.95it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.84it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.78it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.74it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.72it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.70it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.67it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.67it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.67it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.67it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.67it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.67it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.67it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.67it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.67it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.67it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.67it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.67it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.67it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.67it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.70it/s]", "metrics": { "predict_time": 26.87559308, "total_time": 75.680565 }, "output": [ "https://replicate.delivery/yhqm/WPSffhb93BhrBE0EjhzIERvqTtoVc6yTeADMauU2N1dFiEomA/out-0.webp" ], "started_at": "2024-08-18T22:14:00.227971Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/d58hs4sefxrm00chcy6vsz562m", "cancel": "https://api.replicate.com/v1/predictions/d58hs4sefxrm00chcy6vsz562m/cancel" }, "version": "799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29" }
Generated inUsing seed: 63403 Prompt: A photo of LAIKA, flying through the sky with wings txt2img mode Using dev model Loading LoRA weights Ensuring enough disk space... Free disk space: 9535391256576 Downloading weights 2024-08-18T22:14:00Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar 2024-08-18T22:14:01Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size="172 MB" total_elapsed=1.652s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar b'' Downloaded weights in 1.6845386028289795 seconds LoRA weights loaded successfully 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.66it/s] 7%|▋ | 2/28 [00:00<00:06, 4.22it/s] 11%|█ | 3/28 [00:00<00:06, 3.95it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.84it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.78it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.74it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.72it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.70it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.67it/s] 50%|█████ | 14/28 [00:03<00:03, 3.67it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.67it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.67it/s] 61%|██████ | 17/28 [00:04<00:02, 3.67it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.67it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.67it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.67it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.67it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.67it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.67it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.67it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.67it/s] 100%|██████████| 28/28 [00:07<00:00, 3.67it/s] 100%|██████████| 28/28 [00:07<00:00, 3.70it/s]
Prediction
sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29IDbhxwj2qyr5rm60chcy7v8sf81rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LAIKA, wearing a hat that says "I love julia"
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LAIKA, wearing a hat that says \"I love julia\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", { input: { model: "dev", prompt: "A photo of LAIKA, wearing a hat that says \"I love julia\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sigil-wen/laika-flux-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", input={ "model": "dev", "prompt": "A photo of LAIKA, wearing a hat that says \"I love julia\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sigil-wen/laika-flux-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": "sigil-wen/laika-flux-lora:799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29", "input": { "model": "dev", "prompt": "A photo of LAIKA, wearing a hat that says \\"I love julia\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-18T22:17:17.362022Z", "created_at": "2024-08-18T22:16:15.809000Z", "data_removed": false, "error": null, "id": "bhxwj2qyr5rm60chcy7v8sf81r", "input": { "model": "dev", "prompt": "A photo of LAIKA, wearing a hat that says \"I love julia\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 20186\nPrompt: A photo of LAIKA, wearing a hat that says \"I love julia\"\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9559464497152\nDownloading weights\n2024-08-18T22:16:59Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\n2024-08-18T22:17:00Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size=\"172 MB\" total_elapsed=1.469s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar\nb''\nDownloaded weights in 1.4996898174285889 seconds\nLoRA weights loaded successfully\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.69it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.25it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.96it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.84it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.78it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.75it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.72it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.70it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.70it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.69it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.68it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.68it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.68it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.67it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.68it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.68it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.67it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.68it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.68it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.67it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.67it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.68it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.68it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.67it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.67it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.70it/s]", "metrics": { "predict_time": 18.403628041, "total_time": 61.553022 }, "output": [ "https://replicate.delivery/yhqm/JPrnXkCuwhbqExONJLK9OeMJX4tTx1buRFDNZOySl6h2JBqJA/out-0.webp" ], "started_at": "2024-08-18T22:16:58.958394Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bhxwj2qyr5rm60chcy7v8sf81r", "cancel": "https://api.replicate.com/v1/predictions/bhxwj2qyr5rm60chcy7v8sf81r/cancel" }, "version": "799200e6ca994aba2607bb6f16e504c114f2bff9a695de31a50f140a88b11a29" }
Generated inUsing seed: 20186 Prompt: A photo of LAIKA, wearing a hat that says "I love julia" txt2img mode Using dev model Loading LoRA weights Ensuring enough disk space... Free disk space: 9559464497152 Downloading weights 2024-08-18T22:16:59Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/e6cf29dc1b86c206 url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar 2024-08-18T22:17:00Z | INFO | [ Complete ] dest=/src/weights-cache/e6cf29dc1b86c206 size="172 MB" total_elapsed=1.469s url=https://replicate.delivery/yhqm/JP5oQkmqgUK7FRiAQr7cahzWAk2wy85ToIy9eo8eUeMCeIQNB/trained_model.tar b'' Downloaded weights in 1.4996898174285889 seconds LoRA weights loaded successfully 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.69it/s] 7%|▋ | 2/28 [00:00<00:06, 4.25it/s] 11%|█ | 3/28 [00:00<00:06, 3.96it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.84it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.78it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.75it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.72it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.70it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.70it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.69it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.68it/s] 50%|█████ | 14/28 [00:03<00:03, 3.68it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.68it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.67it/s] 61%|██████ | 17/28 [00:04<00:02, 3.68it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.68it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.67it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.68it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.68it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.67it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.67it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.68it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.68it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.67it/s] 100%|██████████| 28/28 [00:07<00:00, 3.67it/s] 100%|██████████| 28/28 [00:07<00:00, 3.70it/s]
Want to make some of these yourself?
Run this model