BEIJING — Enormous flower arrangements in Beijing extol the signature promise of China’s leader to realize the Chinese Dream. Red banners urge people to “rally closer” to the Communist Party with “Comrade Xi Jinping at its core.” The authorities have restricted live entertainment venues, ordered people to vacate apartments and banned flying kites, sky lanterns and even homing pigeons, a charming feature of many neighborhoods.

As the Communist Party of China prepares to celebrate the 70th anniversary of its rule, the state is choreographing the pomp and pageantry to exalt President Xi as the unassailable leader of a rising nation and the indispensable bulwark against an array of challenges that threaten to erode its iron grip on power.

On Tuesday, the country’s National Day, he will preside over a military parade through Tiananmen Square whose preparations appear as ambitious and, arguably, as grandiose as the leader himself. It will involve 15,000 soldiers and sailors, 160 fighter jets, bombers and other aircraft, and 580 tanks and other weapons — some of them, military commanders hinted coyly, never before seen in public.