有趣的 Midjourney AI 繪圖初體驗

彼得潘最近常看到朋友在 FB / IG 分享 Midjourney 繪製的圖片,聽說它提供很厲害的 AI 繪圖服務,我們只要用文字描述想畫的東西,它就可以幫我們畫出精美的圖片。

真的有那麼厲害嗎?接下來就讓我們試試看吧,請 Midjourney 畫個 Peter Pan 正在教 Wendy 使用 Macbook 寫程式開發 iPhone App 的浪漫圖片。

連到 Midjourney 網站

點選 Join the Beta

彼得潘想直接試用,不需要額外的功能,因此不用登入帳號,點選 Join the Beta 即可。

進入 Midjourney 的 Discord 聊天室

點選 Accept Invite 接受邀請,進入 Midjourney 的 Discord 聊天室。

進入新手聊天頻道

選擇 newbies 開頭的聊天頻道。在頻道裡我們可以做以下兩件事:

  • 欣賞別人產生的圖片。
  • 輸入指令產生圖片。值得注意的,指令只能打英文,新手一開始可以多參考模仿別人輸入的指令。

輸入指令生圖

輸入 /im,選擇 /imagine。

在 prompt 裡輸入指令。

輸入的指令必須是英文,因此彼得潘先用 google 翻譯翻成英文。

輸入 Peter Pan is teaching Wendy to use a Macbook to write programs and develop iPhone Apps。

第一次輸入指令時,會先產生要求同意服務條款的通知,要點選 Accept ToS 後才能產生圖片。

重新輸入一次指令,等待幾秒後,Midjourney 將產生 4 張圖片。

這 4 張圖片的編號如下,我們可選擇對某張編號的圖片進行 U & V 的動作,U 是放大圖片,V 是以某張圖片做變化,再生成 4 張圖片。

依據某張圖片做變化

彼得潘比較喜歡 1 號,因此點選 V1。稍等幾秒後,看到 Midjourney 產生以下 4 張圖片。

將某張圖片放大

不過剛剛的圖都不夠可愛,彼得潘比較喜歡可愛風的女生跟繪畫,讓我們再輸入一次指令,這次加上 cute style。

太棒了,4 號圖既浪漫又可愛,點選 U4 後,再稍等片刻,看到 Midjourney 產生 4 號的大圖。

點選圖片,然後點選 Open in Browser。

此時圖片會開啟在新分頁,我們可從右鍵選單點選 Save Image 儲存。

感謝 Midjourney 繪製 Peter 認真教 Wendy 寫程式的可愛圖片。

提供 Midjourney 參考的圖片

我們也可以要求 Midjourney 繪製時參考某張圖片,比方我們在 Discord 上傳以下圖片。

點選圖片後,從右鍵選單的 Copy Image Address 取得圖片網址。

再次輸入指令,加上 is based on this,this 後接圖片網址。

Peter Pan is teaching Wendy to use a Macbook to write programs and develop iPhone Apps, cute style, is based on this https://media.discordapp.net/attachments/1008571045445382216/1069238375753711706/Screenshot_2023-01-29_at_8.51.16_PM.png

Midjourney 產生的圖片如下。

從 Inbox 的 Mentions 查看生成的圖片

我們的圖片很容易被淹沒在聊天頻道的圖片海,因此我們也可以點選 Inbox 的紅色框框,從 Mentions 頁面找到過去生成的圖片。

登入帳號查看生成的圖片

登入帳號可以使用更多功能,其中一個最大好處是可以在 Home 頁面查看過去生成的圖片。

免費帳號的限制

天下沒有白吃的午餐,免費帳號只能產生一定數量的圖片,達到上限後就不能再生圖了。

想製作更多圖片,請參考 Midjourney 的訂閱方案。

iOS App 工程師和 Midjourney 的合作

彼得潘時常遇到學習 iOS App 開發的朋友擔心自己做不出美美的 App,煩惱要從哪裡找美麗的圖片。有了 Midjourney,這些都不是問題了,想要什麼圖都可以跟 Midjourney 說,Midjourney 畫給你。

其它有趣的例子

  • peter pan worrying about what to wear on a date with wendy, many clothes, cute style
  • a cute girl who is using a MacBook Pro seriously to write code on the Titanic. She is sitting on the deck, writing code quietly, seeming to be passionate and interested in her work. The scenery around her is the magnificent ocean and sky, as well as people dressed in the old-fashioned attire of the ship, bustling around her. Her expression is focused and confident, seemingly undisturbed by the surrounding scenery, and dedicated to her work.
  • Couple writing programs together on sand booth, using MacBook, cute style
  • Couple writing programs together, using MacBook, smile, cute style
  • Peter Pan and Wendy are coding, in the forest, using MacBook, cute style
  • Peter Pan and Peter Rabbit are coding together, using MacBook
  • Peter Pan and Peter Rabbit are coding together, using MacBook, anime
  • Peter Pan and Wendy are coding swift together, using MacBook, love, apple, anime
  • cute boy carrying cute girl on his back, he is programming with MacBook

--

--

彼得潘的 iOS App Neverland
彼得潘的 Swift iOS / Flutter App 開發教室

彼得潘的iOS App程式設計入門,文組生的iOS App程式設計入門講師,彼得潘的 Swift 程式設計入門,App程式設計入門作者,http://apppeterpan.strikingly.com