Example prompt that is probably good enough for an image:
A blue, ancient dragon knitting a red scarf with a cross stitch pattern, sitting cross legged in a lush forest. The light strikes at the golden hour of sunrise with birds starting to rise.
This is a nextjs project using app router and Vercels ai sdk. For UI components we use shadcn/ui.
- Check if Prompt from user is an image prompt: Check if Image Prompt
- LLM logic without any framework: backend route
- Look at a backend response to see markers.
- Parse chat messages on the frontend: Bot Chat Message