TuyaOpen v1.8.0 Release Notes
Release Overview
We are pleased to announce the official release of TuyaOpen v1.8.0. This version focuses on four key optimizations: upgraded AI scenario capabilities, expanded hardware platform compatibility, optimized toolchain efficiency, and fixed known bugs. It brings brand-new features including AI image generation, local photo album management, printer driver adaptation and full GD32 platform support. Meanwhile, it optimizes the Python development toolchain, standardizes code architecture and adapts to domestic development environments, greatly improving the development efficiency and scenario implementation capability of embedded AI projects.
New Features
1. AI Image Generation
The new ai_picture component is launched to support the full-link capability of AI image generation. It automatically reassembles streamed JPEG chunks returned by AI models and saves complete images to the local album. Developers can configure custom output dimensions and enable optional cloud-hosted image download for high-definition material retention and secondary development. (#591)
2. Local Photo Album Management
Built a complete local photo album management system based on the image_album module, making up for the lack of device-side image management capabilities. It supports photo saving, page navigation, thumbnail generation and batch operations. SD-card persistent storage is optional, and the system will automatically fall back to in-memory cache for devices without an SD card, ensuring strong compatibility. (#591)
3. Full-scenario Printer Driver Support
Brand-new built-in industrial-grade printer drivers realize the full process of device-side text and image printing. It supports text printing with automatic UTF-8 to GBK conversion, bitmap printing (compatible with ESC/POS and RAW protocols), and automatic paper feed. Two mainstream printer drivers (DP-48A UART & MTP02-DXD) are pre-installed to support one-tap photo printing from albums and chat records. The dedicated board preset TUYA_T5AI_BOARD_LCD_3.5_CAM_PRINTER is added for out-of-the-box use. (#591)
4. T5AI Generic Module Board Support
Added official configuration for the T5AI_MODULE generic development board, standardizing the module development process. It greatly simplifies the entire workflow of T5AI module project initialization, configuration and compilation, lowering the development threshold and improving iteration efficiency and code uniformity. (#607)
5. Full UV Python Toolchain Integration
UV is fully integrated to replace the traditional pip/venv solution as the default Python package management and virtual environment tool. It effectively solves common problems such as slow dependency installation, environment conflicts and version chaos, and significantly improves the efficiency of dependency parsing, installation and environment deployment. (#60