In a post on X on Wednesday, the company said it had imposed restrictions on "editing of images of real people in revealing clothing such as bikinis".