Create MiniMax H3 — Reference To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/minimax/h3/reference-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"reference_image_urls": [
"https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png"
]
}
}
'import requests
url = "https://api.apisale.ai/v1/run/minimax/h3/reference-to-video"
payload = { "input": {
"prompt": "Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive",
"enable_safety_checker": True,
"prompt_expansion_mode": "balanced",
"reference_image_urls": ["https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png"]
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
prompt: 'Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting',
duration: 5,
resolution: '2K',
aspect_ratio: 'adaptive',
enable_safety_checker: true,
prompt_expansion_mode: 'balanced',
reference_image_urls: [
'https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png'
]
}
})
};
fetch('https://api.apisale.ai/v1/run/minimax/h3/reference-to-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Minimax
MiniMax H3 — Reference To Video
MiniMax H3 cinematic video at 480P–4K; text / image / reference. Optimized for reference to video via apisale.
POST
/
v1
/
run
/
minimax
/
h3
/
reference-to-video
Create MiniMax H3 — Reference To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/minimax/h3/reference-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"reference_image_urls": [
"https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png"
]
}
}
'import requests
url = "https://api.apisale.ai/v1/run/minimax/h3/reference-to-video"
payload = { "input": {
"prompt": "Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive",
"enable_safety_checker": True,
"prompt_expansion_mode": "balanced",
"reference_image_urls": ["https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png"]
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
prompt: 'Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting',
duration: 5,
resolution: '2K',
aspect_ratio: 'adaptive',
enable_safety_checker: true,
prompt_expansion_mode: 'balanced',
reference_image_urls: [
'https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png'
]
}
})
};
fetch('https://api.apisale.ai/v1/run/minimax/h3/reference-to-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Overview
MiniMax H3 cinematic video at 480P–4K; text / image / reference. Optimized for reference to video via apisale.Docs = API contract + Try it (snapshot). Explore = browser playground. Model page = product examples.
Endpoint
POST https://api.apisale.ai/v1/run/minimax/h3/reference-to-video
| Model slug | minimax/h3/reference-to-video |
| Category | Reference to Video (reference-to-video) |
| Lab | Minimax |
| Mode | async |
Pricing
From $0.035/sec apisale price is 30% below the vendor’s official list price.| Tier | Unit | Official price | apisale price |
|---|---|---|---|
| 480P | second | $0.050 | $0.035 |
| 768P | second | $0.080 | $0.056 |
| 2K | second | $0.130 | $0.091 |
| 4K | second | $0.160 | $0.112 |
Official price = vendor list price. apisale price = what you pay through apisale.
Request
{
"input": {
"prompt": "Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"reference_image_urls": [
"https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png"
]
}
}
Parameters
Fields marked * are required. UseAuthorization: Key YOUR_API_KEY for REST.
number
Optional random seed.
string
required
Text prompt; refer to reference assets by modality and order: Image 1, Image 2, Video 1, Audio 1.
number
Duration in seconds (5-15). Default:
5 Range: 5 – 15string
480P and 768P are native generation modes; 2K and 4K upscale a 768P base result. Default:
2K Values: 480P, 768P, 2K, 4Kstring
Default:
adaptive Values: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16array
Reference audio clips, 2-15s each, combined at most 15s; audio cannot be the only reference input.
array
Subject/style reference images; all references (images + videos + audio) at most 12 files combined.
array
Motion/reference video clips, 2-15s each, combined at most 15s.
boolean
Default:
truestring
fast ~1s; balanced picks per request; quality up to ~30s on a richer prompt. Default:
balanced Values: fast, balanced, qualitystring
Optional HTTPS webhook when the run reaches a terminal state.
boolean
Block until completion (same Run response shape).
Input schema
Input schema
{
"params": {
"seed": {
"type": "int",
"description": "Optional random seed."
},
"prompt": {
"type": "string",
"required": true,
"description": "Text prompt; refer to reference assets by modality and order: Image 1, Image 2, Video 1, Audio 1."
},
"duration": {
"max": 15,
"min": 5,
"type": "int",
"default": 5,
"description": "Duration in seconds (5-15)."
},
"resolution": {
"type": "enum",
"values": [
"480P",
"768P",
"2K",
"4K"
],
"default": "2K",
"description": "480P and 768P are native generation modes; 2K and 4K upscale a 768P base result."
},
"aspect_ratio": {
"type": "enum",
"values": [
"adaptive",
"21:9",
"16:9",
"4:3",
"1:1",
"3:4",
"9:16"
],
"default": "adaptive"
},
"reference_audio_urls": {
"type": "array<media>",
"max_items": 12,
"description": "Reference audio clips, 2-15s each, combined at most 15s; audio cannot be the only reference input."
},
"reference_image_urls": {
"type": "array<media>",
"max_items": 12,
"description": "Subject/style reference images; all references (images + videos + audio) at most 12 files combined."
},
"reference_video_urls": {
"type": "array<media>",
"max_items": 12,
"description": "Motion/reference video clips, 2-15s each, combined at most 15s."
},
"enable_safety_checker": {
"type": "bool",
"default": true
},
"prompt_expansion_mode": {
"type": "enum",
"values": [
"fast",
"balanced",
"quality"
],
"default": "balanced",
"description": "fast ~1s; balanced picks per request; quality up to ~30s on a richer prompt."
}
}
}
Submit response
Returns a Run withrun_id. Poll with GET /v1/runs/{run_id} or use Try it above.
string
required
Unique run ID — save for polling and webhooks.
string
required
queued (async) or terminal state for sync runs.object
Result when
status is succeeded — see Output schema below.Example (async submit)
{
"run_id": "run_550e8400-e29b-41d4-a716-446655440000",
"endpoint": "minimax/h3/reference-to-video",
"model": "reference-to-video",
"capability": "video",
"mode": "reference-to-video",
"status": "queued",
"output": null,
"error": null,
"billing": null,
"created_at": "2026-06-27T12:00:00.000Z",
"started_at": null,
"completed_at": null,
"elapsed_ms": null
}
Output
Whenstatus is succeeded, output follows this schema:
Output schema
Output schema
{
"type": "object",
"example": {
"videos": [
{
"url": "https://example.com/out.mp4",
"content_type": "video/mp4"
}
]
},
"required": [
"videos"
],
"properties": {
"videos": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
},
"file_name": {
"type": "string"
},
"content_type": {
"type": "string"
}
}
}
}
},
"description": "Succeeded task output: single video URL."
}
Example
curl -X POST "https://api.apisale.ai/v1/run/minimax/h3/reference-to-video" \
-H "Authorization: Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting",
"duration": 5,
"sync_mode": false,
"resolution": "2K",
"aspect_ratio": "adaptive",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"reference_image_urls": [
"https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png"
]
}
}'
Related
Authorizations
Key sk-... (native REST) or Bearer sk-... (vendor SDKs)
Body
application/json
Show child attributes
Show child attributes
Example:
{
"prompt": "Arrange the skincare bottle from the reference on marble with eucalyptus and jasmine, slow camera, spa lighting",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"reference_image_urls": [
"https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png"
]
}
Response
201 - application/json
Run accepted
Unique run identifier
Model slug
Available options:
queued, processing, succeeded, failed, timeout, cancelled Show child attributes
Show child attributes
Show child attributes
Show child attributes
