audio input error

38 views
Skip to first unread message

Shane Sharma

unread,
Oct 25, 2025, 1:19:53 PMOct 25
to Chrome Built-in AI Early Preview Program Discussions
Hello,

when trying to set the expected input to allow audio. I receive an error.
const session = await LanguageModel.create({
  expectedInputs: [
    { type: "audio" },
    { type: "image" }
  ]
});
prompt-api:1 No output language was specified in a LanguageModel API request. An output language should be specified to ensure optimal output quality and properly attest to output safety. Please specify a supported output language code: [en, es, ja]Understand this warning
Uncaught NotAllowedError: Model capability is not available.

Kenji Baheux

unread,
Oct 27, 2025, 2:56:58 AMOct 27
to Shane Sharma, Chrome Built-in AI Early Preview Program Discussions
Hi Shane,

For testing purpose, you might want to flip the following flags to "Enabled": 
  • chrome://flags/#prompt-api-for-gemini-nano-multimodal-input  
  • chrome://flags/#prompt-api-for-gemini-nano
Also consider applying to the Origin Trial for live experimentation on your site, then deploy the Origin Trial token you received.


--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/9aabfc3a-a0f2-48df-acf5-d6eb97fa3967n%40chromium.org.


--
Kenji BAHEUX (my how-to)
Product Manager - Chrome
Google Japan

Thomas Steiner

unread,
Oct 27, 2025, 5:22:38 AMOct 27
to Shane Sharma, Chrome Built-in AI Early Preview Program Discussions
Hi Shane,

Just tried this in Canary Version 143.0.7496.0 (Official Build) canary (arm64). If you specify the language for the audio part, the warning is gone.

Cheers,
Tom

--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/9aabfc3a-a0f2-48df-acf5-d6eb97fa3967n%40chromium.org.


--
Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Spain, S.L.U.
Torre Picasso, Pl. Pablo Ruiz Picasso, 1, Tetuán, 28020 Madrid, Spain

CIF: B63272603
Inscrita en el Registro Mercantil de Madrid, sección 8, Hoja M­-435397 Tomo 24227 Folio 25

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.8 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----
Screenshot 2025-10-27 at 10.20.54.png
Reply all
Reply to author
Forward
0 new messages