justmalhar/flux-bento-grids πŸ–ΌοΈπŸ”’β“πŸ“βœ“ β†’ πŸ–ΌοΈ

▢️ 66 runs πŸ“… Nov 2024 βš™οΈ Cog 0.11.1
image-to-image lora text-to-image website-design

About

Generates Bento Grid UI Designs

Example Output

Prompt:

"a highly polished website design in BENTOGRID style, for a creative studio website featuring with text β€˜Inspire,’ β€˜Visionary 2.0,’ β€˜Gallery of Ideas,’ β€˜Design Masterclass,’ β€˜Showcase Projects,’ β€˜Tutorial Hub,’ β€˜Collaborate Now,’ β€˜Design 2.0,’ β€˜Master Designs,’ β€˜Create Stunning Visuals,’ and β€˜Explore Endless Ideas.’”"

Output

Example outputExample outputExample outputExample output

Performance Metrics

50.32s Prediction Time
50.34s Total Time
All Input Parameters
{
  "model": "dev",
  "prompt": "a highly polished website design in BENTOGRID style,  for a creative studio website featuring with text β€˜Inspire,’ β€˜Visionary 2.0,’ β€˜Gallery of Ideas,’ β€˜Design Masterclass,’ β€˜Showcase Projects,’ β€˜Tutorial Hub,’ β€˜Collaborate Now,’ β€˜Design 2.0,’ β€˜Master Designs,’ β€˜Create Stunning Visuals,’ and β€˜Explore Endless Ideas.’”",
  "lora_scale": 1,
  "num_outputs": 4,
  "aspect_ratio": "16:9",
  "output_format": "png",
  "guidance_scale": 3.5,
  "output_quality": 100,
  "prompt_strength": 0.8,
  "extra_lora_scale": 1,
  "num_inference_steps": 40
}
Input Parameters
mask Type: string
Image mask for image inpainting mode. If provided, aspect_ratio, width, and height inputs are ignored.
seed Type: integer
Random seed. Set for reproducible generation
image Type: string
Input image for image to image or inpainting mode. If provided, aspect_ratio, width, and height inputs are ignored.
model Default: dev
Which model to run inference with. The dev model performs best with around 28 inference steps but the schnell model only needs 4 steps.
width Type: integerRange: 256 - 1440
Width of generated image. Only works if `aspect_ratio` is set to custom. Will be rounded to nearest multiple of 16. Incompatible with fast generation
height Type: integerRange: 256 - 1440
Height of generated image. Only works if `aspect_ratio` is set to custom. Will be rounded to nearest multiple of 16. Incompatible with fast generation
prompt (required) Type: string
Prompt for generated image. If you include the `trigger_word` used in the training process you are more likely to activate the trained object, style, or concept in the resulting image.
go_fast Type: booleanDefault: false
Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16
extra_lora Type: string
Load LoRA weights. Supports Replicate models in the format <owner>/<username> or <owner>/<username>/<version>, HuggingFace URLs in the format huggingface.co/<owner>/<model-name>, CivitAI URLs in the format civitai.com/models/<id>[/<model-name>], or arbitrary .safetensors URLs from the Internet. For example, 'fofr/flux-pixar-cars'
lora_scale Type: numberDefault: 1Range: -1 - 3
Determines how strongly the main LoRA should be applied. Sane results between 0 and 1 for base inference. For go_fast we apply a 1.5x multiplier to this value; we've generally seen good performance when scaling the base value by that amount. You may still need to experiment to find the best value for your particular lora.
megapixels Default: 1
Approximate number of megapixels for generated image
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of outputs to generate
aspect_ratio Default: 1:1
Aspect ratio for the generated image. If custom is selected, uses height and width below & will run in bf16 mode
output_format Default: webp
Format of the output images
guidance_scale Type: numberDefault: 3Range: 0 - 10
Guidance scale for the diffusion process. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5
output_quality Type: integerDefault: 80Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
prompt_strength Type: numberDefault: 0.8Range: 0 - 1
Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image
extra_lora_scale Type: numberDefault: 1Range: -1 - 3
Determines how strongly the extra LoRA should be applied. Sane results between 0 and 1 for base inference. For go_fast we apply a 1.5x multiplier to this value; we've generally seen good performance when scaling the base value by that amount. You may still need to experiment to find the best value for your particular lora.
replicate_weights Type: string
Load LoRA weights. Supports Replicate models in the format <owner>/<username> or <owner>/<username>/<version>, HuggingFace URLs in the format huggingface.co/<owner>/<model-name>, CivitAI URLs in the format civitai.com/models/<id>[/<model-name>], or arbitrary .safetensors URLs from the Internet. For example, 'fofr/flux-pixar-cars'
num_inference_steps Type: integerDefault: 28Range: 1 - 50
Number of denoising steps. More steps can give more detailed images, but take longer.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: array β€’ Items Type: string β€’ Items Format: uri

