Supported image types:

  • JPG
  • PNG

📘

Max file size

Labelbox accepts files up to 256 MB.

Import

When importing image data to Labelbox, your JSON file must include the following information for each image.

Parameter

Required

Description

externalId

Yes

User-generated file name or ID for the file. For the best experience, this ID should be unique.

imageUrl

Yes

https path to a cloud-hosted image. For IAM Delegated Access, this URL must be in virtual-hosted-style format. For older regions, your S3 bucket may be in https://<bucket-name>.s3-<region>.amazonaws.com/<key> format. If your object URLs are formatted this way, make sure they are in the virtual-hosted-style format before importing.

[ 
    { 
        "externalId": "2017-Tesla-Model-S-P90D-102.jpg", 
        "imageUrl": "https://storage.googleapis.com/labelbox-example-datasets/tesla/2017-Tesla-Model-S-P90D-102.jpg"
    }, 
    { 
        "externalId": "2017-Tesla-Model-3-top-view.jpg", 
        "imageUrl": "https://storage.googleapis.com/labelbox-example-datasets/tesla/2017-Tesla-Model-3-top-view.jpg"
    }
]
[
    {
        "externalId": "cells.jpg",
        "imageUrl": "https://lb-test-data.s3.us-west-1.amazonaws.com/cells.jpg"
    },
    {
        "externalId": "b17.jpg",
        "imageUrl": "https://lb-test-data.s3.us-west-1.amazonaws.com/B17.jpg"
    }
]