Skip to content

MiniMax H3 (ComfyUI) video generation ​

The open MiniMax H3 weights, run on Civitai's own ComfyUI workers instead of MiniMax's hosted API. It is a fraction of the price of the hosted minimax-h3 engine, generates a clip with a native audio track, and accepts LoRAs, but it renders at up to 1344 px per side rather than 2K. Three operations: text- or frame-to-video, reference-images-to-video, and structure-controlled video-to-video.

Default choice: operation: "imageToVideo", duration: 5, the default 864×480. Add turbo: true for drafts: it costs a little over a third as much and finishes in under a minute.

Voice references (referenceAudios)

referenceAudios works on referenceToVideo with turbo: true, alongside images. Pass each clip as the original blob URL or the blob AIR of your upload. A redirected blob URL (one that looks like /blobs/content/<token>) is not accepted as an input and fails, even on a whatif=true preview.

Operations ​

operationWeightsWhat it does
imageToVideo (default)FL2VAText-to-video with no frames, or animate from firstFrame and/or towards lastFrame.
referenceToVideoREF2VAGenerate from up to 9 reference images, referred to as <Image 1>, <Image 2>… in the prompt.
controlVideoFL2VA + ControlNetVideo-to-video guided by a preprocessed structure map (depth, pose, edges).

The request shape ​

A single videoGen step on SubmitWorkflow. engine selects the ComfyUI path and operation selects the mode:

json
{
  "$type": "videoGen",
  "input": {
    "engine": "minimax-h3-comfy",
    "operation": "imageToVideo",
    "prompt": "…",
    "duration": 5
  }
}

Every operation shares these fields:

FieldDefaultNotes
engine— ✅"minimax-h3-comfy"
operation"imageToVideo"See the table above.
prompt— ✅
duration5Integer seconds, 4–15.
width / height864 / 48032–1344 each, and multiples of 32. Resolution does not change the price.
turbofalseFaster, cheaper distilled path. Good for drafts; can copy the layout of a busy reference image (see Troubleshooting).
steps201–60 sampling steps. Not billed.
fastfalseEnables EasyCache with its default configuration.
seedrandom
loras{}Map of LoRA AIR → strength, e.g. { "<lora-air>": 0.8 }. Use LoRAs trained for MiniMax H3.
diffusionModel—Override the base weights with an AIR. Leave unset unless you know you need it.

Text-to-video and image-to-video ​

imageToVideo with only a prompt is text-to-video. Add firstFrame to animate forward from a still, lastFrame to end on one, or both to interpolate between them.

http
POST https://orchestration.civitai.com/v2/consumer/workflows?wait=0
Authorization: Bearer <your-token>
Content-Type: application/json

{
  "steps": [{
    "$type": "videoGen",
    "input": {
      "engine": "minimax-h3-comfy",
      "operation": "imageToVideo",
      "prompt": "A golden retriever puppy running along a sunny beach, waves splashing, cinematic slow motion",
      "width": 864,
      "height": 480,
      "duration": 5
    }
  }]
}
POST/v2/consumer/workflows
Set your Civitai API token via the Token button in the navbar to enable Try It.
Request body — edit to customize (e.g. swap the image URL or prompt)
Valid JSON

With a first frame:

json
{
  "engine": "minimax-h3-comfy",
  "operation": "imageToVideo",
  "prompt": "Pull focus to the people in the background and add steam rising from the bowl",
  "firstFrame": "https://image.civitai.com/.../first-frame.jpeg",
  "duration": 5
}
POST/v2/consumer/workflows
Set your Civitai API token via the Token button in the navbar to enable Try It.
Request body — edit to customize (e.g. swap the image URL or prompt)
Valid JSON
FieldNotes
firstFrameOptional opening frame. A URL, data URL or base64 string.
lastFrameOptional closing frame. Same formats.

Reference-to-video ​

Pass 1–9 images and refer to them in the prompt as <Image 1>, <Image 2> and so on, in array order.

json
{
  "engine": "minimax-h3-comfy",
  "operation": "referenceToVideo",
  "prompt": "The video opens exactly on <Image 1>: same framing, background and lighting. The character from <Image 2> walks into the scene.",
  "images": [
    "https://image.civitai.com/.../start-frame.jpeg",
    "https://image.civitai.com/.../character.jpeg"
  ],
  "duration": 5,
  "turbo": true
}
POST/v2/consumer/workflows
Set your Civitai API token via the Token button in the navbar to enable Try It.
Request body — edit to customize (e.g. swap the image URL or prompt)
Valid JSON

To anchor the opening shot, put the start frame in images[0] and say so in the prompt, as above. Don't use the firstFrame field on this operation: it is in the schema, but a request combining it with images currently fails as soon as the job starts. A frame passed as <Image 1> with an explicit "opens exactly on" instruction does the same job.

FieldNotes
images[]1–9 reference images. URL, data URL or base64.
referenceAudios[]Voice clips to drive the performance. Original blob URL or blob AIR (see the note at the top).
firstFrameNot working yet in combination with images. Pass the frame as images[0] instead.

Control video ​

controlVideo re-renders a clip following the structure of a preprocessed control map. video must be a Civitai AIR (urn:air:…) or a Civitai-hosted URL of an already-preprocessed map; a raw video URL is rejected with a 400.

FieldDefaultNotes
video— ✅Preprocessed control map, as an AIR or Civitai-hosted URL.
strength10–10.
startPercent / endPercent0 / 1The portion of the sampling schedule the control applies to.

Reading the result ​

Standard videoGen output: a single video blob (shape and URL expiry).

json
{
  "video": {
    "id": "0W73QE15CNKRNJDJZFHVQSHTN0.mp4",
    "width": 864,
    "height": 480,
    "duration": 4.458,
    "available": true,
    "url": "https://orchestration-new.civitai.com/v2/consumer/blobs/0W73QE15CNKRNJDJZFHVQSHTN0.mp4?sig=…"
  }
}

The file is H.264 at 24 fps in an MP4 container, with an AAC audio track generated alongside the picture.

Runtime ​

A 4-second turbo clip at the default size finishes in under a minute. Standard (non-turbo) runs and longer clips take longer. Submit with wait=0 and collect the result via a webhook or by polling. See Results and webhooks.

Cost ​

Billed per second of output. Resolution, steps, fast and the number of reference images don't change the price. Preview the exact charge with whatif=true (Payments (Buzz)).

ModePer second5 s10 s15 s
Standard683406801020
turbo: true25125250375

For comparison, the hosted minimax-h3 engine is 170 Buzz per second at 2K.

whatif=true checks the request against the schema and prices it, but does not run it. A request that will fail at run time, such as one combining firstFrame with images, still gets a price.

Troubleshooting ​

SymptomCauseFix
400: "width and height must be multiples of 32"e.g. 1280×720Use multiples of 32, e.g. 1280×704 or 1344×768.
400: "At least one reference image or audio clip is required"referenceToVideo with no imagesPass at least one image.
400 on controlVideo mentioning a preprocessed AIRRaw video URL in videoPass a preprocessed control map as an AIR or Civitai-hosted URL.
Step fails immediately, no message, no chargefirstFrame together with images on referenceToVideoNot supported yet. Pass the frame as images[0] instead.
referenceAudios fails, or whatif returns 500Audio passed as a redirected blob URL (/blobs/content/<token>)Pass the original blob URL or the blob AIR.
Turbo output copies the grid of a multi-panel reference sheetTurbo can follow the reference image's layout too closelyPut a clean start frame in images[0], or turn turbo off.

Civitai Developer Documentation