Example Execution Logs
Using seed: 11724
Prompt: a highly polished website design in BENTOGRID style,  for a creative studio website featuring with text β€˜Inspire,’ β€˜Visionary 2.0,’ β€˜Gallery of Ideas,’ β€˜Design Masterclass,’ β€˜Showcase Projects,’ β€˜Tutorial Hub,’ β€˜Collaborate Now,’ β€˜Design 2.0,’ β€˜Master Designs,’ β€˜Create Stunning Visuals,’ and β€˜Explore Endless Ideas.’”
[!] txt2img mode
Using dev model
free=29428826095616
Downloading weights
2024-11-24T18:18:34Z | INFO  | [ Initiating ] chunk_size=150M dest=/tmp/tmpaahbnkw_/weights url=https://replicate.delivery/xezq/yf4UHe4sebWzFIO3gxIzIPhagdrSRA9TDzxtY8JiypwVajonA/trained_model.tar
2024-11-24T18:18:35Z | INFO  | [ Complete ] dest=/tmp/tmpaahbnkw_/weights size="172 MB" total_elapsed=1.193s url=https://replicate.delivery/xezq/yf4UHe4sebWzFIO3gxIzIPhagdrSRA9TDzxtY8JiypwVajonA/trained_model.tar
Downloaded weights in 1.23s
Loaded LoRAs in 1.69s
  0%|          | 0/40 [00:00<?, ?it/s]
  2%|β–Ž         | 1/40 [00:01<00:46,  1.19s/it]
  5%|β–Œ         | 2/40 [00:02<00:40,  1.07s/it]
  8%|β–Š         | 3/40 [00:03<00:41,  1.12s/it]
 10%|β–ˆ         | 4/40 [00:04<00:41,  1.15s/it]
 12%|β–ˆβ–Ž        | 5/40 [00:05<00:40,  1.16s/it]
 15%|β–ˆβ–Œ        | 6/40 [00:06<00:39,  1.17s/it]
 18%|β–ˆβ–Š        | 7/40 [00:08<00:38,  1.18s/it]
 20%|β–ˆβ–ˆ        | 8/40 [00:09<00:37,  1.18s/it]
 22%|β–ˆβ–ˆβ–Ž       | 9/40 [00:10<00:36,  1.18s/it]
 25%|β–ˆβ–ˆβ–Œ       | 10/40 [00:11<00:35,  1.18s/it]
 28%|β–ˆβ–ˆβ–Š       | 11/40 [00:12<00:34,  1.18s/it]
 30%|β–ˆβ–ˆβ–ˆ       | 12/40 [00:14<00:33,  1.18s/it]
 32%|β–ˆβ–ˆβ–ˆβ–Ž      | 13/40 [00:15<00:32,  1.19s/it]
 35%|β–ˆβ–ˆβ–ˆβ–Œ      | 14/40 [00:16<00:30,  1.19s/it]
 38%|β–ˆβ–ˆβ–ˆβ–Š      | 15/40 [00:17<00:29,  1.19s/it]
 40%|β–ˆβ–ˆβ–ˆβ–ˆ      | 16/40 [00:18<00:28,  1.19s/it]
 42%|β–ˆβ–ˆβ–ˆβ–ˆβ–Ž     | 17/40 [00:19<00:27,  1.19s/it]
 45%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ     | 18/40 [00:21<00:26,  1.19s/it]
 48%|β–ˆβ–ˆβ–ˆβ–ˆβ–Š     | 19/40 [00:22<00:24,  1.19s/it]
 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     | 20/40 [00:23<00:23,  1.19s/it]
 52%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž    | 21/40 [00:24<00:22,  1.19s/it]
 55%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ    | 22/40 [00:25<00:21,  1.19s/it]
 57%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š    | 23/40 [00:27<00:20,  1.19s/it]
 60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    | 24/40 [00:28<00:18,  1.19s/it]
 62%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž   | 25/40 [00:29<00:17,  1.19s/it]
 65%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ   | 26/40 [00:30<00:16,  1.19s/it]
 68%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š   | 27/40 [00:31<00:15,  1.19s/it]
 70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   | 28/40 [00:33<00:14,  1.19s/it]
 72%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž  | 29/40 [00:34<00:13,  1.19s/it]
 75%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ  | 30/40 [00:35<00:11,  1.19s/it]
 78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š  | 31/40 [00:36<00:10,  1.19s/it]
 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  | 32/40 [00:37<00:09,  1.19s/it]
 82%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž | 33/40 [00:38<00:08,  1.19s/it]
 85%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 34/40 [00:40<00:07,  1.19s/it]
 88%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 35/40 [00:41<00:05,  1.19s/it]
 90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 36/40 [00:42<00:04,  1.19s/it]
 92%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž| 37/40 [00:43<00:03,  1.19s/it]
 95%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ| 38/40 [00:44<00:02,  1.19s/it]
 98%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š| 39/40 [00:46<00:01,  1.19s/it]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 40/40 [00:47<00:00,  1.19s/it]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 40/40 [00:47<00:00,  1.18s/it]
Version Details
Version ID
dd8ee5b34e7291febaf3c2911e462e45c69130c9ce4745d101e65d02384f0dd2
Version Created
November 24, 2024
Run on Replicate β†’