Back to library
AI
best practice

Accelerate Prompting with Integrated Desktop Voice Dictation

Use voice-to-code dictation to speed up terminal-based prompting.

Use the /voice command or desktop voice dictation features to speak your coding instructions directly to the AI agent in the terminal.

Qwen

The Scenario

You are deep in a coding session and need to quickly describe a large architectural change or refactor without breaking your flow by typing out a lengthy prompt.

Before & after

The old way

Developers spend significant time typing out long terminal commands or complex natural language prompts to describe code changes. This usually takes 1-2 minutes per prompt for accurate descriptions.

With AI

By speaking your intent directly into the terminal, you can initiate complex file changes or searches in seconds. This reduces the input time to about 10-20 seconds per interaction.

The Prompt

/voice [PRESS_HOTKEY_AND_SPEAK_YOUR_CODING_REQUEST]

The latest updates added desktop voice dictation and the /voice command, allowing for a hands-free developer experience in the terminal.

Source

Qwen Code Blog: AI Coding Updates and Guides | Qwen Code Docs
"/voice lets you speak instead of type... desktop voice dictation... introducing /loop autonomous mode, desktop voice dictation..."