This is a ChatGPT based prompt generation model for MidJorney. The purpose of this model is to simplify the creation of images and increase their creativity. By introducing a partial hint, ChatGPT creates a follow-up that can be used to stimulate creativity and provide new ideas.
Project description
ChatGPT-MidJourney-prompt
This is a ChatGPT based prompt generation model for MidJourney. The purpose of this model is to simplify the creation of images and increase their creativity. By introducing a partial hint, ChatGPT creates a follow-up that can be used to stimulate creativity and provide new ideas.
What's new
24.03.2023
Create PyPi project. Update file structure, add api key authentication to ChatGPT. CLI-app and discord-bot will be available within a few days.
Installation
pip install chatGPTMidJourneyPrompt
Usage
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)
More about config
All config properties
| model | type | renderer | content | aspect_ratio | color | url |
|---|---|---|---|---|---|---|
| weights, artistic | anime, photorealistic, avatar, couple avatar | octane, unreal engine, ray tracing, mixed | character, landscape, object, light, particles | depends on the model | any | any |
Aspect ratios
| V5 | V4 | niji | testp |
|---|---|---|---|
| any | 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 |
Model properties support
| property | V5 | V4 | niji | testp |
|---|---|---|---|---|
| model | + | + | + | - |
| type | + | + | - | - |
| renderer | + | + | + | - |
| content | + | + | + | - |
| aspect_ratio | + | + | + | + |
| color | + | + | + | - |
| url | + | + | + | + |
Results
See more examples in my gallery
Short-weights model
prompt:
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
prompt:
Stars::5, galaxy::4, space::5, , , , --v 4 --ar 3:2 --s 1000 --q 5 --ar 1:2
Artistic model
prompt:
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
prompt:
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
Niji
prompt:
Stray dog::3, samurai::5, katana::5, dirt road::3, countryside::3, --niji --q 2
License
This project is licensed under the MIT License.
Acknowledgments
Thanks a lot to the development of AI and separately to ChatGPT for generating the Readme. And also acheong08 for creating ChatGPT.
Future
More advanced options for generating prompts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chatGPTMidJourneyPrompt-2.0.2.tar.gz.
File metadata
- Download URL: chatGPTMidJourneyPrompt-2.0.2.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0833b63236805dc6eaf03b96fe34134e362b1f003f1c115d106603c4a060dee4
|
|
| MD5 |
055da7b0bbdd3271c72cc8028f689de6
|
|
| BLAKE2b-256 |
4b3eb795f4b1095e3d73c2c937ad02bd169c978c10933604ec7b14d8db8ac801
|
File details
Details for the file chatGPTMidJourneyPrompt-2.0.2-py3-none-any.whl.
File metadata
- Download URL: chatGPTMidJourneyPrompt-2.0.2-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7020edb1618f6fe47bf077bdcc54308371c69d0d4468bed1beaef11bf5e2f5bd
|
|
| MD5 |
1fe8528ef80d9cfd3bcbab6c7f912388
|
|
| BLAKE2b-256 |
30ed46d97ec8a9df9f87defdd0c90373b5820dde91235e99ea17ea5a6e414f82
|