Create MiniMax H3 Max — Image To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/minimax/h3-max/image-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive",
"duration": 5,
"resolution": "768P",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"image_url": "https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png",
"aspect_ratio": "16:9"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/minimax/h3-max/image-to-video"
payload = { "input": {
"prompt": "Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive",
"duration": 5,
"resolution": "768P",
"enable_safety_checker": True,
"prompt_expansion_mode": "balanced",
"image_url": "https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png",
"aspect_ratio": "16:9"
} }
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: 'Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive',
duration: 5,
resolution: '768P',
enable_safety_checker: true,
prompt_expansion_mode: 'balanced',
image_url: 'https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png',
aspect_ratio: '16:9'
}
})
};
fetch('https://api.apisale.ai/v1/run/minimax/h3-max/image-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 Max — Image To Video
MiniMax H3 Max — flagship quality at 480P/768P native. Optimized for image to video via apisale.
POST
/
v1
/
run
/
minimax
/
h3-max
/
image-to-video
Create MiniMax H3 Max — Image To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/minimax/h3-max/image-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive",
"duration": 5,
"resolution": "768P",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"image_url": "https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png",
"aspect_ratio": "16:9"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/minimax/h3-max/image-to-video"
payload = { "input": {
"prompt": "Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive",
"duration": 5,
"resolution": "768P",
"enable_safety_checker": True,
"prompt_expansion_mode": "balanced",
"image_url": "https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png",
"aspect_ratio": "16:9"
} }
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: 'Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive',
duration: 5,
resolution: '768P',
enable_safety_checker: true,
prompt_expansion_mode: 'balanced',
image_url: 'https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png',
aspect_ratio: '16:9'
}
})
};
fetch('https://api.apisale.ai/v1/run/minimax/h3-max/image-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 Max — flagship quality at 480P/768P native. Optimized for image 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-max/image-to-video
| Model slug | minimax/h3-max/image-to-video |
| Category | Image to Video (image-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 |
Official price = vendor list price. apisale price = what you pay through apisale.
Request
{
"input": {
"prompt": "Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive",
"duration": 5,
"resolution": "768P",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"image_url": "https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png",
"aspect_ratio": "16:9"
}
}
Parameters
Fields marked * are required. UseAuthorization: Key YOUR_API_KEY for REST.
number
Optional random seed.
string
required
Text prompt for video generation.
number
Duration in seconds (5-15). Default:
5 Range: 5 – 15string
Optional first-frame image URL; output aspect ratio follows this image. When omitted the request behaves as text-to-video (16:9).
string
The native generation resolution of the video. Default:
768P Values: 480P, 768Pstring
Optional last-frame image URL, for first-to-last keyframe generation.
boolean
Default:
truestring
balanced ~1s; quality up to ~30s on a richer prompt. Default:
balanced Values: 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 for video generation."
},
"duration": {
"max": 15,
"min": 5,
"type": "int",
"default": 5,
"description": "Duration in seconds (5-15)."
},
"image_url": {
"type": "media",
"description": "Optional first-frame image URL; output aspect ratio follows this image. When omitted the request behaves as text-to-video (16:9)."
},
"resolution": {
"type": "enum",
"values": [
"480P",
"768P"
],
"default": "768P",
"description": "The native generation resolution of the video."
},
"end_image_url": {
"type": "media",
"description": "Optional last-frame image URL, for first-to-last keyframe generation."
},
"enable_safety_checker": {
"type": "bool",
"default": true
},
"prompt_expansion_mode": {
"type": "enum",
"values": [
"balanced",
"quality"
],
"default": "balanced",
"description": "balanced ~1s; 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-max/image-to-video",
"model": "image-to-video",
"capability": "video",
"mode": "image-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-max/image-to-video" \
-H "Authorization: Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive",
"duration": 5,
"sync_mode": false,
"resolution": "768P",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"image_url": "https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png",
"aspect_ratio": "16:9"
}
}'
Related
Authorizations
Key sk-... (native REST) or Bearer sk-... (vendor SDKs)
Body
application/json
Show child attributes
Show child attributes
Example:
{
"prompt": "Subtle breath and eye blink, fabric micro-motion, keep face and wardrobe locked, editorial still coming alive",
"duration": 5,
"resolution": "768P",
"enable_safety_checker": true,
"prompt_expansion_mode": "balanced",
"image_url": "https://assets.apisale.ai/permanent/official/rehosted/alibaba/happy-horse/v1-1/image-to-video/a2ea393c5882.png",
"aspect_ratio": "16:9"
}
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
