If you cast a spell with X in its mana cost this way, the only legal choice for X is 0.

Artwork
Loading artwork…
Demon of Fate's Design
Duskmourn: House of Horror Commander · #137 · EN
Nonfoil—Foil—
Card rules
Flying, trample
Once during each of your turns, you may cast an enchantment spell by paying life equal to its mana value rather than paying its mana cost.
2
, Sacrifice another enchantment: This creature gets +X/+0 until end of turn, where X is the sacrificed enchantment's mana value.
6/6
Rare · Illustrated by Fajareka Setiawan
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If you cast a spell for another cost "rather than paying its mana cost," you can't choose to cast it for any alternative costs. You can, however, pay additional costs. If the card has any mandatory additional costs, those must be paid to cast the card.