Wide LabsCompute

MiniMax H3 V2V

MiniMax/MiniMax-H3-V2V MiniMaxVideo → videoRESTAsync task
Price$0.17 /seclowest tier
EndpointPOST /v2/video/minimax-h3-v2v/generateREST

Quick start

This model runs asynchronously: the request returns a task ID, and you poll GET /v2/tasks/{task_id} or receive a webhook when the result is ready.
curl -X POST https://api.widelabs.tr/v2/video/minimax-h3-v2v/generate \
  -H "Authorization: Bearer $WIDELABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "The fox from reference video 1 leaves the sunlit clearing and trots into the snowy pine forest from reference image 1 as dusk falls. It stops between the trees and looks back over its shoulder toward the camera. Sound: crunching snow and a soft wind through the pines.",
  "reference_video_urls": [
    "https://api.widelabs.tr/cdn/content/vPk-EOthkbwP_zG_FOhwpw"
  ],
  "reference_image_urls": [
    "https://api.widelabs.tr/cdn/content/Pt1bHTIK-zWloRGqsRSnkA"
  ],
  "resolution": "768P",
  "duration": 5,
  "ratio": "16:9"
}'
import os
import requests

resp = requests.post(
    "https://api.widelabs.tr/v2/video/minimax-h3-v2v/generate",
    headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
    json={
        "prompt": "The fox from reference video 1 leaves the sunlit clearing and trots into the snowy pine forest from reference image 1 as dusk falls. It stops between the trees and looks back over its shoulder toward the camera. Sound: crunching snow and a soft wind through the pines.",
        "reference_video_urls": ["https://api.widelabs.tr/cdn/content/vPk-EOthkbwP_zG_FOhwpw"],
        "reference_image_urls": ["https://api.widelabs.tr/cdn/content/Pt1bHTIK-zWloRGqsRSnkA"],
        "resolution": "768P",
        "duration": 5,
        "ratio": "16:9"
    },
)
resp.raise_for_status()
# Video jobs are asynchronous: poll the task until it finishes.
import time
task = resp.json()
while task.get("status") not in ("completed", "failed"):
    time.sleep(5)
    task = requests.get("https://api.widelabs.tr/v2/tasks/" + task["task_id"], params={"wait": 30}).json()
print(task.get("result"))
const resp = await fetch("https://api.widelabs.tr/v2/video/minimax-h3-v2v/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "The fox from reference video 1 leaves the sunlit clearing and trots into the snowy pine forest from reference image 1 as dusk falls. It stops between the trees and looks back over its shoulder toward the camera. Sound: crunching snow and a soft wind through the pines.",
    reference_video_urls: [
      "https://api.widelabs.tr/cdn/content/vPk-EOthkbwP_zG_FOhwpw"
    ],
    reference_image_urls: [
      "https://api.widelabs.tr/cdn/content/Pt1bHTIK-zWloRGqsRSnkA"
    ],
    resolution: "768P",
    duration: 5,
    ratio: "16:9"
  }),
});
let task = await resp.json();
// Video jobs are asynchronous: poll the task until it finishes.
while (!["completed", "failed"].includes(task.status)) {
  await new Promise(r => setTimeout(r, 5000));
  task = await (await fetch(`https://api.widelabs.tr/v2/tasks/${task.task_id}?wait=30`)).json();
}
console.log(task.result);

Parameters

NameTypeDescription
store_output"provider" | "wl1d" | "wl7d" | "wl30d"
default "provider"
Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,…
prompt requiredstringText description of the video (required, max 7000 characters). Refer to inputs as 'reference video 1', 'reference image 1', 'reference audio 1'. Spoken lines: (S1) says: <d>[Language] exact words</d>.
reference_video_urls requiredstring[]Reference video URLs or base64 data URIs (required, 1-3 clips; MP4/MOV, each 2-15 s, 15 s in total, max 50MB each). The total length, each clip rounded up to a whole second, must not exceed `duration`.
reference_image_urlsstring[]Optional reference image URLs or base64 data URIs (1-5), e.g. a character, object or scene to keep.
reference_audio_urlsstring[]Optional reference audio URLs or base64 data URIs (1-3 clips, WAV/MP3, each 2-15 s, 15 s in total, max 15MB each), e.g. a voice to follow.
resolution"768P" | "2K"
default "768P"
Output resolution: 768P or 2K. Priced per output second by resolution.
durationinteger
default 5
Output duration in seconds (4-15); must be at least the total reference video length (each clip rounded up). Billed per output second.
ratio"16:9" | "21:9" | "4:3" | "1:1" | "3:4" | "9:16" | "adaptive"
default "16:9"
Aspect ratio, or `adaptive` to follow the references.
webhook_urlstringHTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification.

Start building on Wide Labs Compute

Create an account, add credit and send your first request with the SDK you already use.