@deha: I agree, with the write api plugin you should be able to solve your problem. There is even a python library available: https://pypi.python.org/pypi/pynodebb/. It is quite old but still works with up to date nodebb. Unfortunately, not all api calls are yet implemented, but it is easy (and quite obvious) to extend it.
@aleksei Sounds like potentially a cool idea. But also potential for abuse. For e.g. many forum admins invest significant effort to foil file scrapers, etc. and this could facilitate/exacerbate. Maybe mitigated to some degree by permission restrictions to logged in users but..... then the bots just create a sock puppet account.
Another potential issue: long running threads sporting hundreds of images, etc. How to display? Could be a UX conundrum, eh?
Hmmmm... Still could be interesting for some situations.
Not a dev but will hazard a guess that this might should be a plugin rather than core front end function as you suggest. Sorry I cannot offer more targeted insights.