Qwen

Activity

Stars and mentions · Last 30 days, Oct 7 – Nov 5

GitHub stars0
Mentions2
01234Oct 7Oct 21Nov 5
UTC days · repositories Qwen owns0 repositories

Top repositories

Qwen’s repositories ranked by pull request authors, as on trending.

Loading

Contributes to

Repositories outside Qwen’s account where Qwen opened or reviewed pull requests in the past 365 days.

Who noticed Qwen

Everyone who starred or forked Qwen’s repositories since the archive began in 2011.

Notable accounts

Ordered by the stars their own repositories have received.

Biggest fans

Accounts that starred the most of these repositories.

Breakout weeks

Each repository’s best week of new stars, with the release published around it.

Mentions

2posts
Nov 60 posts
  1. How I Clone My Own Voice on a Laptop With No GPU (Qwen3-TTS) Key takeaways - A laptop with no GPU can run Qwen3-TTS voice cloning. Expect 3 to 6 seconds of computing per second of speech. - Use reference clips of 7 to 15 seconds. About 30 seconds in total was enough for me. - If your reference is casual talking, use x-vector only mode, or the clone will copy your hesitations. - Generate 3 to 5 takes per line and pick by where the pauses fall. > Tested on: Windows 11 laptop, Intel Core i9-13900H, 32 GB RAM, integrated graphics only (no NVIDIA GPU). Qwen3-TTS-12Hz-1.7B-Base, qwen-tts 0.1.1, Python 3.11. I post short animated videos that explain AI topics, narrated in Chinese. Recording the narration was the slowest part of every video. I stumble, re-record, and takes from different days don't sound the same. I wanted to type the script and get narration in my own voice. Claude Code, an AI coding assistant, set this up on my laptop. I described what I wanted, listened to the results and made the calls. You can skip the code blocks; the settings that mattered are explained in plain words. What I used The model is Qwen3-TTS-12Hz-1.7B-Base, an open-source text-to-speech model from Alibaba's Qwen team (Apache-2.0 license, code at Qwen/Qwen3-TTS). The "Base" version is the one that clones voices. I downloaded the weights from ModelScope, which was by far the fastest source where I live. It runs through the qwen-tts Python package, version 0.1.1, in a Python 3.11 virtual environment. My system Python was newer than the machine-learning packages supported, so a separate 3.11 environment saved a lot of trouble. Everything runs on the CPU in float32, with no CUDA and no NVIDIA card. Step 1: Reference audio from a recording I already had I didn't record anything new. I had a long screen recording where I was talking, and I cut three clips from it, about 33 seconds in total. Longer clips sounded more like me. Clips of 7 to 15 seconds gave a clearly closer match than 4-second clips. If there is music or noise behind your voice, remove it first. On my CPU, the BS-Roformer separation model needed about two hours for three minutes of audio. The Kim_Vocal_2 model in the audio-separator package did the same job in about three minutes. Step 2: The setting that decides whether it sounds fluent Qwen3-TTS Base can clone a voice in two ways: | Mode | What you give it | What it copies | | --- | --- | --- | | ICL (the default) | One clip plus its exact transcript | Your voice and the way you spoke in that clip | | x-vector only | One or more clips, no transcript | Only the sound of your voice | I started with ICL because it's the default. The problem was my reference clip: unscripted talking, with hesitations and uneven pace. The clone copied that too. Every line came out with the same stop-start rhythm, and it didn't sound fluent. Switching to x-vector only mode fixed it. The model keeps my voice but uses its own steadier pacing, which is what narration needs. Since no transcript is needed, I could also feed it several clips at once. If your reference is clean read-aloud speech, ICL may be fine. If it's casual talking, try x-vector first. This is a simplified version of the script on my laptop: import numpy as np, soundfile as sf, torch from qwen_tts import Qwen3TTSModel torch.set_num_threads(14) # how many CPU threads to use model = Qwen3TTSModel.from_pretrained( "models/Qwen3-TTS-12Hz-1.7B-Base", device_map="cpu", dtype=torch.float32 ) # Join a few clips of my voice (mono WAV) with a short silence between them voice, sr = sf.read("my_voice.wav", dtype="float32") gap = np.zeros(int(0.25 * sr), np.float32) clips = [(12.0, 23.5), (61.0, 72.7), (130.2, 141.1)] # start, end in seconds parts = [] for start, end in clips: parts += [voice[int(start * sr):int(end * sr)], gap] ref = np.concatenate(parts) # x-vector only: copy the voice, not the rhythm. No transcript needed. prompt = model.create_voice_clone_prompt( ref_audio=(ref, sr), ref_text=None, x_vector_only_mode=True ) wavs, out_sr = model.generate_voice_clone( text=["大家好,今天聊聊怎么用 AI 给视频配音。"], language=["Chinese"], voice_clone_prompt=prompt, ) sf.write("line01.wav", wavs[0], out_sr) For ICL mode you pass one clip, its exact transcript as ref_text, and x_vector_only_mode=False. Step 3: Make several takes and keep the best one The same line comes out a little different every time. Some takes pause in the right places, some rush through a comma. So I generate every line 3 to 5 times and pick one. What I listen for: does it pause at the commas, and does it avoid long gaps in the middle of a phrase. That matters more than small differences in tone. With twenty-odd lines and several takes each, listening to everything gets tiring. So a script ranks the takes first: - It transcribes each take with a speech recognizer (Paraformer, for Chinese) and compares it with the script, to catch swallowed or wrong words. - It measures how close the voice is to a separate sample of my real voice that wasn't used for cloning (CAM++ speaker verification). - It counts the pauses and compares them with the commas in the line. Then I only listen to the top few. How fast is it on a CPU? From my logs, generating up to six lines per batch: roughly 3 to 6 seconds of computing for each second of speech. One batch produced 37 seconds of speech in 127 seconds; another produced 24 seconds in 147 seconds. For a two-minute narration that means about 7 to 12 minutes per take, or roughly half an hour for three takes. It's slow, but it runs in the background. Loading the model also takes time, so I generate all the lines in one run. Smaller things that helped Some Chinese characters have more than one pronunciation, and the model sometimes picks the wrong one. When that happens I swap in a same-sounding character in the text sent to the model and keep the correct word in the subtitles. For example, 长连接 became 常连接, and 回调 became 回掉. Not every video needs my voice, either. For quick news videos I use a preset voice from the CustomVoice version of the same model, which needs no reference audio. Only clone voices you have permission to use Clone your own voice, or a voice whose owner has agreed. Don't publish a cloned voice of anyone else. Would a paid service be easier? Probably. Hosted services such as ElevenLabs need no setup. I have since run the same script through ElevenLabs' free plan, and its stock Mandarin voices sounded more natural than my clone: ElevenLabs free plan vs a local open-source model. --- Originally published on Hands-On AI Tools, where I test AI tools on real tasks. Cover: official Qwen3-TTS introduction graphic from the Qwen team's GitHub repository.

  2. DEV · · @preecha

    How to Use Qwen 3.5 API ? Alibaba Cloud released Qwen 3.5 on February 15, 2026, and the developer community immediately took notice. The model delivers native multimodal understanding, 1-million-token context windows, and agentic capabilities that consistently outperform GPT-4.5, Claude 4, and Gemini 2.5 across reasoning, coding, and tool-use benchmarks. The Qwen 3.5 API puts all of this power behind a clean, OpenAI-compatible endpoint. You authenticate once, send standard chat completion requests, and unlock features that previously required complex orchestration layers. This guide walks you through every technical detail—from generating your first token to building production-grade multimodal agents. You will learn exact payloads, advanced parameters, error-handling patterns, and cost-optimization strategies that actually work in real workloads. {% cta apidog.com %} Try Apidog today {% endcta %} 💡Before you write a single line of code, download Apidog for free. As you follow the examples in this post—especially the sections on tool calling, streaming reasoning traces, and multimodal inputs—Apidog becomes the fastest way to prototype, validate schemas, chain test scenarios, and generate client code. The platform turns what used to be hours of Postman chaos into minutes of focused development. Many teams using Qwen 3.5 now treat Apidog as non-negotiable infrastructure. Ready? Let’s get your environment set up and send your first production-ready request to Qwen 3.5. What Makes Qwen 3.5 Stand Out? Qwen 3.5 represents a significant leap in the Qwen series. Alibaba released the open-weight Qwen3.5-397B-A17B, a hybrid MoE model with 397 billion total parameters but only 17 billion active per inference. This architecture combines Gated Delta Networks for linear attention with sparse experts, delivering exceptional efficiency. !Benchmark Qwen 3.5 The hosted Qwen 3.5-Plus model on the API provides a 1M token context window by default. It supports 201 languages and dialects, processes images and videos natively, and excels in benchmarks: - Reasoning: 87.8 on MMLU-Pro - Coding: 76.4 on SWE-bench Verified - Agent capabilities: 86.7 on TAU2-Bench - Vision: 85.0 on MMMU These results position Qwen 3.5 as a strong choice for developers building agents, code assistants, or multimodal applications. The API makes these features immediately accessible without managing massive hardware. !Qwen3.5 Furthermore, Qwen 3.5 introduces built-in tools like web search and code interpretation. You activate them with simple parameters, so you avoid building custom orchestration layers. As a result, teams ship intelligent workflows faster. Prerequisites for Qwen 3.5 API Integration You prepare your environment before you send the first request. Qwen 3.5 API runs on Alibaba Cloud’s Model Studio (formerly DashScope), so you create an account there. - Visit the Alibaba Cloud Model Studio console. - Sign up or log in with your Alibaba Cloud credentials. - Navigate to the API key section and generate a new DASHSCOPE_API_KEY. Store this securely—treat it like any production secret. Additionally, install the OpenAI Python SDK. Qwen 3.5 maintains full compatibility, so you reuse familiar patterns from other providers. pip install openai You also benefit from Apidog at this stage. After downloading it for free from the official site, you import your OpenAPI spec or manually add the Qwen 3.5 endpoint. Apidog auto-generates request schemas and validates responses, which proves invaluable when you explore custom parameters later. !Qwen 3. 5 logo Authenticating and Configuring the Client You set the base URL and API key to connect. International users typically choose the Singapore or US endpoint for lower latency. import os from openai import OpenAI client = OpenAI( api_key=os.getenv("DASHSCOPE_API_KEY"), base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1" ) This client object handles all subsequent calls. You switch regions by changing the base URL—Beijing for China-based workloads or Virginia for US traffic. The SDK abstracts authentication, so you focus on payload design. However, production applications often use environment variables and secret managers. You rotate keys regularly and implement retry logic with exponential backoff to handle transient network issues. Sending Your First Chat Completion Request You now execute a basic request. Qwen 3.5 accepts standard OpenAI message formats and returns structured responses. messages = [ {"role": "system", "content": "You are a helpful technical assistant."}, {"role": "user", "content": "Explain the architecture of Qwen 3.5 in simple terms."} ] completion = client.chat.completions.create( model="qwen3.5-plus", messages=messages, temperature=0.7, max_tokens=1024 ) print(completion.choices[0].message.content) This code sends a query and prints the response. You adjust temperature and top_p to control creativity, just as with other models. To test this quickly, open Apidog, create a new request, paste the endpoint https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions, add your headers and body, then hit Send. Apidog displays the full response timeline, headers, and even generates cURL or Python code snippets for you. Unlocking Advanced Features with Extra Parameters Qwen 3.5-Plus shines when you enable its native capabilities. You pass these through the extra_body field. completion = client.chat.completions.create( model="qwen3.5-plus", messages=messages, extra_body={ "enable_thinking": True, # Activates chain-of-thought reasoning "enable_search": True, # Enables web search + code interpreter }, stream=True ) for chunk in completion: if chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="", flush=True) if hasattr(chunk.choices[0].delta, "reasoning_content") and chunk.choices[0].delta.reasoning_content: print("\n[Thinking]:", chunk.choices[0].delta.reasoning_content) Therefore, the model thinks step-by-step before answering and fetches real-time information when needed. Streaming responses arrive token-by-token, which improves perceived latency in chat interfaces. Moreover, Qwen 3.5 supports multimodal inputs. You include images or videos directly in messages: messages = [ { "role": "user", "content": [ {"type": "text", "text": "What is happening in this image?"}, {"type": "image_url", "image_url": {"url": "https://example.com/chart.png"}} ] } ] The API processes visual data natively and returns reasoned descriptions or answers. Developers building document analysis tools or visual agents find this feature transformative. Implementing Tool Calling and Agentic Workflows Qwen 3.5 excels at function calling. You define tools in the request, and the model decides when to invoke them. tools = [ { "type": "function", "function": { "name": "get_weather", "description": "Get current weather for a location", "parameters": { "type": "object", "properties": { "location": {"type": "string"} }, "required": ["location"] } } } ] completion = client.chat.completions.create( model="qwen3.5-plus", messages=messages, tools=tools, tool_choice="auto" ) When the model returns a tool call, you execute the function on your side and append the result back to the conversation. This loop creates robust agents that interact with external systems. Apidog simplifies testing these flows. You create test scenarios that chain multiple requests, assert on tool call formats, and even mock external APIs. As a result, you validate complex agent behavior before you deploy to production. Real-World Application Examples Developers integrate Qwen 3.5 API across many domains. Here are practical patterns you replicate today. Intelligent Coding Assistant You build a VS Code extension that sends code snippets to Qwen 3.5 with context from the workspace. The model returns refactored code, unit tests, and explanations. Because of its strong SWE-bench performance, it handles real repository-scale tasks effectively. Multimodal Research Agent You create an agent that accepts PDF uploads or screenshots, extracts data, searches the web for verification, and generates reports. The 1M context window holds entire research papers in a single conversation. Customer Support Chatbot You combine Qwen 3.5 with your knowledge base and CRM. The model reasons over conversation history, pulls real-time order data via tools, and responds in the user’s preferred language from its 201-language support. In each case, you monitor token usage and costs through the Alibaba Cloud console. Qwen 3.5-Plus delivers competitive pricing for its capabilities, especially at scale. Best Practices for Production Deployments You follow these guidelines to ensure reliability and performance: - Rate limiting: Implement client-side throttling and respect Alibaba’s documented limits. - Error handling: Catch RateLimitError, InvalidRequestError, and retry with backoff. - Cost control: Track token counts in responses and set max_tokens conservatively. - Security: Never expose your API key in frontend code. Use backend proxies for all calls. - Observability: Log full request/response payloads (without sensitive data) and monitor latency. Additionally, you version your prompts and test changes in Apidog before you promote them. The platform’s environment variables let you switch between dev, staging, and production keys seamlessly. Troubleshooting Common Qwen 3.5 API Issues You encounter these problems occasionally: - Authentication errors: Double-check the DASHSCOPE_API_KEY and region-specific base URL. - Context length exceeded: The model supports 1M tokens, but you still monitor usage. Truncate history intelligently. - Tool call failures: Ensure your function schemas match the expected JSON schema exactly. - Slow responses: Enable streaming and consider enable_thinking: false for simple queries. Apidog helps here too. Its detailed logs, response validation, and mock servers let you isolate issues quickly. Local Deployment of the Open-Weight Model While the API suits most use cases, you run the Qwen3.5-397B-A17B model locally for sensitive data or offline needs. The model is available on Hugging Face: pip install transformers You serve it with vLLM or SGLang for high throughput: python -m vllm.entrypoints.openai.api_server \ --model Qwen/Qwen3.5-397B-A17B \ --tensor-parallel-size 8 The local server exposes the same /v1/chat/completions endpoint. You point your Apidog workspace at http://localhost:8000/v1 and test identically to the cloud API. Note that the 397B model requires substantial GPU resources—typically 8×H100 or equivalent. Smaller quantized versions may appear in the community soon. Comparing Qwen 3.5 API with Other Providers Qwen 3.5 competes directly with GPT-4.5, Claude 4, and Gemini 2.5. It leads in coding and agent benchmarks while offering native multimodality at a lower price point. The OpenAI-compatible interface means you migrate with minimal code changes. However, Alibaba Cloud’s global regions provide advantages for Asia-Pacific workloads. You achieve lower latency and better compliance for certain markets. If you're exploring capable models with generous free tiers, NVIDIA's Nemotron Nano 12B v2 VL is another vision-language option worth testing through their free API tier. Conclusion: Start Building with Qwen 3.5 Today You now possess a complete technical roadmap for the Qwen 3.5 API. From basic chat completions to sophisticated multimodal agents, the platform delivers frontier performance with developer-friendly tools. Download Apidog for free right now and import the Qwen 3.5 endpoint. You prototype, test, and document your integrations in minutes instead of hours. The small decisions you make in your API workflow—choosing the right testing platform, structuring your prompts, handling tool calls—create big differences in development speed and application quality. The Qwen 3.5 team continues to push boundaries. Check the official Qwen blog, GitHub repository, and Hugging Face collection for updates. What will you build first? Whether it is an autonomous research agent, a vision-powered analytics tool, or a multilingual customer experience platform, Qwen 3.5 API gives you the foundation. Start coding, iterate rapidly with Apidog, and bring your ideas to life.

Achievements

Awards earned by the repositories Qwen owns. Select an award to embed its badge.

No awards yet

Repositories earn awards by reaching the top three in a completed trending day or week.

A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.