The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Development · 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

Skill documentation

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.

Saved skills