All video models

Jevrouter Video API · reference-to-video

minimax h3 · reference to video

jev/minimax-h3/reference-to-video:video

Open-weights MiniMax H3 reference-to-video on WaveSpeed infrastructure: generate coherent 480p/540p/768p/1080p videos with native stereo audio guided by up to 9 reference images, 3 reference videos, and 3 reference audios.

Create an API key

Options and pricing

Task: reference-to-video. Catalog base price: $0.25. The exact quote depends on your inputs; the catalog price is not a fixed per-task charge.

We reserve the quoted maximum before submission, settle the actual generation cost and release the remainder. Set jev.max_cost_usd to your maximum reservation. A quote above this limit is rejected before generation.

Input fieldTypeRequiredOptions / default
seedintegerNoSee schema
promptstringYesSee schema
durationintegerNo[3,4,5,6,7,8,9,10,11,12,13,14,15]
resolutionstringNo["480p","540p","768p","1080p"]
aspect_ratiostringNo["16:9","9:16","1:1","4:3","3:4","21:9","9:21"]
reference_audiosarrayNoSee schema
reference_imagesarrayNoSee schema
reference_videosarrayNoSee schema
Complete input schema
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "seed": {
      "type": "integer",
      "description": "The random seed to use for the generation. -1 means a random seed will be used."
    },
    "prompt": {
      "type": "string",
      "description": "Text description of the desired video. Refer to reference inputs as <Picture 1>..<Picture 9>, <Video 1>..<Video 3>, and <Audio 1>..<Audio 3>. Audio is generated natively together with the video."
    },
    "duration": {
      "enum": [
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15
      ],
      "type": "integer",
      "default": 5,
      "description": "Output video duration in seconds.",
      "x-ui-component": "select"
    },
    "resolution": {
      "enum": [
        "480p",
        "540p",
        "768p",
        "1080p"
      ],
      "type": "string",
      "default": "480p",
      "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer)."
    },
    "aspect_ratio": {
      "enum": [
        "16:9",
        "9:16",
        "1:1",
        "4:3",
        "3:4",
        "21:9",
        "9:21"
      ],
      "type": "string",
      "default": "16:9",
      "description": "Output aspect ratio."
    },
    "reference_audios": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 3,
      "description": "Standalone reference audio URLs (up to 3, trimmed to 15 seconds each)."
    },
    "reference_images": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 9,
      "description": "Reference image URLs (up to 9). At least one reference input is required."
    },
    "reference_videos": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 3,
      "description": "Reference video URLs (up to 3, usable at any output resolution). Their soundtracks are used automatically. Total reference video duration is budgeted to 15 seconds; longer inputs are truncated fairly."
    }
  },
  "x-order-properties": [
    "prompt",
    "reference_images",
    "reference_videos",
    "reference_audios",
    "aspect_ratio",
    "resolution",
    "duration",
    "seed"
  ],
  "additionalProperties": false
}

Required fields and conditional rules come from the published schema. Catalog support does not mean every option has been independently tested by Jevrouter. Synchronous generation, base64 output and customer callbacks are unavailable.

1. Submit a video task

Allow this model on your Jevrouter key. Replace every placeholder below with a value of the correct type, set a USD limit, and supply any conditional fields required by the schema. Media inputs must use your own accessible URLs; this endpoint does not upload files.

curl https://api.jevrouter.io/v1/videos \
  -H "Authorization: Bearer $JEVROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: video-demo-001" \
  -d @- <<'JSON'
{
  "model": "jev/minimax-h3/reference-to-video:video",
  "input": {
    "prompt": "<prompt: provide string>",
    "duration": 5,
    "resolution": "480p",
    "aspect_ratio": "16:9"
  },
  "jev": {
    "max_cost_usd": "YOUR_USD_LIMIT"
  }
}
JSON

Save data.id and data.urls.get. An accepted task continues even if you disconnect.

Let Jevrouter choose

Use jev/auto as the model and set task to reference-to-video. Your project must enable Auto, and both the project and key must allow Auto and the candidate models.

Auto checks the task type and all supplied input fields against each candidate. It compares live quotes for up to eight compatible candidates, shortlisted by catalog base price. It selects the lowest quote within that shortlist and your budget; this is not a quality ranking or a guarantee of the cheapest model in the entire catalog.

Use common options such as duration, resolution and aspect_ratio at the top level where available. Model-specific options belong in input and may narrow the pool. Unsupported options are rejected, never silently dropped. Without task, Auto defaults to text-to-video.

2. Check the result

curl https://api.jevrouter.io/v1/videos/REQUEST_ID \
  -H "Authorization: Bearer $JEVROUTER_API_KEY"

Replace REQUEST_ID with your task ID. Wait at least three seconds between checks. Status progresses from queued to processing, then completed or failed. Results appear in data.outputs as media URLs or structured output objects.

If the submission response is lost, repeat the original request with the same idempotency key. A new key may create another billed task.

Results and billing

View the request in your dashboard or query /v1/requests/REQUEST_ID for reservation and settlement details. Results may be ready before the bill arrives.

Result links are retained for up to seven days and may expire earlier. Save your video while it is available. Anyone with a media URL may be able to access it. Cancellation and customer webhooks are not available.

Build the complete flow