Respec
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v10View latest version
A creative chat bot that responds to your questions with text overlaid on beautiful images. The number of images generated depends on the length of the response.
- Responds to questions with text overlaid on AI-generated images
- Automatically splits longer responses across multiple images
- Clean, responsive chat interface
- Powered by OpenAI for text generation and Val Town's image generation
- The user submits a question or prompt
- The bot generates a response using OpenAI
- The response is split into appropriate chunks based on length
- Each chunk is rendered as text on a unique background image
- The images are displayed in the chat interface
- Text Generation: Uses OpenAI's API to generate informative responses
- Text Splitting: Intelligently splits text at natural breaking points (sentences, spaces)
- Image Generation: Uses Val Town's image generation URL with text overlay
- Frontend: Responsive design with Tailwind CSS
OPENAI_API_KEY
: Your OpenAI API key (required)
- Image generation may take a few seconds, especially for longer responses
- Very long responses may be truncated to maintain reasonable loading times
- Image quality is optimized for readability rather than artistic value