I have found unlike writing a book, researchers do not get paid for writing a quality research paper in the form of a royalty or author fees, few journals are changing this conventional model of "Author pays" and are offering up to 500 $ for publishing in their Journal, this news requires further validation, but such initiatives are good for promoting quality research and to motivate young researchers having economic constraints.
article cited
"An open-access journal is paying "royalties" to corresponding authors of published papers"
Minimally Invasive Surgical Oncology (MISO), an open-access journal, is making an unusual offer to the authors publishing in the journal. The journal’s site states: “For each accepted original or review article, Minimally Invasive Surgical Oncology pays $500 in royalties to the corresponding author.”
https://www.editage.com/insights/an-open-access-journal-is-paying-royalties-to-corresponding-authors-of-published-papers/1508398858