Correction, after testing by the author, the Cloud Studio high-performance basic version does not support external services for some reason, meaning it can only perform dialogue operations under its command line by default.
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 already provided by Cloud Studio.
Select the banner on the homepage---click 【Create Now】
As shown in the figure, options 1, 2, 3, and 4 are all selectable. The first one in the second row has been tested by the author and cannot provide external API services. The second one 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 machines. After a moment, the interface will open as shown below:
In the embedded web browser on the right side, we can also use web calls inside. 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 above 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. Based on appropriate prompts, it will make the AI smarter or more professional.
The third box is randomness, generally chosen around 0.7--0.8, which can be adjusted 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 a prompt for Chinese-English translation.
Prompt (official prompt from deepseek):
You are a Chinese-English translation expert, translating user-input Chinese into English, or translating user-input English into Chinese. For non-Chinese content, it will provide Chinese translation results. Users can send content to the assistant that needs translation, 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 the translation should be smooth and easy to understand, with clear expression; "Elegance" pursues the cultural aesthetics and beauty of the language in 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 selected 0.8
After a moment, let's see how it translates.
The result looks quite good.
Next, let's use a third-party client to call it. Do you remember the three methods we mentioned above for access? One of them is to click on the port.
You can see there are multiple ports; which one should we click on?
According to the figure, we can see that one provides the ollama service. Look at the small globe icon on the far right; let's click it. 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 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 below 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 select the appropriate 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 get the wool, Tencent Cloud Cloud Studio big wool!!! One
Come get the wool, Tencent Cloud Cloud Studio big wool!!! Two
Come get the wool, Tencent Cloud Cloud Studio big wool!!! Three
Come get the wool, Tencent Cloud Cloud Studio big wool!!! Four