You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <images imcontinue="1|Carnages_creamy_patterns_mosaic.jpg" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <images>
          <im ns="6" title="File:416240-l-affiche-de-notre-jour-viendra-de-675x0-2.jpg" />
          <im ns="6" title="File:Babycastles-NY.png" />
          <im ns="6" title="File:Baker 2048.png" />
          <im ns="6" title="File:Blackkklansman-movie-poster.jpg" />
          <im ns="6" title="File:Blame-killy and shibo.jpg" />
          <im ns="6" title="File:Blame-netflix-760x428.jpg" />
          <im ns="6" title="File:Blame-poster.jpg" />
          <im ns="6" title="File:Blame.jpg" />
          <im ns="6" title="File:Carnages-banner-hitomi and the yakuzas.jpg" />
          <im ns="6" title="File:Carnages creamy hairs mosaic.jpg" />
        </images>
      </page>
    </pages>
  </query>
</api>