Introduction
MiniMax H3 LoRA Video extend continues a clip you already have. Send it as video_url with a prompt for what happens next. The final frame of your clip becomes the opening frame of a new MiniMax H3 LoRA image-to-video shot of 3 to 15 seconds, and the two are joined into one MP4: your original first, then the continuation, with the repeated seam frame removed. The new segment also comes back as its own file, so you can keep extending or edit the pieces separately.
Key features & highlights
Continuity comes from the last frame. Wardrobe, set, light and where everyone stands carry over because the new segment literally starts on your final frame. Motion does not carry over the same way: the model sees one still, not the whole clip, so describe the movement you want to continue instead of assuming it will keep its speed or direction.
One file back, plus the new piece on its own. The sound of your source stays and the sound of the new segment follows it. The first output asset is the joined clip (role video); the second is the new segment alone (role segment), ready for another extend or for an editor. The joined MP4 keeps your clip’s frame rate and its framing, with no black bars. To line the seam up, the picture may be trimmed or adjusted by a few percent at the edges. If the model returns a noticeably different shape, the new segment is scaled to fill your frame and centered, cropping what spills over.
Everything else is MiniMax H3 LoRA image-to-video. The new segment runs on the same routes, with the same content range and the same per-second price as the image-to-video endpoint, and a failed generation is refunded the same way. If the generation succeeds but the join itself cannot be built, the task fails and the charge is refunded.
Your LoRAs carry over. loras works exactly as on image-to-video: up to three files, each with its own strength, applied to the new segment. Load the same ones you used for the source clip and the style stays consistent across the join.
Optionally land the shot. Add last_image_url, a target closing frame, and the new segment comes to rest on that picture. It pins the ending, not the motion in between.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Required. What happens next: the action that follows, the camera move and the sound. at least 1 characters · at most 7000 characters |
video_url | Yes | The clip to continue: MP4, MOV or WebM, up to 60 seconds. Its final frame becomes the opening frame of the new segment, so cut it on a clean, sharp frame. at least 1 characters |
last_image_url | No | Optional target end frame: the new segment comes to rest on this picture. It pins the ending, not the motion in between. |
resolution | No | 480p, 540p, 768p or 1080p, default 480p. Pick the resolution of your source so the join looks even. |
duration_seconds | No | Length of the new segment: any whole number from 3 to 15, default 5. Your source is added on top and is not billed. |
loras | No | Up to three {path, scale} entries trained for MiniMax H3, scale 0 to 4, applied to the new segment. Default: |
seed | No | Optional, 0 to 2147483647. Hold it steady to compare one changed field at a time; leave it empty for variety. |
Pricing
Billed per second of the new segment at the resolution you choose; the source clip you send is not billed. Loading LoRAs adds no separate charge.
| Specification | Price |
|---|---|
| $0.05 / second |
| $0.075 / second |
| $0.10 / second |
| $0.20 / second |
Use cases
Lengthen a shot that ended too early: a product turntable that stops before the label faces camera, or a walk that cuts before the subject reaches the door. Extend it by a few seconds and describe only the remaining motion.
Build a longer sequence step by step. Generate a first shot, extend it, then extend the joined result again; each step bills only the seconds it adds. Because every step starts from a single frame, watch each seam before stacking the next one.
Prompt guide & pro tips
Describe the next beat, not the whole scene. The frame already fixes who and where, so spend the prompt on the action that follows, the camera move and the sound. Repeat the camera language your clip ended on, such as a slow push in or a locked shot, so the seam reads as one take.
Trim before you extend. The last frame is the only thing the model sees, so a blurred, mid-cut or heavily compressed ending carries straight into the continuation. Cut your source on a clean, sharp frame first. Sources of up to 60 seconds are accepted as MP4, MOV or WebM.
Keep the resolution consistent. Pick the resolution of your source so the join looks even, and set duration_seconds to the length you actually need: the charge follows the new segment only, at the rate of the resolution you choose.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "minimax/h3-lora/video-extend",
"input": {
"duration_seconds": 5,
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"resolution": "480p",
"video_url": "https://example.com/reference.mp4"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.










