Divide your material-image in to 4 equal parts

Untitled

Copy the top half and move it to the bottom, then copy the bottom half and move it to the top.

Untitled

Untitled

Apply a generative fill.

Untitled

Untitled

Untitled

Repeat the same for left and right

Untitled

The results

Untitled