Midjourney gives you credit for the image you generated as long as you have a paid membership and give credit to Midjourney itself.