これは、MidjourneyのChatGptベースのプロンプト生成モデルです。このモデルの目的は、画像の作成を簡素化し、それらの創造性を高めることです。部分的なヒントを導入することにより、ChatGptは、創造性を刺激し、新しいアイデアを提供するために使用できるフォローアップを作成します。
24.03.2023
PYPIプロジェクトを作成します。ファイル構造を更新し、APIキー認証をCHATGPTに追加します。 Cli-Appと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 )| モデル | タイプ | レンダラー | コンテンツ | aspect_ratio | 色 | URL |
|---|---|---|---|---|---|---|
| ウェイト、芸術 | アニメ、フォトリアリスティック、アバター、カップルアバター | オクタン、非現実的なエンジン、レイトレース、混合 | キャラクター、風景、オブジェクト、光、粒子 | モデルに依存します | どれでも | どれでも |
| V5 | V4 | ニジ | testp |
|---|---|---|---|
| どれでも | 1:1、1:2、2:1、2:3、3:2、4:5、5:4、4:7、7:4、16:9、9:16 | 1:2、2:1 | 2:3、3:2 |
| 財産 | V5 | V4 | ニジ | testp |
|---|---|---|---|---|
| モデル | + | + | + | - |
| タイプ | + | + | - | - |
| レンダラー | + | + | + | - |
| コンテンツ | + | + | + | - |
| aspect_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の開発に感謝し、ReadMeを生成するためのChatGptに個別に感謝します。また、chatgptを作成するためのacheong08。
プロンプトを生成するためのより高度なオプション