Disco Diffusion:AI 人工智慧繪圖
「第一次接觸 DD 的時候,因為我的職業背景,我滿眼看到的都是『生產力』或『工具鏈』,但有人看到了更好的東西,那就是自由。賦予任何一個沒機會接受十年美術訓練的普通人的創造的自由、運用想像的自由、用圖像去講述的自由、向別人表現夢境的自由。」(Reference)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
/ 近日跑出的最喜歡的圖。
第一次知道 Disco Diffusion 是朋友貼給我噗浪上的這篇文章(這篇文章對參數調整也有很多解釋),那時候匆匆打開瞥了幾眼成果圖片,我以為是畫風轉換渲染器之類的。後來因為看設計作品所以常逛小紅書,無意間看到一個 Tag 叫作「不存在的美術館」我才發現原來 Disco Diffusion 竟然是從無到有的人工智慧繪圖,而不是單純的畫風轉換器。
使用方法也簡單到荒謬,只要打開 Colab 檔案在 Prompts 的欄位打上幾個關鍵詞或是關鍵句就好,Google Colab 提供普通人也能有還過得去的 GPU 算力,對電腦完全零要求。雖然 Colab 不課金的話超過記憶體用量會斷連,但其實跑圖也很夠用了,或是換個 Google 帳號繼續跑,至少大圖一天可以跑個五六張。如果要測試關鍵詞跟畫風建議用較小的尺寸測試。
Disco Diffusion 最大的缺點是無法繪製生物體,請不要嘗試用它畫生物,會很獵奇。最近有另個 MidJourney 人工智慧繪圖工具還在內測中已經確認可以畫生物了,但 Disco Diffusion 就先不要。DD 目前最大優勢是它的開發團隊允許使用者生成的圖片任意用途,包含商業用途。
以下盡可能易於執行,主要針對完全沒用過 Colab 且沒寫過程式的人。
Disco Diffusion on Google Colab
- 直接點開就能用,只要你有登入 Google 帳號
- Disco Diffusion v5.2 Code Link
Modify Prompts:修改關鍵詞
- 這部分在 3. Settings 下面有個區塊叫 Prompts
- 我們要修改的
- 寫形容詞 + 名詞的詞組,也可以不指定顏色
- 參考畫師很重要,風格也是,梵谷慕夏等等都能有很美的效果
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Additional Suggestions
Start Running:開始執行
- 改好你要的關鍵詞之後就可以直接開始執行
- 會跳出一個彈窗要求你授權 Google Drive 雲端硬碟的權限
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Save Folder:圖片存放位置
- 跑好的圖片會存在你的雲端資料夾 TimeToDisco 裡面
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Size & Spend Time:修改尺寸
- 在 3. Settings 部分修改 width_height 可以更改影像尺寸
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Size |
Spend Time |
500 * 400 |
10 mins |
1080 * 675 |
0.5~1 hour |
1280 * 768 |
1.5~2 hours |
- 在 1.1 Check GPU Status 檢查區塊,抽到 T4 跑圖速度最快
- Colab 每次連接執行階段會分配不同等級的顯卡,可以斷連執行階段刷 T4
Something:個人成品
"We take that which is unreal to be real and that which is real to be unreal."
- 連續在本機跑了十幾天各種嘗試的結果
- 根據關鍵詞差別,基本上什麼畫風都做得到
- 但當我試著讓 AI 畫看看車子在天上飛的城市,結論是 AI 都畫不出飛天車。我期待的未來世界什麼時候才會到來啊 QQ
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →