Minimax H3 Singularity Image To Video API Documentation
Playground
Try it on WaveSpeedAI!MiniMax H3 Singularity Open Weights Image to Video animates a first-frame image, optionally with last-frame guidance, into coherent 480P / 540P / 768P videos with native stereo audio, 5-15 second duration, flexible aspect ratios, and per-second billing. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Run the open-weights edition of MiniMax H3 Singularity on WaveSpeedAI’s own GPU infrastructure. This endpoint is separate from the official minimax/h3 API: same model family, independently hosted, with its own 480p/540p/768p/1080p resolutions and per-second pricing.
MiniMax H3 Singularity is an omni-modal video model that generates picture and native stereo audio in a single pass — dialogue, sound effects, and music are produced together during generation, never added as a separate dubbing step. Give it a first-frame image plus a prompt and it animates the scene with a matching soundtrack.
How to Write a Great Prompt
The image sets the look; the prompt directs the motion and the sound over time. Write it as a timeline, not a one-line description:
- Motion timeline — timestamped beats: “[0s-2s] she breathes and blinks … [2s-5s] a warm smile as the camera pushes in …”. Beats keep the animation moving instead of drifting.
- Camera — state it explicitly, including when it should hold: “slow push-in, then lock off, no cuts”.
- Audio — put every sound in an
Audio:line with entrance cues: “Audio: quiet room tone, a soft piano melody that swells at 3s.” Omit this and the model picks a soundtrack for you. - On-screen text — spell out any readable words in quotes and add “do not add other text, no subtitles.”
First / last frame (optional) — supply last_image to lock the ending; the model generates the motion between the first and last frames. Great for a controlled emotional arc.
Tips
- Use clear, well-lit images; the output canvas follows the input image’s aspect ratio.
- Verbs beat adjectives — write the action, not just the mood.
- Iterate at 5s, then deliver at your final length; a short negative list (“no extra people, no cuts”) is free.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Desired motion, camera movement, and an Audio: line for the soundtrack. |
| image | Yes | First-frame image URL. The output canvas follows this image’s aspect ratio. |
| last_image | No | Optional last-frame image URL. When set, the video interpolates from the first frame to this frame. |
| resolution | No | 480p (faster, lower cost), 540p (1.5x the 480p price), 768p (native canvas), or 1080p (full HD, 2x the 768p price). Default: 480p. |
| duration | No | Output length in seconds, 3–15. Default: 5. |
| seed | No | Fixed seed for reproducible output. |
Specifications
| Item | Detail |
|---|---|
| Output | MP4 with native stereo audio |
| Frame rate | 24 fps |
| Resolution | 480p, 540p, 768p, or 1080p |
| Duration | 3–15 seconds (snaps to the model’s frame grid, so a 5s request lands at ~5.2s) |
| Input | First-frame image (optional last frame for interpolation) |
| Seed | Supported |
Pricing
Billed per generated second:
| Resolution | Price per second | 5s | 15s |
|---|---|---|---|
| 480p | $0.05 | $0.25 | $0.75 |
| 540p | $0.075 | $0.375 | $1.125 |
| 768p | $0.1 | $0.5 | $1.5 |
| 1080p | $0.2 | $1 | $3 |
Explore the MiniMax H3 Singularity Open Weights Family
- MiniMax H3 Singularity Image-to-Video Open Weights — Animate a first-frame image with prompt-guided motion and audio.
- MiniMax H3 Singularity Reference-to-Video Open Weights — Generate video from image, video, or audio references with prompt guidance.
Powered by the community MiniMax H3 Singularity v1.3 checkpoint. First-frame conditioning follows the input image; reference-to-video is available separately.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"resolution": "480p",
"duration": 5
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/minimax-h3-singularity/image-to-video" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout|deleted) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
*) sleep 2 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | Text description of the desired motion, scene, and soundtrack. Audio is generated natively together with the video. | |
| image | string | Yes | - | First-frame image URL. The output canvas follows this image's aspect ratio. | |
| last_image | string | No | - | - | Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame. |
| resolution | string | No | 480p | 480p, 540p, 768p, 1080p | Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer). |
| duration | integer | No | 5 | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | Output video duration in seconds. |
| seed | integer | No | - | - | The random seed to use for the generation. -1 means a random seed will be used. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Task status. completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses. |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Status: completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |