Poetry in Pixels: Prompt Tuning for Poem Image Generation via Diffusion Models

Sofia Jamil, Bollampalli Areen Reddy, Raghvendra Kumar, Sriparna Saha, K J Joseph +1 more
1/10/2025
cs.CV

No official code found. Best implementation: SofeeyaJ/Poetry-In-Pixels-Coling2025 (3 stars, last commit 2025-11-09).

Abstract

The task of text-to-image generation has encountered significant challenges when applied to literary works, especially poetry. Poems are a distinct form of literature, with meanings that frequently transcend beyond the literal words. To address this shortcoming, we propose a PoemToPixel framework designed to generate images that visually represent the inherent meanings of poems. Our approach incorporates the concept of prompt tuning in our image generation framework to ensure that the resulting images closely align with the poetic content. In addition, we propose the PoeKey algorithm, which extracts three key elements in the form of emotions, visual elements, and themes from poems to form instructions which are subsequently provided to a diffusion model for generating corresponding images. Furthermore, to expand the diversity of the poetry dataset across different genres and ages, we introduce MiniPo, a novel multimodal dataset comprising 1001 children's poems and images. Leveraging this dataset alongside PoemSum, we conducted both quantitative and qualitative evaluations of image generation using our PoemToPixel framework. This paper demonstrates the effectiveness of our approach and offers a fresh perspective on generating images from literary sources.

View on arXivView PDF

Code Implementations(1)

This repository hosts the code and datasets associated with our paper, "Poetry in Pixels: Prompt Tuning for Poem Image Generation via Diffusion Models."

31Jupyter NotebookDec 13, 202411 months ago

Similar Papers

Cite this paper

@article{jamil2025poetry,
  title  = {Poetry in Pixels: Prompt Tuning for Poem Image Generation via Diffusion Models},
  author = {Sofia Jamil and Bollampalli Areen Reddy and Raghvendra Kumar and Sriparna Saha and K J Joseph and Koustava Goswami},
  year   = {2025},
  eprint = {2501.05839},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.05839v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.05839.svg)](https://codeofpaper.com/paper/2501.05839)

Discussion