On the required resources - an Android phone with 6 GB RAM or more can do offline image generation for small images with SDAI, and run a chat bot offline for a short time before needing to reset the bot with PocketPal (both questionably open source)