A beginner-friendly AI-powered tool that generates creative writing content such as short stories, poems, dialogues, or prompts based on user input. Built for educational use and exploring generative text capabilities.
- Generate short stories, poems, or creative ideas from a single prompt
- Uses generative AI (e.g., GPT-based API or local models)
- Optional themes or genres (e.g., sci-fi, romance, horror)
- User-friendly text interface (Streamlit or Gradio)
- Regenerate or edit outputs for refinement
- Python 3.x
- Streamlit or Gradio (for UI)
- Hugging Face Transformers or OpenAI API (for generation)
- Optional: Pandas, NLTK, or spaCy for text pre-processing
creative-writing-generator/ ├── app.py # Main app file ├── requirements.txt # Python dependencies ├── README.md # Project overview ├── assets/ # Images or icons (if any) └── utils/ # Helper functions or prompt templates
markdown Copy Edit
- Clone the repo: git clone (https://github.com/Spado22/CREATIVE-WRITING-GENERATIVE.git) cd creative-writing-generator
markdown Copy Edit
- Install dependencies: pip install -r requirements.txt
markdown Copy Edit
- Run the app: streamlit run app.py
nginx
Copy
Edit
or
gradio app.py
pgsql Copy Edit
- "Write a poem about a forgotten robot in a post-apocalyptic world"
- "Generate a story about a time traveler lost in ancient Egypt"
- "Create dialogue between a talking tree and a curious child"
This project is for educational and creative exploration. Outputs may not always be accurate or appropriate. Always review generated content before public use.
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.