Skip to content

SiliconFlow AI Translation Channel

What is it?

SiliconFlow (硅基流动, literally "Silicon Flow") is a popular AI inference service platform that provides API access to a variety of open-source large language models, including DeepSeek, Qwen, Llama, and more. Since version 3.74, pyVideoTrans has integrated SiliconFlow as a dedicated translation channel. It offers fast access and free tiers for many models.

Prerequisites

  • pyVideoTrans v3.74 or higher
  • A SiliconFlow platform account (to obtain an API key)

How to Get an API Key

Step 1: Sign up and log in to SiliconFlow

Go to https://cloud.siliconflow.cn and register with your phone number or email.

Step 2: Create an API Key

  1. After logging in, visit https://cloud.siliconflow.cn/account/ak
  2. Click "Create API Key"
  3. Give the key a name
  4. Copy the generated API key and save it

Step 3: Claim free credits

SiliconFlow provides free credits for new users. Some models (such as Qwen-7B) can be used for free. Check your balance on the platform homepage.

Configuring in pyVideoTrans

  1. Open the menu bar → Translation SettingsSiliconFlow Settings
  2. Enter the API key from SiliconFlow in the API KEY field
  3. Select a model from the dropdown, for example:
    • Qwen/Qwen2.5-7B-Instruct (free, suitable for everyday translations)
    • deepseek-ai/DeepSeek-V3 (high-quality translations)
    • You can also manually enter other models supported by SiliconFlow
  4. Click the Test button to verify the connection
  5. Save after a successful test

SettingRecommended Value
API URLhttps://api.siliconflow.cn/v1 (default, no changes needed)
API KeyObtained from SiliconFlow platform
ModelQwen/Qwen2.5-7B-Instruct (free) or deepseek-ai/DeepSeek-V3 (high quality)
Max Output Tokens8192 (default)
ModelPriceFeatures
Qwen/Qwen2.5-7B-InstructFreeGreat for everyday translations
deepseek-ai/DeepSeek-V3PaidHigh translation quality
meta-llama/Meta-Llama-3.1-8B-InstructFreeExcellent English translations

Browse all available models and pricing at https://cloud.siliconflow.cn/models.

Troubleshooting

IssueCauseSolution
"Authentication Error"API key incorrectLog in to SiliconFlow and generate a new key
Connection timeoutNetwork issueCheck your network connection
Model returns errorIncorrect model name formatEnsure the model name follows the provider/model-name format
Rate limit errorsFree models have rate limitsIncrease the post-translation pause time, or upgrade to a paid model
Excessive blank lines in outputModel capability insufficientTry a larger model (e.g., 14B or 32B version)