diff --git a/generative-ai/snippets/nonStreamingMultipartContent.js b/generative-ai/snippets/nonStreamingMultipartContent.js index 086c4586d1..1ab9929112 100644 --- a/generative-ai/snippets/nonStreamingMultipartContent.js +++ b/generative-ai/snippets/nonStreamingMultipartContent.js @@ -41,7 +41,7 @@ async function createNonStreamingMultipartContent( // For images, the SDK supports both Google Cloud Storage URI and base64 strings const filePart = { - fileSata: { + fileData: { fileUri: image, mimeType: mimeType, },