最近在 AI 界有一個異軍突起的新玩意兒——Disco Diffusion。
第一眼看到看到這名字,我也以為這貨是個蹦迪的。
后來經過深入淺出的了解后,這貨還真是過實打實的 AI 軟件,就是名字有點二而已。
廢話不多說,來重點。
相比以往的 AI 生成,要有代碼基礎,還得對著鍵盤敲命令的方式不同,TA 真的可以算是“傻瓜式”。
先說幾個重點的參數。
輸出名稱,“步驟數”,圖片尺寸。
中間“步驟數”一般人比較難 get 到,這是麻呀?
因為 AI 的訓練,就是一個“迭代”的過程。
就像人類的進化一樣,千秋萬代后,才有來我們。
So,你大可以理解成,你想進化多少代。
當然這也不是越長越好。畢竟時間和電腦性能擺在這兒呢。
簡單來說,Steps 越多,畫面就越精細。
接著就是考驗腦洞的環節。
用英文來描述你想生成一副什么樣的畫。
第一行紅字的英文,就是系統默認的描述。
A beautiful painting of a singular lighthouse, shining its light across a tumultuous sea of blood by greg rutkowski and thomas kinkade, Trending on artstation.", "yellow color scheme
Emmm,用谷歌翻譯后,大概是這個意思。
由 greg rutkowski 和 thomas kinkade 繪制的一座奇異燈塔的美麗畫作,在洶涌的血海中閃耀,在 artstation 上流行。”,“黃色配色方案”
別急,把它大卸幾塊,其實原理很簡單。
首先前面大半段,都是形容畫面的;后面的「Trending on artstation」其實是讓 AI 參考 artstation 這個網站的作畫方式。
這網站的畫畫風格是醬紫的。
最后的「yellow color scheme」就更簡單的,就是以黃色作為主色調。
So,整段描述就能簡單分為 3 個部分「你的腦洞」+「參考網站」+「主色調」。
把后兩個其實去掉也沒什么大不了,不會影響 AI 畫畫的。
說了那么多,是時候來點硬貨吧。
先用 AI 自帶的描述生成一張,讓你們看看。
A beautiful painting of a singular lighthouse, shining its light across a tumultuous sea of blood by greg rutkowski and thomas kinkade, Trending on artstation.", "yellow color scheme"
怎么樣,還行吧?
再來瞅瞅我的描述和生成的畫。
cyberpunk style buildings,Chinese dragon,Large-scale military factories, high-definition,Trending on artstation.
cyberpunk style buildings,Chinese dragon,Large-scale military factories, high-definition,Trending on artstation.
上面這兩張的描述其實是一樣,但一樣的描述,也會生成不一樣的畫面的哦,這就是 AI 的能力。
別急,還有呢。
Satellite weapon attack monster in Space,Unreal Engine, detail, Trending on artstation.
a extreme mega tree with mega crown in the center of forest, the clouds are above the forest, light effect, sunshine, detailed , high-definition, super wide angle, ArtStation Christian Dimitrov
hot pot, shrimp, crab, fish, scallop, delicious,Unreal Engine,detail,Trending on artstation
China,Greatwall,detail,Trending on artstation.
A fox, blue flower sea, full moon night,detail,Trending on artstation
Fireworks at sea, night, colorful,super wide angle,artstation.
還行吧?
當然啦,AI 畢竟是 AI,也有“失敗”的作品。
Chinese warrior in the sea of flowers under the red moon, mountains in the distance, Unreal Engine, detail, Trending on artstation
Pokemon, Pikachu,Charmander,Bulbasaur,Squirtle,Unreal Engine,detail,Trending on artstation.
這玩意兒目前是使用谷歌的云電腦計算,一般人真用不了。
離線版倒是有,只是太吃性能,而且僅限 N 卡。
RTX 3090 運行 250 Steps 都要 8~10 分鐘左右..
想躍躍欲試的同學,可以在評論區告訴你的想法,讓老哥把你的想法輸入給云電腦,AI 算好后明天推文再發給你們。
(記得要用英語哦)
對了,點左下角的閱讀原文,有網友分享的關鍵詞和畫作哦。
責任編輯:Rex_08