NezhaGateNezhaGate
← Guides

Webhooks: Get Told the Moment Your Video Is Ready

Videos take minutes to half an hour to render. Stop polling: the moment a job ends, the result is pushed to your server. Where it fits, the two ways in, and setup in three steps.

About 10 minutes

Video takes time. A 5–10 second clip usually renders in a few minutes to a quarter of an hour, a 30-second clip in twenty to thirty minutes, and at peak hours there can be a queue. Until now you had to ask for the job status every few seconds: write the loop, handle timeouts, and remember which jobs were still open when your service restarted.

Not any more. The moment a job ends, whether it succeeded or failed, we push the result straight to your server.

Two ways to receive it

curl · submit a job with callback_url
curl https://nezhagate.com/v1/videos/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "seedance-2.5", "prompt": "a paper boat drifting down a rainy street at night", "duration": 5,
       "callback_url": "https://your-app.com/webhooks/nezhagate"}'

Where it fits

Can you rely on it?

Set it up in three steps

  1. Give your server a URL that accepts POST requests. The webhook docs have complete signature-checking examples in Python and Node.js.
  2. In the console, open Settings → Webhook, enter the URL and click "Send a test event" to make sure it arrives.
  3. Submit jobs as usual and wait for the push. To send one particular job somewhere else, add callback_url to that request.
Event types, the body format, headers and the retry rules are all in the webhook docs.
No API key yet?

Sign up and create a key in the console. Pay as you go; failed requests are never billed.

Get API Key → Pricing

More guides: SillyTavern · Cherry Studio · Cline