✓ Verified
💻 Development
✓ Enhanced Data
Ai Prompt Gen
Generate optimized prompts for AI models including ChatGPT, Midjourney, and code generation.
- Rating
- 4.7 (70 reviews)
- Downloads
- 25,975 downloads
- Version
- 1.0.0
Overview
Generate optimized prompts for AI models including ChatGPT, Midjourney, and code generation.
Complete Documentation
View Source →
AI Prompt Generator
Generate optimized prompts for various AI models. Create prompts for ChatGPT, Midjourney, code generation, and more with customizable styles and parameters.
When to Use
- Create prompts for AI writing and content generation
- Generate prompts for AI art and design
- Optimize prompts for code generation
- Analyze and improve existing prompts
- Build prompt engineering workflows
Quick Start
Generate Writing Prompt
bash
python3 scripts/ai-prompt-gen.py general writing "人工智能" creative general long
Generate ChatGPT Prompt
bash
python3 scripts/ai-prompt-gen.py chatgpt "专业作家" "写一篇关于AI的文章" "背景信息" "字数500字"
Generate Midjourney Prompt
bash
python3 scripts/ai-prompt-gen.py midjourney "未来城市" "futuristic" "科技感" "high"
Analyze Prompt Quality
bash
python3 scripts/ai-prompt-gen.py analyze "写一个关于AI的文章"
Commands
general [style] [audience] [length]
Generate general AI prompts for various categories.Categories:
writing- Content writing and creative writingcoding- Code generation and programmingmarketing- Marketing and SEOdesign- Graphic and UI designresearch- Research and analysisanalysis- Data and business analysis
concise- Brief and to the pointcreative- Creative and imaginativetechnical- Technical and detaileddetailed- Comprehensive and thorough
short- Brief outputmedium- Moderate length (default)long- Detailed and comprehensive
bash
# Creative writing prompt
python3 scripts/ai-prompt-gen.py general writing "人工智能" creative general long
# Technical coding prompt
python3 scripts/ai-prompt-gen.py general coding "排序算法" technical developer medium
# Marketing prompt
python3 scripts/ai-prompt-gen.py general marketing "SEO优化" detailed business short
chatgpt [context] [constraints]
Generate ChatGPT-specific prompts with role-playing.Examples:
bash
# Basic prompt
python3 scripts/ai-prompt-gen.py chatgpt "专业作家" "写一篇关于AI的文章"
# With context and constraints
python3 scripts/ai-prompt-gen.py chatgpt "数据分析师" "分析销售数据" "过去一年的销售数据" "包含趋势分析和预测"