I unfortunately have to use Calibre to convert Kindle Ebooks into a sensible format. One needs to fight Calibre so it doesn't destroy any images in the conversion process.
I don't say that this CLI tool is a replacement for Calibre, but it covers all my needs by converting FB2 books into EPUB and making some cosmetic fixes: