Skip to main content
Every WideRouter job follows the same three steps regardless of whether you are generating an image or a video, and regardless of which model you pick.
Scaffold notice. The endpoint paths and field names below are placeholders from the repository bootstrap. Replace them with the real API surface, then regenerate the localized pages.

Get an API key

Create a key in the console, then export it so the examples below can read it. Never hard-code a key into a file you commit.

Create a task

The call returns immediately with a task id. Generation happens in the background.

Poll until it finishes

Poll the task endpoint with backoff until the status reaches a terminal state, then download whatever the task produced.
Poll with backoff, not in a tight loop. Start around two seconds and grow the interval; a busy client that polls every 100 ms will get rate limited without finishing any faster.

Next steps

Models

Which parameters each model accepts, and what they default to.

API reference

Full request and response schemas with an interactive playground.