--- title: Image Generator for HTML Games emoji: 🎮 colorFrom: blue colorTo: green sdk: gradio sdk_version: 6.14.0 app_file: app.py pinned: false --- # Image Generator for HTML Games Paste an HTML game, describe asset roles like `player`, `background`, or `enemy`, and generate a rewritten version of the game with image data embedded directly into the HTML. The app generates images with Pollinations/FLUX-style image URLs, converts the results into base64 data URIs, replaces matching asset filenames in the provided HTML, and previews the result in a sandboxed iframe.