#1
SiliconFlow
Direct CN 🟢 191ms 🎁 阿里开源顶流语音大模型 · 官方Free Quota · 支持自然音色合成与极速音频生成 (阿里开源顶流语音大模型 · 拟真人声与极速声音克隆 · 免绑卡)
Alibaba's realistic voice synthesis model capable of zero-shot voice cloning, emotional inflection, and cross-lingual TTS, permanently free on SiliconFlow.
Ranked by live health & lowest latency. Copy provider model ID or claim free keys directly.
Fully compatible with OpenAI SDK. Replace the API Key and execute directly in Python or cURL.
from openai import OpenAI
# 1. 替换为对应厂商领取的 API Key 与 Base URL (参见下方厂商雷达表)
client = OpenAI(
api_key="your_api_key_here",
base_url="https://api.siliconflow.cn/v1" # 示例: 硅基流动直连端点
)
response = client.chat.completions.create(
model="FunAudioLLM/CosyVoice2-0.5B",
messages=[
{"role": "system", "content": "You are a helpful AI assistant."},
{"role": "user", "content": "Hello! Please introduce yourself briefly."}
],
temperature=0.6,
stream=True
)
for chunk in response:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
curl https://api.siliconflow.cn/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key_here" \
-d '{
"model": "FunAudioLLM/CosyVoice2-0.5B",
"messages": [
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}'