A batch processing script for Draw Things that applies high-quality AI upscaling to multiple images automatically.
v0.01
Rick Shangle (rshangle@gmail.com)
Draw Things Community Script creative-upscale.js by UNKNOWN
This script enhances the original creative-upscale functionality by adding batch processing capabilities. It allows you to select multiple images through a file picker dialog and process them all with the same sophisticated upscaling pipeline that combines traditional upscaling with AI diffusion techniques.
- Batch Processing: Select and process multiple images at once
- File Picker Integration: Easy file selection through Draw Things' native dialog
- Mixed Resolution Support: Handles images of different sizes automatically
- Progress Tracking: Shows processing progress with time estimates
- Flexible Upscaling: Choose between 200% (2x) or 400% (4x) upscaling
- Custom Negative Prompts: Override default negative prompts for batch processing
- Fallback Mode: Processes canvas image when no files are selected
- Error Resilience: Continues processing even if individual images fail
- Initial Upscale: 4x UltraSharp traditional upscaler
- AI Enhancement: Tiled diffusion using Juggernaut Reborn model
- Detail Enhancement: Multiple LoRAs for texture and detail improvement
- Optional 4x: Second pass for 400% total upscaling
4x_ultrasharp_f16.ckptcontrolnet_tile_1.x_v1.1_f16.ckptjuggernaut_reborn_q6p_q8p.ckptadd_more_details__detail_enhancer___tweaker__lora_f16.ckptsdxl_render_v2.0_lora_f16.ckpttcd_sd_v1.5_lora_f16.ckpt
- Download
create-upscale-batch.js - Place in your Draw Things Scripts folder:
- macOS:
~/Library/Containers/com.liuliu.draw-things/Data/Documents/Scripts/ - iOS/iPadOS: Use Draw Things > Presets > Manage Scripts > Add New Script
- macOS:
- Restart Draw Things
- The script will appear in your Presets menu
- Open Draw Things
- Go to Presets > Scripts > create-upscale-batch
- Configure options:
- Click "Select Images to Process" to choose your files
- Choose upscaling factor (200% or 400%)
- Optionally set custom negative prompt
- Enable verbose logging if needed
- Click "Process Images"
- Results will be saved according to your Draw Things auto-save settings
Navigate to your source folder (e.g., /Volumes/aia/Chute/upscale/to_upscale) and select the images you want to process. The script supports common image formats: JPG, PNG, WebP, TIFF, BMP, HEIC.
Configure Draw Things auto-save to your desired output folder before running the script. All processed images will be saved to this location with appropriate suffixes (_upscaled_2x or _upscaled_4x).
- Processing time depends on image size and system capabilities
- Tiled processing helps manage memory for large images
- 400% upscaling requires significantly more processing time
- Draw Things app (iOS, iPadOS, or macOS)
- Sufficient storage space for upscaled images
- Required models downloaded (script will auto-download if needed)
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs, feature requests, or improvements.
- Initial release
- Batch processing functionality
- File picker integration
- Progress tracking
- Error handling improvements
- Based on original creative-upscale.js
For issues with this script, please open a GitHub issue. For Draw Things app support, visit the Draw Things Discord or official documentation.
This script is provided as-is. Always backup your original images before processing. Processing times can be substantial for large batches or high-resolution images.