This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.
Make sure you add your s3 details for the minimax_h3 server, so you can receive the video generated in your bucket.
Videos generated without s3 details being added will be deleted after 24 hours.
MiniMax H3 serves two image-to-video capabilities from this single endpoint, and nothing else in the
payload tells them apart — a single init_image is a valid request to either — so model_id is
required here:
model_id
What it does
h3-minimax-start-end-frame
Animates between a first and a last frame.
h3-minimax-r2v
Generates a video from a list of image, video and audio references.
A request without a valid model_id is rejected with:
json
{ "status": "error", "message": "model_id is required for image to video: send h3-minimax-start-end-frame to animate between a first and a last frame, or h3-minimax-r2v to generate from references."}
Request
Make a POST request to below endpoint and pass the required parameters as a request body.
curl
--request POST 'https://modelslab.com/api/v1/enterprise/minimax_h3/img2video' \
First & Last Frame
Reference to Video
Animates between two frames. Both are sent in init_image as a list of exactly two images — the
first frame, then the last frame. One image is not enough, and a third would be silently dropped, so
anything other than two is refused.
Body
json
{ "key": "enterprise_api_key", "model_id": "h3-minimax-start-end-frame", "prompt": "the camera pushes in slowly as the doors open", "init_image": [ "https://assets.modelslab.ai/generations/first-frame.png", "https://assets.modelslab.ai/generations/last-frame.png" ], "width": 1024, "height": 576, "duration": 5, "num_frames": 120, "num_inference_steps": 30, "seed": null, "instant_response": false, "temp": false, "base64": false, "webhook": null, "track_id": null}
Body Attributes
string
required
Your API Key used for request authorization.
string
default:"h3-minimax-start-end-frame"
required
Must be h3-minimax-start-end-frame for this mode.
string
required
Text prompt with a description of the motion you want between the two frames.
array
required
A list of exactly two images — the first frame, then the last frame. Each entry is a link to a valid PNG, JPEG or other image format file, or a base64 string.
number
Width of the generated frame. Must be a multiple of 32 and at most 1536. Must be sent together with height.
number
Height of the generated frame. Must be a multiple of 32 and at most 1536. Must be sent together with width.
number
Length of the generated video in seconds. Minimum is 5, maximum is 15.
number
The number of frames in the generated video. Minimum is 120, maximum is 345.
number
Number of denoising steps. Minimum is 1, maximum is 50.
number
Seed is used to reproduce results. The same seed will give you the same video again. Pass null for a random number.
boolean
default:"false"
Queue response instantly before processing finishes instead of waiting a minimum amount of time. default: false, options: true or false.
boolean
default:"false"
If true, stores the video in temporary storage which is cleaned every 24 hours. default: false, options: true or false.
boolean
default:"false"
Set to true when the images in init_image are sent as base64 strings instead of URLs. default: false, options: true or false.
string
Set a URL to get a POST API call once the video generation is complete.
string
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.
Generates a video from references. Images carry identity and style, videos carry motion and camera
work, and audio carries timbre or dialogue — any one of them is enough on its own, so at least one of
init_image, init_video or init_audio is required. The prompt is optional in this mode: with an
identity to follow, the references carry the shot.Each field takes a single reference as a string, or several as a list:
Field
Max references
init_image
9
init_video
3
init_audio
3
All fields combined
12
A data URI (data:image/png;base64,...) contains a comma of its own and cannot be combined with
other references in the same field. Send a single data URI per field, or send the references as
raw base64 strings or URLs.
Text prompt with a description of the things you want in the video. Optional in this mode — the model falls back to a prompt of its own when the references carry the shot.
string | array
One image reference, or a list of up to 9. Carries identity and style. Each entry is a link to a valid PNG, JPEG or other image format file, or a base64 string.
string | array
One video reference, or a list of up to 3. Carries motion and camera work.
string | array
One audio reference, or a list of up to 3. Carries timbre or dialogue.
number
Width of the generated frame. Must be a multiple of 32 and at most 1536. Must be sent together with height.
number
Height of the generated frame. Must be a multiple of 32 and at most 1536. Must be sent together with width.
number
Resolution of the generated output. Minimum is 320, maximum is 1536.
boolean
default:"true"
Let the model pick the output resolution from the references instead of holding it fixed. default: true, options: true or false.
number
Length of the generated video in seconds. Minimum is 5, maximum is 15.
number
The number of frames in the generated video. Minimum is 120, maximum is 345.
number
Number of denoising steps. Minimum is 1, maximum is 50.
number
default:"1"
Number of videos to be returned in the response. The maximum value is 4.
boolean
default:"false"
A checker for NSFW outputs. If such an output is detected, it will be replaced by a blank one. default: false, options: true or false.
number
Seed is used to reproduce results. The same seed will give you the same video again. Pass null for a random number.
boolean
default:"false"
Queue response instantly before processing finishes instead of waiting a minimum amount of time. default: false, options: true or false.
boolean
default:"false"
If true, stores the video in temporary storage which is cleaned every 24 hours. default: false, options: true or false.
boolean
default:"false"
Set to true when the references are sent as base64 strings instead of URLs. default: false, options: true or false.
string
Set a URL to get a POST API call once the video generation is complete.
string
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"ModelsLab","colors":{"primary":"#2563EB","light":"#60A5FA","dark":"#1D4ED8"},"logo":{"light":"https://mintcdn.com/mod/K2SxrSj_FZT4-cDs/logo/logo_new_light.png?fit=max\u0026auto=format\u0026n=K2SxrSj_FZT4-cDs\u0026q=85\u0026s=39afd25fd573ee6d8bd684d536c3f565","dark":"https://mintcdn.com/mod/K2SxrSj_FZT4-cDs/logo/logo_new_dark.png?fit=max\u0026auto=format\u0026n=K2SxrSj_FZT4-cDs\u0026q=85\u0026s=4f3641baf022bad1a5df5473c290cba0"},"favicon":"https://mintcdn.com/mod/Xe_I2k0P2zG5615S/favicon.png?fit=max\u0026auto=format\u0026n=Xe_I2k0P2zG5615S\u0026q=85\u0026s=eee181ec7ba56d1b0b8db87887c8be28","appearance":{"default":"system"},"background":{"color":{"light":"#FFFFFF","dark":"#111827"}},"navbar":{"links":[{"icon":"discord","href":"https://discord.com/invite/modelslab-1033301189254729748","label":"Discord","type":"discord"}],"primary":{"type":"button","label":"modelslab.com","href":"https://modelslab.com?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"}},"footer":{"socials":{"x":"https://x.com/ModelsLabAI","github":"https://github.com/ModelsLab","linkedin":"https://www.linkedin.com/company/stablediffusion"},"links":[{"header":"Resources","items":[{"label":"API Reference","href":"/api-reference"},{"label":"Quickstart Guide","href":"/quickstart"},{"label":"Client SDKs","href":"/sdk/python"},{"label":"Playground","href":"https://modelslab.com/playground?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"}]},{"header":"Company","items":[{"label":"ModelsLab","href":"https://modelslab.com?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"},{"label":"Pricing","href":"https://modelslab.com/pricing?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"},{"label":"Enterprise","href":"https://modelslab.com/enterprise?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"},{"label":"Support","href":"https://modelslab.com/support?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://modelslab.com/privacy-policy?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"},{"label":"Terms of Service","href":"https://modelslab.com/terms-of-service?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"}]}]},"fonts":{"family":"Geist","weight":400},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"banner":{"content":"⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · [Try Now](https://modelslab.com/models/modelslab/flux-klien-9B?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=banner)","dismissible":true},"contextual":{"options":["claude","copy","view","chatgpt","mcp","cursor","vscode",{"title":"Join our Discord","description":"Get help and share feature requests with the ModelsLab community.","icon":"discord","href":"https://discord.com/invite/modelslab-1033301189254729748"}],"display":"header"},"metadata":{"timestamp":false},"navigation":{"global":{"anchors":[{"anchor":"Support","icon":"headset","href":"https://modelslab.com/support?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mod","hasAudioNarration":false,"actualSubdomain":"mod","customDomains":["docs.modelslab.com"],"gitSource":{"type":"github","owner":"modelslab","repo":"docs-v2","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true,"edits":true,"agentFeedback":true},"entitlements":{},"buildId":"6ad1b9dc6468b56f672863e8","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Enterprise API","count":299},{"language":"default","tag":"Enterprise APIs","count":299},{"language":"default","tag":"API Reference","count":140},{"language":"default","tag":"Our AI APIs","count":139},{"language":"default","tag":"Image generation API","count":42},{"language":"default","tag":"Image Editing API","count":32},{"language":"default","tag":"Developer Guide","count":31},{"language":"default","tag":"Interior API","count":24},{"language":"default","tag":"Pony Model API","count":21},{"language":"default","tag":"Text to Image API","count":21}],"searchSettings":{"maxResults":10}},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwRGFWfOw.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwYGFWfOw.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwTGFWfOw.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n*{font-family:\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n \"Helvetica Neue\", Arial, sans-serif!important}h1,h2,h3,h4,h5,h6{font-family:\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n \"Helvetica Neue\", Arial, sans-serif!important;font-weight:600!important}p,span,div,li,a{font-family:\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n \"Helvetica Neue\", Arial, sans-serif!important;font-weight:400!important}code,pre{font-family:\"Geist Mono\", \"Monaco\", \"Cascadia Code\", \"Roboto Mono\", Consolas,\n \"Courier New\", monospace!important}::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}::-webkit-scrollbar-thumb{background-color:#d7e6ff;border-radius:12px}.dark ::-webkit-scrollbar-thumb{background-color:#868686;border-radius:12px}.custom-button{border:1px solid #0051ff;padding:5px 20px;border-radius:20px;height:40px;transition:500ms}.custom-button:hover{background-color:#0051ff;color:white;cursor:pointer}.custom-button p{margin-top:0;margin-bottom:0}.dark select option{background-color:#131313!important}.badge-new{display:inline-block;padding:2px 6px;font-size:10px;font-weight:500;background-color:#dbeafe;color:#1d4ed8;border-radius:4px;margin-left:8px;vertical-align:middle}.dark .badge-new{background-color:#1e3a8a;color:#93c5fd}#banner{background:linear-gradient(\n 110deg,\n #0a1628,\n #0d1f3c,\n #0f2d52,\n #0e3d6e,\n #0d4f8a,\n #1a6bb5,\n #2563eb,\n #1a6bb5,\n #0d4f8a,\n #0e3d6e,\n #0f2d52,\n #0d1f3c,\n #0a1628\n );background-size:200% 100%;animation:elegantFlow 20s ease-in-out infinite;position:relative;color:rgb(255, 255, 255);padding:12px 20px;overflow:hidden;box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)}#banner::after{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(\n 90deg,\n transparent,\n rgba(255, 255, 255, 0.1),\n transparent\n );animation:shine 6s ease-in-out infinite}@keyframes elegantFlow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes shine{0%{left:-100%}50%,100%{left:100%}}#banner *{color:white}#banner strong{font-weight:700}#banner a{text-decoration:underline;font-weight:500}#banner a:hover{opacity:0.8}"}],"page":{"pagePath":"enterprise-api/minimax-h3/img2video","slug":"/enterprise-api/minimax-h3/img2video","pageMetadata":{"title":"Image to Video","description":"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.","href":"/enterprise-api/minimax-h3/img2video"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`Make sure you add your `,_jsx(_components.a,{href:`/enterprise-api/general/update-s3-details.mdx`,children:`s3 details`}),` for the `,_jsx(_components.code,{children:`minimax_h3`}),` server, so you can receive the video generated in your bucket.\nVideos generated without s3 details being added will be deleted after `,_jsx(_components.strong,{children:`24 hours`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`MiniMax H3 serves two image-to-video capabilities from this single endpoint, and nothing else in the\npayload tells them apart — a single `,_jsx(_components.code,{children:`init_image`}),` is a valid request to either — so `,_jsx(_components.code,{children:`model_id`}),` is\n`,_jsx(_components.strong,{children:`required`}),` here:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`model_id`})}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`h3-minimax-start-end-frame`})}),_jsx(_components.td,{children:`Animates between a first and a last frame.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`h3-minimax-r2v`})}),_jsx(_components.td,{children:`Generates a video from a list of image, video and audio references.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A request without a valid `,_jsx(_components.code,{children:`model_id`}),` is rejected with:`]}),`\n`,_jsx(CodeBlock,{filename:`json`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"model_id is required for image to video: send h3-minimax-start-end-frame to animate between a first and a last frame, or h3-minimax-r2v to generate from references.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsxs(_components.p,{children:[`Make a `,_jsx(_components.code,{children:`POST`}),` request to below endpoint and pass the required parameters as a request body.`]}),`\n`,_jsx(CodeBlock,{filename:`curl`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`--request POST 'https://modelslab.com/api/v1/enterprise/minimax_h3/img2video' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`First \u0026 Last Frame`,id:`first-%26-last-frame`,\"data-child-heading-ids\":`[\"body\",\"body-attributes\"]`,children:[_jsxs(_components.p,{children:[`Animates between two frames. Both are sent in `,_jsx(_components.code,{children:`init_image`}),` as a list of `,_jsx(_components.strong,{children:`exactly two`}),` images — the\nfirst frame, then the last frame. One image is not enough, and a third would be silently dropped, so\nanything other than two is refused.`]}),_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),_jsx(CodeBlock,{filename:`json`,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"enterprise_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"model_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"h3-minimax-start-end-frame\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"the camera pushes in slowly as the doors open\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"init_image\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` \"https://assets.modelslab.ai/generations/first-frame.png\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` \"https://assets.modelslab.ai/generations/last-frame.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"width\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1024`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"height\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`576`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`5`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"num_frames\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`120`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"num_inference_steps\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`30`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"seed\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"instant_response\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"temp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"base64\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"webhook\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"track_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`body-attributes`,children:`Body Attributes`}),_jsx(ParamField,{query:`key`,type:`string`,required:true,placeholder:`Your API key`,id:`param-key`,children:_jsx(_components.p,{children:`Your API Key used for request authorization.`})}),_jsx(ParamField,{query:`model_id`,type:`string`,required:true,default:`h3-minimax-start-end-frame`,id:`param-model-id`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(`code`,{children:`h3-minimax-start-end-frame`}),` for this mode.`]})}),_jsx(ParamField,{query:`prompt`,type:`string`,required:true,placeholder:`Description of the motion`,id:`param-prompt`,children:_jsx(_components.p,{children:`Text prompt with a description of the motion you want between the two frames.`})}),_jsx(ParamField,{query:`init_image`,type:`array`,required:true,placeholder:`Exactly 2 image URLs`,id:`param-init-image`,children:_jsxs(_components.p,{children:[`A list of `,_jsx(_components.strong,{children:`exactly two`}),` images — the first frame, then the last frame. Each entry is a link to a valid PNG, JPEG or other image format file, or a base64 string.`]})}),_jsx(ParamField,{query:`width`,type:`number`,placeholder:`Max 1536`,id:`param-width`,children:_jsxs(_components.p,{children:[`Width of the generated frame. Must be a multiple of `,_jsx(_components.strong,{children:`32`}),` and at most `,_jsx(_components.strong,{children:`1536`}),`. Must be sent together with `,_jsx(_components.code,{children:`height`}),`.`]})}),_jsx(ParamField,{query:`height`,type:`number`,placeholder:`Max 1536`,id:`param-height`,children:_jsxs(_components.p,{children:[`Height of the generated frame. Must be a multiple of `,_jsx(_components.strong,{children:`32`}),` and at most `,_jsx(_components.strong,{children:`1536`}),`. Must be sent together with `,_jsx(_components.code,{children:`width`}),`.`]})}),_jsx(ParamField,{query:`duration`,type:`number`,placeholder:`5-15`,id:`param-duration`,children:_jsxs(_components.p,{children:[`Length of the generated video in seconds. Minimum is `,_jsx(_components.code,{children:`5`}),`, maximum is `,_jsx(_components.code,{children:`15`}),`.`]})}),_jsx(ParamField,{query:`num_frames`,type:`number`,placeholder:`120-345`,id:`param-num-frames`,children:_jsxs(_components.p,{children:[`The number of frames in the generated video. Minimum is `,_jsx(_components.code,{children:`120`}),`, maximum is `,_jsx(_components.code,{children:`345`}),`.`]})}),_jsx(ParamField,{query:`num_inference_steps`,type:`number`,placeholder:`1-50`,id:`param-num-inference-steps`,children:_jsxs(_components.p,{children:[`Number of denoising steps. Minimum is `,_jsx(_components.code,{children:`1`}),`, maximum is `,_jsx(_components.code,{children:`50`}),`.`]})}),_jsx(ParamField,{query:`seed`,type:`number`,placeholder:`Seed number or null`,id:`param-seed`,children:_jsxs(_components.p,{children:[`Seed is used to reproduce results. The same seed will give you the same video again. Pass `,_jsx(`em`,{children:`null`}),` for a random number.`]})}),_jsx(ParamField,{query:`instant_response`,type:`boolean`,default:`false`,id:`param-instant-response`,children:_jsxs(_components.p,{children:[`Queue response instantly before processing finishes instead of waiting a minimum amount of time. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`false`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`temp`,type:`boolean`,default:`false`,id:`param-temp`,children:_jsxs(_components.p,{children:[`If true, stores the video in temporary storage which is cleaned every 24 hours. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`false`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`base64`,type:`boolean`,default:`false`,id:`param-base64`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`true`}),` when the images in `,_jsx(_components.code,{children:`init_image`}),` are sent as base64 strings instead of URLs. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`false`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`webhook`,type:`string`,placeholder:`Webhook URL`,id:`param-webhook`,children:_jsx(_components.p,{children:`Set a URL to get a POST API call once the video generation is complete.`})}),_jsx(ParamField,{query:`track_id`,type:`string`,placeholder:`Tracking ID`,id:`param-track-id`,children:_jsx(_components.p,{children:`This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.`})})]}),_jsxs(Tab,{title:`Reference to Video`,id:`reference-to-video`,\"data-child-heading-ids\":`[\"body-2\",\"body-attributes-2\"]`,children:[_jsxs(_components.p,{children:[`Generates a video from references. Images carry identity and style, videos carry motion and camera\nwork, and audio carries timbre or dialogue — any one of them is enough on its own, so at least one of\n`,_jsx(_components.code,{children:`init_image`}),`, `,_jsx(_components.code,{children:`init_video`}),` or `,_jsx(_components.code,{children:`init_audio`}),` is required. The prompt is optional in this mode: with an\nidentity to follow, the references carry the shot.`]}),_jsx(_components.p,{children:`Each field takes a single reference as a string, or several as a list:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Max references`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`init_image`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`9`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`init_video`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`init_audio`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`All fields combined`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`12`})})]})]})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`A data URI (`,_jsx(_components.code,{children:`data:image/png;base64,...`}),`) contains a comma of its own and cannot be combined with\nother references in the same field. Send a single data URI per field, or send the references as\nraw base64 strings or URLs.`]})}),_jsx(Heading,{level:`2`,id:`body-2`,children:`Body`}),_jsx(CodeBlock,{filename:`json`,numberOfLines:`26`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"enterprise_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"model_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"h3-minimax-r2v\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"she turns to face the camera and smiles\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"init_image\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` \"https://assets.modelslab.ai/generations/reference-1.png\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` \"https://assets.modelslab.ai/generations/reference-2.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"init_video\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"https://assets.modelslab.ai/generations/motion-reference.mp4\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"init_audio\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"width\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1024`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"height\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`576`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`720`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"adaptive_resolution\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`5`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"num_frames\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`120`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"num_inference_steps\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`30`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"num_samples\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"safety_checker\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"seed\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"instant_response\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"temp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"base64\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"webhook\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"track_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`body-attributes-2`,children:`Body Attributes`}),_jsx(ParamField,{query:`key`,type:`string`,required:true,placeholder:`Your API key`,id:`param-key-1`,children:_jsx(_components.p,{children:`Your API Key used for request authorization.`})}),_jsx(ParamField,{query:`model_id`,type:`string`,required:true,default:`h3-minimax-r2v`,id:`param-model-id-1`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(`code`,{children:`h3-minimax-r2v`}),` for this mode.`]})}),_jsx(ParamField,{query:`prompt`,type:`string`,placeholder:`Description of the video`,id:`param-prompt-1`,children:_jsx(_components.p,{children:`Text prompt with a description of the things you want in the video. Optional in this mode — the model falls back to a prompt of its own when the references carry the shot.`})}),_jsx(ParamField,{query:`init_image`,type:`string | array`,placeholder:`Up to 9 image references`,id:`param-init-image-1`,children:_jsxs(_components.p,{children:[`One image reference, or a list of up to `,_jsx(_components.strong,{children:`9`}),`. Carries identity and style. Each entry is a link to a valid PNG, JPEG or other image format file, or a base64 string.`]})}),_jsx(ParamField,{query:`init_video`,type:`string | array`,placeholder:`Up to 3 video references`,id:`param-init-video`,children:_jsxs(_components.p,{children:[`One video reference, or a list of up to `,_jsx(_components.strong,{children:`3`}),`. Carries motion and camera work.`]})}),_jsx(ParamField,{query:`init_audio`,type:`string | array`,placeholder:`Up to 3 audio references`,id:`param-init-audio`,children:_jsxs(_components.p,{children:[`One audio reference, or a list of up to `,_jsx(_components.strong,{children:`3`}),`. Carries timbre or dialogue.`]})}),_jsx(ParamField,{query:`width`,type:`number`,placeholder:`Max 1536`,id:`param-width-1`,children:_jsxs(_components.p,{children:[`Width of the generated frame. Must be a multiple of `,_jsx(_components.strong,{children:`32`}),` and at most `,_jsx(_components.strong,{children:`1536`}),`. Must be sent together with `,_jsx(_components.code,{children:`height`}),`.`]})}),_jsx(ParamField,{query:`height`,type:`number`,placeholder:`Max 1536`,id:`param-height-1`,children:_jsxs(_components.p,{children:[`Height of the generated frame. Must be a multiple of `,_jsx(_components.strong,{children:`32`}),` and at most `,_jsx(_components.strong,{children:`1536`}),`. Must be sent together with `,_jsx(_components.code,{children:`width`}),`.`]})}),_jsx(ParamField,{query:`resolution`,type:`number`,placeholder:`320-1536`,id:`param-resolution`,children:_jsxs(_components.p,{children:[`Resolution of the generated output. Minimum is `,_jsx(_components.code,{children:`320`}),`, maximum is `,_jsx(_components.code,{children:`1536`}),`.`]})}),_jsx(ParamField,{query:`adaptive_resolution`,type:`boolean`,default:`true`,id:`param-adaptive-resolution`,children:_jsxs(_components.p,{children:[`Let the model pick the output resolution from the references instead of holding it fixed. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`true`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`duration`,type:`number`,placeholder:`5-15`,id:`param-duration-1`,children:_jsxs(_components.p,{children:[`Length of the generated video in seconds. Minimum is `,_jsx(_components.code,{children:`5`}),`, maximum is `,_jsx(_components.code,{children:`15`}),`.`]})}),_jsx(ParamField,{query:`num_frames`,type:`number`,placeholder:`120-345`,id:`param-num-frames-1`,children:_jsxs(_components.p,{children:[`The number of frames in the generated video. Minimum is `,_jsx(_components.code,{children:`120`}),`, maximum is `,_jsx(_components.code,{children:`345`}),`.`]})}),_jsx(ParamField,{query:`num_inference_steps`,type:`number`,placeholder:`1-50`,id:`param-num-inference-steps-1`,children:_jsxs(_components.p,{children:[`Number of denoising steps. Minimum is `,_jsx(_components.code,{children:`1`}),`, maximum is `,_jsx(_components.code,{children:`50`}),`.`]})}),_jsx(ParamField,{query:`num_samples`,type:`number`,default:`1`,placeholder:`1-4`,id:`param-num-samples`,children:_jsxs(_components.p,{children:[`Number of videos to be returned in the response. The maximum value is `,_jsx(_components.code,{children:`4`}),`.`]})}),_jsx(ParamField,{query:`safety_checker`,type:`boolean`,default:`false`,id:`param-safety-checker`,children:_jsxs(_components.p,{children:[`A checker for NSFW outputs. If such an output is detected, it will be replaced by a blank one. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`false`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`seed`,type:`number`,placeholder:`Seed number or null`,id:`param-seed-1`,children:_jsxs(_components.p,{children:[`Seed is used to reproduce results. The same seed will give you the same video again. Pass `,_jsx(`em`,{children:`null`}),` for a random number.`]})}),_jsx(ParamField,{query:`instant_response`,type:`boolean`,default:`false`,id:`param-instant-response-1`,children:_jsxs(_components.p,{children:[`Queue response instantly before processing finishes instead of waiting a minimum amount of time. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`false`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`temp`,type:`boolean`,default:`false`,id:`param-temp-1`,children:_jsxs(_components.p,{children:[`If true, stores the video in temporary storage which is cleaned every 24 hours. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`false`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`base64`,type:`boolean`,default:`false`,id:`param-base64-1`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`true`}),` when the references are sent as base64 strings instead of URLs. `,_jsx(`strong`,{children:`default`}),`: `,_jsx(`code`,{children:`false`}),`, `,_jsx(`strong`,{children:`options`}),`: `,_jsx(`code`,{children:`true`}),` or `,_jsx(`code`,{children:`false`}),`.`]})}),_jsx(ParamField,{query:`webhook`,type:`string`,placeholder:`Webhook URL`,id:`param-webhook-1`,children:_jsx(_components.p,{children:`Set a URL to get a POST API call once the video generation is complete.`})}),_jsx(ParamField,{query:`track_id`,type:`string`,placeholder:`Tracking ID`,id:`param-track-id-1`,children:_jsx(_components.p,{children:`This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Image to Video","description":"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.","href":"/enterprise-api/minimax-h3/img2video"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[],"tabId":"first-%26-last-frame"},{"title":"Body Attributes","slug":"body-attributes","depth":2,"children":[],"tabId":"first-%26-last-frame"},{"title":"Body","slug":"body-2","depth":2,"children":[],"tabId":"reference-to-video"},{"title":"Body Attributes","slug":"body-attributes-2","depth":2,"children":[],"tabId":"reference-to-video"}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/mod/6eb2aa98c83cfebc/scripts/jsonld.js"],"subdomain":"mod","siteName":"ModelsLab","title":"Image to Video - ModelsLab","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-24T15:11:19.656Z","originalFileLocation":"enterprise-api/minimax-h3/img2video.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ModelsLab\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Image to Video - ModelsLab\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ModelsLab\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mod.mintlify.site/_mintlify/api/og/v2?division=MiniMax+H3+API\u0026amp;title=Image+to+Video\u0026amp;description=This+endpoint+animates+between+a+first+and+a+last+frame%2C+or+generates+a+video+from+image%2C+video+and+audio+references%2C+using+the+MiniMax+H3+model.\u0026amp;theme=fab5815c3143e9e8890e778d\u0026amp;signature=0531660949644b3d6d3036d0f2c091cab0008b37e9bc3be2ee9e1fdcf58c1005\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Image to Video - ModelsLab\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mod.mintlify.site/_mintlify/api/og/v2?division=MiniMax+H3+API\u0026amp;title=Image+to+Video\u0026amp;description=This+endpoint+animates+between+a+first+and+a+last+frame%2C+or+generates+a+video+from+image%2C+video+and+audio+references%2C+using+the+MiniMax+H3+model.\u0026amp;theme=fab5815c3143e9e8890e778d\u0026amp;signature=0531660949644b3d6d3036d0f2c091cab0008b37e9bc3be2ee9e1fdcf58c1005\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mod/v3agxNKiEqN-iR8a/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ModelsLab\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/enterprise-api/minimax-h3/img2video.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.modelslab.com/#organization\",\"name\":\"ModelsLab\",\"url\":\"https://docs.modelslab.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mod/K2SxrSj_FZT4-cDs/logo/logo_new_light.png?fit=max\u0026auto=format\u0026n=K2SxrSj_FZT4-cDs\u0026q=85\u0026s=39afd25fd573ee6d8bd684d536c3f565\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.modelslab.com#website\",\"name\":\"ModelsLab\",\"url\":\"https://docs.modelslab.com\",\"publisher\":{\"@id\":\"https://docs.modelslab.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video#webpage\",\"url\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video\",\"name\":\"Image to Video\",\"description\":\"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.\",\"dateModified\":\"2026-08-24T15:11:19.656Z\",\"isPartOf\":{\"@id\":\"https://docs.modelslab.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Enterprise APIs\",\"item\":\"https://docs.modelslab.com/enterprise-api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MiniMax H3 API\",\"item\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Image to Video\",\"item\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video#article\",\"headline\":\"Image to Video\",\"name\":\"Image to Video\",\"description\":\"This endpoint animates between a first and a last frame, or generates a video from image, video and audio references, using the MiniMax H3 model.\",\"url\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video\",\"mainEntityOfPage\":{\"@id\":\"https://docs.modelslab.com/enterprise-api/minimax-h3/img2video#webpage\"},\"dateModified\":\"2026-08-24T15:11:19.656Z\",\"publisher\":{\"@id\":\"https://docs.modelslab.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.modelslab.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ModelsLab\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ModelsLab\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/enterprise-api/minimax-h3/img2video.md","siteName":"ModelsLab","nav":{"global":{"anchors":[{"anchor":"Support","icon":"headset","href":"https://modelslab.com/support?utm_source=docs.modelslab.com\u0026utm_medium=referral\u0026utm_campaign=docs\u0026utm_content=nav"}]},"tabs":[{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":""}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference"}]},{"tab":"Enterprise API","groups":[{"group":"Enterprise APIs","pages":[{"title":"Enterprise API Documentation","href":"/enterprise-api/overview"},{"group":"LLM Endpoint","pages":[{"title":"Enterprise LLM Endpoint","href":"/enterprise-api/llm-endpoint/overview"},{"title":"Chat Completions","href":"/enterprise-api/llm-endpoint/chat-completions"},{"title":"Files, Images and PDFs","href":"/enterprise-api/llm-endpoint/files"},{"title":"List Models","href":"/enterprise-api/llm-endpoint/list-models"},{"title":"Errors","href":"/enterprise-api/llm-endpoint/errors"}]},{"group":"Nano Banana API","pages":[{"title":"Enterprise Nano Banana API","href":"/enterprise-api/nano-banana/overview"},{"title":"Text to Image","href":"/enterprise-api/nano-banana/text-to-img"},{"title":"Image to Image","href":"/enterprise-api/nano-banana/img-to-img"},{"title":"Multi Reference","href":"/enterprise-api/nano-banana/multi-ref"},{"title":"Fetch Image","openapi":"POST /nano_banana/fetch/{id}","href":"/enterprise-api/nano-banana/fetch"},{"title":"Clear Cache","openapi":"POST /nano_banana/clear_cache","href":"/enterprise-api/nano-banana/clear-cache"},{"title":"Clear Queue","openapi":"POST /nano_banana/clear_queue","href":"/enterprise-api/nano-banana/clear-queue"},{"title":"Restart Server","openapi":"POST /nano_banana/restart_server","href":"/enterprise-api/nano-banana/restart-server"},{"title":"System Details","openapi":"POST /nano_banana/system_details","href":"/enterprise-api/nano-banana/system-details"},{"title":"Update Server","openapi":"POST /nano_banana/update_server","href":"/enterprise-api/nano-banana/update-server"}]},{"group":"Flux Klein API","pages":[{"title":"Enterprise FLUX Klein API","href":"/enterprise-api/flux-klein/overview"},{"title":"Text to Image","href":"/enterprise-api/flux-klein/text2img"},{"title":"Image to Image","href":"/enterprise-api/flux-klein/img2img"},{"title":"Fetch Image","openapi":"POST /flux_klein/fetch","href":"/enterprise-api/flux-klein/fetch"},{"title":"Clear Cache","openapi":"POST /flux_klein/clear_cache","href":"/enterprise-api/flux-klein/clear-cache"},{"title":"Clear Queue","openapi":"POST /flux_klein/clear_queue","href":"/enterprise-api/flux-klein/clear-queue"},{"title":"Restart Server","openapi":"POST /flux_klein/restart_server","href":"/enterprise-api/flux-klein/restart-server"},{"title":"System Details","openapi":"POST /flux_klein/system_details","href":"/enterprise-api/flux-klein/system-details"},{"title":"Update Server","openapi":"POST /flux_klein/update_server","href":"/enterprise-api/flux-klein/update-server"}]},{"group":"Krea 2 Turbo API","pages":[{"title":"Enterprise Krea 2 Turbo API","href":"/enterprise-api/krea-2-turbo/overview"},{"title":"Text to Image","href":"/enterprise-api/krea-2-turbo/text2img"},{"title":"Fetch Image","openapi":"POST /krea_2_turbo/fetch","href":"/enterprise-api/krea-2-turbo/fetch"},{"title":"Clear Cache","openapi":"POST /krea_2_turbo/clear_cache","href":"/enterprise-api/krea-2-turbo/clear-cache"},{"title":"Clear Queue","openapi":"POST /krea_2_turbo/clear_queue","href":"/enterprise-api/krea-2-turbo/clear-queue"},{"title":"Restart Server","openapi":"POST /krea_2_turbo/restart_server","href":"/enterprise-api/krea-2-turbo/restart-server"},{"title":"System Details","openapi":"POST /krea_2_turbo/system_details","href":"/enterprise-api/krea-2-turbo/system-details"},{"title":"Update Server","openapi":"POST /krea_2_turbo/update_server","href":"/enterprise-api/krea-2-turbo/update-server"}]},{"group":"MiniMax H3 API","pages":[{"title":"Enterprise MiniMax H3 API","href":"/enterprise-api/minimax-h3/overview"},{"title":"Text to Video","description":"This endpoint generates a video from a text prompt using the MiniMax H3 model.","href":"/enterprise-api/minimax-h3/text2video"},{"title":"Image to Video","href":"/enterprise-api/minimax-h3/img2video"},{"title":"Fetch Video","description":"Fetch Queued Videos API fetches queued videos for MiniMax H3.","openapi":"POST /minimax_h3/fetch/{id}","href":"/enterprise-api/minimax-h3/fetch"},{"title":"Clear Cache","openapi":"POST /minimax_h3/clear_cache","href":"/enterprise-api/minimax-h3/clear-cache"},{"title":"Clear Queue","openapi":"POST /minimax_h3/clear_queue","href":"/enterprise-api/minimax-h3/clear-queue"},{"title":"Restart Server","openapi":"POST /minimax_h3/restart_server","href":"/enterprise-api/minimax-h3/restart-server"},{"title":"System Details","openapi":"POST /minimax_h3/system_details","href":"/enterprise-api/minimax-h3/system-details"},{"title":"Update Server","openapi":"POST /minimax_h3/update_server","href":"/enterprise-api/minimax-h3/update-server"}]},{"group":"LTX 2.3 API","pages":[{"title":"Enterprise LTX 2.3 API","href":"/enterprise-api/ltx-2-3/overview"},{"title":"Text to Video","href":"/enterprise-api/ltx-2-3/text2video"},{"title":"Image to Video","href":"/enterprise-api/ltx-2-3/img2video"},{"title":"Fetch Video","openapi":"POST /ltx_2_3/fetch/{id}","href":"/enterprise-api/ltx-2-3/fetch"},{"title":"Clear Cache","openapi":"POST /ltx_2_3/clear_cache","href":"/enterprise-api/ltx-2-3/clear-cache"},{"title":"Clear Queue","openapi":"POST /ltx_2_3/clear_queue","href":"/enterprise-api/ltx-2-3/clear-queue"},{"title":"Restart Server","openapi":"POST /ltx_2_3/restart_server","href":"/enterprise-api/ltx-2-3/restart-server"},{"title":"System Details","openapi":"POST /ltx_2_3/system_details","href":"/enterprise-api/ltx-2-3/system-details"},{"title":"Update Server","openapi":"POST /ltx_2_3/update_server","href":"/enterprise-api/ltx-2-3/update-server"}]},{"group":"Qwen Edit 2.1 API","pages":[{"title":"Enterprise Qwen Edit 2.1 API","href":"/enterprise-api/qwen-2-1/overview"},{"title":"Text to Image","href":"/enterprise-api/qwen-2-1/text2img"},{"title":"Image to Image","href":"/enterprise-api/qwen-2-1/img2img"},{"title":"Fetch Image","openapi":"POST /qwen_edit_2_1/fetch/{id}","href":"/enterprise-api/qwen-2-1/fetch"},{"title":"Clear Cache","openapi":"POST /qwen_edit_2_1/clear_cache","href":"/enterprise-api/qwen-2-1/clear-cache"},{"title":"Clear Queue","openapi":"POST /qwen_edit_2_1/clear_queue","href":"/enterprise-api/qwen-2-1/clear-queue"},{"title":"Restart Server","openapi":"POST /qwen_edit_2_1/restart_server","href":"/enterprise-api/qwen-2-1/restart-server"},{"title":"System Details","openapi":"POST /qwen_edit_2_1/system_details","href":"/enterprise-api/qwen-2-1/system-details"},{"title":"Update Server","openapi":"POST /qwen_edit_2_1/update_server","href":"/enterprise-api/qwen-2-1/update-server"}]},{"group":"3D API","pages":[{"title":"Enterprise 3D API","href":"/enterprise-api/3d-api/overview"},{"title":"Text to 3D","href":"/enterprise-api/3d-api/text-to-3d"},{"title":"Image to 3D","href":"/enterprise-api/3d-api/image-to-3d"},{"title":"System Details","openapi":"POST /system_details","href":"/enterprise-api/3d-api/system-details"},{"title":"Restart Server","openapi":"POST /restart_server","href":"/enterprise-api/3d-api/restart-server"},{"title":"Clear Cache","openapi":"POST /clear_cache","href":"/enterprise-api/3d-api/clear-cache"},{"title":"Clear Queue","openapi":"POST /clear_queue","href":"/enterprise-api/3d-api/clear-queue"},{"title":"Fetch 3D","openapi":"POST /fetch/{id}","href":"/enterprise-api/3d-api/fetch"},{"title":"Update Server","openapi":"POST /update_server","href":"/enterprise-api/3d-api/update-server"}]},{"group":"Qwen API","pages":[{"title":"Enterprise Qwen API","href":"/enterprise-api/qwen/overview"},{"title":"Text to Image","href":"/enterprise-api/qwen/text-to-img"},{"title":"Image to Image","href":"/enterprise-api/qwen/img-to-img"},{"title":"Inpaint","href":"/enterprise-api/qwen/inpaint"},{"title":"System Details","openapi":"POST /qwen/system_details","href":"/enterprise-api/qwen/system-details"},{"title":"Restart Server","openapi":"POST /qwen/restart_server","href":"/enterprise-api/qwen/restart-server"},{"title":"Update Server","openapi":"POST /qwen/update_server","href":"/enterprise-api/qwen/update-server"},{"title":"Clear Cache","openapi":"POST /qwen/clear_cache","href":"/enterprise-api/qwen/clear-cache"},{"title":"Clear Queue","openapi":"POST /qwen/clear_queue","href":"/enterprise-api/qwen/clear-queue"},{"title":"Fetch Image","openapi":"POST /qwen/fetch/{id}","href":"/enterprise-api/qwen/fetch"}]},{"group":"Face Swap API","pages":[{"title":"Enterprise Face Swap API","href":"/enterprise-api/faceswap/overview"},{"title":"Specific Face Swap","href":"/enterprise-api/faceswap/specific-face-swap"},{"title":"Multiple Face Swap","href":"/enterprise-api/faceswap/multiple-face-swap"},{"title":"Single Video Swap","href":"/enterprise-api/faceswap/single-video-swap"},{"title":"Specific Video Swap","href":"/enterprise-api/faceswap/specific-video-swap"},{"title":"Fetch Queued Video","openapi":"POST /faceswap/fetch","href":"/enterprise-api/faceswap/fetch"},{"title":"Clear Cache","openapi":"POST /faceswap/clear_cache","href":"/enterprise-api/faceswap/clear-cache"},{"title":"Clear Queue","openapi":"POST /faceswap/clear_queue","href":"/enterprise-api/faceswap/clear-queue"},{"title":"Restart Server","openapi":"POST /faceswap/restart_server","href":"/enterprise-api/faceswap/restart-server"},{"title":"System Details","openapi":"POST /faceswap/system_details","href":"/enterprise-api/faceswap/system-details"},{"title":"Update Server","openapi":"POST /faceswap/update_server","href":"/enterprise-api/faceswap/update-server"}]},{"group":"Deepseek Chat API","pages":[{"title":"Enterprise DeepSeek Chat API","hidden":true,"href":"/enterprise-api/deepseek-chat/overview"},{"title":"Start Uncensored Chat","openapi":"POST /deepseek_chat/start","hidden":true,"href":"/enterprise-api/deepseek-chat/start"},{"title":"Restart Server","openapi":"POST /deepseek_chat/restart_server","hidden":true,"href":"/enterprise-api/deepseek-chat/restart-server"},{"title":"Clear Cache","openapi":"POST /deepseek_chat/clear_cache","hidden":true,"href":"/enterprise-api/deepseek-chat/clear-cache"}]},{"group":"Face Gen API","pages":[{"title":"Enterprise Face Generation API","href":"/enterprise-api/face-gen/overview"},{"title":"Face Generator","href":"/enterprise-api/face-gen/make-gen"},{"title":"Fetch Image","openapi":"POST /face_gen/fetch/{id}","href":"/enterprise-api/face-gen/fetch"},{"title":"System Details","openapi":"POST /face_gen/system_details","href":"/enterprise-api/face-gen/system-details"},{"title":"Restart Server","openapi":"POST /face_gen/restart_server","href":"/enterprise-api/face-gen/restart-server"},{"title":"Clear Cache","openapi":"POST /face_gen/clear_cache","href":"/enterprise-api/face-gen/clear-cache"},{"title":"Clear Queue","openapi":"POST /face_gen/clear_queue","href":"/enterprise-api/face-gen/clear-queue"},{"title":"Update Server","openapi":"POST /face_gen/update_server","href":"/enterprise-api/face-gen/update-server"}]},{"group":"Flux Kontext Dev API","pages":[{"title":"Enterprise FLUX Kontext Dev API","href":"/enterprise-api/flux-kontext-dev/overview"},{"title":"Image to Image","href":"/enterprise-api/flux-kontext-dev/image-to-image"},{"title":"Restart Server","openapi":"POST /enterprise/flux_kontext_dev/restart_server","href":"/enterprise-api/flux-kontext-dev/restart-server"},{"title":"System Details","openapi":"POST /enterprise/flux_kontext_dev/system_details","href":"/enterprise-api/flux-kontext-dev/system-details"},{"title":"Clear Cache","openapi":"POST /enterprise/flux_kontext_dev/clear_cache","href":"/enterprise-api/flux-kontext-dev/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/flux_kontext_dev/clear_queue","href":"/enterprise-api/flux-kontext-dev/clear-queue"},{"title":"Fetch Image","openapi":"POST /enterprise/flux_kontext_dev/fetch/{id}","href":"/enterprise-api/flux-kontext-dev/fetch-image"},{"title":"Update Server","openapi":"POST /enterprise/flux_kontext_dev/update_server","href":"/enterprise-api/flux-kontext-dev/update-server"}]},{"group":"Flux API","pages":[{"title":"Enterprise FLUX API","href":"/enterprise-api/flux/overview"},{"title":"Text to Image","href":"/enterprise-api/flux/text2img"},{"title":"Image to Image","href":"/enterprise-api/flux/img2img"},{"title":"Restart Server","openapi":"POST /flux/restart_server","href":"/enterprise-api/flux/restart-server"},{"title":"System Details","openapi":"POST /flux/system_details","href":"/enterprise-api/flux/system-details"},{"title":"Update Server","openapi":"POST /flux/update_server","href":"/enterprise-api/flux/update-server"},{"title":"Clear Cache","openapi":"POST /flux/clear_cache","href":"/enterprise-api/flux/clear-cache"},{"title":"Clear Queue","openapi":"POST /flux/clear_queue","href":"/enterprise-api/flux/clear-queue"},{"title":"Fetch Image","openapi":"POST /flux/fetch","href":"/enterprise-api/flux/fetch"}]},{"group":"Flux Headshot API","pages":[{"title":"Enterprise FLUX Headshot API","href":"/enterprise-api/flux-headshot/overview"},{"title":"Flux Head Shot","href":"/enterprise-api/flux-headshot/make-gen"},{"title":"Clear Cache","openapi":"POST /flux_headshot/clear_cache","href":"/enterprise-api/flux-headshot/clear-cache"},{"title":"Clear Queue","openapi":"POST /flux_headshot/clear_queue","href":"/enterprise-api/flux-headshot/clear-queue"},{"title":"Fetch Image","openapi":"POST /flux_headshot/fetch/{id}","href":"/enterprise-api/flux-headshot/fetch"},{"title":"Restart Server","openapi":"POST /flux_headshot/restart_server","href":"/enterprise-api/flux-headshot/restart-server"},{"title":"System Details","openapi":"POST /flux_headshot/system_details","href":"/enterprise-api/flux-headshot/system-details"},{"title":"Update Server","openapi":"POST /flux_headshot/update_server","href":"/enterprise-api/flux-headshot/update-server"}]},{"group":"General","pages":[{"title":"Enterprise General Settings","href":"/enterprise-api/general/overview"},{"title":"Update S3 Details","href":"/enterprise-api/general/update-s3-details"},{"title":"Reset S3 Details","href":"/enterprise-api/general/reset-s3"},{"title":"Subscription List","href":"/enterprise-api/general/subscription-list"}]},{"group":"Qwen Edit API","pages":[{"title":"Enterprise Qwen Edit API","href":"/enterprise-api/qwen-edit/overview"},{"title":"Qwen Edit","href":"/enterprise-api/qwen-edit/qwen-edit"},{"title":"Fashion","href":"/enterprise-api/qwen-edit/fashion"},{"title":"Outpainting","href":"/enterprise-api/qwen-edit/outpainting"},{"title":"Fetch Image","openapi":"POST /enterprise/image_editing/fetch/{id}","href":"/enterprise-api/qwen-edit/fetchimage"},{"title":"Clear Cache","openapi":"POST /enterprise/image_editing/clear_cache","href":"/enterprise-api/qwen-edit/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/image_editing/clear_queue","href":"/enterprise-api/qwen-edit/clear-queue"},{"title":"Restart Server","openapi":"POST /enterprise/image_editing/restart_server","href":"/enterprise-api/qwen-edit/restart-server"},{"title":"System Details","openapi":"POST /enterprise/image_editing/system_details","href":"/enterprise-api/qwen-edit/system-details"},{"title":"Update Server","openapi":"POST /enterprise/image_editing/update_server","href":"/enterprise-api/qwen-edit/update-server"}]},{"group":"Image Editing API","pages":[{"title":"Enterprise Image Editing API","href":"/enterprise-api/image-editing/overview"},{"title":"Face Generator","href":"/enterprise-api/image-editing/face-gen"},{"title":"Head Shot","href":"/enterprise-api/image-editing/head-shot"},{"title":"Mask Creator","href":"/enterprise-api/image-editing/mask_creator"},{"title":"Background Removal \u0026 Create mask","href":"/enterprise-api/image-editing/removebg-createmask"},{"title":"Fashion","href":"/enterprise-api/image-editing/fashion"},{"title":"Magic Mix","href":"/enterprise-api/image-editing/magic-mix"},{"title":"Object Removal","href":"/enterprise-api/image-editing/object-removal"},{"title":"Outpainting","href":"/enterprise-api/image-editing/outpainting"},{"title":"System Details","openapi":"POST /enterprise/image_editing/system_details","href":"/enterprise-api/image-editing/system-details"},{"title":"Clear Cache","openapi":"POST /enterprise/image_editing/clear_cache","href":"/enterprise-api/image-editing/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/image_editing/clear_queue","href":"/enterprise-api/image-editing/clear-queue"},{"title":"Fetch Image","openapi":"POST /enterprise/image_editing/fetch/{id}","href":"/enterprise-api/image-editing/fetchimage"},{"title":"Restart Server","openapi":"POST /enterprise/image_editing/restart_server","href":"/enterprise-api/image-editing/restart-server"},{"title":"Update Server","openapi":"POST /enterprise/image_editing/update_server","href":"/enterprise-api/image-editing/update-server"}]},{"group":"Image to Video Ultra API","pages":[{"title":"Enterprise Image to Video Ultra API","href":"/enterprise-api/image-to-video-ultra/overview"},{"title":"Image to Video Ultra","href":"/enterprise-api/image-to-video-ultra/imagetovideo"},{"title":"Clear Cache","openapi":"POST /image_to_video_ultra/clear_cache","href":"/enterprise-api/image-to-video-ultra/clear-cache"},{"title":"Clear Queue","openapi":"POST /image_to_video_ultra/clear_queue","href":"/enterprise-api/image-to-video-ultra/clear-queue"},{"title":"Fetch Video","openapi":"POST /image_to_video_ultra/fetch/{id}","href":"/enterprise-api/image-to-video-ultra/fetchvideo"},{"title":"Restart Server","openapi":"POST /image_to_video_ultra/restart_server","href":"/enterprise-api/image-to-video-ultra/restart-server"},{"title":"System Details","openapi":"POST /image_to_video_ultra/system_details","href":"/enterprise-api/image-to-video-ultra/system-details"},{"title":"Update Server","openapi":"POST /image_to_video_ultra/update_server","href":"/enterprise-api/image-to-video-ultra/update-server"}]},{"group":"Interior API","pages":[{"title":"Enterprise Interior Design API","href":"/enterprise-api/interior/overview"},{"title":"Exterior Restorer","href":"/enterprise-api/interior/exterior-restorer"},{"title":"Interior","href":"/enterprise-api/interior/make-interior"},{"title":"Specific Floor Planning","href":"/enterprise-api/interior/floor-planning"},{"title":"Scenario Changer","href":"/enterprise-api/interior/scenario-changer"},{"title":"Sketch Rendering","href":"/enterprise-api/interior/sketch-rendering"},{"title":"Decorator","href":"/enterprise-api/interior/room-decorator"},{"title":"Object Removal","href":"/enterprise-api/interior/object-removal"},{"title":"Clear Cache","openapi":"POST /interior/clear_cache","href":"/enterprise-api/interior/clear-cache"},{"title":"Clear Queue","openapi":"POST /interior/clear_queue","href":"/enterprise-api/interior/clear-queue"},{"title":"Fetch Image","openapi":"POST /interior/fetch/{id}","href":"/enterprise-api/interior/fetch"},{"title":"Restart Server","openapi":"POST /interior/restart_server","href":"/enterprise-api/interior/restart-server"},{"title":"System Details","openapi":"POST /interior/system_details","href":"/enterprise-api/interior/system-details"},{"title":"Update Server","openapi":"POST /interior/update_server","href":"/enterprise-api/interior/update-server"}]},{"group":"Realtime API","pages":[{"title":"Enterprise Realtime API","href":"/enterprise-api/realtime/overview"},{"title":"Text to Image","href":"/enterprise-api/realtime/text2img"},{"title":"Image to Image","href":"/enterprise-api/realtime/img2img"},{"title":"Inpainting","href":"/enterprise-api/realtime/inpaint"},{"title":"Clear Cache","openapi":"POST /realtime/clear_cache","href":"/enterprise-api/realtime/clear-cache"},{"title":"Clear Queue","openapi":"POST /realtime/clear_queue","href":"/enterprise-api/realtime/clear-queue"},{"title":"Fetch Image","openapi":"POST /realtime/fetch/{id}","href":"/enterprise-api/realtime/fetchimage"},{"title":"Restart Server","openapi":"POST /realtime/restart_server","href":"/enterprise-api/realtime/restart-server"},{"title":"System Details","openapi":"POST /realtime/system_details","href":"/enterprise-api/realtime/system-details"},{"title":"Update Server","openapi":"POST /realtime/update_server","href":"/enterprise-api/realtime/update-server"}]},{"group":"Super Resolution API","pages":[{"title":"Enterprise Super Resolution API","href":"/enterprise-api/super-resolution/overview"},{"title":"Super Resolution","href":"/enterprise-api/super-resolution/make"},{"title":"Clear Cache","openapi":"POST /super-resolution/clear_cache","href":"/enterprise-api/super-resolution/clear-cache"},{"title":"Clear Queue","openapi":"POST /super-resolution/clear_queue","href":"/enterprise-api/super-resolution/clear-queue"},{"title":"Fetch Image","openapi":"POST /super-resolution/fetch/{id}","href":"/enterprise-api/super-resolution/fetchimage"},{"title":"Restart Server","openapi":"POST /enterprise/super-resolution/restart_server","href":"/enterprise-api/super-resolution/restart-server"},{"title":"System Details","openapi":"POST /enterprise/super-resolution/system_details","href":"/enterprise-api/super-resolution/system-details"},{"title":"Update Server","openapi":"POST /enterprise/super-resolution/update_server","href":"/enterprise-api/super-resolution/update-server"}]},{"group":"Pony Model API","pages":[{"title":"Enterprise Pony Model API","href":"/enterprise-api/pony-model/overview"},{"title":"Text to Image","href":"/enterprise-api/pony-model/text2img"},{"title":"Image to Image","href":"/enterprise-api/pony-model/img2img"},{"title":"Inpainting","href":"/enterprise-api/pony-model/inpainting"},{"title":"Load Model V2","href":"/enterprise-api/pony-model/load-model-v2"},{"title":"Controlnet","href":"/enterprise-api/pony-model/controlnet-ep"},{"title":"Super Resolution","href":"/enterprise-api/pony-model/super-resolution"},{"title":"Load Model","href":"/enterprise-api/pony-model/load-model"},{"title":"Load Vae","href":"/enterprise-api/pony-model/load-vae"},{"title":"Sync Model","href":"/enterprise-api/pony-model/sync-model"},{"title":"NSFW Image Check","hidden":true,"href":"/enterprise-api/pony-model/nsfw-image-check"},{"title":"List Schedulers","href":"/enterprise-api/pony-model/list-schedulers"},{"title":"Verify Model","href":"/enterprise-api/pony-model/verify-model"},{"title":"Get All Models","href":"/enterprise-api/pony-model/get-all-models"},{"title":"Delete Model","href":"/enterprise-api/pony-model/delete-model"},{"title":"Upload Image","href":"/enterprise-api/pony-model/upload-image"},{"title":"Fetch Image","openapi":"POST /enterprise/pony/fetch","href":"/enterprise-api/pony-model/fetch-queue-image"},{"title":"Clear Cache","openapi":"POST /enterprise/pony/clear_cache","href":"/enterprise-api/pony-model/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/pony/clear_queue","href":"/enterprise-api/pony-model/clear-queue"},{"title":"System Details","openapi":"POST /enterprise/pony/system_details","href":"/enterprise-api/pony-model/system-details"},{"title":"Restart Server","openapi":"POST /enterprise/pony/restart_server","href":"/enterprise-api/pony-model/restart-server"},{"title":"Update Server","openapi":"POST /enterprise/pony/update_server","href":"/enterprise-api/pony-model/update-server"}]},{"group":"Text to Image API","pages":[{"title":"Enterprise Text to Image API","href":"/enterprise-api/text-to-image/overview"},{"title":"Text to Image","href":"/enterprise-api/text-to-image/text2img"},{"title":"Image to Image","href":"/enterprise-api/text-to-image/img2img"},{"title":"Inpainting","href":"/enterprise-api/text-to-image/inpainting"},{"title":"Load Model V2","href":"/enterprise-api/text-to-image/load-model-v2"},{"title":"Controlnet","href":"/enterprise-api/text-to-image/controlnet-ep"},{"title":"Super Resolution","href":"/enterprise-api/text-to-image/super-resolution"},{"title":"Load Model","href":"/enterprise-api/text-to-image/load-model"},{"title":"Load Vae","href":"/enterprise-api/text-to-image/load-vae"},{"title":"Sync Model","href":"/enterprise-api/text-to-image/sync-model"},{"title":"NSFW Image Check","hidden":true,"href":"/enterprise-api/text-to-image/nsfw-image-check"},{"title":"List Schedulers","href":"/enterprise-api/text-to-image/list-schedulers"},{"title":"Verify Model","href":"/enterprise-api/text-to-image/verify-model"},{"title":"Get All Models","href":"/enterprise-api/text-to-image/get-all-models"},{"title":"Delete Model","href":"/enterprise-api/text-to-image/delete-model"},{"title":"Upload Image","href":"/enterprise-api/text-to-image/upload-image"},{"title":"Fetch Image","openapi":"POST /enterprise/fetch","href":"/enterprise-api/text-to-image/fetch-queue-image"},{"title":"Clear Cache","openapi":"POST /enterprise/clear_cache","href":"/enterprise-api/text-to-image/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/clear_queue","href":"/enterprise-api/text-to-image/clear-queue"},{"title":"System Details","openapi":"POST /enterprise/system_details","href":"/enterprise-api/text-to-image/system-details"},{"title":"Restart Server","openapi":"POST /enterprise/restart_server","href":"/enterprise-api/text-to-image/restart-server"},{"title":"Update Server","openapi":"POST /enterprise/update_server","href":"/enterprise-api/text-to-image/update-server"}]},{"group":"Text to Video Ultra API","pages":[{"title":"Enterprise Text to Video Ultra API","href":"/enterprise-api/text-to-video-ultra/overview"},{"title":"Text to Video Ultra","href":"/enterprise-api/text-to-video-ultra/text-to-video-ultra"},{"title":"Clear Cache","openapi":"POST /text-to-video-ultra/clear_cache","href":"/enterprise-api/text-to-video-ultra/clear-cache"},{"title":"Clear Queue","openapi":"POST /text-to-video-ultra/clear_queue","href":"/enterprise-api/text-to-video-ultra/clear-queue"},{"title":"Fetch Video","openapi":"POST /text-to-video-ultra/fetch/{id}","href":"/enterprise-api/text-to-video-ultra/fetch-video"},{"title":"Restart Server","openapi":"POST /text-to-video-ultra/restart_server","href":"/enterprise-api/text-to-video-ultra/restart-server"},{"title":"System Details","openapi":"POST /text-to-video-ultra/system_details","href":"/enterprise-api/text-to-video-ultra/system-details"},{"title":"Update Server","openapi":"POST /text-to-video-ultra/update_server","href":"/enterprise-api/text-to-video-ultra/update-server"}]},{"group":"Text to Speech API","pages":[{"title":"Enterprise Text to Speech API","href":"/enterprise-api/text-to-speech/overview"},{"title":"Text to Speech","href":"/enterprise-api/text-to-speech/text-to-speech"},{"title":"Clear Cache","openapi":"POST /enterprise/text_to_speech/clear_cache","href":"/enterprise-api/text-to-speech/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/text_to_speech/clear_queue","href":"/enterprise-api/text-to-speech/clear-queue"},{"title":"Fetch Audio","openapi":"POST /enterprise/text_to_speech/fetch/{id}","href":"/enterprise-api/text-to-speech/fetch-audio"},{"title":"Restart Server","openapi":"POST /enterprise/text_to_speech/restart_server","href":"/enterprise-api/text-to-speech/restart-server"},{"title":"System Details","openapi":"POST /enterprise/text_to_speech/system_details","href":"/enterprise-api/text-to-speech/system-details"},{"title":"Update Server","openapi":"POST /enterprise/text_to_speech/update_server","href":"/enterprise-api/text-to-speech/update-server"}]},{"group":"Video API","pages":[{"title":"Enterprise Video API","href":"/enterprise-api/video/overview"},{"title":"Text to Video","href":"/enterprise-api/video/text-to-video"},{"title":"Image to Video","href":"/enterprise-api/video/img-to-video"},{"title":"Clear Cache","openapi":"POST /enterprise/video/clear_cache","href":"/enterprise-api/video/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/video/clear_queue","href":"/enterprise-api/video/clear-queue"},{"title":"Fetch Video","openapi":"POST /enterprise/video/fetch/{id}","href":"/enterprise-api/video/fetch-video"},{"title":"Restart Server","openapi":"POST /enterprise/video/restart_server","href":"/enterprise-api/video/restart-server"},{"title":"System Details","openapi":"POST /enterprise/video/system_details","href":"/enterprise-api/video/system-details"},{"title":"Update Server","openapi":"POST /enterprise/video/update_server","href":"/enterprise-api/video/update-server"}]},{"group":"Speech to Text API","pages":[{"title":"Enterprise Speech to Text API","href":"/enterprise-api/speech-to-text/overview"},{"title":"Speech To Text","openapi":"POST /enterprise/speech_to_text/transcribe","href":"/enterprise-api/speech-to-text/speech-to-text"},{"title":"Clear Cache","openapi":"POST /enterprise/speech_to_text/clear_cache","href":"/enterprise-api/speech-to-text/clear-cache"},{"title":"Clear Queue","openapi":"POST /enterprise/speech_to_text/clear_queue","href":"/enterprise-api/speech-to-text/clear-queue"},{"title":"Fetch","openapi":"POST /enterprise/speech_to_text/fetch/{id}","href":"/enterprise-api/speech-to-text/fetch-audio"},{"title":"Restart Server","openapi":"POST /enterprise/speech_to_text/restart_server","href":"/enterprise-api/speech-to-text/restart-server"},{"title":"System Details","openapi":"POST /enterprise/speech_to_text/system_details","href":"/enterprise-api/speech-to-text/system-details"},{"title":"Update Server","openapi":"POST /enterprise/speech_to_text/update_server","href":"/enterprise-api/speech-to-text/update-server"}]},{"group":"Voice Cloning API","pages":[{"title":"Enterprise Voice Cloning API","href":"/enterprise-api/voice-cloning/overview"},{"title":"Voice cloning","href":"/enterprise-api/voice-cloning/text-to-audio"},{"title":"Sound Effects (SFX)","href":"/enterprise-api/voice-cloning/sfx"},{"title":"MusicGen","href":"/enterprise-api/voice-cloning/music-gen"},{"title":"Voice to Voice","href":"/enterprise-api/voice-cloning/voice-to-voice"},{"title":"Speech To Text","href":"/enterprise-api/voice-cloning/speech-to-text"},{"title":"Voice Cover","href":"/enterprise-api/voice-cloning/voice-cover"},{"title":"Voice Upload","href":"/enterprise-api/voice-cloning/voice-upload"},{"title":"Clear Cache","openapi":"POST /voice-cloning/clear_cache","href":"/enterprise-api/voice-cloning/clear-cache"},{"title":"Clear Queue","openapi":"POST /voice-cloning/clear_queue","href":"/enterprise-api/voice-cloning/clear-queue"},{"title":"Fetch Voice","openapi":"POST /voice-cloning/fetch/{id}","href":"/enterprise-api/voice-cloning/fetch"},{"title":"Restart Server","openapi":"POST /voice-cloning/restart_server","href":"/enterprise-api/voice-cloning/restart-server"},{"title":"System Details","openapi":"POST /voice-cloning/system-details","href":"/enterprise-api/voice-cloning/system-details"},{"title":"Update Server","openapi":"POST /voice-cloning/update-server","href":"/enterprise-api/voice-cloning/update-server"}]},{"group":"Z Image Turbo API","pages":[{"title":"Enterprise Z Image Turbo API","href":"/enterprise-api/z-image-turbo/overview"},{"title":"Text to Image","href":"/enterprise-api/z-image-turbo/text2img"},{"title":"Image to Image","href":"/enterprise-api/z-image-turbo/img2img"},{"title":"Fetch Image","openapi":"POST /flux/fetch","href":"/enterprise-api/z-image-turbo/fetch"},{"title":"Clear Cache","openapi":"POST /flux/clear_cache","href":"/enterprise-api/z-image-turbo/clear-cache"},{"title":"Clear Queue","openapi":"POST /flux/clear_queue","href":"/enterprise-api/z-image-turbo/clear-queue"},{"title":"Restart Server","openapi":"POST /flux/restart_server","href":"/enterprise-api/z-image-turbo/restart-server"},{"title":"System Details","openapi":"POST /flux/system_details","href":"/enterprise-api/z-image-turbo/system-details"},{"title":"Update Server","openapi":"POST /flux/update_server","href":"/enterprise-api/z-image-turbo/update-server"}]},{"group":"Flux 2 Dev API","pages":[{"title":"Enterprise FLUX 2 Dev API","href":"/enterprise-api/flux-2-dev/overview"},{"title":"Text to Image","href":"/enterprise-api/flux-2-dev/text2img"},{"title":"Image to Image","href":"/enterprise-api/flux-2-dev/img2img"},{"title":"Fetch Image","openapi":"POST /flux/fetch","href":"/enterprise-api/flux-2-dev/fetch"},{"title":"Clear Cache","openapi":"POST /flux/clear_cache","href":"/enterprise-api/flux-2-dev/clear-cache"},{"title":"Clear Queue","openapi":"POST /flux/clear_queue","href":"/enterprise-api/flux-2-dev/clear-queue"},{"title":"Restart Server","openapi":"POST /flux/restart_server","href":"/enterprise-api/flux-2-dev/restart-server"},{"title":"System Details","openapi":"POST /flux/system_details","href":"/enterprise-api/flux-2-dev/system-details"},{"title":"Update Server","openapi":"POST /flux/update_server","href":"/enterprise-api/flux-2-dev/update-server"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/release-notes/api"}]},{"tab":"Open Source","pages":[{"title":"Open Source","href":"/open-source/modelq/overview"}]}]},"basePath":"","title":"Image to Video - ModelsLab","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["10e4515597"],"chunks":["BannerMarkdown-2rM1qxPw.js","dist-pFDdfjRe.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-5ydLOnhV.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}