We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5664c95 commit 0f4919aCopy full SHA for 0f4919a
genai/text-generation/textgen-with-gcs-audio.js
@@ -36,13 +36,13 @@ async function generateContent(
36
const response = await ai.models.generateContent({
37
model: 'gemini-2.5-flash',
38
contents: [
39
- {text: prompt},
40
{
41
fileData: {
42
fileUri: 'gs://cloud-samples-data/generative-ai/audio/pixel.mp3',
43
mimeType: 'audio/mpeg',
44
},
45
+ { text: prompt },
46
],
47
});
48
0 commit comments