Skip to main content
The AntiRouter API base URL is https://anti.rs. Append a complete path from the table below. Do not add /docs or duplicate a /v1 prefix.

Endpoints

All Wan3.0 variants share the video generation path. Select a variant with the request’s model field.

Request conventions

  • Use HTTPS and pass the appropriate key as Authorization: Bearer <API_KEY>.
  • Send POST bodies as UTF-8 JSON with Content-Type: application/json.
  • Successful generation and task-query requests return HTTP 200. No additional asynchronous-request header is required.
  • The response’s request_id and X-Request-ID header identify the platform generation request. Use output.task_id for task queries. Store both IDs separately.

HTTP errors

Error responses contain error and message, for example:
402

Retries and task states

HTTP 200 means this HTTP request succeeded, not that the video is complete. A query response may still contain PENDING, RUNNING, FAILED, or CANCELED. Handle these using the task-state reference. Generation requests can incur charges. After a timeout or connection failure, check task history before submitting again. The generation endpoint does not provide a client idempotency key; repeated POST requests may create separately billed tasks. If you have a task ID, continue querying that task.