What influence did the Anshi Rebellion have on Li Bai and Du Fu's poetry creation? It is best to combine the analysis of specific works.

Have a far-reaching impact. First of all, it has no influence on Li Bai. He is a hero, and the most important influence is on Du Fu. He cares about the country and the people. An Shi Rebellion paved the way for his later poems. Later, it seems that Du Fu's poems are more representative, that is, he cares about the country and the people, and he wants to make contributions to the country. So it had a great influence on Du Fu.