Gemini Omni Flash 1.2
Text to video · Image to video · Video editing
Starting price $0.0433 / second
By MiniMax
The Turbo version of MiniMax H3 Max. Write a scene, set a first or last frame or extend a clip you already have, with up to 15 seconds of new video per run.
minimax/h3-max-turbo/extend-videoThis model has other modes with their own ids: minimax/h3-max-turbo/text-to-video, minimax/h3-max-turbo/image-to-video.
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/h3-max-turbo/extend-video",
"input": {
"video_url": "https://example.com/input.mp4",
"prompt": "The barista slides the finished cup across the counter, wipes her hands on her apron and turns to greet the next customer."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "minimax/h3-max-turbo/extend-video", "quote_id": "QUOTE_ID", "input": {"video_url":"https://example.com/input.mp4","prompt":"The barista slides the finished cup across the counter, wipes her hands on her apron and turns to greet the next customer."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
video_urlrequired | string (URL) | URL of the video to extend. Must be 1.625 s to 60 s long, up to 50 MB, aspect ratio between 0.4 and 2.5. |
promptrequired | string | What happens next. Describe the continuation, not the source. |
enable_prompt_expansion | boolean | Automatically enhance the prompt using the source video to help keep the continuation consistent. May increase processing time. |
duration | number | Seconds of new footage to add. The continuation clip also includes 1.625 seconds from the source's ending and may be longer because of frame rounding. |
resolution | string (enum) | Output video resolution. |
aspect_ratio | string (enum) | Output aspect ratio. 'auto' follows the source video. Other values crop the video to fit the selected ratio. |
seed | integer | Seed for the continuation. Random when omitted. |
output | string (enum) | 'extended' returns the source and new footage as one video. 'continuation' returns a clip that starts with a 1.625-second repeat of the source's ending, then shows the new footage. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
MiniMax H3 Max Turbo turns a written scene into a video of 1 to 15 seconds, in six aspect ratios from 21:9 to 9:16. It renders at 480P or 768P; the 1080P option refines a 768P render.
Its image mode can start from a first frame, end on a last frame, or both. The extend mode adds up to 15 seconds to your clip, at up to 2K, and returns the whole video or just the continuation. Before rendering it can rewrite a short prompt into a fuller one, and you can pin your own audio clip as the soundtrack.
Review motion, lettering and the soundtrack throughout; do not judge a video from its poster.