Rotating banners on /r/piracy ( lemmy.dbzer0.com )

Hey mates, recently I've developed a tool to use the GenerativeAI on the AI Horde to created random avatars and banners on lemmy. To keep things spicy, I wanted to deploy to rotate the /c/piracy banner daily, as I've done in a bunch of other communities like !stable_diffusion_art and the lemmy.dbzer0.com.

So now this is now active!

In case you're curious,. the current prompt used is this:
"A of a (solo:1.2) {cyberpunk|steampunk|solarpunk|dieselpunk|anarchist|fantasy|science fiction} {disney pixar 3D|realistic|dreamworks 3D animation} {male|female|androgynous} {Abkhazian|Afghan|Åland Island|Albanian|Algerian|American Samoan|Andorran|Angolan|Anguillan|Antarctic|Antiguan|Argentine|Armenian|Aruban|Australian|Austrian|Azerbaijani|Bahamian|Bahraini|Bangladeshi|Barbadian|Belarusian Belgian|Belizean|Beninois|Bermudian|Bhutanese|Bolivian|Bonaire|Herzegovinian|Botswana|Bouvet Island|Brazilian|BIOT|Bruneian|Bulgarian|Burkinabé|Burundian|Cabo Verdean|Cambodian|Cameroonian|Canadian|Caymanian|Central African|Chadian|Chilean|Chinese|Christmas Island|Cocos Island|Colombian|Comorian|Congolese|Congolese|Cook Island|Costa Rican|Croatian|Cuban|Curaçaoan|Cypriot|Czech|Danish|Djiboutian|Dominican|Dominican|Timorese|Ecuadorian|Egyptian|Salvadoran|English|Equatorial Guinean|Eritrean|Estonian|Swati|Ethiopian|European|Falkland Island|Faroese|Fijian|Finnish|French|French Guianese|French Polynesian|French Southern Territories|Gabonese|Gambian|Georgian|German|Ghanaian|Gibraltar|Greek|Greenland|Grenadian|Guadeloupe|Guamanian|Guatemalan|Guernsey|Guinean|Bissau-Guinean|Guyanese|Haitian|Heard Island|Honduran|Cantonese|Magyar|Icelandic|Indian|Indonesian|Iranian|Iraqi|Irish|Manx|Israelite|Italian|Ivorian|Jamaican|Jan Mayen|Japanese|Jersey|Jordanian|Kazakhstani|Kenyan|Kiribati|North Korean|South Korean|Kosovan|Kuwaiti|Kyrgyzstani|Laotian|Latvian|Lebanese|Basotho|Liberian|Libyan|Liechtensteiner|Lithuanian|Luxembourgish|Macanese|Madagascan|Malawian|Malaysian|Maldivian|Malinese|Maltese|Marshallese|Martiniquais|Mauritanian|Mauritian|Mahoran|Mexican|Micronesian|Moldovan|Monégasque|Mongolian|Montenegrin|Montserratian|Moroccan|Mozambican|Myanma Burmese|Namibian|Nauruan|Nepalese|Dutch|New Caledonian|New Zealand|Nicaraguan|Nigerien|Nigerian|Niuean|Norfolk Island|Macedonian|Northern Irish|Northern Marianan|Norwegian|Omani|Pakistani|Palauan|Palestinian|Panamanian|Papuan|Paraguayan|Peruvian|Filipino|Pitcairn Island|Polish|Portuguese|Puerto Rican|Qatari|Réunionnais|Romanian|Russian|Rwandan|Saban|Barthélemois|Saint Helenian|Kittitian|Saint Lucian|Saint-Martinoise|Miquelonnais|Vincentian|Samoan|Sammarinese|São Toméan|Saudi|Scottish|Senegalese|Serbian|Seychellois|Sierra Leonean|Singaporean|Sint EustatiusStatian|Sint Maarten|Slovak|Slovenian|Solomon Island|Somali|South African|South Georgia Island|South Ossetian|South Sudanese|Spanish|Sri Lankan|Sudanese|Surinamese|Svalbard|Swedish|Swiss|Syrian|Taiwanese|Tajikistani|Tanzanian|Thai|Timorese|Togolese|Tokelauan|Tongan|Trinidadian|Tunisian|Turkish|Turkmen|Turks and Caicos Island|Tuvaluan|Ugandan|Ukrainian|Emirati|British|American|Uruguayan|Uzbekistani|Ni-Vanuatu|Vaticanian|Venezuelan|Vietnamese|British Virgin Island|U.S. Virgin Island|Welsh|Wallis and Futuna|Sahrawi|Yemeni|Zambian|Zanzibari|Zimbabwean} pirate {standing in front of a sail|sitting in front of a monitor}, {Rococo|Digital Art|Baroque} style, wearing a {red|blue|yellow|green|black|white} {bandana|hat|scarf} and holding a {crimson|gold|silver|emerald|magic|azure|obsidian|ebony} {sword|keyboard|compass|mug|treasure|flag|club|amulet|fruit}, rich detailed {open|cloudy|stormy|sunny} sky background###multiple people, duo, cleavage, bitcoin"

Pretty long ye? The way this works is that each a random option is picked from each collection wrapped in { } which allows me to generate versatile options every day to keep things fresh

Here's some sample images that will be created

