On both generators and welders I've used tractor mufflers with good success. Any tractor supply store should have a good selection of them. They are designed for free standing applications and seem a better choice than an automotive muffler.
A large muffler, especially on a portable unit, would need some careful bracing to prevent damage to the exhaust manifold.
Give some thought to some room for thermal expansion when things heat up. I've used a short piece of flex exhaust pipe as a vibration isolator and expansion joint.
Any pipes would need fairly large radius elbows to reduce back pressure.
For threaded pipes I've used galvanized rigid metallic electrical conduit elbows due to the large, smooth radius of the bend. They are inexpensive and can be found at any electrical supply house and most home centers.
Whatever you choose, consider a flapper to keep the bees and wasps from setting up housekeeping in the muffler and to keep rain out.
Good luck
Lance