sebastianbodza / flux_lora_retro_linedrawing_style_v1
- Public
- 5.6K runs
-
H100
Prediction
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecIDw2r1ra16vhrm60chh3284yme6rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word "ASCEND" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word \"ASCEND\" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word \"ASCEND\" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word \"ASCEND\" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word \\"ASCEND\\" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T09:00:58.143179Z", "created_at": "2024-08-25T09:00:42.076000Z", "data_removed": false, "error": null, "id": "w2r1ra16vhrm60chh3284yme6r", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word \"ASCEND\" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 35579\nPrompt: Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word \"ASCEND\" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.96s\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['determination, achievement, and the beauty of nature. dramatic high quality']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.70it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.25it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.97it/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.75it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.73it/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.70it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.69it/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.69it/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": 16.058322428, "total_time": 16.067179 }, "output": [ "https://replicate.delivery/yhqm/hTseNA4b4CVmVStFRpUwFxz1EYjEHqTQX00gtPoJKpykJFrJA/out-0.webp" ], "started_at": "2024-08-25T09:00:42.084856Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/w2r1ra16vhrm60chh3284yme6r", "cancel": "https://api.replicate.com/v1/predictions/w2r1ra16vhrm60chh3284yme6r/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 35579 Prompt: Retro TOK illustration style of a lone hiker standing triumphantly on the summit of a snow-capped mountain. The hiker, wearing a red jacket and backpack, is silhouetted against a clear blue sky. The word "ASCEND" is painted in bold, blue letters at the base of the mountain, adding a powerful message to the image. The overall impression is one of determination, achievement, and the beauty of nature. Dramatic high quality txt2img mode Using dev model Loaded LoRAs in 7.96s The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['determination, achievement, and the beauty of nature. dramatic high quality'] 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.70it/s] 7%|▋ | 2/28 [00:00<00:06, 4.25it/s] 11%|█ | 3/28 [00:00<00:06, 3.97it/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.75it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.73it/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.70it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.69it/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.69it/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
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecID5rebksz6exrm40chh31vm4e77mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, "the speaker"
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, \"the speaker\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, \"the speaker\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, \"the speaker\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, \\"the speaker\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T09:00:44.811158Z", "created_at": "2024-08-25T09:00:25.591000Z", "data_removed": false, "error": null, "id": "5rebksz6exrm40chh31vm4e77m", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, \"the speaker\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 34709\nPrompt: Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, \"the speaker\"\ntxt2img mode\nUsing dev model\nfree=9634240217088\nDownloading weights\n2024-08-25T09:00:25Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp06e6gbcd/weights url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar\n2024-08-25T09:00:27Z | INFO | [ Complete ] dest=/tmp/tmp06e6gbcd/weights size=\"172 MB\" total_elapsed=1.553s url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar\nDownloaded weights in 1.59s\nLoaded LoRAs in 11.06s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.67it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.22it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.94it/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.71it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.68it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.67it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.67it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.66it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.66it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.66it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.66it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.66it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.66it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.66it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.65it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.65it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.65it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.65it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.66it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.66it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.66it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.65it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.69it/s]", "metrics": { "predict_time": 19.184063545, "total_time": 19.220158 }, "output": [ "https://replicate.delivery/yhqm/UYcpkes23XVcMyhU6TeIm2KKzNp6nSsenAwuUiM5DfbwLpYNB/out-0.webp" ], "started_at": "2024-08-25T09:00:25.627095Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5rebksz6exrm40chh31vm4e77m", "cancel": "https://api.replicate.com/v1/predictions/5rebksz6exrm40chh31vm4e77m/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 34709 Prompt: Retro TOK illustration style of a person giving a ted talk on a TED stage with the TED logo, "the speaker" txt2img mode Using dev model free=9634240217088 Downloading weights 2024-08-25T09:00:25Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp06e6gbcd/weights url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar 2024-08-25T09:00:27Z | INFO | [ Complete ] dest=/tmp/tmp06e6gbcd/weights size="172 MB" total_elapsed=1.553s url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar Downloaded weights in 1.59s Loaded LoRAs in 11.06s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.67it/s] 7%|▋ | 2/28 [00:00<00:06, 4.22it/s] 11%|█ | 3/28 [00:00<00:06, 3.94it/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.71it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.68it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.67it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.67it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.66it/s] 50%|█████ | 14/28 [00:03<00:03, 3.66it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.66it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.66it/s] 61%|██████ | 17/28 [00:04<00:03, 3.66it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.66it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.66it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.65it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.65it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.65it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.65it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.66it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.66it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.66it/s] 100%|██████████| 28/28 [00:07<00:00, 3.65it/s] 100%|██████████| 28/28 [00:07<00:00, 3.69it/s]
Prediction
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecIDem2rvzg6khrm60chh32875j3yrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words "Tales of Wonder" etched in gold lettering above the storefront
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words \"Tales of Wonder\" etched in gold lettering above the storefront", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words \"Tales of Wonder\" etched in gold lettering above the storefront", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words \"Tales of Wonder\" etched in gold lettering above the storefront", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words \\"Tales of Wonder\\" etched in gold lettering above the storefront", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T09:00:41.999828Z", "created_at": "2024-08-25T09:00:33.820000Z", "data_removed": false, "error": null, "id": "em2rvzg6khrm60chh32875j3yr", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words \"Tales of Wonder\" etched in gold lettering above the storefront", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 39299\nPrompt: Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words \"Tales of Wonder\" etched in gold lettering above the storefront\ntxt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.04s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.68it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.23it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.96it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.85it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.78it/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.71it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.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.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.67it/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.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.71it/s]", "metrics": { "predict_time": 8.169304778, "total_time": 8.179828 }, "output": [ "https://replicate.delivery/yhqm/Atb0hOeVz01e1U9ywJhhRrWaUOaaeI4yBiAaUPl0Hd4ylUsmA/out-0.webp" ], "started_at": "2024-08-25T09:00:33.830523Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/em2rvzg6khrm60chh32875j3yr", "cancel": "https://api.replicate.com/v1/predictions/em2rvzg6khrm60chh32875j3yr/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 39299 Prompt: Retro TOK illustration style of a quaint, old-fashioned bookstore, with the words "Tales of Wonder" etched in gold lettering above the storefront txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.04s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.68it/s] 7%|▋ | 2/28 [00:00<00:06, 4.23it/s] 11%|█ | 3/28 [00:00<00:06, 3.96it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.85it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.78it/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.71it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.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.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.67it/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.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.71it/s]
Prediction
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecID0dyedakebnrm20chh308cm2wtmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a cyclist riding through a scenic mountain trail
- lora_scale
- 1.25
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a cyclist riding through a scenic mountain trail", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a cyclist riding through a scenic mountain trail", lora_scale: 1.25, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a cyclist riding through a scenic mountain trail", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a cyclist riding through a scenic mountain trail", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T08:56:54.280359Z", "created_at": "2024-08-25T08:56:38.237000Z", "data_removed": false, "error": null, "id": "0dyedakebnrm20chh308cm2wtm", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a cyclist riding through a scenic mountain trail", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 62450\nPrompt: Retro TOK illustration style of a cyclist riding through a scenic mountain trail\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.62s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.53it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.91it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.72it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.64it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.59it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.56it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.55it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.54it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.53it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.53it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.53it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.53it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.54it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.54it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/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.54it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.55it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.55it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.55it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/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:07<00:00, 3.55it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.55it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.55it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.56it/s]", "metrics": { "predict_time": 16.032334282, "total_time": 16.043359 }, "output": [ "https://replicate.delivery/yhqm/JelxxeHtbqgyM035Y4lfuv8hhq9JSq7Y8BLQVNnpKnpteoYNB/out-0.webp" ], "started_at": "2024-08-25T08:56:38.248024Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/0dyedakebnrm20chh308cm2wtm", "cancel": "https://api.replicate.com/v1/predictions/0dyedakebnrm20chh308cm2wtm/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 62450 Prompt: Retro TOK illustration style of a cyclist riding through a scenic mountain trail txt2img mode Using dev model Loaded LoRAs in 7.62s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.53it/s] 7%|▋ | 2/28 [00:00<00:06, 3.91it/s] 11%|█ | 3/28 [00:00<00:06, 3.72it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.64it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.59it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.56it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.55it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.54it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.53it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.53it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.53it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.53it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.54it/s] 50%|█████ | 14/28 [00:03<00:03, 3.54it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/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.54it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.55it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.55it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.55it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/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:07<00:00, 3.55it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.55it/s] 100%|██████████| 28/28 [00:07<00:00, 3.55it/s] 100%|██████████| 28/28 [00:07<00:00, 3.56it/s]
Prediction
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecID420mmadggdrm20chh2ztaypxagStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses
- lora_scale
- 1.25
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses", lora_scale: 1.25, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T08:56:13.245930Z", "created_at": "2024-08-25T08:55:49.635000Z", "data_removed": false, "error": null, "id": "420mmadggdrm20chh2ztaypxag", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses", "lora_scale": 1.25, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 59273\nPrompt: Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses\ntxt2img mode\nUsing dev model\nfree=9165005553664\nDownloading weights\n2024-08-25T08:55:50Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9hjq3wz6/weights url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar\n2024-08-25T08:55:55Z | INFO | [ Complete ] dest=/tmp/tmp9hjq3wz6/weights size=\"172 MB\" total_elapsed=5.089s url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar\nDownloaded weights in 5.18s\nLoaded LoRAs in 14.36s\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.95it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.76it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.68it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.62it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.59it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.58it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.57it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.56it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.55it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.55it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.55it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.55it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.54it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.55it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.54it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.54it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.54it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.55it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.54it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.54it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.54it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.54it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.55it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.55it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.57it/s]", "metrics": { "predict_time": 22.771088615, "total_time": 23.61093 }, "output": [ "https://replicate.delivery/yhqm/0G57yUc6LsbXJxJx3MDOVjI6usnKmwWw7aAnHiY5Wkdrji1E/out-0.webp" ], "started_at": "2024-08-25T08:55:50.474841Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/420mmadggdrm20chh2ztaypxag", "cancel": "https://api.replicate.com/v1/predictions/420mmadggdrm20chh2ztaypxag/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 59273 Prompt: Retro TOK illustration style of a vivid aurora borealis lighting up a landscape with norwegian houses txt2img mode Using dev model free=9165005553664 Downloading weights 2024-08-25T08:55:50Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9hjq3wz6/weights url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar 2024-08-25T08:55:55Z | INFO | [ Complete ] dest=/tmp/tmp9hjq3wz6/weights size="172 MB" total_elapsed=5.089s url=https://replicate.delivery/yhqm/Fo1Fq0gogULsAx16n6UxkvGeD8G98eFQlqRxGm7UbGtoaCWTA/trained_model.tar Downloaded weights in 5.18s Loaded LoRAs in 14.36s 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.95it/s] 11%|█ | 3/28 [00:00<00:06, 3.76it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.68it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.62it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.59it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.58it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.57it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.56it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.55it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.55it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.55it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.55it/s] 50%|█████ | 14/28 [00:03<00:03, 3.54it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.54it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.55it/s] 61%|██████ | 17/28 [00:04<00:03, 3.54it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.54it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.54it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.55it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.54it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.54it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.54it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.54it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.54it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.54it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.55it/s] 100%|██████████| 28/28 [00:07<00:00, 3.55it/s] 100%|██████████| 28/28 [00:07<00:00, 3.57it/s]
Prediction
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecIDvnjmx3jqpnrm60chh32sazqh6mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a portrait of Donald Trump
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a portrait of Donald Trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a portrait of Donald Trump", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a portrait of Donald Trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a portrait of Donald Trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T09:02:08.271527Z", "created_at": "2024-08-25T09:02:00.117000Z", "data_removed": false, "error": null, "id": "vnjmx3jqpnrm60chh32sazqh6m", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a portrait of Donald Trump", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 1223\nPrompt: Retro TOK illustration style of a portrait of Donald Trump\ntxt2img mode\nUsing dev model\nWeights already loaded\nLoaded LoRAs in 0.04s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.65it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.20it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.94it/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.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.68it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.68it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.67it/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.67it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/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.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.68it/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": 8.142604054, "total_time": 8.154527 }, "output": [ "https://replicate.delivery/yhqm/5jK9BjTYKGawDdefzMXL18P86cCHetHAULvTCOINj6QhoUsmA/out-0.webp" ], "started_at": "2024-08-25T09:02:00.128923Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/vnjmx3jqpnrm60chh32sazqh6m", "cancel": "https://api.replicate.com/v1/predictions/vnjmx3jqpnrm60chh32sazqh6m/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 1223 Prompt: Retro TOK illustration style of a portrait of Donald Trump txt2img mode Using dev model Weights already loaded Loaded LoRAs in 0.04s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.65it/s] 7%|▋ | 2/28 [00:00<00:06, 4.20it/s] 11%|█ | 3/28 [00:00<00:06, 3.94it/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.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.68it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.68it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.68it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.68it/s] 50%|█████ | 14/28 [00:03<00:03, 3.67it/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.67it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/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.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.68it/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]
Prediction
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecIDej9j7q3sa5rm60chh3ar63682cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the "Coffee Creations" logo skillfully formed within the latte foam
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \\"Coffee Creations\\" logo skillfully formed within the latte foam", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T09:19:53.077346Z", "created_at": "2024-08-25T09:19:37.297000Z", "data_removed": false, "error": null, "id": "ej9j7q3sa5rm60chh3ar63682c", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 38440\nPrompt: Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.59s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.66it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.21it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.93it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.81it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.75it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.72it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.69it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.68it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.67it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.67it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.66it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.65it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.65it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.65it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.65it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.64it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.65it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.65it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.65it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.65it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.65it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.65it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.64it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.65it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.65it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.65it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.65it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.68it/s]", "metrics": { "predict_time": 15.769705833, "total_time": 15.780346 }, "output": [ "https://replicate.delivery/yhqm/R5keGJpgIhV5Fy0ZJwJFORKpzrPBwKTODt7jUwmrSLPcSFrJA/out-0.webp" ], "started_at": "2024-08-25T09:19:37.307640Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ej9j7q3sa5rm60chh3ar63682c", "cancel": "https://api.replicate.com/v1/predictions/ej9j7q3sa5rm60chh3ar63682c/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 38440 Prompt: Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the "Coffee Creations" logo skillfully formed within the latte foam txt2img mode Using dev model Loaded LoRAs in 7.59s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.66it/s] 7%|▋ | 2/28 [00:00<00:06, 4.21it/s] 11%|█ | 3/28 [00:00<00:06, 3.93it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.81it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.75it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.72it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.69it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.68it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.67it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.67it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.66it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.65it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.65it/s] 50%|█████ | 14/28 [00:03<00:03, 3.65it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.65it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.64it/s] 61%|██████ | 17/28 [00:04<00:03, 3.65it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.65it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.65it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.65it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.65it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.65it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.65it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.64it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.65it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.65it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.65it/s] 100%|██████████| 28/28 [00:07<00:00, 3.65it/s] 100%|██████████| 28/28 [00:07<00:00, 3.68it/s]
Prediction
sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ecIDs2rh93z6q5rm20chh3ar6jc9pmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- width
- 1440
- height
- 1440
- prompt
- Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the "Coffee Creations" logo skillfully formed within the latte foam, grey linedrawing background
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam, grey linedrawing background", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", { input: { model: "dev", width: 1440, height: 1440, prompt: "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam, grey linedrawing background", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, 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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", input={ "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam, grey linedrawing background", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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 sebastianbodza/flux_lora_retro_linedrawing_style_v1 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": "sebastianbodza/flux_lora_retro_linedrawing_style_v1:760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \\"Coffee Creations\\" logo skillfully formed within the latte foam, grey linedrawing background", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "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-08-25T09:20:21.003249Z", "created_at": "2024-08-25T09:20:05.305000Z", "data_removed": false, "error": null, "id": "s2rh93z6q5rm20chh3ar6jc9pm", "input": { "model": "dev", "width": 1440, "height": 1440, "prompt": "Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam, grey linedrawing background", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 51644\nPrompt: Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the \"Coffee Creations\" logo skillfully formed within the latte foam, grey linedrawing background\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.55s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.69it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.24it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.95it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.83it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.77it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.74it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.71it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s]\n 39%|███▉ | 11/28 [00:02<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.67it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.67it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.67it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.66it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.67it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.67it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.67it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.66it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.67it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.67it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.67it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.67it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.70it/s]", "metrics": { "predict_time": 15.687858049, "total_time": 15.698249 }, "output": [ "https://replicate.delivery/yhqm/xjss1e00LiwsB6E3at3rvozgsRfeX9bBDtl3smEvxXfTVqYNB/out-0.webp" ], "started_at": "2024-08-25T09:20:05.315391Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/s2rh93z6q5rm20chh3ar6jc9pm", "cancel": "https://api.replicate.com/v1/predictions/s2rh93z6q5rm20chh3ar6jc9pm/cancel" }, "version": "760e978194957cd641e14a216a4e94c59ddd69351ed588083d92a0074099f4ec" }
Generated inUsing seed: 51644 Prompt: Retro TOK illustration style of a painting of a barista creating an intricate latte art design, with the "Coffee Creations" logo skillfully formed within the latte foam, grey linedrawing background txt2img mode Using dev model Loaded LoRAs in 7.55s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.69it/s] 7%|▋ | 2/28 [00:00<00:06, 4.24it/s] 11%|█ | 3/28 [00:00<00:06, 3.95it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.83it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.77it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.74it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.71it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.69it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.69it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.68it/s] 39%|███▉ | 11/28 [00:02<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.67it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.67it/s] 61%|██████ | 17/28 [00:04<00:02, 3.67it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.67it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.67it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.66it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.67it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.67it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.67it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.66it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.67it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.67it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.67it/s] 100%|██████████| 28/28 [00:07<00:00, 3.67it/s] 100%|██████████| 28/28 [00:07<00:00, 3.70it/s]
Want to make some of these yourself?
Run this model