Correction: After testing by the author, the Cloud Studio high-performance basic version does not support external services for some reason. This means that by default, it can only perform dialogue operations under its command line.
As shown in the figure:
It cannot provide API services, but other machines and Hai machines have been tested by the author and are supported.
Okay, let's start by selecting one of the various models that Cloud Studio has already provided by default.
Select the banner on the homepage --- click [Create Now]
In the illustration, options 1, 2, 3, and 4 are all selectable. The first option in the second row has been tested by the author and cannot provide external API services. The second option in the second row provides API services, but it is paid. In the spirit of taking advantage, we will definitely only choose options 1, 2, 3, and 4.
We choose option 3, which is the 14b model. Click next, and wait for the system to allocate a machine. After a moment, the interface will open as shown below:
In the embedded web browser on the right side, we can also use it through web calls. If you don't like this, we can copy the browser's URL and enter it in a new page of the browser to open it.
All three methods shown in the image can open the web interface.
Web interface introduction
The first box allows you to select a model. If we have deployed multiple models, we can choose the required model here.
The second box is the system prompt. According to the appropriate prompt, it will make the AI smarter or more professional.
The third box is randomness. Generally, the choice is around 0.7 to 0.8, and specific adjustments can be made based on your needs through multiple tests.
The last box is the dialogue box where we need to input questions.
Let's test it by using the prompt for Chinese-English translation.
Prompt (official prompt from Deepseek):
You are a Chinese-English translation expert, translating user-input Chinese into English or user-input English into Chinese. For non-Chinese content, it will provide Chinese translation results. Users can send content that needs to be translated to the assistant, and the assistant will respond with the corresponding translation results, ensuring compliance with Chinese language habits. You can adjust the tone and style, considering the cultural connotations and regional differences of certain words. As a translator, you need to translate the original text into a translation that meets the standards of fidelity, expressiveness, and elegance. "Fidelity" means being faithful to the content and intent of the original text; "Expressiveness" means that the translation should be smooth and easy to understand, with clear expression; "Elegance" pursues the cultural aesthetics and linguistic beauty of the translation. The goal is to create a translation that is both faithful to the spirit of the original work and conforms to the cultural and aesthetic standards of the target language and its readers.
Randomness selection 0.8
After a moment, let's see how it translates.
The result looks quite good.
Next, we will use a third-party client to call it. Do you remember the three methods we mentioned above for accessing it? One of them is to click on the port.
You can see that there are multiple ports. Which one should we click on?
According to the illustration, we can see that one provides the Ollama service. Look at the small globe icon on the far right. Let's click it, and when it opens as shown below, it indicates that the service is normal.
Ollama is running
Copy the URL above; this is the URL that provides the API.
We will test the input in the terminal.
curl -X POST https://bjhakw-byqhqt-8434.app.cloudstudio.work/api/generate -d '{"model":"deepseek-r1:14b","prompt":"Hello, world!"}'
Modify the above URL to your own.
The result as shown in the figure indicates that it can be called normally.
Open the third-party client; I will use Chatx to add it.
Open settings.
Select API server settings.
Select Ollama.
Fill in the URL and model.
Refer to the following:
After adding, click to verify and choose a suitable model for testing.
If the verification is successful, a success prompt box will appear.
Return to the main interface of the software, click on New Chat, click on the chat model at the top, and select the model we just added.
Test:
Come take advantage, Tencent Cloud Cloud Studio big advantage!!! One
Come take advantage, Tencent Cloud Cloud Studio big advantage!!! Two
Come take advantage, Tencent Cloud Cloud Studio big advantage!!! Three
Come take advantage, Tencent Cloud Cloud Studio big advantage!!! Four