curl --request POST \ --url https://openapi.imini.ai/imini/router/v1/videos/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "dashscope/happyhorse-1.0", "prompt": "A miniature city built from cardboard and bottle caps comes alive at night, with a cardboard train rolling past lit by tiny string lights.", "resolution": "720P", "aspect_ratio": "16:9", "duration": 5}'
{
"error": {
"code": "INVALID_PARAMETER",
"message": "aspect_ratio is not accepted in I2V mode (output follows first_frame)",
"status": 400,
"request_id": "req_abc123"
}
}
Video Models
HappyHorse 1.0
HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).
POST
/
v1
/
videos
/
generate
curl --request POST \ --url https://openapi.imini.ai/imini/router/v1/videos/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "dashscope/happyhorse-1.0", "prompt": "A miniature city built from cardboard and bottle caps comes alive at night, with a cardboard train rolling past lit by tiny string lights.", "resolution": "720P", "aspect_ratio": "16:9", "duration": 5}'
Output aspect ratio. Defaults to 16:9. Only accepted by text-to-video and reference-to-video. Image-to-video (first frame) follows the first frame; video edit follows the source video.
Reference image list. The combination of reference_type and reference_videos determines the input mode:
Image-to-video (first frame): 1 first_frame
Reference-to-video: 1–9 asset, no reference_videos
Video edit: 0–5 asset together with 1 reference_videos
Image requirements: format jpg / jpeg / png / webp; public URL or data:image/ base64; first-frame mode requires width/height ≥ 300 px, aspect ratio between 1:2.5 and 2.5:1, ≤ 10 MB per image; reference-to-video requires shorter side ≥ 400 px, 720P or higher recommended.
Editing requires exactly 1 video explicitly marked reference_type=edit_source, optionally with 0-5 asset images. Ordinary asset videos are ignored and do not trigger editing.
Video requirements: format mp4 / mov (H.264 recommended); duration 3 ~ 60s (anything beyond 15s is auto-truncated to the first 15s); long side ≤ 2160 px, short side ≥ 320 px; aspect ratio 1:2.5 ~ 2.5:1; ≤ 100 MB; FPS > 8.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"imini API","colors":{"primary":"#0070f3","light":"#60a5fa","dark":"#1d4ed8"},"logo":{"light":"https://s3.imini.ai/logo/light-logo.png","dark":"https://s3.imini.ai/logo/dark-logo.png","href":"https://www.imini.ai"},"favicon":"https://mintcdn.com/nexuslinelimited-1d434f54/GCBcSZh24foUV7UM/favicon.png?fit=max\u0026auto=format\u0026n=GCBcSZh24foUV7UM\u0026q=85\u0026s=b680557d291e930caac6ae9a9bcba31c","api":{"openapi":["zh/openapi/images/nano-banana.yaml","zh/openapi/images/nano-banana-pro.yaml","zh/openapi/images/nano-banana-2.yaml","zh/openapi/images/gpt-image-2.yaml","zh/openapi/images/task-query.yaml","zh/openapi/videos/kling-v3.yaml","zh/openapi/videos/kling-v3-omni.yaml","zh/openapi/videos/kling-v3-motion-control.yaml","zh/openapi/videos/seedance-2-0.yaml","zh/openapi/videos/seedance-2-0-fast.yaml","zh/openapi/videos/happyhorse-1-0.yaml","zh/openapi/videos/wan3-0-video.yaml","zh/openapi/videos/task-query.yaml","en/openapi/images/nano-banana.yaml","en/openapi/images/nano-banana-pro.yaml","en/openapi/images/nano-banana-2.yaml","en/openapi/images/gpt-image-2.yaml","en/openapi/images/task-query.yaml","en/openapi/videos/kling-v3.yaml","en/openapi/videos/kling-v3-omni.yaml","en/openapi/videos/kling-v3-motion-control.yaml","en/openapi/videos/seedance-2-0.yaml","en/openapi/videos/seedance-2-0-fast.yaml","en/openapi/videos/happyhorse-1-0.yaml","en/openapi/videos/wan3-0-video.yaml","en/openapi/videos/task-query.yaml"],"playground":{"display":"interactive"}},"background":{"decoration":"grid"},"navbar":{"primary":{"type":"button","label":"Get Started","href":"https://imini.ai"}},"footer":{"socials":{"website":"https://imini.ai"},"links":[{"header":"Model","items":[{"label":"Images","href":"https://imini.ai/tools/ai-image"},{"label":"Videos","href":"https://imini.ai/tools/ai-video"}]},{"header":"Docs","items":[{"label":"Guide","href":"/en/guide/introduction"},{"label":"API Reference","href":"/en/api-reference/images/nano-banana"},{"label":"Changelog","href":"/en/changelog/index"}]},{"header":"About","items":[{"label":"Privacy Policy","href":"/en/legal/privacy"},{"label":"Terms of Service","href":"/en/legal/terms"}]}]},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"en/guide/introduction"},{"language":"zh","href":"zh/guide/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nexuslinelimited-1d434f54","hasAudioNarration":false,"actualSubdomain":"nexuslinelimited-1d434f54","customDomains":["docs.imini.ai"],"gitSource":{"type":"github","owner":"imini-ai","repo":"imini-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ab26370bfea4537890440fc","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"en","tag":"API Reference","count":13},{"language":"zh","tag":"API 手册","count":13},{"language":"en","tag":"Video Models","count":8},{"language":"zh","tag":"视频模型 API","count":8},{"language":"en","tag":"Image Models","count":5},{"language":"zh","tag":"图像模型 API","count":5},{"language":"en","tag":"Terms \u0026 Policies","count":4},{"language":"zh","tag":"条款与协议","count":4},{"language":"en","tag":"Guide","count":3},{"language":"en","tag":"Quickstart","count":3},{"language":"zh","tag":"用户指南","count":3},{"language":"zh","tag":"快速开始","count":3},{"language":"en","tag":"Changelog","count":2},{"language":"zh","tag":"更新公告","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"llms-txt-v2","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-component-part=\"localization-select-trigger\"] .relative.size-4,[data-radix-popper-content-wrapper] [data-component-part] .relative.size-4{display:none}"}],"page":{"pagePath":"en/api-reference/videos/happyhorse-1-0","slug":"/en/api-reference/videos/happyhorse-1-0","pageMetadata":{"title":"HappyHorse 1.0","description":"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).","openapi":"en/openapi/videos/happyhorse-1-0.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/happyhorse-1-0"},"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: \"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"HappyHorse 1.0","description":"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).","openapi":"en/openapi/videos/happyhorse-1-0.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/happyhorse-1-0"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"HappyHorse 1.0","operationId":"generateHappyHorse10","security":["9b1f8acc-e509-4fee-bd35-afbb1573eb7a"],"description":"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).","requestBody":"2da8c16c-aed0-407c-9487-7ba48888b95e","responses":{"200":"fa927787-a14c-4e8c-ba2b-9a3af990ad4c","400":"c50ae68f-a6b8-4392-bc76-7a7d4010d3e4"},"method":"post","type":"path","servers":["eebcb58b-bdc9-4f17-8d0d-5c91f8d8a2eb"],"path":"/v1/videos/generate","baseUrlOptions":["https://openapi.imini.ai/imini/router"],"title":"HappyHorse 1.0","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model"],"properties":{"model":{"type":"string","description":"Fixed value `dashscope/happyhorse-1.0`.","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"prompt":{"type":"string","description":"Prompt, up to **5000** characters. Supports Chinese, English, Japanese, Korean, and other languages.\n\n> In reference-to-video mode, use `character1`, `character2`, … in the prompt to refer to the N-th image in `reference_images` (order matches the array).\n","example":"A miniature city built from cardboard and bottle caps comes alive at night, with a cardboard train rolling past lit by tiny string lights.","uniqueKey":"prompt","typeLabel":"string"},"resolution":{"type":"string","description":"Output resolution. Defaults to `1080P`.","default":"1080P","enum":["720P","1080P"],"uniqueKey":"resolution","typeLabel":"enum\u003cstring>"},"aspect_ratio":{"type":"string","description":"Output aspect ratio. Defaults to `16:9`. **Only accepted by text-to-video and reference-to-video.** Image-to-video (first frame) follows the first frame; video edit follows the source video.\n","default":"16:9","enum":["16:9","9:16","1:1","4:3","3:4"],"uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"},"duration":{"type":"integer","description":"Video duration (seconds). Defaults to `5`, integer in `3 ~ 15`. **Not accepted in video-edit mode** (output length follows the source video, capped at 15s).\n","default":5,"minimum":3,"maximum":15,"uniqueKey":"duration","typeLabel":"integer"},"reference_images":{"type":"array","description":"Reference image list. The combination of `reference_type` and `reference_videos` determines the input mode:\n- **Image-to-video (first frame)**: 1 `first_frame`\n- **Reference-to-video**: 1–9 `asset`, no `reference_videos`\n- **Video edit**: 0–5 `asset` together with 1 `reference_videos`\n\n> Image requirements: format `jpg` / `jpeg` / `png` / `webp`; public URL or `data:image/` base64; first-frame mode requires width/height ≥ 300 px, aspect ratio between 1:2.5 and 2.5:1, ≤ 10 MB per image; reference-to-video requires shorter side ≥ 400 px, 720P or higher recommended.\n","maxItems":9,"items":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Image address, supports two forms:\n**1)** Public URL (`http://` or `https://`);\n**2)** Data URI base64 (starting with `data:image/`).\n","isRequired":true,"uniqueKey":"reference_images.items.[INDEX].url","typeLabel":"string"},"reference_type":{"type":"string","description":"Reference type:\n- `asset` — generic asset reference (default)\n- `first_frame` — first frame\n\nOmitted, null, empty or unknown strings are treated as asset.","default":"asset","enum":["asset","first_frame"],"uniqueKey":"reference_images.items.[INDEX].reference_type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"reference_images.items.[INDEX]","typeLabel":"object"},"uniqueKey":"reference_images","typeLabel":"object[]"},"reference_videos":{"type":"array","description":"Editing requires exactly 1 video explicitly marked reference_type=edit_source, optionally with 0-5 asset images. Ordinary asset videos are ignored and do not trigger editing.\n\n> Video requirements: format `mp4` / `mov` (H.264 recommended); duration 3 ~ 60s (anything beyond 15s is auto-truncated to the first 15s); long side ≤ 2160 px, short side ≥ 320 px; aspect ratio 1:2.5 ~ 2.5:1; ≤ 100 MB; FPS > 8.\n","maxItems":1,"items":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public URL of the video; base64 not supported.","isRequired":true,"uniqueKey":"reference_videos.items.[INDEX].url","typeLabel":"string"},"reference_type":{"type":"string","description":"asset: reference video (default).\nedit_source: the original video to edit; select this explicitly for editing.\nThis model only consumes edit_source; ordinary asset videos are ignored.\nOmitted, null, empty or unknown strings are treated as asset.","default":"asset","enum":["asset","edit_source"],"uniqueKey":"reference_videos.items.[INDEX].reference_type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"reference_videos.items.[INDEX]","typeLabel":"object"},"uniqueKey":"reference_videos","typeLabel":"object[]"},"extra_params":{"type":"object","description":"Model extension parameters, all optional:\n- `audio_setting` — string, **only effective in video-edit mode**. Audio handling strategy:\n - `auto` (default): decided by the model\n - `origin`: keep the original audio of the source video\n","additionalProperties":true,"properties":{"audio_setting":{"type":"string","enum":["auto","origin"],"default":"auto","uniqueKey":"extra_params.audio_setting","typeLabel":"enum\u003cstring>"}},"uniqueKey":"extra_params","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Text to Video":{"title":"Text to Video","value":{"model":"dashscope/happyhorse-1.0","prompt":"A miniature city built from cardboard and bottle caps comes alive at night, with a cardboard train rolling past lit by tiny string lights.","resolution":"720P","aspect_ratio":"16:9","duration":5}},"Image to Video (first frame)":{"title":"Image to Video (first frame)","value":{"model":"dashscope/happyhorse-1.0","prompt":"A cat is running on the grass.","reference_images":[{"url":"https://cdn.translate.alibaba.com/r/wanx-demo-1.png","reference_type":"first_frame"}],"resolution":"720P","duration":5}},"Reference Images to Video":{"title":"Reference Images to Video","value":{"model":"dashscope/happyhorse-1.0","prompt":"A woman in a red qipao character1 gracefully unfolds a folding fan character2; her tasseled earrings character3 sway with each turn of her head.","reference_images":[{"url":"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/mvzfud/hh-v2v-girl.jpg","reference_type":"asset"},{"url":"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/fvuihk/hh-v2v2-folding-fan.jpg","reference_type":"asset"},{"url":"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/imerii/hh-v2v-earrings.jpg","reference_type":"asset"}],"resolution":"720P","aspect_ratio":"16:9","duration":5}},"Video Edit":{"title":"Video Edit","value":{"model":"dashscope/happyhorse-1.0","prompt":"Dress the horse-headed character in the video with the striped sweater shown in the reference image.","reference_videos":[{"url":"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260409/dozxak/Wan_Video_Edit_33_1.mp4","reference_type":"edit_source"}],"reference_images":[{"url":"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260415/hynnff/wan-video-edit-clothes.webp","reference_type":"asset"}],"resolution":"720P","extra_params":{"audio_setting":"origin"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"fa927787-a14c-4e8c-ba2b-9a3af990ad4c":{"description":"Submission accepted (asynchronous mode)","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","description":"Unique task ID, used for polling.","example":"task_2044275355061448704","uniqueKey":"task_id","typeLabel":"string"},"model":{"type":"string","description":"Model ID used for this task.","example":"dashscope/happyhorse-1.0","uniqueKey":"model","typeLabel":"string"},"created_at":{"type":"string","description":"Task creation time (ISO 8601)","example":"2026-04-27T10:43:20.233Z","uniqueKey":"created_at","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID.","example":"67e2e394-cf6f-4998-b293-ebf20d14dc26","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"task_id":"task_2044275355061448704","model":"dashscope/happyhorse-1.0","created_at":"2026-04-27T10:43:20.233Z","request_id":"67e2e394-cf6f-4998-b293-ebf20d14dc26"}}},"exampleType":"generated"}},"exampleType":"generated"},"c50ae68f-a6b8-4392-bc76-7a7d4010d3e4":{"description":"Validation Error (e.g. invalid parameter, invalid prompt)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Error code","example":"INVALID_PARAMETER","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message details","example":"aspect_ratio is not accepted in I2V mode (output follows first_frame)","uniqueKey":"error.message","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code","example":400,"uniqueKey":"error.status","typeLabel":"integer"},"request_id":{"type":"string","description":"Unique request identifier","example":"req_abc123","uniqueKey":"error.request_id","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_PARAMETER","message":"aspect_ratio is not accepted in I2V mode (output follows first_frame)","status":400,"request_id":"req_abc123"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9b1f8acc-e509-4fee-bd35-afbb1573eb7a":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Pass `Authorization: Bearer \u003cYOUR_API_KEY>` in the request header. Go to the [API Keys management page](https://imini.ai/api-keys) to create and manage API Keys.\n","scopes":[]}}},"servers":{"eebcb58b-bdc9-4f17-8d0d-5c91f8d8a2eb":{"url":"https://openapi.imini.ai/imini/router"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Pass `Authorization: Bearer \u003cYOUR_API_KEY>` in the request header. Go to the [API Keys management page](https://imini.ai/api-keys) to create and manage API Keys.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Pass `Authorization: Bearer \u003cYOUR_API_KEY>` in the request header. Go to the [API Keys management page](https://imini.ai/api-keys) to create and manage API Keys.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"en/openapi/videos/happyhorse-1-0.yaml"},"subdomain":"nexuslinelimited-1d434f54","siteName":"imini API","title":"HappyHorse 1.0 - imini API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/videos/happyhorse-1-0","matchLevel":0},"zh":{"href":"/zh/api-reference/videos/happyhorse-1-0","matchLevel":1}}},"lastModified":"2026-04-27T12:09:05.066Z","originalFileLocation":"en/api-reference/videos/happyhorse-1-0.mdx","locale":"en"},"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=\"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).\">\u003cmeta data-mint-head name=\"application-name\" content=\"imini API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"HappyHorse 1.0 - imini API\">\u003cmeta data-mint-head property=\"og:description\" content=\"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"imini API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nexuslinelimited-1d434f54.mintlify.site/_mintlify/api/og/v2?division=Video+Models\u0026amp;title=HappyHorse+1.0\u0026amp;description=HappyHorse+1.0+video+generation+model.+Supports+text-to-video%2C+image-to-video+%28first+frame%29%2C+reference-to-video+%28multi-image%29%2C+and+video+editing+%28video+%2B+refere\u0026amp;theme=c12d0a0a12aeb7d40999b664\u0026amp;signature=8a30982444c07d3f6348b1c5bf76316c73d2a616aef11024734bf8d2a5e6be4d\">\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=\"HappyHorse 1.0 - imini API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nexuslinelimited-1d434f54.mintlify.site/_mintlify/api/og/v2?division=Video+Models\u0026amp;title=HappyHorse+1.0\u0026amp;description=HappyHorse+1.0+video+generation+model.+Supports+text-to-video%2C+image-to-video+%28first+frame%29%2C+reference-to-video+%28multi-image%29%2C+and+video+editing+%28video+%2B+refere\u0026amp;theme=c12d0a0a12aeb7d40999b664\u0026amp;signature=8a30982444c07d3f6348b1c5bf76316c73d2a616aef11024734bf8d2a5e6be4d\">\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/nexuslinelimited-1d434f54/JvxomuF8W3hNJ1Ya/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"imini API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0070f3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/videos/happyhorse-1-0.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.imini.ai/zh/api-reference/videos/happyhorse-1-0\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.imini.ai/#organization\",\"name\":\"imini API\",\"url\":\"https://docs.imini.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://s3.imini.ai/logo/light-logo.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.imini.ai#website\",\"name\":\"imini API\",\"url\":\"https://docs.imini.ai\",\"publisher\":{\"@id\":\"https://docs.imini.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0#webpage\",\"url\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0\",\"name\":\"HappyHorse 1.0\",\"description\":\"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).\",\"dateModified\":\"2026-04-27T12:09:05.066Z\",\"isPartOf\":{\"@id\":\"https://docs.imini.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Video Models\",\"item\":\"https://docs.imini.ai/en/api-reference/videos/task-query\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HappyHorse 1.0\",\"item\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0#apireference\",\"headline\":\"HappyHorse 1.0\",\"name\":\"HappyHorse 1.0\",\"description\":\"HappyHorse 1.0 video generation model. Supports text-to-video, image-to-video (first frame), reference-to-video (multi-image), and video editing (video + reference images).\",\"url\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0\",\"mainEntityOfPage\":{\"@id\":\"https://docs.imini.ai/en/api-reference/videos/happyhorse-1-0#webpage\"},\"dateModified\":\"2026-04-27T12:09:05.066Z\",\"publisher\":{\"@id\":\"https://docs.imini.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.imini.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"imini API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"imini API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/videos/happyhorse-1-0.md","siteName":"imini API","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/en/guide/introduction"}]},{"tab":"API Reference","groups":[{"group":"Image Models","pages":[{"title":"Get Task","openapi":"en/openapi/images/task-query.yaml GET /v1/images/tasks/{task_id}","href":"/en/api-reference/images/task-query"},{"title":"Nano Banana","openapi":"en/openapi/images/nano-banana.yaml POST /v1/images/generate","href":"/en/api-reference/images/nano-banana"},{"title":"Nano Banana Pro","openapi":"en/openapi/images/nano-banana-pro.yaml POST /v1/images/generate","href":"/en/api-reference/images/nano-banana-pro"},{"title":"Nano Banana 2","openapi":"en/openapi/images/nano-banana-2.yaml POST /v1/images/generate","href":"/en/api-reference/images/nano-banana-2"},{"title":"GPT Image 2","openapi":"en/openapi/images/gpt-image-2.yaml POST /v1/images/generate","href":"/en/api-reference/images/gpt-image-2"}]},{"group":"Video Models","pages":[{"title":"Get Task","openapi":"en/openapi/videos/task-query.yaml GET /v1/videos/tasks/{task_id}","href":"/en/api-reference/videos/task-query"},{"title":"Seedance 2.0","openapi":"en/openapi/videos/seedance-2-0.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/seedance-2-0"},{"title":"Seedance 2.0 Fast","description":"Seedance 2.0 Fast video generation model (with or without audio). A lightweight, faster variant of Seedance 2.0 with identical capabilities and parameters.","openapi":"en/openapi/videos/seedance-2-0-fast.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/seedance-2-0-fast"},{"title":"HappyHorse 1.0","openapi":"en/openapi/videos/happyhorse-1-0.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/happyhorse-1-0"},{"title":"Wan 3.0 Video","description":"Wan 3.0 standard: text-to-video, first/last frames and multimodal references.","openapi":"en/openapi/videos/wan3-0-video.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/wan3-0-video"},{"title":"Kling v3","openapi":"en/openapi/videos/kling-v3.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/kling-v3"},{"title":"Kling v3 Omni","openapi":"en/openapi/videos/kling-v3-omni.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/kling-v3-omni"},{"title":"Kling v3 Motion Control","openapi":"en/openapi/videos/kling-v3-motion-control.yaml POST /v1/videos/generate","href":"/en/api-reference/videos/kling-v3-motion-control"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/en/changelog"}]},{"tab":"Terms \u0026 Policies","pages":[{"title":"Terms \u0026 Policies","href":"/en/legal/privacy"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/videos/happyhorse-1-0"}]}]},"basePath":"","title":"HappyHorse 1.0 - imini API","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}