Pretrained text-to-image models enable batik motif generation without fine-tuning. However, the performance of general-purpose models and the benefits of Large Language Model (LLM)-based prompt enhancement for batik motif generation have not yet been systematically investigated. This study compares Stable Diffusion 1.5 (SD 1.5) and SDXL in generating Yogyakarta Nitik Batik motifs under zero-shot conditions and evaluates the effects of LLM-based prompt enhancement. Enhanced prompts were generated using Gemini through a single zero-shot instruction, without few-shot examples or system instructions. A quantitative experimental approach was employed, involving four experimental configurations (two models and two prompt types) across 15 motifs from the Batik Nitik 960 dataset, with 25 images generated per motif using fixed random seeds. Evaluation was conducted using the Fréchet Inception Distance (FID), calculated against original images from the same 15 motifs, and the CLIP Score, measured against a shared reference text. Paired t-tests were performed at the motif level. SD 1.5 with enhanced prompts achieved the lowest FID score (296.714); however, the differences among closely ranked configurations could not be established with sufficient certainty. Using the same reference text, prompt enhancement did not improve CLIP Scores (SD 1.5: −0.40; SDXL: −1.61). Its effect on FID was model-dependent, improving the results for SD 1.5 while worsening them for SDXL. All enhanced prompts exceeded the 77-token limit and were consequently truncated.
Copyrights © 2026