a figment of someone's imagination

US /ə ˈfɪɡmənt əv ˈsʌmwʌnz ɪˌmædʒɪˈneɪʃən/
UK /ə ˈfɪɡmənt əv ˈsʌmwʌnz ɪˌmædʒɪˈneɪʃən/
"a figment of someone's imagination" picture
1.

un producto de la imaginación de alguien, una fantasía

something that someone has imagined and that does not really exist

:
The monster under the bed was just a figment of his imagination.
El monstruo debajo de la cama era solo un producto de su imaginación.
Her fear of flying is not a figment of her imagination; it's a real phobia.
Su miedo a volar no es un producto de su imaginación; es una fobia real.