Skip to content

H3 Max Reframe

Integrate

Model id minimax/h3-max/reframe-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3-max/reframe-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Files like the example: $0.80 800 API credits your files are measured before the run Run it on this page

Get API key
MiniMax · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

0 / 50000

Optional instructions for the surrounding area to generate. The expansion process automatically captions the source.

•required video_url
Drop a file, or

Source video fitted to the target canvas without changing its timeline or audio. Accepted duration ranges from 0.25 to 300 seconds.

aspect_ratio default 16:9

Canvas proportions for outpainting around the source video. The entire source fits inside this canvas, with outpainting filling any uncovered area.

resolution default 768p

Canvas resolution profile, with 1080p obtained through learned latent upscaling rather than native reframing at that size. Its underlying reframe is generated natively at 768p.

Advanced seed · enable_safety_checker
POST /run/minimax/h3-max/reframe-video?wait=20 quote → $0.80
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3-max/reframe-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About H3 Max Reframe

Fits the source video (0.25 to 300 seconds) onto a target canvas and generates the surrounding area. `aspect_ratio` options are 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 and 9:21. An optional `prompt` guides the new surroundings. `resolution` is 480p, 768p or 1080p, with 1080p upscaled from a native 768p reframe.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptoptional
Typestring
Default
≤ 50,000 characters
Optional instructions for the surrounding area to generate. The expansion process automatically captions the source.
video_urlrequired video
Typeurl · video
Source video fitted to the target canvas without changing its timeline or audio. Accepted duration ranges from 0.25 to 300 seconds.
aspect_ratiooptional
Typeenum
Default16:9
16:99:161:14:33:421:99:21
Canvas proportions for outpainting around the source video. The entire source fits inside this canvas, with outpainting filling any uncovered area.
resolutionoptional
Typeenum
Default768p
480p768p1080p
Canvas resolution profile, with 1080p obtained through learned latent upscaling rather than native reframing at that size. Its underlying reframe is generated natively at 768p.
seedoptional
Typeinteger | null
0 – 4,294,967,295
enable_safety_checkeroptional
Typeboolean
Defaulttrue
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3-max/reframe-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 800,
    "usd": "0.80",
    "charged": 800,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "placement": {},
    "frame_count": 1,
    "frames_per_second": 24,
    "expanded_prompt": "string"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}
seed
integer
placement
object
frame_count
integer
frames_per_second
integer
expanded_prompt
string | null

More models: Video to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/minimax/h3-max/reframe-video.md. All models and guides: https://doitong.com/developers/llms.txt