To get more detailed, sharper images in PhotoRoom, you can increase the image resolution. The higher the resolution (number of pixels), the better the image quality. To learn how to do this, see our article about image resolution.
You cannot change the Dots-Per-Inch (DPI) as this is a measurement that is more relevant to printing than digital media. A higher DPI would not make your image look better on screen.