⌕   Search video models ⌘ K✦  0 CreditsSign in
DEVELOPERS / API

One endpoint. Video possibilities.

Integrate Majorouter's supported video models using your own API key and prepaid Credits.

Authentication

Create a key from your Dashboard. Send it as a bearer token on requests from your backend. Never expose it in frontend code.

Authorization: Bearer mav_YOUR_PRIVATE_API_KEY

Submit a video task

The request reserves configured Credits and returns a task ID. Use a unique idempotency key for each logical generation request.

POST https://majorouter.com/wp-json/mav/v1/generateAuthorization: Bearer mav_...
Content-Type: application/json
X-Idempotency-Key: your_unique_16_character_id

{
  "model": "wan-2-7-text-to-video",
  "prompt": "A cinematic aerial view of a city at dawn"
}

Image-to-video currently supports image upload in the logged-in website studio. External API image upload requires a later authenticated upload endpoint.

Check task status

GET https://majorouter.com/wp-json/mav/v1/jobs/123Authorization: Bearer mav_...

{
  "jobId": 123,
  "status": "RUNNING",
  "resultUrl": null
}

Possible statuses: SUBMITTING, CREATE, QUEUED, RUNNING, SUCCESS, FAILED, CANCEL and UNKNOWN. UNKNOWN is reserved for uncertain submission or result reconciliation and is not an automatic refund.

Available video models

GET https://majorouter.com/wp-json/mav/v1/models

Models with zero configured Credits are not available for paid generation. Model parameters in the initial release are fixed and displayed on the generation page.