A black screen when launching games using DirectX 12 could be a driver error or incorrect settings on your graphics card.
Here's a step by step guide on how you can use Fooocus AI on Intel Arc GPU PCs. Follow the guide to run the Fooocus AI.