Personally, I think you can have a good communication with him and tell him that he is satisfied with his current figure and doesn't want to lose weight. Because if you really like someone, then you don't need to care so much, and if the other person really likes you, it won't make you very unhappy because you lose weight.
You can tell him clearly that you don't want to lose weight, or that you are satisfied with your present figure. Or just ask him if you like me or his girlfriend with the figure he wants. And you can ask him directly if he really likes himself. If he thinks he really likes you, then he shouldn't let you lose weight.
He wants to have a perfect girlfriend, but he can't force you to lose weight, because the girl thing itself will make you bittersweet. Tell him, if he really likes you, why should he force you to do something you don't like?
You can ask him directly. You also like a boyfriend with a great figure. You can ask him to the gym. You can ask him if he is willing to go to the gym for you, and then ask him if he will be unhappy if you let him go to the gym. If he is unhappy, why does he force you?
And if he can't do it, he can't ask you to force yourself to lose weight.
If your boyfriend keeps urging you to lose weight, you should break up, because such a man only likes a boyfriend with a good figure, not the real you.