Transcription
Hello everyone, Deepseek has been really popular lately. Its download volume has reached the global number one spot, and in early February, it even topped the App Store charts in 149 countries. Even now, the prompt "Server busy, please try again later" frequently appears. So, in today's video, I'll show you how to use iPhone Shortcuts to call Deepseek's API through voice conversation, just like demonstrated at the beginning. The actual operation is quite simple, requiring only three major steps: first, obtain the Deepseek API key; second, create the Shortcut; and third, how to use it specifically.
It's important to note that this method might not be as smooth as directly using the official app or website. Please keep this in mind. Now, let's move on to the practical demonstration. First, go to the Deepseek official website and click on the top right corner to enter the API open platform. If you haven't registered before, you'll need to register. It's best to use a domestic +86 mobile number for registration, and you'll receive a free 10 yuan API balance. I registered some time ago. If you register recently, I'm not sure if this 10 yuan reward is still available. To use this API, please ensure you have a balance. If there's no balance, you can't use it and will have to top up. However, topping up might not be possible recently. You can see the reason at the very top line. You'll have to wait some time and try again.
Here, we click on API keys and then click to create an API key. This will generate a key starting with "SK." You need to copy it, as the API key is only visible during creation. If you don't copy it, you'll have to regenerate it. Next, let's create an iPhone Shortcut. Open the Shortcuts app on your phone, click the plus sign in the top right corner to create a new Shortcut. Then, search for "Dictate Text" and tap "Add." Tap on this option to bring up the detailed settings. For the language, select "Chinese." Then, search for "URL" and tap "Add." Here, paste the address I provided in the video description, which is also the official request address. Then, search for "Get Contents of URL" and tap "Add."
Click here, change the method to "POST" request. Here, you need to fill in the request headers and request body. Let's fill in the request headers first. Click "Add," and you need to enter the key and its corresponding text. You can directly copy the content I provided. This content is also provided by the official API documentation. Note that you need to fill in your own API key here, which is the "SK" part. The word and space before it remain unchanged; only the "SK" part needs to be modified.
Next, let's fill in the request body. Click "Add." Here, select "Text" type. The key is "model," and the text is "deepseek-chat." Add the next line. Select "Array" type. The key is "messages." Click on the "0 item" and then click "Add" in the pop-up window. The type is "Dictionary." Then click on the "0 item" again. Click "Add." Select "Text" type and directly enter the content. The key is "role," and the text is "user." Then add another line. It's still "Text" type. The key is "content," and the text is the dictated text. Then click "Done." Search for "Get Dictionary Value" and tap "Add." In the key field, paste this code snippet. This is the returned result. Then search for "Show Result." This step can display the result, or you can search for "Speak Text," and it will read out the result.
This way, the Shortcut is written. The content of the Shortcut is also easy to understand. First, it uses voice input for text messages, then requests the text content to the API interface provided by Deepseek, then gets the returned result, and finally displays or reads out the result. If you are interested in this, you can check the Deepseek API official website for more specific information. There is also code available for reference. Finally, you can click here at the top to modify the name of this Shortcut and select your favorite icon, for example, "Deepseek Assistant." After everything is done, click "Done" in the top right corner. This will create it.
Finally, regarding how to use it, you can simply tap the Shortcut to run it. "Help me write a Spring Festival couplet. Upper couplet: Spring breeze sends warmth, a thousand mountains are beautiful. Lower couplet: Rising sun shines brightly, ten thousand trees flourish. Horizontal scroll: Spring fills the human world." This couplet expresses the beautiful scene of spring's arrival and the revival of all things, symbolizing a new year full of vitality and hope.
Reading text and displaying on the screen cannot be done simultaneously, but it is possible through Siri. You can also long-press this Shortcut, tap "Share," and select "Add to Home Screen." This way, tapping it on the home screen will automatically execute it, or you can add it to your desktop as a widget. If you want to wake it up through Siri, it's also very simple. Just say "Siri" followed by your Shortcut's name. If you find that your Siri cannot perform voice playback as shown in my video, you need to make a small setting. Find your iPhone's Settings, then find Siri, tap "Siri & Search," and check "Prefer Speaking Responses." That's it.
Finally, I need to remind you that this method does not support continuous conversation or context memory. And due to the recent server instability, you may have to wait a long time or get an error message. The user experience might not be as good as the official app or web version. This method might be more suitable for friends who like to tinker. Alright, that's all for this video. My channel has more content about AI and Apple Shortcuts. If you're interested, you can watch our next video. Goodbye, bye-bye. "What is the text? Help me write a blessing message for my channel followers, wishing them good health and all the best in 2025."