To edit a nail photo to look elegant, use photo editing software to enhance the clarity, adjust the color balance for a more sophisticated look, and apply retouching techniques to smooth out skin and nails. Consider using filters that add a soft glow or applying highlights to make the nails stand out. Also, ensure the composition is balanced and the lighting is flattering.