Preface

Today I will write about how AI - artificial intelligence - helps me create graphics and images for my blog.

Obtaining photos and graphics

I used to have to manually source photos for my blog. Thanks to AI image generation, also known as generative art, I save time and money. I'm currently using "mid-trip" - Midjourney bot to generate stunning images from simple text prompts in seconds.

Photo search

I mostly searched sites that offered free and/or paid photos. It took me a lot of time, and the photos I found were a forced compromise. The photos selected were never even close to what I expected. I mostly used Pexels – Free gallery photos, royalty-free gallery images and copyright-free photos.

Pexels - Darmowe zdjęcia z galerii, obrazy z galerii bez opłat licencyjnych i zdjęcia bez praw autorskich - Mentor Junior Java Developer
Pexels – Free stock photos, royalty-free gallery images and copyright-free photos – Mentor Junior Java Developer

Ordering graphics

Another way to obtain the right photos was to commission graphics on websites such as Fiverr – Freelance Services Marketplace. Here it was a free American and roulette when it comes to the quality of services provided. I remember writing endlessly with the person I commissioned to create a graphic for $5. You could say that I prompted a person instead of a chatbot.

Fiverr - Freelance Services Marketplace - Mentor Junior Java Developer
Fiverr – Freelance Services Marketplace – Mentor Junior Java Developer

Generating graphics with AI

Currently, it only takes a few seconds to create a text description of the image I want, and after a while I receive the image generated using AI. For me, it only takes a few repeats/iterations to get an image that is 90% what I want.

How to use the Midjourney tool itself is beyond the scope of this article, below is a link to the official documentation.

Midjourney Quick Start Guide

From the official documentation, we will learn how to use Midjourney and how to connect it to Discord. Source: https://docs.midjourney.com/docs/quick-start https://docs.midjourney.com/docs/quick-start

Even though 90% is consistent with my expectations, various situations occur, such as generating six fingers on the hand or as in the picture below.

For the generated giraffes, I entered prompt:
/imagine giraffe on the top eiffle tower.

Unfortunately, I didn't receive what I expected. It looks like the large language model couldn't find a graphic of a giraffe on the Eiffel Tower anywhere on the internet. Therefore, he did not know how to generate what I asked for.

Jak Midjourney pomaga mi generować obrazy z użyciem AI - żyrafa na wieży Eiffla, brak obrazu - Mentor Junior Java Developer
Jak Midjourney pomaga mi generowac obrazy z uzyciem AI – zyrafa na wiezy Eiffla, brak obrazu – Mentor Junior Java Developer
Jak Midjourney pomaga mi generować obrazy z użyciem AI - żyrafa na wieży Eiffla, selfie - Mentor Junior Java Developer
Jak Midjourney pomaga mi generowac obrazy z uzyciem AI – zyrafa na wiezy Eiffla, selfie – Mentor Junior Java Developer

I will write more about generating images using Midjourney and Discord later in the article. For now, below is a practical example of using Midjourney.

Przykład użycia Midjourney

Generowanie obrazów – prompt /imagine

Należy zacząć od wspomnianego tekstowego opisu zwanego prompt:

/imagine two monitors desktop set

Poniżej wynik generowania obrazów, dostajemy cztery wersje, na których operujemy, działamy. Na wygenerowanie obrazu musimy chwilę poczekać.

Modyfikacja – Version, Upscale, Re-run

Za pomocą przycisków V1, V2, V3, V4 (V – version; wersja) – Image Variation – wybieramy obraz do ponownego wygenerowania na podstawie otrzymanego wyniku.

Używając przycisków U1, U2, U3, U4 (U – upscale, to increase the size; scope, or scale of (something); „powięszkenie”) – Image Selection – wybieramy „finalny” obraz, który ponownie generujemy w lepszej jakości oraz rozdzielczości.

Midjourney prompt /imagine two monitors desktop set - Mentor Junior Java Developer
Midjourney prompt /imagine two monitors desktop set – Mentor Junior Java Developer

Do „modyfikacji”, ponownego wykonania tekstowego opisu – prompt – należy użyć przycisku 🔄. UWAGA: opcja remiksowania prompt musi zostać włączona za pomocą oddzielnego polecenia. Use the /settings command and select 🎛️ Remix from the pop-up.

