Skip to content
Back to skills

Serving

ASecurity

"Operate Qwen-VL Gradio and OpenAI-compatible FastAPI services

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
devopspythonfastapidockerapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill serving --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Serving?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Serving
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-serving-dd665b94/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-serving-dd665b94)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: serving
description: "Operate Qwen-VL Gradio and OpenAI-compatible FastAPI services
  without auto-starting listeners."
metadata:
  disco-role: operating
disable-model-invocation: true
license: NOASSERTION
---

# Qwen-VL Serving

Use this sub-skill when the user wants to launch, configure, wrap, or debug the
Qwen-VL multimodal Gradio demo or the OpenAI-compatible FastAPI chat service.
Do not start a long-running listener unless the user explicitly asks for it;
prepare commands, inspect flags, and diagnose configuration first.

## Read first

- [Service reference](references/service-reference.md) for launch commands,
  CLI flags, endpoint shapes, function-call formatting, CORS, and Docker notes.
- [Troubleshooting](references/troubleshooting.md) for checkpoint, dependency,
  binding, streaming, function-calling, Gradio, and Docker failure modes.
- [Bundled OpenAI API server](scripts/openai_api.py) and
  [bundled Gradio web demo](scripts/web_demo_mm.py) are copied/adapted runtime
  entrypoints. Run them with `python ... --help` before any launch.

## Choose this sub-skill for

- Preparing a safe localhost or exposed-host launch command for the Gradio
  multimodal demo.
- Preparing a FastAPI command that exposes `/v1/models` and
  `/v1/chat/completions` in an OpenAI-compatible shape.
- Explaining `--checkpoint-path`, `--cpu-only`, `--server-name`,
  `--server-port`, `--share`, and `--inbrowser` behavior.
- Diagnosing API errors such as unsupported streaming, malformed chat/function
  messages, dependency imports, port conflicts, or incomplete checkpoints.
- Reading reference-only Docker build/run patterns for the web demo, the
  OpenAI-compatible API, or the Int4 OpenAI-compatible API image.

## Route elsewhere

- One-off direct model calls, prompt construction, grounding markup, and model
  selection semantics belong in [inference](../inference/SKILL.md).
- Supervised finetuning, LoRA, Q-LoRA, and training data preparation belong in
  [finetuning](../finetuning/SKILL.md).
- Official benchmark execution, scoring, and submission formats belong in
  [evaluation](../evaluation/SKILL.md).

## Operating rules

1. Treat both service scripts as long-running: use `--help`, dependency probes,
   and command construction unless the user asks to launch.
2. Prefer `--server-name 127.0.0.1` for local use. Use `0.0.0.0` only when the
   user intentionally exposes the service and has considered firewall, proxy,
   authentication, and the API server's permissive CORS policy.
3. For Qwen-VL-Chat service behavior, pass an explicit chat checkpoint even
   when a script has a default. The OpenAI API script inherits a text-chat
   default from the source; the Gradio script defaults to Qwen-VL-Chat.
4. Do not promise streaming from the bundled OpenAI-compatible service: the
   current handler returns HTTP 400 for `stream: true`.

Files in this skill

  • SKILL.md2.8 KB
  • references/service-reference.md9.4 KB
  • references/troubleshooting.md7.2 KB
  • scripts/openai_api.py17.7 KB
  • scripts/web_demo_mm.py9.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.