這是Midjourney的基於Chatgpt的及時生成模型。該模型的目的是簡化圖像的創建並提高其創造力。通過引入部分提示,Chatgpt創建了可用於刺激創造力並提供新想法的後續行動。
24.03.2023
創建PYPI項目。更新文件結構,將API密鑰身份驗證添加到chatgpt。 CliApp和Discord-Bot將在幾天之內提供。
pip install chatGPTMidJourneyPrompt from chatGPTMidJourneyPrompt . mjPrompt import PromptGenerator
# supported authorization methods: via email and password, via token, via api key
config = {
"email" : "your_email" ,
"password" : "your_password" ,
# or
"session_token" : "your_session_token" ,
# or
"api_key" : "your_api_key" ,
}
promptGenerator = PromptGenerator ( config )
prompt = promptGenerator . V5 ( "any text" )
prompt = promptGenerator . V4 ( "any text" )
prompt = promptGenerator . niji ( "any text" )
prompt = promptGenerator . testp ( "any text" )
# or advanced usage if needed
promptConfig = {
"model" : "artistic" ,
"type" : "anime" ,
"renderer" : "ray tracing" ,
"content" : "character" ,
"aspect_ratio" : "1:5" ,
"color" : "red" ,
"url" : "example image url" ,
}
prompt = promptGenerator . V5 ( "any text" , config = promptConfig , words = 50 )| 模型 | 類型 | 渲染器 | 內容 | extack_ratio | 顏色 | URL |
|---|---|---|---|---|---|---|
| 權重,藝術 | 動漫,逼真的,阿凡達,夫婦阿凡達 | 辛烷,虛幻的發動機,射線跟踪,混合 | 角色,景觀,物體,光,顆粒 | 取決於模型 | 任何 | 任何 |
| V5 | v4 | Niji | 測試 |
|---|---|---|---|
| 任何 | 1:1、1:2、2:1、2:3、3:2、4:5、5:4、4:7、7:4:4、16:9:9、9:16 | 1:2,2:1 | 2:3,3:2 |
| 財產 | V5 | v4 | Niji | 測試 |
|---|---|---|---|---|
| 模型 | + | + | + | - |
| 類型 | + | + | - | - |
| 渲染器 | + | + | + | - |
| 內容 | + | + | + | - |
| extack_ratio | + | + | + | + |
| 顏色 | + | + | + | - |
| URL | + | + | + | + |
在我的畫廊中查看更多例子
提示:
Sakura blossoms::5, pink flowers::4, Licorice plant::3, Japanese landscape::5, octane render::4, landscape desing::4, red::10, purple::10, , high quality photo::5, soft light::2, sharp-focus::3, hyper realism::4 --v 4 --s 1000 --q 5 --ar 16:9

提示:
Stars::5, galaxy::4, space::5, , , , --v 4 --ar 3:2 --s 1000 --q 5 --ar 1:2

提示:
Elven assassin with a masked face and intricate runes. Highly detailed photorealism showcases the intricate details of the mask and runic markings. Focused on the assassin's face, with a blurred background. The lighting is a blend of candlelight and twilight, adding a sense of mystery to the character. The style is a mix of ancient and fantasy. Resolution: --ar 16:9 --s 1000 --q 2 --upbeta --v 4

提示:
An elven warrior girl wielding a sword, dressed in armor made of intricate metals and fabrics. She stands against a futuristic background with high-tech elements, rendered with the latest technologies. Focused, blurred background, full-body::5 soft light::1 high quality photo::1 --v 4 --ar 3:2 --s 1000 --q 5

提示:
Stray dog::3, samurai::5, katana::5, dirt road::3, countryside::3, --niji --q 2

該項目已根據MIT許可獲得許可。
非常感謝AI的開發,並分別感謝Chatgpt生成了讀數。還有Acheong08用於創建ChatGpt。
生成提示的更高級選項