Poniżej wybrany obraz (U4 – Upscale) do dalszej obróbki, jak widać na zrzucie ekranu. Dostajemy dużo więcej opcji np. Vary, Zoom. Zachęcam do eksperymentowania z wygenerowaną grafiką. Wykracza, to poza treść artykułu, odsyłam do oficjalnej dokumentacji – How to Use Remix Mode with Vary (Region).

Midjourney, upscale; wybrany obraz do dalszej edycji - Mentor Junior Java Developer
Midjourney, upscale; wybrany obraz do dalszej edycji – Mentor Junior Java Developer

Wyjaśnienie pojęć

Uważam, że zawsze należy wyjaśnić pojęcia, które dotyczą nowych narzędzi oraz technologii. Bez znajomości podstawowych pojęć czujemy się jeszcze bardziej zagubieni w świecie nowych rozwiązań, niezależnie, od tego, czy, to AI, czy nowy nowy program komputerowy.

Midjourney

Midjourney to program i usługa generatywnej sztucznej inteligencji stworzona i prowadzona przez niezależne laboratorium badawcze Midjourney, Inc. z siedzibą w San Francisco. Midjourney generuje obrazy na podstawie opisów w języku naturalnym, zwanych promptami. Źródło Wikipedia: https://en.wikipedia.org/wiki/Midjourney.

Discord

Discord to komunikator internetowy i platforma społecznościowa VoIP, która umożliwia komunikację za pośrednictwem połączeń głosowych, połączeń wideo, wiadomości tekstowych oraz multimediów i plików. Źródło Wikipedia: https://en.wikipedia.org/wiki/Discord.

Dlaczego Midjourney wymaga Discord?

Na oficjalnej stronie można znaleźć informacje jak używać Discord z Midjourney oraz drobną wzmiankę, dlaczego trzeba używać takie połączenie: „The community is supportive, encouraging, and eager to share their knowledge with users just starting out.”. Źródło: Midjourney – Discord Interface.

ChatGPT zapytany o „Why midjourney uses discord?”

Odpowiada: „By leveraging Discord, Midjourney can maintain an active, engaged, and collaborative community, essential for its mission of fostering new modes of thought and creativity.”.

Co z prawami autorskimi?

Ciężko mi było znaleźć jakieś konkretne informacje odnośnie praw autorskich i/lub plagiatów związanych z wygenerowanymi obrazami za pomocą Midjourney i innych podobnych narzędzi korzystających z AI.

Can I use my images commercially?

Midjourney subscribers own all the images they’ve created, even if their subscription has expired, and they’re free to use those images however they’d like. There are two small exceptions:

– If you upscale an image of another user, that upscale is owned by the original creator, not by you. It will appear in their gallery on the website instead of yours, and you’ll need their permission to use it.
– If you are a business grossing more than $1,000,000 USD a year, you need a Pro or Mega Plan to use your images commercially for your company.

Full details can be found in the Midjourney Terms of Service, Section 4: Copyright and Trademark.

Źródło: https://help.midjourney.com/en/articles/8150363-can-i-use-my-images-commercially

OpenAI broni swoich klientów

Nie wiemy jak Midjourney, ale OpenAI broni swoich klientów. Na blogu OpenAI można przeczytać „OpenAI stara się chronić swoich klientów za pomocą wbudowanych zabezpieczeń praw autorskich w naszych systemach.”.

Copyright Shield

OpenAI is committed to protecting our customers with built-in copyright safeguards in our systems. Today, we’re going one step further and introducing Copyright Shield—we will now step in and defend our customers, and pay the costs incurred, if you face legal claims around copyright infringement. This applies to generally available features of ChatGPT Enterprise and our developer platform.

Źródło: https://openai.com/blog/new-models-and-developer-products-announced-at-devday

Summary

Dziś, ciężko mi wyobrazić sobie tworzenie grafiki bez narzędzi do generowania obrazów wspieranych przez sztuczną inteligencję. Kilkadziesiąt złotych zapłacone za Midjourney zwraca się z nawiązką z każdą wygenerowaną grafiką. Pisząc ten artykuł nauczyłem się nowych rzeczy o Midjourney. Zachęcam do nieustannej nauki nowych technologii, które mogą zautomatyzować, ułatwić naszą pracę.