Minimax H3 Singularity Reference To Video LoRA API Documentation
Playground
Try it on WaveSpeedAI!MiniMax H3 Singularity Open Weights Reference to Video with custom LoRA support generates coherent 480P / 540P / 768P videos from prompts and multimodal references, guided by up to 9 reference images, 3 reference videos, and 3 reference audios, with native stereo audio and flexible reference-based video generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
MiniMax H3 Singularity Reference-to-Video LoRA Open Weights runs the open-weights edition of MiniMax H3 Singularity with LoRA support on WaveSpeedAI. This endpoint is separate from the official minimax/h3 API and uses its own 480p / 768p / 1080p resolution options and per-second pricing.
Why Choose This?
-
Open-weights MiniMax H3 Singularity workflow
Use the open-weights edition of MiniMax H3 Singularity through WaveSpeedAI-hosted infrastructure. -
Multimodal reference guidance
Guide the output with reference images, reference videos, and reference audio. -
Native stereo audio
Generate visuals and synchronized stereo audio together in one pass. -
LoRA support
Load up to 3 LoRA weights per request, each with its own scale. -
Reference-aware prompting
Use tags such as<Picture 1>,<Video 1>, and<Audio 1>to assign clear roles to each input. -
Flexible aspect ratios
Supports landscape, vertical, square, classic, and cinematic aspect ratios.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Desired video instructions with references addressed as <Picture 1>, <Video 1>, <Audio 1>, plus an Audio: line for soundtrack guidance. |
| reference_images | No | Up to 9 reference image URLs. |
| reference_videos | No | Up to 3 reference video URLs, usable at any output resolution. Their soundtracks are used automatically. |
| reference_audios | No | Up to 3 standalone reference audio URLs. |
| aspect_ratio | No | Output aspect ratio: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, or 9:21. Default: 16:9. |
| resolution | No | Output resolution: 480p, 540p, 768p, or 1080p. Default: 480p. |
| duration | No | Output duration in seconds. Range: 3–15. Default: 5. |
| seed | No | Fixed seed for reproducible output. |
| loras | No | Up to 3 LoRA weights. Each item uses {path, scale}, where path is a LoRA file URL. |
At least one of reference_images or reference_videos is required. reference_audios can guide sound, voice, rhythm, or ambience, but audio cannot be used as the only reference input.
Reference Rules
- At least one reference image or reference video is required.
- Reference audio cannot be provided alone.
- Reference video soundtracks are picked up automatically.
- Total reference video duration is capped at 15 seconds.
- Longer reference video inputs may be trimmed within the 15-second budget.
How to Use
- Add reference media — Provide reference images or reference videos. Add reference audio when soundtrack, voice, rhythm, or ambience guidance is needed.
- Write the prompt — Use
<Picture 1>,<Video 1>, and<Audio 1>tags to explain how each reference should be used. - Choose aspect ratio — Select the output format that matches your target platform or composition.
- Choose resolution — Use
480pfor lower-cost generation,540pfor a mid-price step up,768pfor the model’s native canvas, or1080pfor full-HD output. Reference videos work at either; they are conformed to a 480p pixel budget internally, so they stay affordable at 768p. - Set duration — Choose a duration from
3to15seconds. - Add LoRAs optional — Provide up to 3 LoRA files with individual scale values.
- Set seed optional — Use a fixed seed when reproducibility is needed.
- Submit — Generate the final MP4 with native stereo audio.
Pricing
Pricing is based on generated video duration, reference video duration, selected resolution, and the number of reference images and audios.
| Item | Price |
|---|---|
| Output video (480p) | $0.06 / second |
| Output video (540p) | $0.09 / second |
| Output video (768p) | $0.135 / second |
| Output video (1080p) | $0.27 / second |
| Reference video (480p output) | $0.06 / second |
| Reference video (540p output) | $0.09 / second |
| Reference video (768p output) | $0.135 / second |
| Reference video (1080p output) | $0.27 / second |
| Reference image | $0.02 each |
| Reference audio | $0.02 each |
Output duration and total reference video duration are each capped at 15 seconds for pricing. Reference video duration is rounded up to the next whole second.
Example: a 10s 480p output with 2 reference images and a 5s reference video costs 10 × $0.06 + 2 × $0.02 + 5 × $0.06 = $0.94.
Best Use Cases
- Reference-guided video generation — Use images, videos, and audio to guide identity, setting, motion, or sound.
- Character-consistent scenes — Generate videos that follow character or style references.
- Motion transfer and camera guidance — Use reference videos to guide motion, pacing, or camera rhythm.
- Audio-guided generation — Use reference audio to guide music, voice, ambience, or sound direction.
- LoRA-guided creative workflows — Combine references with LoRA weights for stronger style or subject control.
- Social and cinematic clips — Generate short videos for vertical, landscape, square, or cinematic layouts.
Pro Tips
- Assign a clear job to every reference in the prompt.
- Use exact tags such as
<Picture 1>,<Video 1>, and<Audio 1>. - Write prompts as a timeline with timestamped beats.
- Add an
Audio:line to control soundtrack, ambience, voice, and effects. - Use reference videos when motion, gesture, pacing, or camera behavior matters.
- Use reference images when identity, subject appearance, setting, or style matters.
- Use reference audio when rhythm, mood, voice, or sound design matters.
- Use a fixed
seedwhen comparing reference combinations or LoRA scale changes. - Keep LoRA combinations focused; too many strong LoRAs can reduce control.
Model
Powered by the community MiniMax H3 Singularity v1.3 checkpoint. Supports the same reference input format as WaveSpeed MiniMax H3.
Related Models
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",
"aspect_ratio": "16:9",
"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/reference-to-video-lora" \
-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 video. Refer to reference inputs as <Picture 1>..<Picture 9>, <Video 1>..<Video 3>, and <Audio 1>..<Audio 3>. Audio is generated natively together with the video. | |
| reference_images | array<string> | No | - | 0 ~ 9 items | Reference image URLs (up to 9). At least one reference input is required. |
| reference_videos | array<string> | No | - | 0 ~ 3 items | Reference video URLs (up to 3, usable at any output resolution). Their soundtracks are used automatically. Total reference video duration is budgeted to 15 seconds; longer inputs are truncated fairly. |
| reference_audios | array<string> | No | - | 0 ~ 3 items | Standalone reference audio URLs (up to 3, trimmed to 15 seconds each). |
| aspect_ratio | string | No | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21 | Output aspect ratio. |
| 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. |
| loras | array<object> | No | 0 ~ 3 items | List of LoRAs to apply (max 3). | |
| 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 |