11302-75994Generative AI: Text and Image Synthesis Principles and Practice