Reference images from uploads
referenceImages on POST /images can now name an image stored with POST /uploads (uploadId and filename) instead of a url, so you can use a local image as a reference without hosting it. Uploaded references must be JPEG, PNG, WebP, GIF, or AVIF images of at most 20 MB and 25 megapixels. See POST /images.