--- kind: external_dependency name: iFlytek Open Platform IAT Speech Dictation Service Integration slug: xunfei-iat category: external_dependency category_hints: - auth_protocol - sdk_real_api scope: - '**' source_files: - firmware/port/builtins/modxunfeiAI.c --- # iFlytek IAT Speech Dictation - **Role**: The mPython Board's voice input capability; uploads audio captured by the microphone (≤60 seconds) to the iFlytek Open Platform for conversion to text and returns a JSON result. - **Prerequisites**: Register an account on the iFlytek developer platform, activate the "Speech Dictation" service, and configure an IP whitelist; the device must be connected to the network and have its RTC clock set. - **Note**: IAT is not a standalone Python module but a sub-feature of the `audio` module; it should not be listed separately as `:mod:`iat`` in the documentation.