Welcome to the Airtable community!
The Airtable Standard API can only create attachments from a traditional url, not a data uri.
A workaround is to temporarily upload your image to a 3rd party service that accepts data uri for an image and returns a url. Then you can use that url to upload the attachment to Airtable.