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 [email protected] 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

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.

  • haui@lemmy.giftedmc.com
    link
    fedilink
    English
    arrow-up
    80
    arrow-down
    2
    ·
    8 months ago

    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@lemmy.dbzer0.comOPM
      link
      fedilink
      English
      arrow-up
      38
      arrow-down
      1
      ·
      8 months ago

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

      • gamermanh@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        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