|
--- |
|
license: apache-2.0 |
|
language: |
|
- en |
|
tags: |
|
- flux |
|
- diffusers |
|
- lora |
|
- replicate |
|
- image-generation |
|
- flux-diffusers |
|
- schnell |
|
- photo |
|
- Mayakovsky |
|
- art |
|
- poster |
|
- realism |
|
- character |
|
- historical person |
|
- poetry |
|
- literature |
|
- history |
|
- archival |
|
base_model: "black-forest-labs/FLUX.1-schnell" |
|
pipeline_tag: text-to-image |
|
library_name: diffusers |
|
emoji: 🔜 |
|
|
|
instance_prompt: MAYAK style Constructivist Poster |
|
|
|
widget: |
|
- text: MAYAK style drawing of Osip Mandelshtam reciting /OH, BUT PETERSBURG! NO! IM NOT READY TO DIE! YOU STILL HOLD ALL THE TELEPHONE NUMBERS OF MINE!/ |
|
output: |
|
url: 1730591317624__000005000_3.jpg |
|
- text: >- |
|
(Post-Gen Edited Text) MAYAK style drawing of aging poet Osip Mandelstam reading in a trolley in Leningrad /IVE RETURNED TO MY CITY, I KNOW IT TO TEARS, TINY VEINS, & TO GLANDS, SWOLLEN UP LIKE A KID'S!/ |
|
output: |
|
url: OMlend.jpg |
|
- text: >- |
|
MAYAK style satyrical Constructivist book cover panel featuring Vladimir Mayakovsky in a suit, yelling out from the top of an American skyscraper to top-hatted capitalists below the following text: "AND YOU? COULD YOU HAVE?", stylized book art |
|
output: |
|
url: Ay_2.jpg |
|
- text: >- |
|
MAYAK style art of poet Mandelstam reading /YOU'VE RETURNED HERE, SO SWALLOW THEN, FAST AS YOU MIGHT, ALL THE FISH OIL OF LENINGRAD'S RIVERINE LIGHT!/ |
|
output: |
|
url: OmRIver5k.jpg |
|
|
|
--- |
|
<Gallery /> |
|
|
|
# Mayakovsky Style Soviet Constructivist Posters & Cartoons Flux LoRA – Version 2 – by SOON® |
|
Trained via Ostris' [ai-toolkit](https://replicate.com/ostris/flux-dev-lora-trainer/train) on 50 high-resolution scans of 1910s/1920s posters & artworks by the great Soviet **poet, artist, & Marxist activist Vladimir Mayakovsky**. <br> |
|
For this training experiment, we first spent many days rigorously translating the textual elements (slogans, captions, titles, inset poems, speech fragments, etc), with form/signification/rhymes intact, throughout every image subsequently used for training. <br> |
|
These translated textographic elements were, furthermore, re-placed by us into their original visual contexts, using fonts matched up to the sources. <br> |
|
We then manually composed highly detailed paragraph-long captions, wherein we detailed both the graphic and the textual content of each piece, its layout, as well as the most intuitive/intended apprehension of each composition. <br> |
|
This version of the resultent LoRA was trained on our custom Schnell-based checkpoint (Historic Color 2), available [here in fp8 Safetensors](https://huggingface.co./AlekseyCalvin/HistoricColorSoonrFluxV2/tree/main) and [here in Diffusers format](https://huggingface.co./AlekseyCalvin/HistoricColorSoonr_v2_FluxSchnell_Diffusers). <br> |
|
The training went for 5000 steps at a DiT Learning Rate of .00002, batch 1, with the ademamix8bit optimizer, and both text encoders trained alongside the DiT!<br> |
|
No synthetic data was used for the training, nor any auto-generated captions! Everything was manually and attentively pre-curated with a deep respect for the sources used. <br> |
|
|
|
This is a **rank-32/alpha-64 Constructivist Art & Soviet Satirical Cartoon LoRA for Flux** (whether of a [Dev](https://huggingface.co./black-forest-labs/FLUX.1-dev), a [Schnell](https://huggingface.co./black-forest-labs/FLUX.1-schnell), or a [Soon®](https://huggingface.co./AlekseyCalvin/HistoricColorSoonr_Schnell) sort...) <br> |
|
|
|
Check out our **translations of Mayakovsky's verse-works**, adapted from a proto-Soviet song-tongue into a Worldish one...<br> |
|
And found, along with many other poets' songs and tomes... |
|
Over **at [SilverAgePoets.com](https://www.silveragepoets.com)!** |
|
|
|
## Trigger words |
|
You should use `MAYAK style` or `MAYAK style Constructivist poster art` or `MAYAK style satyrical drawing` or suchlike to summon the poet's deathlessly pens and brushes. |
|
|
|
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) |
|
|
|
```py |
|
from diffusers import AutoPipelineForText2Image |
|
import torch |
|
|
|
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda') |
|
pipeline.load_lora_weights('AlekseyCalvin/Mayakovsky_Posters_2_5kSt', weight_name='lora.safetensors') |
|
image = pipeline('your prompt').images[0] |
|
``` |
|
|
|
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co./docs/diffusers/main/en/using-diffusers/loading_adapters) |
|
|