Import images from URL using server script

Hi, I am importing data from an API which looks like this

  "gallery_wamsa": [
                "/images/usados/suzuki/swift-ga-12-mt/suzuki-swift-ga-12-mt-2016-gris-mecnico-44400-kms-1.jpg",
                "/images/usados/suzuki/swift-ga-12-mt/suzuki-swift-ga-12-mt-2016-gris-mecnico-44400-kms-2.jpg",
                "/images/usados/suzuki/swift-ga-12-mt/suzuki-swift-ga-12-mt-2016-gris-mecnico-44400-kms-3.jpg",
                "/images/usados/suzuki/swift-ga-12-mt/suzuki-swift-ga-12-mt-2016-gris-mecnico-44400-kms-4.jpg"
            ],

How could I import these to my DocType? Thanks in advance.