More than 380 people have been confirmed dead after a tsunami triggered by a magnitude 7.5 earthquake hit an Indonesian city on Friday.
Waves up to 3m (10ft) high swept through Palu on Sulawesi island.
Video on social media shows people screaming and fleeing in panic and a mosque among the buildings damaged.
Strong aftershocks rocked the city on Saturday. Thousands of homes have collapsed, along with hospitals, hotels and a shopping centre.
Rescue efforts are under way, though hampered by a major power cut. The main road to Palu has been blocked due to a landslide, and a key bridge is out of action.
'Many bodies along the shoreline'
Indonesia's disaster agency said at least 384 people had been killed, but the number is expected to rise. At least 540 have been injured, and 29 are listed as missing.
"Many bodies were found along the shoreline because of the tsunami, but the numbers are still unknown," Sutopo Purwo Nugroho, a spokesman for the agency, told Reuters.
"When the threat arose yesterday, people were still doing their activities on the beach and did not immediately run and they became victims," he told a news briefing.
"The tsunami didn't come by itself - it dragged cars, logs, houses - it hit everything on land."
Some survived by climbing 6m (18ft) trees to escape the huge waves, the spokesman said.
A less powerful quake earlier on Friday had killed at least one person and injured at least 10 in the smaller fishing town of Donggala.
In Palu, hundreds of people had been preparing for a beach festival that was due to start on Friday night.
The city's main hospital was damaged in the quake, and TV footage showed dozens of injured people being treated outside in makeshift medical tents.
Palu and Donggala are home to more than 600,000 people. President Joko Widodo said troops were en route to the area to reinforce rescue teams and help retrieve bodies.
The main airport in Palu has been closed since the tsunami hit. A minister said the runway had been damaged but that it was hoped helicopters would still be able to land.
The country's military is sending cargo planes of relief aid from the capital, Jakarta.
Officials are urging locals not to enter their homes and to sleep away from buildings, due to the risk of aftershocks.
The earthquake hit just off central Sulawesi at a depth of 10km (6.2 miles) just before 18:00 on Friday(11:00 GMT), the US Geological Survey said.
Indonesia is prone to earthquakes because it lies on the Ring of Fire - the line of frequent quakes and volcanic eruptions that circles virtually the entire Pacific rim.
More than half of the world's active volcanoes above sea level are part of the ring.
Just last month, a series of deadly earthquakes struck the Indonesian island of Lombok. The biggest, on 5 August, killed more than 460 people.