Multi-Modal Content Creator
Automated content creation workflow for freelance creators. Receives customer requests via WhatsApp (text or voice notes), transcribes audio to text, generates images from prompts, and sends results back.
Components
- wacli.py — WhatsApp CLI client for receiving/sending messages
- transcribe.py — Audio transcription via OpenAI Whisper API (handles large files by chunking)
- generate_images.py — DALL-E 3 image generation with batch support
- workflow.py — End-to-end orchestrator
Prerequisites
- Python 3.10+
- OpenAI API key (
OPENAI_API_KEYenv var) - WhatsApp CLI auth token
Setup
pip install -r requirements.txt
export OPENAI_API_KEY="your-api-key"
python wacli.py login <your-wacli-token>
Usage
Process all incoming WhatsApp requests
python workflow.py process-all
Generate a single image
python generate_images.py "a cat riding a skateboard"
Batch generate from file
python generate_images.py prompts.txt
Transcribe audio
python transcribe.py recording.mp3
WhatsApp CLI
python wacli.py list
python wacli.py send +1234567890 "Hello!"
