pbuyle / banchan-flux
Potassium rich FLUX.1 [dev] LoRA infused with the likeness of Banano Chan. The digital waifu embodiment of Banano, a feeless and super fast meme cryptocurrency. Use "b4nch4n" as activation token.
- Public
- 397 runs
-
H100
Prediction
pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8ID3acsrm336srm20chv2fb0z3n7wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1024
- height
- 1024
- prompt
- A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1024, "height": 1024, "prompt": "A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "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 pbuyle/banchan-flux using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", { input: { model: "dev", width: 1024, height: 1024, prompt: "A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer.", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 0.8, 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 pbuyle/banchan-flux using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", input={ "model": "dev", "width": 1024, "height": 1024, "prompt": "A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run pbuyle/banchan-flux 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": "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", "input": { "model": "dev", "width": 1024, "height": 1024, "prompt": "A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-09T21:09:27.259605Z", "created_at": "2024-09-09T21:09:04.438000Z", "data_removed": false, "error": null, "id": "3acsrm336srm20chv2fb0z3n7w", "input": { "model": "dev", "width": 1024, "height": 1024, "prompt": "A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 48925\nPrompt: A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 3.29s\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.17it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.94it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.85it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.79it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.76it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.74it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.73it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.72it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.71it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.71it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.71it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.71it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.70it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.70it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.70it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.70it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.70it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.70it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.70it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.70it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.70it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.70it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.70it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.70it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.70it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.70it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.70it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.73it/s]", "metrics": { "predict_time": 11.337142054, "total_time": 22.821605 }, "output": [ "https://replicate.delivery/yhqm/vix3K3JOrsqoIVDxaQs8u730voErndChDQe3zsgZkljDsotJA/out-0.webp" ], "started_at": "2024-09-09T21:09:15.922463Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3acsrm336srm20chv2fb0z3n7w", "cancel": "https://api.replicate.com/v1/predictions/3acsrm336srm20chv2fb0z3n7w/cancel" }, "version": "fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8" }
Generated inUsing seed: 48925 Prompt: A retro anime-style digital illustration of b4nch4n standing in front of a bright gradient background. She is wearing an unbuttoned, brown hoodie, a black crop-to with two stylized bananas on chest, denim shorts and yellow snickers. She is viewed from above and looking directly at the viewer. [!] txt2img mode Using dev model Loaded LoRAs in 3.29s 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.17it/s] 11%|█ | 3/28 [00:00<00:06, 3.94it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.85it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.79it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.76it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.74it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.73it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.72it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.71it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.71it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.71it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.71it/s] 50%|█████ | 14/28 [00:03<00:03, 3.70it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.70it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.70it/s] 61%|██████ | 17/28 [00:04<00:02, 3.70it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.70it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.70it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.70it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.70it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.70it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.70it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.70it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.70it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.70it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.70it/s] 100%|██████████| 28/28 [00:07<00:00, 3.70it/s] 100%|██████████| 28/28 [00:07<00:00, 3.73it/s]
Prediction
pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8IDsvjw8mdabsrm60chv2crz5cpjmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1024
- height
- 1024
- prompt
- Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1024, "height": 1024, "prompt": "Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "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 pbuyle/banchan-flux using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", { input: { model: "dev", width: 1024, height: 1024, prompt: "Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours.", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 0.8, 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 pbuyle/banchan-flux using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", input={ "model": "dev", "width": 1024, "height": 1024, "prompt": "Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run pbuyle/banchan-flux 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": "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", "input": { "model": "dev", "width": 1024, "height": 1024, "prompt": "Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-09T21:04:17.637289Z", "created_at": "2024-09-09T21:03:54.974000Z", "data_removed": false, "error": null, "id": "svjw8mdabsrm60chv2crz5cpjm", "input": { "model": "dev", "width": 1024, "height": 1024, "prompt": "Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 24838\nPrompt: Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 3.45s\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.15it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.92it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.83it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.77it/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.71it/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.69it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.69it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.69it/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.68it/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.68it/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.68it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.68it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.68it/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.68it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.68it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.71it/s]", "metrics": { "predict_time": 11.544060148, "total_time": 22.663289 }, "output": [ "https://replicate.delivery/yhqm/dt5PpZ2ngd4iJ1q8nq25KWwNglNZASSe4nKFarnTLRhopotJA/out-0.webp" ], "started_at": "2024-09-09T21:04:06.093229Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/svjw8mdabsrm60chv2crz5cpjm", "cancel": "https://api.replicate.com/v1/predictions/svjw8mdabsrm60chv2crz5cpjm/cancel" }, "version": "fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8" }
Generated inUsing seed: 24838 Prompt: Ink on paper portrait of b4nch4n wearing traditional Japanese dress. The background is composed of a sunset over mount fuji. The picture is drawn in traditional japanese art style using sepia and minimal brush strokes. The picture looks ancient, with faded colours. [!] txt2img mode Using dev model Loaded LoRAs in 3.45s 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.15it/s] 11%|█ | 3/28 [00:00<00:06, 3.92it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.83it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.77it/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.71it/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.69it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.69it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.69it/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.68it/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.68it/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.68it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.68it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.68it/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.68it/s] 100%|██████████| 28/28 [00:07<00:00, 3.68it/s] 100%|██████████| 28/28 [00:07<00:00, 3.71it/s]
Prediction
pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8IDmc6fay2np1rm00chv2d8068nf4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1024
- height
- 1024
- prompt
- Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.8
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1024, "height": 1024, "prompt": "Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.8, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "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 pbuyle/banchan-flux using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", { input: { model: "dev", width: 1024, height: 1024, prompt: "Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand.", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.8, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 0.8, 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 pbuyle/banchan-flux using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", input={ "model": "dev", "width": 1024, "height": 1024, "prompt": "Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.8, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run pbuyle/banchan-flux 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": "pbuyle/banchan-flux:fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8", "input": { "model": "dev", "width": 1024, "height": 1024, "prompt": "Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.8, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-09T21:04:57.010299Z", "created_at": "2024-09-09T21:04:38.832000Z", "data_removed": false, "error": null, "id": "mc6fay2np1rm00chv2d8068nf4", "input": { "model": "dev", "width": 1024, "height": 1024, "prompt": "Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.8, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 64985\nPrompt: Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 2.92s\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.16it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.92it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.82it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.77it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.73it/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.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.68it/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.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.68it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.70it/s]", "metrics": { "predict_time": 11.014497956, "total_time": 18.178299 }, "output": [ "https://replicate.delivery/yhqm/nZNXDIGRod7jPZlAU0ddHteTkHNfTeFaBw9ceeciecZJepotJA/out-0.webp" ], "started_at": "2024-09-09T21:04:45.995801Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mc6fay2np1rm00chv2d8068nf4", "cancel": "https://api.replicate.com/v1/predictions/mc6fay2np1rm00chv2d8068nf4/cancel" }, "version": "fd20bcf9199589423306a919bebf91b805453d474a5e03223f633e1dafea97c8" }
Generated inUsing seed: 64985 Prompt: Pixar/Disney 3D style digital illustration of b4nch4n wearing a brown hoodie, a black croptop and denim shorts. Soft sunlight illuminates her face, completing her wide smile. She is stating next to a cute monkey holding her hand. [!] txt2img mode Using dev model Loaded LoRAs in 2.92s 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.16it/s] 11%|█ | 3/28 [00:00<00:06, 3.92it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.82it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.77it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.73it/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.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.68it/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.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.68it/s] 100%|██████████| 28/28 [00:07<00:00, 3.70it/s]
Want to make some of these yourself?
Run this model