这是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。
生成提示的更高级选项