Skip to main content

Host images on Google Drive for AI processing

To process an image with a vision model:

  • GPT for Work needs the direct URL of the image.

  • The image must be publicly accessible.

To host an image on Google Drive so that GPT for Work can access and process it:

  1. Upload the image to Google Drive.

  2. Share the image publicly using the Anyone with the link option. For more information, see Google Drive Help.

    tip

    To prevent other users from commenting or editing the image, set the access role to Viewer.

  3. Copy the link.

  4. Get the image file ID from the link URL, and build the following new URL with the ID:

    https://drive.google.com/uc?id=<image-file-id>

    For example:

    # Original share URL from "Copy link"
    https://drive.google.com/file/d/1dTZrIkAHsV_hKnvL2KjH1pfcOOSpYVux/view

    # Direct image URL
    https://drive.google.com/uc?id=1dTZrIkAHsV_hKnvL2KjH1pfcOOSpYVux
  5. Use the new URL in GPT for Sheets or GPT for Excel. The following features support image input with vision models: