metadata
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: >-
"[FOUR-VIEWS] This set of four images show different angles of a light
blue bag ; [TOP-LEFT] This photo shows a side view of the bag leaning
against a wall; [TOP-RIGHT] This photo shows another side view of the bag;
[BOTTOM-LEFT] This photo shows a front view of the bag; [BOTTOM-RIGHT]
This photo shows a back view of the bag."
output:
url: images/composite_example.jpeg
- text: '-'
output:
url: images/composite_example.jpeg
- text: '-'
output:
url: images/004.png
- text: '-'
output:
url: images/composite_example.jpeg
- text: >-
[FOUR-VIEWS] a red desk lamp from multiple views;[TOP-LEFT] This photo
shows a 45-degree angle of desk lamp;[TOP-RIGHT] This photo shows a
high-angle shot of the lamp; [BOTTOM-LEFT] Here is a side view shot of
lamp; [BOTTOM-RIGHT] The back view of the desk lamp.
output:
url: images/example_qevsnjb3v.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: '[FOUR-VIEWS]'
license: apache-2.0
fourviews-incontext-lora

- Prompt
- [FOUR-VIEWS] a red desk lamp from multiple views;[TOP-LEFT] This photo shows a 45-degree angle of desk lamp;[TOP-RIGHT] This photo shows a high-angle shot of the lamp; [BOTTOM-LEFT] Here is a side view shot of lamp; [BOTTOM-RIGHT] The back view of the desk lamp.

- Prompt
- [FOUR-VIEWS] This set of four images show different angles of an IKEA white bed ; [TOP-LEFT] This photo shows a side view of the bed; [TOP-RIGHT] This photo shows the left view of the bed; [BOTTOM-LEFT] This photo shows a front view of the bed; [BOTTOM-RIGHT] This photo shows a back view of the bed."

- Prompt
- [FOUR-VIEWS] This set of four images show different angles of a golden motorbike; [TOP-LEFT] This photo shows a full frontal view of the motorbike; [TOP-RIGHT] This photo shows a 45 degree angle of the motorbike; [BOTTOM-LEFT] This photo shows a front view of the motorbike; [BOTTOM-RIGHT] This photo shows the motorbike from above.

- Prompt
- [FOUR-VIEWS] a bedroom from multiple views;[TOP-LEFT] This photo shows a 45-degree angle of the bedroom;[TOP-RIGHT] This photo shows a high-angle shot of the bedroom; [BOTTOM-LEFT] Here is a side view shot of bedroom; [BOTTOM-RIGHT] A low angle view of the bedroom.

- Prompt
- [FOUR-VIEWS] this photo set shows a cute pug dog from multiple angles;[TOP-LEFT] This photo shows a 45-degree angle of the pug ;[TOP-RIGHT] This photo shows a high-angle shot of the pug; [BOTTOM-LEFT] Here is a side view shot of the pug.[BOTTOM-RIGHT] A low angle view of the pug..
Model description
license: apache-2.0 base_model: black-forest-labs/FLUX-1-dev tags: - flux - lora - 2x2-grid - in-context model_type: lora
`[FOUR-VIEWS]` 2 × 2-Grid LoRA
Base: FLUX-1-dev
Images: 126 custom composites
Steps: 800 (≈ 12.7 epochs)
Rank: 8
Trigger token: `[FOUR-VIEWS]`
```python from diffusers import DiffusionPipeline pipe = DiffusionPipeline.from_pretrained( "black-forest-labs/FLUX-1-dev", torch_dtype="auto", trust_remote_code=True).to("cuda") pipe.load_lora_weights("rmsandu/fourviews-lora")
img = pipe( "[FOUR-VIEWS] a jade dragon statue", num_inference_steps=10, height=1024, width=1024 ).images[0] img.save("dragon_grid.png")
Trigger words
You should use [FOUR-VIEWS] to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.