|
--- |
|
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: vintage photograph of Anna AKHMATOVA, blemished skin texture with slight wrinkles |
|
|
|
widget: |
|
- 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: Mayak__000003600.jpg |
|
- 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: 1730581715413__000003600_3.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: OMriver_3600_1.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> |
|
To produce this earlier checkpoint (the full 5000 run is available in [another](https://huggingface.co/AlekseyCalvin/Mayakovsky_Posters_2_5kSt) repo), the training went on for 3600 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_3600st', 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) |
|
|