How to SEO a Next Js Website Using Strapi's SEO Plugin

Why do we need to import a function directly from the SEO plugin? Isn’t it possible to do by requesting the usual API?