Labelbox documentation

Images

Labelbox supports .png and .jpg image files.

This sample JSON will import two cloud-hosted image files via URL. Use this JSON format when importing via the Labelbox UI or GraphQL API.

[ 
    { 
        "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"
    }
]

Where:

  • externalId is OPTIONAL and is a user-generated file name or ID for the file.

  • imageUrl is REQUIRED and accepts an https:// path to an external image URL.

Note

To see the JSON format for importing via the Python SDK, see Add data rows via JSON.