# Midjourney 安裝/操作/指令 學習筆記
> [TOC]
此篇整理如何用 Midjourney 製作 ai(電腦)繪圖的操作流程,以及整理一些還不錯的學習資源,此篇撰寫於 2023/03 最新進度請查閱官方網站。

---
已停止免費版用戶試用
Nick St. Pierre discord 群組依照字母提供各種主題 Prompt
https://linktr.ee/nickfloats
Atiana Tsiguleva 熱愛分享各種有趣的 Prompt (結合 Runway Gen2)
https://twitter.com/ciguleva?s=21&t=IZaArKx5fXY3e8N-UHRsIw
---
# 安裝環境
因為不是在本機算圖,利用 discord 軟體進行下 prompt 指令 (詠咒),所以理論上只要能安裝 discord 跟瀏覽器(註冊用)的電腦都可以使用
https://discord.com
# 官方網站

Midjounery 官方網站 封面由程式碼環繞的漩渦所構成
https://www.midjourney.com/home/
提供 Showcase 社群展示看別人如何下關鍵字
https://www.midjourney.com/showcase/recent/

點開查看詳細內容/參數設定 訂閱會員專屬
官方提供的 Quick Start 教學手冊
如何在Discord上使用Midjourney 用文字提示建立圖片
https://docs.midjourney.com
https://docs.midjourney.com/docs/quick-start
官方社群 Newbies 頻道提供新手測試繪圖用
但建議自行新增頻道群組加入機器人
有訂閱方案 ~~免費試用版有限制算圖次數(job ?)~~

:::info
第一次嘗試 prompt 的詞
||An astronaut is taking a break on the surface of Mars, sitting comfortably in a beach chair.略...||
:::
最後版本:

然後根據喜好選擇 emoji
官網藝廊(Community Showcase)會演算法推薦你喜歡的圖片,每次都會產生 4 張圖片供使用者選擇
# Midjourney 指令語法/規則
:::success
前輟詞指令 + prompt ( 描述文字+相關參數 )
> /imagine + prompt ( A cute little dog with a hat --v4 )
--v2 --v3 --v4 默認 v4
--niji 二次元風格 anime/manga
:::
## 指令
最常用到的產圖:/imagine prompt
1. /ask: Get an answer to a question.
2. /blend Easily: blend two images together.
3. /daily_theme: Toggle notification pings for the #daily-theme channel update
4. /fast: Switch to Fast mode.
5. /help: Shows helpful basic information and tips about the Midjourney Bot.
6. /imagine: Generate an image using a prompt
理解後的中翻
1. 提問 輸入參數 會給官方社群對應連結
2. 混合 兩張圖合併
3. 頻道通知
4. 切換算圖模式
5. 幫助 給出相關教學手冊
6. 生成 `/imagine` 產圖 最常用到的參數
/show 複製官網算好的圖 id
可以重算原本的圖
## prompt ( 描述文字+相關參數 )
描述文字技巧
如何描述想要的圖
人事物的外觀 who + 風格 style + 細節設定 detail
```
參數
/imagine prompt a cute little cat with a hat cyber style --ar 16:9 --v4
比例
--aspect
--ar 1:1 默認尺寸 正方形。
--ar 7:4
混亂
Chaos
參數:--chaos --c
數值:0-100
改變圖像風格類型
數值越小 一組四張照片相似度越高
種子
參數:-seed --sameseed
--no Negative prompting
```
## 參考資料
* [Midjourney新手入门教程,轻松创作顶级图像 - MidjourneyV4版本Command命令,Parameters参数详解,实操技巧 - 小薇Ai课堂](https://youtu.be/vjTbyg47AL4)
* [【AI繪圖 技巧 Midjounery】入門教程,看這一篇就夠了](https://youtu.be/t152wxreodY)
# 圖片樣式設定
Upscale or Create Variations
:one: :two:
:three: :four:
`U1` `U2` `U3` `U4` :arrows_clockwise:
`V1` `V2` `V3` `V4`
Upscale 放大尺寸增加細節
Variations 該圖片版本做細節變更
re-roll 根據 prompt 重新渲染一次
make variation 可修改 prompt 加入物件
Light Upscale Redo 提升更好品質
Beta Upscale Redo (理論上)更更好品質
# Prompt 提示詞寶典(詠咒)
> portrait of a person by <artist full name> --ar 2:3
> realistic, cinematic, digital art, black white, high detail, concept art, photorealistic, artstation
> https://midjourney-prompt-helper.netlify.app
以圖搜 prompt 反向解析(非官方):
https://youtu.be/JPBtaAQ2H2Y
https://replicate.com/methexis-inc/img2prompt
# 學習資源
* [官方指令教學手冊](https://docs.midjourney.com/docs/explore-prompting)
* [MidJourney資源懶人包](https://sites.google.com/view/midjourney-resource-tips)
囊括了官方/非官方各類資源連結
* [AI對社會的衝擊 - 繪圖](https://hackmd.io/@CharmingFish0420/S1Ht-KKdo)
如何產生好看特定類型的Ai繪圖圖片範例 MJ 交流討論社群
* [為什麼別人的 AI 繪圖都比較好玩?Midjourney 新手詠唱技巧教學](https://youtu.be/OhLofsBTrHs)
# ChatGPT Prompt
訓練成咒語庫指令
[[ChatGPT 咒語庫] Midjourney 咒語產生器 ](https://fullstackladder.dev/blog/2023/02/13/chat-gpt-prompts-midjourney-generator/)
# AI 生成咒語關鍵字參考網站
https://github.com/Dalabad/stable-diffusion-prompt-templates
https://civitai.com
https://lexica.art/
:::info
感謝你的閱讀,也歡迎點擊下方連結瀏覽我的社群平台 :smiley:
Youtube : [多多](https://www.youtube.com/@11305205219/videos)
HackMD : https://hackmd.io/@DCT
Wa.01 Blog : https://wastu01.github.io/
Medium : https://medium.com/mr-wang
Coderbridge : [https://index.coderbridge.io](https://index.coderbridge.io)
:::