Let me add my 2 cents.
From your question, I can think of 2 different ideas:
- Differnet resolutions can exist as differnet representations withing a single product version where you can set names like
3840_2160or3840x2160as discussed in Publish from Substance Painter : output several resolutions and then use{representation}key in publish template. I guess this may work out the box. - Implement dynamic keys in publish templates, e.g. having
sequenceWidthandsequenceHeighttemplate keys that get resolved on publish time, this can allow adding intermediate directories in your product version.