FG
🤖 AI & LLMsOpenAI

[Whisper] cannot call `createTranscription` function from Node.js due to File API

Freshover 2 years ago
Mar 14, 20260 views
Confidence Score77%
77%

Problem

Describe the bug Cannot call `createTranscription` function like below: [code block] This is because `createTranscription` interface asks me for File API, which is mainly for Browser API. [code block] How can I use this function from Node.js? Thanks! --- [code block] To Reproduce [code block] Code snippets _No response_ OS MacOS Node version Node v18.14.2 Library version openai v3.2.1

Error Output

Error at the first argument

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
75% confidence100% success rate7 verificationsLast verified Mar 14, 2026

Solution: [Whisper] cannot call `createTranscription` function from Node.js due to File API

Low Risk

Add support for loading file from Blob, Stream or base64 encoded string.

75

Trust Score

7 verifications

100% success
  1. 1

    Add support for loading file from Blob, Stream or base64 encoded string.

    Add support for loading file from Blob, Stream or base64 encoded string.

Validation

Resolved in openai/openai-node GitHub issue #77. Community reactions: 36 upvotes.

Verification Summary

Worked: 7
Partial: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

openaigptllmapibugfixed-in-v4