PromptPilot is a universal AI prompt generator built with Next.js and Tailwind CSS. It helps you craft perfect prompts using a modular, role-based template for any AI tool (text, image, code, or sound).
- 7-field structured prompt input:
- Role
- Goal
- Context
- Modality
- Format
- Tone
- Constraints
- Live prompt preview as you type
- "Enhance with AI" button (uses OpenAI or OpenRouter)
- Export prompt as JSON
- Copy prompt to clipboard
- Responsive UI with clean design
- Firebase/Supabase-ready prompt history
- Shareable URL links with pre-filled prompt values
You are {{role}}.
Your task is to {{goal}}.
{{context}}
This prompt is designed for use with a {{modality}} system.
Please provide the output as a {{format}}.
Ensure the emotional tone reflects a {{tone}} atmosphere.
Important constraints: {{constraints}}.
Focus on emotional depth, clarity, and production-ready formatting.
npx create-next-app@latest promptpilot
cd promptpilotUse .env.local:
OPENAI_API_KEY=your_key
Optional for OpenRouter:
OPENROUTER_API_KEY=your_key
npm run devClick below to deploy your own version:
MIT � build freely and empower creators everywhere.