--- title: Qwen API emoji: 🤖 colorFrom: blue colorTo: purple sdk: gradio sdk_version: 5.29.0 app_file: app.py pinned: false license: apache-2.0 tags: - qwen - transformers - zerogpu --- # Qwen2.5-7B-Instruct API API interface for [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) on ZeroGPU. ## API Usage ```python from gradio_client import Client client = Client("Ngixdev/qwen-api") result = client.predict( prompt="Hello!", system_prompt="You are helpful.", temperature=0.7, top_p=0.8, max_tokens=1024, api_name="/api_generate" ) print(result) ```