Il s'agit d'un modèle de génération rapide basé sur Chatgpt pour MidJourney. Le but de ce modèle est de simplifier la création d'images et d'augmenter leur créativité. En introduisant un indice partiel, Chatgpt crée un suivi qui peut être utilisé pour stimuler la créativité et fournir de nouvelles idées.
24.03.2023
Créer un projet PYPI. Mettez à jour la structure des fichiers, ajoutez l'authentification des clés de l'API à Chatgpt. CLI-App et Discord-Bot seront disponibles dans quelques jours.
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 )| modèle | taper | rendu | contenu | aspect_ratio | couleur | URL |
|---|---|---|---|---|---|---|
| poids, artistique | anime, photoréaliste, avatar, couple avatar | octane, moteur irréel, traçage des rayons, mélangé | caractère, paysage, objet, lumière, particules | dépend du modèle | n'importe lequel | n'importe lequel |
| V5 | V4 | niji | testp |
|---|---|---|---|
| n'importe lequel | 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 |
| propriété | V5 | V4 | niji | testp |
|---|---|---|---|---|
| modèle | + | + | + | - |
| taper | + | + | - | - |
| rendu | + | + | + | - |
| contenu | + | + | + | - |
| aspect_ratio | + | + | + | + |
| couleur | + | + | + | - |
| URL | + | + | + | + |
Voir plus d'exemples dans ma galerie
Invite:
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

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

Invite:
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

Invite:
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

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

Ce projet est autorisé sous la licence du MIT.
Merci beaucoup au développement de l'IA et séparément à Chatgpt pour avoir généré le Readme. Et aussi ACHEONG08 pour avoir créé un chatppt.
Des options plus avancées pour générer des invites