dcamsdev / nestle-flux-drumstick-v02
Creates your mini-me
- Public
- 151 runs
-
H100
Prediction
dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45eIDbtdb90ncjhrm20cj3wjrdqaee8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run dcamsdev/nestle-flux-drumstick-v02 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", { input: { image: "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", model: "dev", prompt: "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run dcamsdev/nestle-flux-drumstick-v02 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", input={ "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run dcamsdev/nestle-flux-drumstick-v02 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": "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", "input": { "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-23T13:50:48.548664Z", "created_at": "2024-09-23T13:50:15.700000Z", "data_removed": false, "error": null, "id": "btdb90ncjhrm20cj3wjrdqaee8", "input": { "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50980\nPrompt: a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations\n[!] Resizing input image from 1476x1520 to 1488x1520\n[!] img2img mode\n[!] Using dev model for img2img\nUsing dev model\nfree=7810767306752\nDownloading weights\n2024-09-23T13:50:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpr9dch4f4/weights url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar\n2024-09-23T13:50:18Z | INFO | [ Complete ] dest=/tmp/tmpr9dch4f4/weights size=\"172 MB\" total_elapsed=1.414s url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar\nDownloaded weights in 1.44s\nLoaded LoRAs in 15.58s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:11, 1.97it/s]\n 9%|▊ | 2/23 [00:01<00:12, 1.70it/s]\n 13%|█▎ | 3/23 [00:01<00:12, 1.64it/s]\n 17%|█▋ | 4/23 [00:02<00:11, 1.61it/s]\n 22%|██▏ | 5/23 [00:03<00:11, 1.59it/s]\n 26%|██▌ | 6/23 [00:03<00:10, 1.58it/s]\n 30%|███ | 7/23 [00:04<00:10, 1.57it/s]\n 35%|███▍ | 8/23 [00:04<00:09, 1.57it/s]\n 39%|███▉ | 9/23 [00:05<00:08, 1.56it/s]\n 43%|████▎ | 10/23 [00:06<00:08, 1.56it/s]\n 48%|████▊ | 11/23 [00:06<00:07, 1.56it/s]\n 52%|█████▏ | 12/23 [00:07<00:07, 1.56it/s]\n 57%|█████▋ | 13/23 [00:08<00:06, 1.56it/s]\n 61%|██████ | 14/23 [00:08<00:05, 1.56it/s]\n 65%|██████▌ | 15/23 [00:09<00:05, 1.56it/s]\n 70%|██████▉ | 16/23 [00:10<00:04, 1.56it/s]\n 74%|███████▍ | 17/23 [00:10<00:03, 1.56it/s]\n 78%|███████▊ | 18/23 [00:11<00:03, 1.56it/s]\n 83%|████████▎ | 19/23 [00:12<00:02, 1.56it/s]\n 87%|████████▋ | 20/23 [00:12<00:01, 1.56it/s]\n 91%|█████████▏| 21/23 [00:13<00:01, 1.56it/s]\n 96%|█████████▌| 22/23 [00:13<00:00, 1.56it/s]\n100%|██████████| 23/23 [00:14<00:00, 1.56it/s]\n100%|██████████| 23/23 [00:14<00:00, 1.57it/s]", "metrics": { "predict_time": 31.790359709, "total_time": 32.848664 }, "output": [ "https://replicate.delivery/yhqm/OoAWuYvyaubnDhNAxwMlOwM4oP4kYOEsJw3fy0y3pZScI5vJA/out-0.webp" ], "started_at": "2024-09-23T13:50:16.758304Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/btdb90ncjhrm20cj3wjrdqaee8", "cancel": "https://api.replicate.com/v1/predictions/btdb90ncjhrm20cj3wjrdqaee8/cancel" }, "version": "73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e" }
Generated inUsing seed: 50980 Prompt: a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations [!] Resizing input image from 1476x1520 to 1488x1520 [!] img2img mode [!] Using dev model for img2img Using dev model free=7810767306752 Downloading weights 2024-09-23T13:50:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpr9dch4f4/weights url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar 2024-09-23T13:50:18Z | INFO | [ Complete ] dest=/tmp/tmpr9dch4f4/weights size="172 MB" total_elapsed=1.414s url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar Downloaded weights in 1.44s Loaded LoRAs in 15.58s 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:11, 1.97it/s] 9%|▊ | 2/23 [00:01<00:12, 1.70it/s] 13%|█▎ | 3/23 [00:01<00:12, 1.64it/s] 17%|█▋ | 4/23 [00:02<00:11, 1.61it/s] 22%|██▏ | 5/23 [00:03<00:11, 1.59it/s] 26%|██▌ | 6/23 [00:03<00:10, 1.58it/s] 30%|███ | 7/23 [00:04<00:10, 1.57it/s] 35%|███▍ | 8/23 [00:04<00:09, 1.57it/s] 39%|███▉ | 9/23 [00:05<00:08, 1.56it/s] 43%|████▎ | 10/23 [00:06<00:08, 1.56it/s] 48%|████▊ | 11/23 [00:06<00:07, 1.56it/s] 52%|█████▏ | 12/23 [00:07<00:07, 1.56it/s] 57%|█████▋ | 13/23 [00:08<00:06, 1.56it/s] 61%|██████ | 14/23 [00:08<00:05, 1.56it/s] 65%|██████▌ | 15/23 [00:09<00:05, 1.56it/s] 70%|██████▉ | 16/23 [00:10<00:04, 1.56it/s] 74%|███████▍ | 17/23 [00:10<00:03, 1.56it/s] 78%|███████▊ | 18/23 [00:11<00:03, 1.56it/s] 83%|████████▎ | 19/23 [00:12<00:02, 1.56it/s] 87%|████████▋ | 20/23 [00:12<00:01, 1.56it/s] 91%|█████████▏| 21/23 [00:13<00:01, 1.56it/s] 96%|█████████▌| 22/23 [00:13<00:00, 1.56it/s] 100%|██████████| 23/23 [00:14<00:00, 1.56it/s] 100%|██████████| 23/23 [00:14<00:00, 1.57it/s]
Prediction
dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45eIDbtdb90ncjhrm20cj3wjrdqaee8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run dcamsdev/nestle-flux-drumstick-v02 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", { input: { image: "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", model: "dev", prompt: "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run dcamsdev/nestle-flux-drumstick-v02 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", input={ "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run dcamsdev/nestle-flux-drumstick-v02 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": "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", "input": { "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-23T13:50:48.548664Z", "created_at": "2024-09-23T13:50:15.700000Z", "data_removed": false, "error": null, "id": "btdb90ncjhrm20cj3wjrdqaee8", "input": { "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50980\nPrompt: a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations\n[!] Resizing input image from 1476x1520 to 1488x1520\n[!] img2img mode\n[!] Using dev model for img2img\nUsing dev model\nfree=7810767306752\nDownloading weights\n2024-09-23T13:50:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpr9dch4f4/weights url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar\n2024-09-23T13:50:18Z | INFO | [ Complete ] dest=/tmp/tmpr9dch4f4/weights size=\"172 MB\" total_elapsed=1.414s url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar\nDownloaded weights in 1.44s\nLoaded LoRAs in 15.58s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:11, 1.97it/s]\n 9%|▊ | 2/23 [00:01<00:12, 1.70it/s]\n 13%|█▎ | 3/23 [00:01<00:12, 1.64it/s]\n 17%|█▋ | 4/23 [00:02<00:11, 1.61it/s]\n 22%|██▏ | 5/23 [00:03<00:11, 1.59it/s]\n 26%|██▌ | 6/23 [00:03<00:10, 1.58it/s]\n 30%|███ | 7/23 [00:04<00:10, 1.57it/s]\n 35%|███▍ | 8/23 [00:04<00:09, 1.57it/s]\n 39%|███▉ | 9/23 [00:05<00:08, 1.56it/s]\n 43%|████▎ | 10/23 [00:06<00:08, 1.56it/s]\n 48%|████▊ | 11/23 [00:06<00:07, 1.56it/s]\n 52%|█████▏ | 12/23 [00:07<00:07, 1.56it/s]\n 57%|█████▋ | 13/23 [00:08<00:06, 1.56it/s]\n 61%|██████ | 14/23 [00:08<00:05, 1.56it/s]\n 65%|██████▌ | 15/23 [00:09<00:05, 1.56it/s]\n 70%|██████▉ | 16/23 [00:10<00:04, 1.56it/s]\n 74%|███████▍ | 17/23 [00:10<00:03, 1.56it/s]\n 78%|███████▊ | 18/23 [00:11<00:03, 1.56it/s]\n 83%|████████▎ | 19/23 [00:12<00:02, 1.56it/s]\n 87%|████████▋ | 20/23 [00:12<00:01, 1.56it/s]\n 91%|█████████▏| 21/23 [00:13<00:01, 1.56it/s]\n 96%|█████████▌| 22/23 [00:13<00:00, 1.56it/s]\n100%|██████████| 23/23 [00:14<00:00, 1.56it/s]\n100%|██████████| 23/23 [00:14<00:00, 1.57it/s]", "metrics": { "predict_time": 31.790359709, "total_time": 32.848664 }, "output": [ "https://replicate.delivery/yhqm/OoAWuYvyaubnDhNAxwMlOwM4oP4kYOEsJw3fy0y3pZScI5vJA/out-0.webp" ], "started_at": "2024-09-23T13:50:16.758304Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/btdb90ncjhrm20cj3wjrdqaee8", "cancel": "https://api.replicate.com/v1/predictions/btdb90ncjhrm20cj3wjrdqaee8/cancel" }, "version": "73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e" }
Generated inUsing seed: 50980 Prompt: a 7 year old DRMSTCK child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations [!] Resizing input image from 1476x1520 to 1488x1520 [!] img2img mode [!] Using dev model for img2img Using dev model free=7810767306752 Downloading weights 2024-09-23T13:50:17Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpr9dch4f4/weights url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar 2024-09-23T13:50:18Z | INFO | [ Complete ] dest=/tmp/tmpr9dch4f4/weights size="172 MB" total_elapsed=1.414s url=https://replicate.delivery/yhqm/nZqTbKVKvcrOJhFxIXo6SmTf2WyRhKPbzVpdKZwR100d74vJA/trained_model.tar Downloaded weights in 1.44s Loaded LoRAs in 15.58s 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:11, 1.97it/s] 9%|▊ | 2/23 [00:01<00:12, 1.70it/s] 13%|█▎ | 3/23 [00:01<00:12, 1.64it/s] 17%|█▋ | 4/23 [00:02<00:11, 1.61it/s] 22%|██▏ | 5/23 [00:03<00:11, 1.59it/s] 26%|██▌ | 6/23 [00:03<00:10, 1.58it/s] 30%|███ | 7/23 [00:04<00:10, 1.57it/s] 35%|███▍ | 8/23 [00:04<00:09, 1.57it/s] 39%|███▉ | 9/23 [00:05<00:08, 1.56it/s] 43%|████▎ | 10/23 [00:06<00:08, 1.56it/s] 48%|████▊ | 11/23 [00:06<00:07, 1.56it/s] 52%|█████▏ | 12/23 [00:07<00:07, 1.56it/s] 57%|█████▋ | 13/23 [00:08<00:06, 1.56it/s] 61%|██████ | 14/23 [00:08<00:05, 1.56it/s] 65%|██████▌ | 15/23 [00:09<00:05, 1.56it/s] 70%|██████▉ | 16/23 [00:10<00:04, 1.56it/s] 74%|███████▍ | 17/23 [00:10<00:03, 1.56it/s] 78%|███████▊ | 18/23 [00:11<00:03, 1.56it/s] 83%|████████▎ | 19/23 [00:12<00:02, 1.56it/s] 87%|████████▋ | 20/23 [00:12<00:01, 1.56it/s] 91%|█████████▏| 21/23 [00:13<00:01, 1.56it/s] 96%|█████████▌| 22/23 [00:13<00:00, 1.56it/s] 100%|██████████| 23/23 [00:14<00:00, 1.56it/s] 100%|██████████| 23/23 [00:14<00:00, 1.57it/s]
Prediction
dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45eIDq71kx7h7asrm20cj3wqv4rs800StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run dcamsdev/nestle-flux-drumstick-v02 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", { input: { image: "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", model: "dev", prompt: "a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run dcamsdev/nestle-flux-drumstick-v02 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", input={ "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run dcamsdev/nestle-flux-drumstick-v02 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": "dcamsdev/nestle-flux-drumstick-v02:73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e", "input": { "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-23T14:01:02.085278Z", "created_at": "2024-09-23T14:00:36.950000Z", "data_removed": false, "error": null, "id": "q71kx7h7asrm20cj3wqv4rs800", "input": { "image": "https://replicate.delivery/pbxt/Lfoo9Tfpe6tfqSKGkZpkPin2f18W8MTR7nXAYAMJUJyb1f90/Screenshot%202024-09-23%20at%2015.50.02.png", "model": "dev", "prompt": "a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 16645\nPrompt: a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK\n[!] Resizing input image from 1476x1520 to 1488x1520\n[!] img2img mode\n[!] Using dev model for img2img\nUsing dev model\nLoaded LoRAs in 8.44s\n 0%| | 0/23 [00:00<?, ?it/s]\n 4%|▍ | 1/23 [00:00<00:11, 1.96it/s]\n 9%|▊ | 2/23 [00:01<00:12, 1.70it/s]\n 13%|█▎ | 3/23 [00:01<00:12, 1.63it/s]\n 17%|█▋ | 4/23 [00:02<00:11, 1.60it/s]\n 22%|██▏ | 5/23 [00:03<00:11, 1.58it/s]\n 26%|██▌ | 6/23 [00:03<00:10, 1.57it/s]\n 30%|███ | 7/23 [00:04<00:10, 1.56it/s]\n 35%|███▍ | 8/23 [00:05<00:09, 1.56it/s]\n 39%|███▉ | 9/23 [00:05<00:08, 1.56it/s]\n 43%|████▎ | 10/23 [00:06<00:08, 1.55it/s]\n 48%|████▊ | 11/23 [00:06<00:07, 1.55it/s]\n 52%|█████▏ | 12/23 [00:07<00:07, 1.55it/s]\n 57%|█████▋ | 13/23 [00:08<00:06, 1.55it/s]\n 61%|██████ | 14/23 [00:08<00:05, 1.55it/s]\n 65%|██████▌ | 15/23 [00:09<00:05, 1.55it/s]\n 70%|██████▉ | 16/23 [00:10<00:04, 1.55it/s]\n 74%|███████▍ | 17/23 [00:10<00:03, 1.55it/s]\n 78%|███████▊ | 18/23 [00:11<00:03, 1.55it/s]\n 83%|████████▎ | 19/23 [00:12<00:02, 1.55it/s]\n 87%|████████▋ | 20/23 [00:12<00:01, 1.55it/s]\n 91%|█████████▏| 21/23 [00:13<00:01, 1.55it/s]\n 96%|█████████▌| 22/23 [00:14<00:00, 1.55it/s]\n100%|██████████| 23/23 [00:14<00:00, 1.55it/s]\n100%|██████████| 23/23 [00:14<00:00, 1.56it/s]", "metrics": { "predict_time": 25.121946555, "total_time": 25.135278 }, "output": [ "https://replicate.delivery/yhqm/sIyJAPjrfoQTLa8hbuOg39qIahJ7vp4KA86dQOM4OwwON5vJA/out-0.webp" ], "started_at": "2024-09-23T14:00:36.963331Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/q71kx7h7asrm20cj3wqv4rs800", "cancel": "https://api.replicate.com/v1/predictions/q71kx7h7asrm20cj3wqv4rs800/cancel" }, "version": "73eb0cad1b0d2a82d26879a5e65650b4718182fde9daaae90886fc417bf2e45e" }
Generated inUsing seed: 16645 Prompt: a 7 year old child, 7 year old girl, front view, in front of a wallpaper with icecream illustrations, in style of DRMSTCK [!] Resizing input image from 1476x1520 to 1488x1520 [!] img2img mode [!] Using dev model for img2img Using dev model Loaded LoRAs in 8.44s 0%| | 0/23 [00:00<?, ?it/s] 4%|▍ | 1/23 [00:00<00:11, 1.96it/s] 9%|▊ | 2/23 [00:01<00:12, 1.70it/s] 13%|█▎ | 3/23 [00:01<00:12, 1.63it/s] 17%|█▋ | 4/23 [00:02<00:11, 1.60it/s] 22%|██▏ | 5/23 [00:03<00:11, 1.58it/s] 26%|██▌ | 6/23 [00:03<00:10, 1.57it/s] 30%|███ | 7/23 [00:04<00:10, 1.56it/s] 35%|███▍ | 8/23 [00:05<00:09, 1.56it/s] 39%|███▉ | 9/23 [00:05<00:08, 1.56it/s] 43%|████▎ | 10/23 [00:06<00:08, 1.55it/s] 48%|████▊ | 11/23 [00:06<00:07, 1.55it/s] 52%|█████▏ | 12/23 [00:07<00:07, 1.55it/s] 57%|█████▋ | 13/23 [00:08<00:06, 1.55it/s] 61%|██████ | 14/23 [00:08<00:05, 1.55it/s] 65%|██████▌ | 15/23 [00:09<00:05, 1.55it/s] 70%|██████▉ | 16/23 [00:10<00:04, 1.55it/s] 74%|███████▍ | 17/23 [00:10<00:03, 1.55it/s] 78%|███████▊ | 18/23 [00:11<00:03, 1.55it/s] 83%|████████▎ | 19/23 [00:12<00:02, 1.55it/s] 87%|████████▋ | 20/23 [00:12<00:01, 1.55it/s] 91%|█████████▏| 21/23 [00:13<00:01, 1.55it/s] 96%|█████████▌| 22/23 [00:14<00:00, 1.55it/s] 100%|██████████| 23/23 [00:14<00:00, 1.55it/s] 100%|██████████| 23/23 [00:14<00:00, 1.56it/s]
Want to make some of these yourself?
Run this model