It sounds like you need a skilled handyman or furniture repair specialist to help with your sofa bed's metal legs. This type of repair can often be handled by someone experienced in furniture restoration or metalwork. Depending on your location, the cost for such repairs typically ranges from $50 to $150, but prices can vary based on the complexity of the job and local labor rates.
To get started, you should look for local professionals who specialize in furniture repair. Make sure to check their reviews and ask about their experience with metal furniture. If the legs are severely damaged, they may need to be replaced rather than just straightened, which could increase the cost.
Since this project might not fit into the typical categories on Handyman.com, consider reaching out directly to local handymen or furniture repair shops. Getting 2-3 quotes will help you gauge the average cost in your area. This will also allow you to find someone who can assess the damage and provide a solution. Good luck with your repair!
— Assisted answer