andreasjansson
/
flux-monkey-island
- Public
- 360 runs
-
H100
Prediction
andreasjansson/flux-monkey-island:18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0ID5bs51hv95drm00chaq4angpez4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 1
- prompt
- A scene from the video game Monkey Island depicting a pirate ship in the ocean
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "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"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/flux-monkey-island:18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0", { input: { seed: 1, prompt: "A scene from the video game Monkey Island depicting a pirate ship in the ocean", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", 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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/flux-monkey-island:18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0", input={ "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "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 andreasjansson/flux-monkey-island 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": "18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0", "input": { "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "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-15T11:25:05.001081Z", "created_at": "2024-08-15T11:24:43.179000Z", "data_removed": false, "error": null, "id": "5bs51hv95drm00chaq4angpez4", "input": { "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 1\nLoading LoRA weights from https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar\nEnsuring enough disk space...\nFree disk space: 9798220324864\nDownloading weights: https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar\n2024-08-15T11:24:45Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/85db1d03437bde50 url=https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar\n2024-08-15T11:24:46Z | INFO | [ Complete ] dest=/src/weights-cache/85db1d03437bde50 size=\"172 MB\" total_elapsed=1.352s url=https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar\nb''\nDownloaded weights in 1.3807463645935059 seconds\nLoRA weights loaded successfully\nPrompt: A scene from the video game Monkey Island depicting a pirate ship in the ocean\ntxt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.97it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.80it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.74it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.72it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.70it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.69it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.68it/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.67it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.67it/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.66it/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.67it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.68it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.68it/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.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.67it/s]", "metrics": { "predict_time": 19.77677731, "total_time": 21.822081 }, "output": [ "https://replicate.delivery/yhqm/yJYuUBovOLrecin58iHK9hiF7Jlwkl68uFg7GHdbe6OQeylmA/out-0.webp" ], "started_at": "2024-08-15T11:24:45.224304Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5bs51hv95drm00chaq4angpez4", "cancel": "https://api.replicate.com/v1/predictions/5bs51hv95drm00chaq4angpez4/cancel" }, "version": "18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0" }
Generated inUsing seed: 1 Loading LoRA weights from https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar Ensuring enough disk space... Free disk space: 9798220324864 Downloading weights: https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar 2024-08-15T11:24:45Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/85db1d03437bde50 url=https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar 2024-08-15T11:24:46Z | INFO | [ Complete ] dest=/src/weights-cache/85db1d03437bde50 size="172 MB" total_elapsed=1.352s url=https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar b'' Downloaded weights in 1.3807463645935059 seconds LoRA weights loaded successfully Prompt: A scene from the video game Monkey Island depicting a pirate ship in the ocean txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.97it/s] 7%|▋ | 2/28 [00:00<00:06, 3.80it/s] 11%|█ | 3/28 [00:00<00:06, 3.74it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.72it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.70it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.69it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.68it/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.67it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.67it/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.66it/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.67it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.68it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.68it/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.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.67it/s]
Prediction
andreasjansson/flux-monkey-island:18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0IDgj7r5tf7x9rm00chaq49kmbeg0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 1
- prompt
- A scene from the video game Monkey Island depicting a pirate ship in the ocean
- lora_scale
- 0
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 28
{ "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 0, "num_outputs": 1, "aspect_ratio": "16:9", "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"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/flux-monkey-island:18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0", { input: { seed: 1, prompt: "A scene from the video game Monkey Island depicting a pirate ship in the ocean", lora_scale: 0, num_outputs: 1, aspect_ratio: "16:9", 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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/flux-monkey-island:18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0", input={ "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 0, "num_outputs": 1, "aspect_ratio": "16:9", "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 andreasjansson/flux-monkey-island 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": "18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0", "input": { "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 0, "num_outputs": 1, "aspect_ratio": "16:9", "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-15T11:25:34.488455Z", "created_at": "2024-08-15T11:25:15.626000Z", "data_removed": false, "error": null, "id": "gj7r5tf7x9rm00chaq49kmbeg0", "input": { "seed": 1, "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 0, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 28 }, "logs": "Using seed: 1\nLoading LoRA weights from https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar\nLoRA weights loaded successfully\nPrompt: A scene from the video game Monkey Island depicting a pirate ship in the ocean\ntxt2img mode\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.54it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.97it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.75it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.67it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.63it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.60it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.57it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.58it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.57it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.56it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.54it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.56it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.56it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.55it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.55it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.55it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.55it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.55it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.55it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.56it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.56it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.55it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.55it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.55it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.55it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.55it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.54it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.55it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.57it/s]", "metrics": { "predict_time": 17.124413954, "total_time": 18.862455 }, "output": [ "https://replicate.delivery/yhqm/pgGqLCPWxnJ9KhilUTTTzIl8TobFDITbdDlB9fem4nMueylmA/out-0.webp" ], "started_at": "2024-08-15T11:25:17.364041Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gj7r5tf7x9rm00chaq49kmbeg0", "cancel": "https://api.replicate.com/v1/predictions/gj7r5tf7x9rm00chaq49kmbeg0/cancel" }, "version": "18fed641fb9804565fcc64031c234e3ae34f31d40cae9ac9f4318beee64840e0" }
Generated inUsing seed: 1 Loading LoRA weights from https://replicate.delivery/yhqm/hUisXI1HbQ7cF53Hwtv8SZyWN4Geul7sXpMFlKZfCtXIS4STA/trained_model.tar LoRA weights loaded successfully Prompt: A scene from the video game Monkey Island depicting a pirate ship in the ocean txt2img mode 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.54it/s] 7%|▋ | 2/28 [00:00<00:06, 3.97it/s] 11%|█ | 3/28 [00:00<00:06, 3.75it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.67it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.63it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.60it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.57it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.58it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.57it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.56it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.54it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.56it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.56it/s] 50%|█████ | 14/28 [00:03<00:03, 3.55it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.55it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.55it/s] 61%|██████ | 17/28 [00:04<00:03, 3.55it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.55it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.55it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.56it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.56it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.55it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.55it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.55it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.55it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.55it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.54it/s] 100%|██████████| 28/28 [00:07<00:00, 3.55it/s] 100%|██████████| 28/28 [00:07<00:00, 3.57it/s]
Prediction
andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025feID4wnkja9wexrm20charzaaw21gmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- seed
- 2
- model
- schnell
- prompt
- A scene from the video game Monkey Island depicting a pirate ship in the ocean
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 4
{ "seed": 2, "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", { input: { seed: 2, model: "schnell", prompt: "A scene from the video game Monkey Island depicting a pirate ship in the ocean", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", input={ "seed": 2, "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/flux-monkey-island 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": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", "input": { "seed": 2, "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-15T13:33:41.633230Z", "created_at": "2024-08-15T13:33:24.983000Z", "data_removed": false, "error": null, "id": "4wnkja9wexrm20charzaaw21gm", "input": { "seed": 2, "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 4 }, "logs": "Using seed: 2\nPrompt: A scene from the video game Monkey Island depicting a pirate ship in the ocean\ntxt2img mode\nUsing schnell model\nLoading LoRA weights from https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar\nEnsuring enough disk space...\nFree disk space: 9862649483264\nDownloading weights: https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar\n2024-08-15T13:33:26Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/52f78ab80157db0e url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar\n2024-08-15T13:33:30Z | INFO | [ Complete ] dest=/src/weights-cache/52f78ab80157db0e size=\"172 MB\" total_elapsed=3.243s url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar\nb''\nDownloaded weights in 3.273057222366333 seconds\nLoRA weights loaded successfully\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:01, 2.88it/s]\n 50%|█████ | 2/4 [00:00<00:00, 3.74it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 3.73it/s]\n100%|██████████| 4/4 [00:01<00:00, 3.73it/s]\n100%|██████████| 4/4 [00:01<00:00, 3.65it/s]", "metrics": { "predict_time": 14.750450574, "total_time": 16.65023 }, "output": [ "https://replicate.delivery/yhqm/I6z1wy8cDd6QNN2eMYh5urDd1Odd9bgt1jjcAMreswA1W7STA/out-0.webp" ], "started_at": "2024-08-15T13:33:26.882779Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4wnkja9wexrm20charzaaw21gm", "cancel": "https://api.replicate.com/v1/predictions/4wnkja9wexrm20charzaaw21gm/cancel" }, "version": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe" }
Generated inUsing seed: 2 Prompt: A scene from the video game Monkey Island depicting a pirate ship in the ocean txt2img mode Using schnell model Loading LoRA weights from https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar Ensuring enough disk space... Free disk space: 9862649483264 Downloading weights: https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar 2024-08-15T13:33:26Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/52f78ab80157db0e url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar 2024-08-15T13:33:30Z | INFO | [ Complete ] dest=/src/weights-cache/52f78ab80157db0e size="172 MB" total_elapsed=3.243s url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar b'' Downloaded weights in 3.273057222366333 seconds LoRA weights loaded successfully 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:01, 2.88it/s] 50%|█████ | 2/4 [00:00<00:00, 3.74it/s] 75%|███████▌ | 3/4 [00:00<00:00, 3.73it/s] 100%|██████████| 4/4 [00:01<00:00, 3.73it/s] 100%|██████████| 4/4 [00:01<00:00, 3.65it/s]
Prediction
andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025feID9b55mxf1d9rm20chat99t3gq7mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- A scene from the video game Monkey Island depicting a grand pirate ship in the ocean
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", { input: { model: "schnell", prompt: "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", input={ "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/flux-monkey-island 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": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-15T15:06:04.890051Z", "created_at": "2024-08-15T15:05:52.234000Z", "data_removed": false, "error": null, "id": "9b55mxf1d9rm20chat99t3gq7m", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 4 }, "logs": "Using seed: 35353\nPrompt: A scene from the video game Monkey Island depicting a grand pirate ship in the ocean\ntxt2img mode\nUsing schnell model\nLoading LoRA weights from https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar\nLoRA weights loaded successfully\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 3.70it/s]\n 50%|█████ | 2/4 [00:00<00:00, 4.26it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 3.98it/s]\n100%|██████████| 4/4 [00:01<00:00, 3.85it/s]\n100%|██████████| 4/4 [00:01<00:00, 3.91it/s]", "metrics": { "predict_time": 9.864160308, "total_time": 12.656051 }, "output": [ "https://replicate.delivery/yhqm/LffudJ6teKdJfTifQ1IfQNbHeIRDIizgpDv246BFvfIsct8STA/out-0.webp" ], "started_at": "2024-08-15T15:05:55.025891Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/9b55mxf1d9rm20chat99t3gq7m", "cancel": "https://api.replicate.com/v1/predictions/9b55mxf1d9rm20chat99t3gq7m/cancel" }, "version": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe" }
Generated inUsing seed: 35353 Prompt: A scene from the video game Monkey Island depicting a grand pirate ship in the ocean txt2img mode Using schnell model Loading LoRA weights from https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar LoRA weights loaded successfully 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 3.70it/s] 50%|█████ | 2/4 [00:00<00:00, 4.26it/s] 75%|███████▌ | 3/4 [00:00<00:00, 3.98it/s] 100%|██████████| 4/4 [00:01<00:00, 3.85it/s] 100%|██████████| 4/4 [00:01<00:00, 3.91it/s]
Prediction
andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025feID0ztw5dh719rm20chbmk8ads9cwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- A scene from the video game Monkey Island depicting a Jeep Liberty
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a Jeep Liberty", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", { input: { model: "schnell", prompt: "A scene from the video game Monkey Island depicting a Jeep Liberty", lora_scale: 1, num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", input={ "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a Jeep Liberty", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/flux-monkey-island 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": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a Jeep Liberty", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-16T21:44:28.708961Z", "created_at": "2024-08-16T21:44:27.146000Z", "data_removed": false, "error": null, "id": "0ztw5dh719rm20chbmk8ads9cw", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a Jeep Liberty", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "num_inference_steps": 4 }, "logs": "Using seed: 6372\nPrompt: A scene from the video game Monkey Island depicting a Jeep Liberty\ntxt2img mode\nUsing schnell model\nLoading LoRA weights\nweights already loaded!\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:00, 3.90it/s]\n 50%|█████ | 2/4 [00:00<00:00, 4.48it/s]\n 75%|███████▌ | 3/4 [00:00<00:00, 4.22it/s]\n100%|██████████| 4/4 [00:00<00:00, 4.11it/s]\n100%|██████████| 4/4 [00:00<00:00, 4.15it/s]", "metrics": { "predict_time": 1.5297982810000001, "total_time": 1.562961 }, "output": [ "https://replicate.delivery/yhqm/GT1hlHYntM77PNBQBOU7EQLAae7Yf2mnyA4DFeJ8j2y5RvmmA/out-0.webp" ], "started_at": "2024-08-16T21:44:27.179163Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/0ztw5dh719rm20chbmk8ads9cw", "cancel": "https://api.replicate.com/v1/predictions/0ztw5dh719rm20chbmk8ads9cw/cancel" }, "version": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe" }
Generated inUsing seed: 6372 Prompt: A scene from the video game Monkey Island depicting a Jeep Liberty txt2img mode Using schnell model Loading LoRA weights weights already loaded! 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:00, 3.90it/s] 50%|█████ | 2/4 [00:00<00:00, 4.48it/s] 75%|███████▌ | 3/4 [00:00<00:00, 4.22it/s] 100%|██████████| 4/4 [00:00<00:00, 4.11it/s] 100%|██████████| 4/4 [00:00<00:00, 4.15it/s]
Prediction
andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025feIDrve1cvwfh1rmc0ckk2vsh21yj8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- A scene from the video game Monkey Island depicting a grand pirate ship in the ocean
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "go_fast": true, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", { input: { model: "schnell", prompt: "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", go_fast: true, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, 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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", input={ "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "go_fast": True, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/flux-monkey-island 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": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "go_fast": true, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "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-12-05T21:26:27.537372Z", "created_at": "2024-12-05T21:26:26.952000Z", "data_removed": false, "error": null, "id": "rve1cvwfh1rmc0ckk2vsh21yj8", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island depicting a grand pirate ship in the ocean", "go_fast": true, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 4 }, "logs": "Lora https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar already loaded\nrunning quantized prediction\nUsing seed: 3585702239\n 0%| | 0/4 [00:00<?, ?it/s]\n 50%|█████ | 2/4 [00:00<00:00, 18.77it/s]\n100%|██████████| 4/4 [00:00<00:00, 13.57it/s]\n100%|██████████| 4/4 [00:00<00:00, 14.15it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 0.577389991, "total_time": 0.585372 }, "output": [ "https://replicate.delivery/xezq/xjcf3liCUeq74UpefrAALRwZsBQUh3dHLfXAQN7CdJf6gMf7JA/out-0.webp" ], "started_at": "2024-12-05T21:26:26.959982Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-4jkoyffwxgspzpwnaj62rdagq6xglcvrm24tzlvlpy6rg3ewofva", "get": "https://api.replicate.com/v1/predictions/rve1cvwfh1rmc0ckk2vsh21yj8", "cancel": "https://api.replicate.com/v1/predictions/rve1cvwfh1rmc0ckk2vsh21yj8/cancel" }, "version": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe" }
Generated inLora https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar already loaded running quantized prediction Using seed: 3585702239 0%| | 0/4 [00:00<?, ?it/s] 50%|█████ | 2/4 [00:00<00:00, 18.77it/s] 100%|██████████| 4/4 [00:00<00:00, 13.57it/s] 100%|██████████| 4/4 [00:00<00:00, 14.15it/s] Total safe images: 1 out of 1
Prediction
andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025feIDmjmrz59ac1rm80ckk2w9g3nrpwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- A scene from the video game Monkey Island, opening credits with large text Wonky Island (and no other text)
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 16:9
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "A scene from the video game Monkey Island, opening credits with large text Wonky Island (and no other text)", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", { input: { model: "schnell", prompt: "A scene from the video game Monkey Island, opening credits with large text Wonky Island (and no other text)", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "16:9", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, 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 andreasjansson/flux-monkey-island using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/flux-monkey-island:fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", input={ "model": "schnell", "prompt": "A scene from the video game Monkey Island, opening credits with large text Wonky Island (and no other text)", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/flux-monkey-island 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": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island, opening credits with large text Wonky Island (and no other text)", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "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-12-05T21:27:17.477109Z", "created_at": "2024-12-05T21:27:06.592000Z", "data_removed": false, "error": null, "id": "mjmrz59ac1rm80ckk2w9g3nrpw", "input": { "model": "schnell", "prompt": "A scene from the video game Monkey Island, opening credits with large text Wonky Island (and no other text)", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "16:9", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 4 }, "logs": "2024-12-05 21:27:11.054 | DEBUG | fp8.lora_loading:apply_lora_to_model:569 - Extracting keys\n2024-12-05 21:27:11.055 | DEBUG | fp8.lora_loading:apply_lora_to_model:576 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 284/304 [00:00<00:00, 2835.66it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2669.62it/s]\n2024-12-05 21:27:11.169 | SUCCESS | fp8.lora_loading:unload_loras:559 - LoRAs unloaded in 0.11s\nfree=29025019949056\nDownloading weights\n2024-12-05T21:27:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp455lnfx8/weights url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar\n2024-12-05T21:27:16Z | INFO | [ Complete ] dest=/tmp/tmp455lnfx8/weights size=\"172 MB\" total_elapsed=4.963s url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar\nDownloaded weights in 4.99s\n2024-12-05 21:27:16.157 | INFO | fp8.lora_loading:convert_lora_weights:493 - Loading LoRA weights for /src/weights-cache/52f78ab80157db0e\n2024-12-05 21:27:16.226 | INFO | fp8.lora_loading:convert_lora_weights:514 - LoRA weights loaded\n2024-12-05 21:27:16.226 | DEBUG | fp8.lora_loading:apply_lora_to_model:569 - Extracting keys\n2024-12-05 21:27:16.226 | DEBUG | fp8.lora_loading:apply_lora_to_model:576 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 285/304 [00:00<00:00, 2842.70it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2676.60it/s]\n2024-12-05 21:27:16.340 | SUCCESS | fp8.lora_loading:load_lora:534 - LoRA applied in 0.18s\nUsing seed: 46081\n0it [00:00, ?it/s]\n1it [00:00, 8.50it/s]\n2it [00:00, 5.90it/s]\n3it [00:00, 5.37it/s]\n4it [00:00, 5.15it/s]\n4it [00:00, 5.43it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.421864381, "total_time": 10.885109 }, "output": [ "https://replicate.delivery/xezq/Ge98yAm4Tbwfwku7lfeheHerQ63yt9Tr68R7scEFokWZtMf7JA/out-0.webp" ], "started_at": "2024-12-05T21:27:11.055245Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-u4k4as5rgqk6lauflhikczbuuogzpvnybsf6bv7pmkwhucm332ia", "get": "https://api.replicate.com/v1/predictions/mjmrz59ac1rm80ckk2w9g3nrpw", "cancel": "https://api.replicate.com/v1/predictions/mjmrz59ac1rm80ckk2w9g3nrpw/cancel" }, "version": "fb6d34e863c81b27705f413933bf14429163a2654181835a9e8bf3bf3a7025fe" }
Generated in2024-12-05 21:27:11.054 | DEBUG | fp8.lora_loading:apply_lora_to_model:569 - Extracting keys 2024-12-05 21:27:11.055 | DEBUG | fp8.lora_loading:apply_lora_to_model:576 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 284/304 [00:00<00:00, 2835.66it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2669.62it/s] 2024-12-05 21:27:11.169 | SUCCESS | fp8.lora_loading:unload_loras:559 - LoRAs unloaded in 0.11s free=29025019949056 Downloading weights 2024-12-05T21:27:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp455lnfx8/weights url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar 2024-12-05T21:27:16Z | INFO | [ Complete ] dest=/tmp/tmp455lnfx8/weights size="172 MB" total_elapsed=4.963s url=https://replicate.delivery/yhqm/eqoFdeiVsjnST0gOCJCLrWmjuycl51Lf4p5e1r50ouwPPtLNB/trained_model.tar Downloaded weights in 4.99s 2024-12-05 21:27:16.157 | INFO | fp8.lora_loading:convert_lora_weights:493 - Loading LoRA weights for /src/weights-cache/52f78ab80157db0e 2024-12-05 21:27:16.226 | INFO | fp8.lora_loading:convert_lora_weights:514 - LoRA weights loaded 2024-12-05 21:27:16.226 | DEBUG | fp8.lora_loading:apply_lora_to_model:569 - Extracting keys 2024-12-05 21:27:16.226 | DEBUG | fp8.lora_loading:apply_lora_to_model:576 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 285/304 [00:00<00:00, 2842.70it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2676.60it/s] 2024-12-05 21:27:16.340 | SUCCESS | fp8.lora_loading:load_lora:534 - LoRA applied in 0.18s Using seed: 46081 0it [00:00, ?it/s] 1it [00:00, 8.50it/s] 2it [00:00, 5.90it/s] 3it [00:00, 5.37it/s] 4it [00:00, 5.15it/s] 4it [00:00, 5.43it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model