Text-to-image generators like DALL-E or Midjourney can be used to create photorealistic or painting-like images. Artists see the threat to their livelihoods. Some are already filing lawsuits.