You can directly download Windows 8.1 ISO to a flash drive from Microsoft, but this won’t make it a bootable flash drive, which doesn’t make any sense. You can try Windows USB/DVD Download Tool or PassFab for ISO to burn Windows 8.1 and make it a bootable media.