L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Développement · SKILL.md

serving

serving

Guides FastVideo HTTP and WebSocket serving, typed request contracts, health checks, session state, and server configuration.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: serving description: "Guides FastVideo HTTP and WebSocket serving, typed request contracts, health checks, session state, and server configuration." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Serving

Use for fastvideo serve, OpenAI-compatible HTTP generation, streaming WebSocket sessions, liveness, continuation state, and operator defaults.

Choose the transport

  • No streaming block: stateless HTTP server with video/image endpoints.
  • A streaming block: WebSocket /v1/stream sessions with JSON control frames and binary fMP4 media.
  • router-serve: separate routing/load-balancing configuration; treat it as deployment infrastructure, not the generation request API.

Launch with a nested config:

fastvideo serve --config serve.yaml
fastvideo serve --config serve.yaml --server.port 9000

Read HTTP contract, streaming contract, and server troubleshooting. Use the bundled config helper to create a safe template; review model, host, port, output, and credential settings before starting a listener.

Operational rules

Health checks should be cheap and should not require a full generation unless an operator explicitly wants that. HTTP request fields override explicit default_request fields, which override hardcoded fallbacks; omitted schema defaults do not become operator intent. Streaming sessions have timeout and segment caps and terminal states; clients must send the correct opening frame.

Do not expose a server publicly without authentication/network controls supplied by the deployment environment. Prompt enhancement and safety integrations are optional and may require credentials or model files.

Skills enregistrées