There are three different Phantom Blade Zero endings; one bad, one slightly less bad, and one True Ending which lets you face the final boss, granting the "Final Battle" ending and "With Heart and Blood" achievement. But to get this perfect ending, besides following the main quest, you have to complete a variety of side activities.

The cut-off for completion seems quite generous—though Inanis implies there's a point of no return just as you enter the Mirage Estate, I completed some of these steps later and I was fine. Here's what you need to do

1. Complete the Secrets at the Heart of the Lake quest

Phantom Blade Zero endings - Mirror

(Image credit: S-Game Studios)

You first get this quest when you discover one of Firefly's Memory Flowers in the Village of Lu, but the main steps are:

2. Complete the five Long Pillars in the Bloodline Awakening quest

Phantom Blade Zero Gold-Masked One

(Image credit: S-Game Studios)

There are five Long Pillar challenges battling the Gold-Masked One that you need to complete to get the True Ending, plus these are good as the later ones give you Soul Tempering materials for some of the game's best weapons:

3. Complete all of Quickhand's Requests

Phantom Blade Zero Quickhand Zhang

(Image credit: S-Game Studios)

Though I haven't seen this requirement mentioned elsewhere, I'm pretty certain you have to complete the Quickhand's Request quests for the True Ending, which involve finding treasures throughout each region and delivering them to the thief.

This is all covered in the linked guide with videos showing the locations, plus this quest gets you two otherwise inaccessible Phantom Edges, Flying Dagger and Goldblaze, so is worth completing anyway.

So what does the True Ending get you?

Phantom Blade Zero endings - Inanis

You can also choose to start New Game+ with Inanis (Image credit: S-Game Studios)

If you've done everything above, Inanis should tell you right before you emerge onto the peak of Mount Soulrend (after the Mirage Estate) that there's nothing more she can do to prepare you. I assume, if you haven't completed everything necessary, she gives you a point of no return warning that you still have unfinished business.

The True Ending sees you fight Leng Tu, Meng Hua (the lady), and Zuo Shang, but the other endings don't let you fight Zuo Shang's second form, so you get an extra boss fight this way. If you've done all of the above, you'll also get:

After this, you can choose to start New Game+ by speaking to Inanis and pick to tweak difficulty as well if you want. You'll carry over your weapons and Phantom Edges, too.

Phantom Blade Zero tips: Conquer the Wulin
Phantom Blade Zero Flesh Lily: Find Yu'er's flower
Phantom Blade Zero Zhang's treasures: Every relic
Phantom Blade Zero Mandate Camp Key: Get inside
Phantom Blade Zero Illusory Pipa: Repair the lute