The user uploads overlay images or videos, the system applies the selected filters, places those results into the fixed Polaroid template, and then uses the generated Polaroid outputs as the collage source.
Template path: /root/polaroidapp/polaroid_IMG_0066.png
Uploads are treated as overlay sources. Filters run first, then Polaroid edit, then collage from produced Polaroids.