Documentation Index
Fetch the complete documentation index at: https://docs.livepeer.org/llms.txt
Use this file to discover all available pages before exploring further.
Errors by HTTP status code
Cold model timeouts
A model is “cold” when no orchestrator on the network has it loaded in GPU memory. The first request triggers a model load, which takes 30 seconds to 5 minutes depending on model size and GPU. A cold model returns a503 or a long pending response. This is not an error in your code.
Mitigation: use warm models for latency-sensitive applications. The following models are kept warm across the network:
| Pipeline | Warm model |
|---|---|
| text-to-image | SG161222/RealVisXL_V4.0_Lightning |
| image-to-image | timbrooks/instruct-pix2pix |
| audio-to-text | openai/whisper-large-v3 |
| image-to-text | Salesforce/blip-image-captioning-large |
| LLM | meta-llama/Meta-Llama-3.1-8B-Instruct |
Diagnosing a non-responsive job
When a request hangs with no response, check in this order:-
Network connectivity to the gateway:
-
Request construction using curl to isolate from SDK behaviour:
- Model availability: use a known warm model to confirm the integration works, then switch to your target model.
-
Gateway availability: if using a self-hosted or third-party gateway, confirm the gateway process is running and the HTTP port is reachable. For self-hosted gateways, check
livepeer_cli -statusand the TicketBroker deposit balance. -
Orchestrator availability: check
tools.livepeer.cloud/ai/network-capabilitiesto confirm orchestrators are advertising the pipeline and model you need.
422 validation errors
A422 response includes a body that identifies the failing field:
model_idis missing (required on all pipelines)model_idformat is wrong: must be a Hugging Face model ID string, e.g.SG161222/RealVisXL_V4.0_Lightning- Image input sent as JSON instead of
multipart/form-data(image-to-image, upscale, segment-anything-2) - Dimension values are not integers (use
1024, not"1024")
Video transcoding and streaming failures
Video jobs fail for different reasons than AI jobs:| Symptom | Likely cause | Fix |
|---|---|---|
| RTMP push rejected | Stream key wrong or stream deleted | Verify stream key matches the stream object |
| HLS manifest empty | Transcoding has not completed first segment | Wait 5-10 seconds after RTMP connection |
| Playback fails with 403 | Access control policy blocking playback | Check JWT or webhook playback policy configuration |
| Recording not available | Stream did not go idle cleanly | Check stream.idle webhook; recording generates on idle |
| Webhook not firing | Webhook URL unreachable or signature mismatch | Verify webhook URL is publicly reachable and Livepeer-Signature verification passes |
Getting help
If the above steps do not resolve the issue:- Discord:
#loungeand#ai-researchchannels in the Livepeer Discord. Include your request body (redact API keys), the response status, and the response body. - Forum: forum.livepeer.org for in-depth debugging questions.
- GitHub: File an issue against livepeer/ai-runner for AI failures or livepeer/go-livepeer for video and node issues.