Welcome to the AI Prompt Generator project! This tool helps users create dynamic prompts for AI image generation. All these prompts are applicable to Stable Diffusion models hosted on Heurist Imagine.
The project uses a JSON configuration file to define prompt templates and categories. Here's a breakdown of the structure:
Each template in the templates
array has the following structure:
{
"id": "unique_identifier",
"name": "Display Name",
"template": "Fixed keyword 1, fixed keyword 2, [category1,default=default_value], [category2,default=default_value], some other fixed keyword",
"recommendedModel": "ModelName"
}
- id: A unique identifier for the template
- name: The display name of the template
- template: The prompt structure, with placeholders for dynamic categories
- recommendedModel: The suggested AI model for this template
The categories
object contains lists of keywords for each category:
"categories": {
"category1": ["keyword1", "keyword2", "keyword3"],
"category2": ["keyword1", "keyword2", "keyword3"]
}
We welcome contributions to expand our collection of prompt templates and keywords! Here's how you can contribute:
- Fork this repository
- Make your changes to the configuration file
- Submit a pull request with your changes
To add a new template:
- Open the configuration file
- Add a new object to the templates array
- Ensure your template has a unique id
- Use existing categories or create new ones as needed
- Specify a recommended model
Example:
{
"id": "steampunk_invention",
"name": "Steampunk Invention",
"template": "steampunk-style [object,default=flying machine], with [character,default=inventor] operating it, [environment,default=Victorian-era workshop], [lighting,default=warm gaslight], [style,default=detailed illustration]",
"recommendedModel": "SteampunkDreamerXL"
}
To add new keywords to existing categories:
- Open the configuration file
- Find the relevant category in the categories object
- Add your new keywords to the array
Feel free to suggest new categories if needed!
You can try out these prompts and generate images for free at https://imagine.heurist.ai, our AI image generator platform.
If you have any questions, suggestions, or issues, please open an issue in this repository. We appreciate your feedback and contributions!
Happy prompting!