https://lemmy.dbzer0.com/pictrs/image/acd0b5bf-1d57-4c8f-a5a7-ad90224fe4d3.webp
https://lemmy.dbzer0.com/pictrs/image/0837a09e-6ea1-4dd1-906a-479fc8597732.webp
https://lemmy.dbzer0.com/pictrs/image/7f9c2340-b5b7-4672-bd74-74ec40ab17cb.webp
https://lemmy.dbzer0.com/pictrs/image/faa036ae-801c-49a5-abb4-41c1ae995f27.webp

If you have improvements you want to see on the prompt, do let me know in the comments. In the future I'm having thoughts of allowing the community here to automatically send adjustments ideas to the prompt for funsies.

zaknenou ,
@zaknenou@lemmy.dbzer0.com avatar

Be Weird, Download a Car, Generate Art, Screw Copyrights

Captain be taking his motto onto other levels

XYZinferno ,

They turned out pretty nice! My only suggestion isn't really AI related, but regarding the logo over it

The white border helps the black logo stand out, though maybe having an additional drop shadow could help it pop out a bit more, though that might be unnecessary. Just something I like to do when Photoshopping, but it's purely personal preference! It certainly looks good, even without it.

db0 OP ,

My gimp skills are almost non existent. But I can sent you the files and see of you can improve them

XYZinferno ,

Of course! I can help try my hand at it

HBK ,
@HBK@lemmy.dbzer0.com avatar

Also wanted to drop a comment that this is awesome and a fantastic use of AI!

haui_lemmy ,
@haui_lemmy@lemmy.giftedmc.com avatar

Phenomenal work as always!

My suggestion is mood and topic based prompts derived from the current trajectory of the sub, for example:

Always compared to the day before

  • more swearwords = stormy weather
  • more anti corporate speak = more punky/anarchist pictures
  • more friendly words = sunny weather
  • more people joining = more ships in the background
  • more posts = more loot/gold in the background

This is pretty complex but would give it a unique adaptive vibe instead of randomness alone.

Just an idea. Thanks for reading. :)

db0 OP ,

Oh that's a great idea! I'll see if I can utilize this somehow. Feel free to share code as well ;)

haui_lemmy ,
@haui_lemmy@lemmy.giftedmc.com avatar

Thanks! Will try if I can come up with something.

gamermanh ,

You might be able to adapt code that's used to analyze text to form word clouds in order to pull that off

No idea where exactly to look but the concepts seem pretty much identical, just change the output

Emmy ,

My vote is no. While piracy is used to store and preserve media, at least for me. This directly deprives artists, something I can't support.

Ai in all its generative forms is bad for everyone and I do not support it or your use of it.

Melatonin ,

Artists are deprived residuals because of your "preservation" piracy. Stop splitting hairs.

In for a penny, in for a pound. They're pirates. We're pirates.

Emmy ,

Lol why not start just disobeying all laws? I'll get back you when you start murdering etc. In for a penny in for a pound.

Don't be dumb. You might think it's splitting hairs, but where we choose to draw the line has always been important.

Melatonin ,

You're literally talking about copyright infringement in both cases. It's a direct analogy.

How you go from "You pirate movies" to "...SO I GUESS YOU'RE IN FAVOR OF MURDER," is a strange trail.

We disagree. That's fine. You're not convinced by me. Many aren't.

Draconic_NEO ,
@Draconic_NEO@lemmy.dbzer0.com avatar

I think this person is very clearly a troll with nothing better to do.

TWeaK ,

The fingers on that mug, which also doesn't have a handle, lmao

Gutless2615 ,

Do you feel like a clever boy now?

TWeaK ,

Always.

Rentlar ,

I really don't have a say as a user on another server, but I'd think you should do what you want because a pirate is free.

Plaster AI generated images everywhere on the background.

Change the webui font to Comic Sans except set the letter h as Times New Roman.

Make everything pink, yellow and bright green so that copyright trolls manually viewing the site can't see anything without being attacked by awful colours.

Do what your heart desires, db0. Embrace chaos, or don't.

Not sure why people are surprised about AI images. You and this server have been using them for a while now. And many of your tools (e.g. Overseer) imo are great uses of AI.

Melatonin ,

db0, can I write prompts like that for the image generators on AI hoard? Would it select one of the random choices within the brackets to use like your banner does? I think that could be fun.

db0 OP ,

Yes and yes. This is using the AI Horde already.

lemann ,

Very neat 👌🎉🎉

On a separate note, last one is probably a swordmaster with those 6 fingers lol

cupcakezealot ,
@cupcakezealot@lemmy.blahaj.zone avatar

damned six fingered man who killed inigo's dad.

orca ,
@orca@orcas.enjoying.yachts avatar

Hey, this is awesome! I might have to set this up to change the banner on my own instance daily. I’ve written a decent amount of python in my time so maybe I can take a look at the code too.

db0 OP ,

Fluxa Avataria is linked on the top. PRs or suggestions welcome.

PrivateNoob ,
@PrivateNoob@sopuli.xyz avatar

Hello! The idea is phenomenal, although I feel that some or most of the genAI images look uncanny usually. I would honestly prefer human made arts, but those could be really costly, so that's totally understandable. I'm impartial on this decision tho, do anything you like! ^^

Also we can lengthen the rotation process tho. A weekly or monthly change would be plenty sufficient, but it's just a small preference.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • piracy@lemmy.dbzer0.com
  • test
  • worldmews
  • mews
  • All magazines