Use the gesture operation to erase unwanted areas and AI will automatically fill the image for you.
You can also use prompt to guide AI to draw what you want in the transparent part of the picture.
You can also shrink the image and let the AI fill the empty part of the Canvas for you.