This endpoint only accepts kling-4-0/long-image. Each task produces exactly one long image; the number of images cannot be set.
Fields that belong to one skill cannot be sent with the other — mixing them returns a 400 validation error.
Pricing
One long image per task at the official price, plus $0.003 for every input image (image_urls, style_image, subject_image):
Type
Length
1K
2K
ecommerce
short (2–5 sections)
$0.235
$0.282
ecommerce
medium (6–10 sections)
$0.47
$0.549
ecommerce
long (11–18 sections)
$0.784
$0.862
webpage
—
$0.549
$0.596
Body Parameters
string
required
Model to use: kling-4-0/long-image.
object
required
Input parameters for the generation.
Show properties
string
required
What to generate:
ecommerce — a product detail page. Requires image_urls; supports length.
webpage — a web page design. Supports style_image and subject_image.
string
required
Text description of the page. Maximum length: 20000 characters.
ecommerce: mention product images as @image_1, @image_2 … in the order of image_urls.
webpage: mention style_image as @style and subject_image as @subject.
Any @ directly followed by a letter, digit, underscore or Chinese character is treated as a reference,
so email addresses and @handles fail validation — use a full-width @ or put a space after @.
string[]
ecommerce only (required): 1–3 publicly accessible JPG/PNG product images, max 20 MB each.
Recommended: width and height at least 300 px, aspect ratio between 2:5 and 5:2 — images outside
this range are accepted but make the task fail during generation.
string
default:"medium"
ecommerce only. Page length: short (about 2–5 sections), medium (about 6–10) or long (about 11–18).
A section is a content block within the single long image.
string
webpage only. Style reference image URL (JPG/PNG, max 20 MB); its visual style and layout are borrowed. Mention it as @style.
string
webpage only. Subject reference image URL (JPG/PNG, max 20 MB); the subject is kept in the design. Mention it as @subject.
string
default:"2K"
Output resolution: 1K or 2K (case-insensitive).
string
URL to receive a webhook when the task completes.
object
Custom key-value metadata to attach to the task.
curl -X POST https://api.modelhunter.ai/api/v1/kling/long-image \ -H "Authorization: Bearer $MODELHUNTER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "kling-4-0/long-image", "input": { "skill": "ecommerce", "prompt": "A product detail page for @image_1, clean white background, highlight the key features section by section", "image_urls": ["https://example.com/product.png"], "length": "short", "resolution": "1K" } }'
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"ModelHunter.AI","colors":{"primary":"#F97316","light":"#FB923C","dark":"#EA580C"},"favicon":"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/favicon.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=fb2751ef59c730c04ccf55c7c3233344","logo":{"light":"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/light.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=f9c962a304e4151541c466b2589c0457","dark":"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/dark.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=cac88b8721efcde83bafdce955315a27"},"api":{"playground":{"display":"simple"},"mdx":{"server":"https://api.modelhunter.ai","auth":{"method":"bearer","name":"Authorization"}}},"background":{"decoration":null,"color":{"light":null,"dark":"#0A0A0A"}},"navbar":{"links":[{"label":"Dashboard","href":"https://modelhunter.ai/dashboard"},{"label":"Pricing","href":"https://modelhunter.ai/pricing"}],"primary":{"type":"button","label":"Get API Key","href":"https://modelhunter.ai/register"}},"footer":{"socials":{"github":"https://github.com/modelhunter","discord":"https://discord.gg/modelhunter","x":"https://x.com/modelhunter"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"riverapi","hasAudioNarration":false,"actualSubdomain":"riverapi","customDomains":["docs.modelhunter.ai"],"gitSource":{"type":"github","owner":"funpunk","repo":"modelhunter-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b05538820d83e4a6efdacac","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API Reference","count":44},{"language":"default","tag":"Videos","count":22},{"language":"default","tag":"Images","count":11},{"language":"default","tag":"Documentation","count":9},{"language":"default","tag":"Kling","count":6},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Gemini","count":4},{"language":"default","tag":"Wan","count":4},{"language":"default","tag":"Kling Image","count":3},{"language":"default","tag":"LLMs","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"@media (min-width: 1440px){.max-w-8xl{max-width:1700px!important}[class*=\"peer-[.is-not-custom]:peer-[.is-not-center]:max-w-8xl\"]{max-width:1700px!important}}@media (min-width: 1920px){.max-w-8xl{max-width:1880px!important}[class*=\"peer-[.is-not-custom]:peer-[.is-not-center]:max-w-8xl\"]{max-width:1880px!important}}"}]}
{"page":{"pagePath":"api-reference/kling/long-image","slug":"/api-reference/kling/long-image","pageMetadata":{"title":"Long Image","api":"POST https://api.modelhunter.ai/api/v1/kling/long-image","description":"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.","href":"/api-reference/kling/long-image"},"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: \"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.\"\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={code:`code`,li:`li`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`models`,children:`Models`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Model`}),_jsx(_components.th,{children:`Types`}),_jsx(_components.th,{children:`Resolutions`}),_jsx(_components.th,{children:`Output`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`kling-4-0/long-image`}),` — Kling Image 4.0 Long Image`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ecommerce`}),`, `,_jsx(_components.code,{children:`webpage`})]}),_jsx(_components.td,{children:`1K, 2K`}),_jsx(_components.td,{children:`one long image per task`})]})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint only accepts `,_jsx(_components.code,{children:`kling-4-0/long-image`}),`. Each task produces exactly one long image; the number of images cannot be set.\nFields that belong to one `,_jsx(_components.code,{children:`skill`}),` cannot be sent with the other — mixing them returns a `,_jsx(_components.code,{children:`400`}),` validation error.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`pricing`,children:`Pricing`}),`\n`,_jsxs(_components.p,{children:[`One long image per task at the official price, plus $0.003 for every input image (`,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`style_image`}),`, `,_jsx(_components.code,{children:`subject_image`}),`):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Length`}),_jsx(_components.th,{children:`1K`}),_jsx(_components.th,{children:`2K`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ecommerce`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`short`}),` (2–5 sections)`]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.235`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.282`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ecommerce`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`medium`}),` (6–10 sections)`]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.47`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.549`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ecommerce`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`long`}),` (11–18 sections)`]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.784`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.862`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webpage`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.549`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.596`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Model to use: `,_jsx(_components.code,{children:`kling-4-0/long-image`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input`,children:[_jsx(_components.p,{children:`Input parameters for the generation.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`skill`,type:`string`,required:true,id:`param-skill`,children:[_jsx(_components.p,{children:`What to generate:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ecommerce`}),` — a product detail page. Requires `,_jsx(_components.code,{children:`image_urls`}),`; supports `,_jsx(_components.code,{children:`length`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`webpage`}),` — a web page design. Supports `,_jsx(_components.code,{children:`style_image`}),` and `,_jsx(_components.code,{children:`subject_image`}),`.`]}),`\n`]})]}),_jsxs(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:[_jsx(_components.p,{children:`Text description of the page. Maximum length: 20000 characters.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ecommerce`}),`: mention product images as `,_jsx(_components.code,{children:`@image_1`}),`, `,_jsx(_components.code,{children:`@image_2`}),` … in the order of `,_jsx(_components.code,{children:`image_urls`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`webpage`}),`: mention `,_jsx(_components.code,{children:`style_image`}),` as `,_jsx(_components.code,{children:`@style`}),` and `,_jsx(_components.code,{children:`subject_image`}),` as `,_jsx(_components.code,{children:`@subject`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`Any `,_jsx(_components.code,{children:`@`}),` directly followed by a letter, digit, underscore or Chinese character is treated as a reference,\nso email addresses and @handles fail validation — use a full-width `,_jsx(_components.code,{children:`@`}),` or put a space after `,_jsx(_components.code,{children:`@`}),`.`]})]}),_jsx(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ecommerce`}),` only (required): 1–3 publicly accessible JPG/PNG product images, max 20 MB each.\nRecommended: width and height at least 300 px, aspect ratio between 2:5 and 5:2 — images outside\nthis range are accepted but make the task fail during generation.`]})}),_jsx(ParamField,{body:`length`,type:`string`,default:`medium`,id:`param-length`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ecommerce`}),` only. Page length: `,_jsx(_components.code,{children:`short`}),` (about 2–5 sections), `,_jsx(_components.code,{children:`medium`}),` (about 6–10) or `,_jsx(_components.code,{children:`long`}),` (about 11–18).\nA section is a content block within the single long image.`]})}),_jsx(ParamField,{body:`style_image`,type:`string`,id:`param-style-image`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`webpage`}),` only. Style reference image URL (JPG/PNG, max 20 MB); its visual style and layout are borrowed. Mention it as `,_jsx(_components.code,{children:`@style`}),`.`]})}),_jsx(ParamField,{body:`subject_image`,type:`string`,id:`param-subject-image`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`webpage`}),` only. Subject reference image URL (JPG/PNG, max 20 MB); the subject is kept in the design. Mention it as `,_jsx(_components.code,{children:`@subject`}),`.`]})}),_jsx(ParamField,{body:`resolution`,type:`string`,default:`2K`,id:`param-resolution`,children:_jsxs(_components.p,{children:[`Output resolution: `,_jsx(_components.code,{children:`1K`}),` or `,_jsx(_components.code,{children:`2K`}),` (case-insensitive).`]})})]})]}),`\n`,_jsx(ParamField,{body:`webhookUrl`,type:`string`,id:`param-webhook-url`,children:_jsx(_components.p,{children:`URL to receive a webhook when the task completes.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Custom key-value metadata to attach to the task.`})})]})}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":{"config":{},"pageMetadata":{"title":"Long Image","api":"POST https://api.modelhunter.ai/api/v1/kling/long-image","description":"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.","href":"/api-reference/kling/long-image"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`models`,children:`Models`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Model`}),_jsx(_components.th,{children:`Types`}),_jsx(_components.th,{children:`Resolutions`}),_jsx(_components.th,{children:`Output`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`kling-4-0/long-image`}),` — Kling Image 4.0 Long Image`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ecommerce`}),`, `,_jsx(_components.code,{children:`webpage`})]}),_jsx(_components.td,{children:`1K, 2K`}),_jsx(_components.td,{children:`one long image per task`})]})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint only accepts `,_jsx(_components.code,{children:`kling-4-0/long-image`}),`. Each task produces exactly one long image; the number of images cannot be set.\nFields that belong to one `,_jsx(_components.code,{children:`skill`}),` cannot be sent with the other — mixing them returns a `,_jsx(_components.code,{children:`400`}),` validation error.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`pricing`,children:`Pricing`}),`\n`,_jsxs(_components.p,{children:[`One long image per task at the official price, plus $0.003 for every input image (`,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`style_image`}),`, `,_jsx(_components.code,{children:`subject_image`}),`):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Length`}),_jsx(_components.th,{children:`1K`}),_jsx(_components.th,{children:`2K`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ecommerce`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`short`}),` (2–5 sections)`]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.235`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.282`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ecommerce`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`medium`}),` (6–10 sections)`]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.47`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.549`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ecommerce`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`long`}),` (11–18 sections)`]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.784`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.862`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webpage`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.549`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.596`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Model to use: `,_jsx(_components.code,{children:`kling-4-0/long-image`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input`,children:[_jsx(_components.p,{children:`Input parameters for the generation.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`skill`,type:`string`,required:true,id:`param-skill`,children:[_jsx(_components.p,{children:`What to generate:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ecommerce`}),` — a product detail page. Requires `,_jsx(_components.code,{children:`image_urls`}),`; supports `,_jsx(_components.code,{children:`length`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`webpage`}),` — a web page design. Supports `,_jsx(_components.code,{children:`style_image`}),` and `,_jsx(_components.code,{children:`subject_image`}),`.`]}),`\n`]})]}),_jsxs(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:[_jsx(_components.p,{children:`Text description of the page. Maximum length: 20000 characters.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ecommerce`}),`: mention product images as `,_jsx(_components.code,{children:`@image_1`}),`, `,_jsx(_components.code,{children:`@image_2`}),` … in the order of `,_jsx(_components.code,{children:`image_urls`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`webpage`}),`: mention `,_jsx(_components.code,{children:`style_image`}),` as `,_jsx(_components.code,{children:`@style`}),` and `,_jsx(_components.code,{children:`subject_image`}),` as `,_jsx(_components.code,{children:`@subject`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`Any `,_jsx(_components.code,{children:`@`}),` directly followed by a letter, digit, underscore or Chinese character is treated as a reference,\nso email addresses and @handles fail validation — use a full-width `,_jsx(_components.code,{children:`@`}),` or put a space after `,_jsx(_components.code,{children:`@`}),`.`]})]}),_jsx(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ecommerce`}),` only (required): 1–3 publicly accessible JPG/PNG product images, max 20 MB each.\nRecommended: width and height at least 300 px, aspect ratio between 2:5 and 5:2 — images outside\nthis range are accepted but make the task fail during generation.`]})}),_jsx(ParamField,{body:`length`,type:`string`,default:`medium`,id:`param-length`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ecommerce`}),` only. Page length: `,_jsx(_components.code,{children:`short`}),` (about 2–5 sections), `,_jsx(_components.code,{children:`medium`}),` (about 6–10) or `,_jsx(_components.code,{children:`long`}),` (about 11–18).\nA section is a content block within the single long image.`]})}),_jsx(ParamField,{body:`style_image`,type:`string`,id:`param-style-image`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`webpage`}),` only. Style reference image URL (JPG/PNG, max 20 MB); its visual style and layout are borrowed. Mention it as `,_jsx(_components.code,{children:`@style`}),`.`]})}),_jsx(ParamField,{body:`subject_image`,type:`string`,id:`param-subject-image`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`webpage`}),` only. Subject reference image URL (JPG/PNG, max 20 MB); the subject is kept in the design. Mention it as `,_jsx(_components.code,{children:`@subject`}),`.`]})}),_jsx(ParamField,{body:`resolution`,type:`string`,default:`2K`,id:`param-resolution`,children:_jsxs(_components.p,{children:[`Output resolution: `,_jsx(_components.code,{children:`1K`}),` or `,_jsx(_components.code,{children:`2K`}),` (case-insensitive).`]})})]})]}),`\n`,_jsx(ParamField,{body:`webhookUrl`,type:`string`,id:`param-webhook-url`,children:_jsx(_components.p,{children:`URL to receive a webhook when the task completes.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Custom key-value metadata to attach to the task.`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`13`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.modelhunter.ai/api/v1/kling/long-image`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MODELHUNTER_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"kling-4-0/long-image\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"skill\": \"ecommerce\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A product detail page for @image_1, clean white background, highlight the key features section by section\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_urls\": [\"https://example.com/product.png\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"length\": \"short\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1K\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`202`,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"long-image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kling\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kling-4-0/long-image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-24T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VALIDATION_ERROR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"input.image_urls is required\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}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":{"config":{},"pageMetadata":{"title":"Long Image","api":"POST https://api.modelhunter.ai/api/v1/kling/long-image","description":"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.","href":"/api-reference/kling/long-image"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Models","slug":"models","depth":2,"children":[]},{"title":"Pricing","slug":"pricing","depth":2,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.modelhunter.ai/api/v1/kling/long-image\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$MODELHUNTER_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"kling-4-0/long-image\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"input\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"skill\": \"ecommerce\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"A product detail page for @image_1, clean white background, highlight the key features section by section\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"image_urls\": [\"https://example.com/product.png\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"length\": \"short\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"1K\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"202","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_abc123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"long-image\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"provider\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"kling\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"kling-4-0/long-image\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-11-24T10:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"estimated_seconds\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">120\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"VALIDATION_ERROR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"input.image_urls is required\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Long Image","path":"/api/v1/kling/long-image","servers":[{"url":"https://api.modelhunter.ai"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Model to use: `kling-4-0/long-image` .","required":true}],"input":[{"type":"object","properties":{"skill":[{"type":"string","description":"What to generate: `ecommerce` — a product detail page. Requires `image_urls` ; supports `length` . `webpage` — a web page design. Supports `style_image` and `subject_image` .","required":true}],"prompt":[{"type":"string","description":"Text description of the page. Maximum length: 20000 characters. `ecommerce` : mention product images as `@image_1` , `@image_2` … in the order of `image_urls` . `webpage` : mention `style_image` as `@style` and `subject_image` as `@subject` . Any `@` directly followed by a letter, digit, underscore or Chinese character is treated as a reference, so email addresses and @handles fail validation — use a full-width `@` or put a space after `@` .","required":true}],"image_urls":[{"type":"array","items":[{"type":"string"}],"description":"`ecommerce` only (required): 1–3 publicly accessible JPG/PNG product images, max 20 MB each. Recommended: width and height at least 300 px, aspect ratio between 2:5 and 5:2 — images outside this range are accepted but make the task fail during generation."}],"length":[{"type":"string","description":"`ecommerce` only. Page length: `short` (about 2–5 sections), `medium` (about 6–10) or `long` (about 11–18). A section is a content block within the single long image."}],"style_image":[{"type":"string","description":"`webpage` only. Style reference image URL (JPG/PNG, max 20 MB); its visual style and layout are borrowed. Mention it as `@style` ."}],"subject_image":[{"type":"string","description":"`webpage` only. Subject reference image URL (JPG/PNG, max 20 MB); the subject is kept in the design. Mention it as `@subject` ."}],"resolution":[{"type":"string","description":"Output resolution: `1K` or `2K` (case-insensitive)."}]},"description":"Input parameters for the generation.","required":true}],"webhookUrl":[{"type":"string","description":"URL to receive a webhook when the task completes."}],"metadata":[{"type":"object","properties":{},"description":"Custom key-value metadata to attach to the task."}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","input":{"skill":"\u003cstring>","prompt":"\u003cstring>","image_urls":["\u003cstring>"],"length":"\u003cstring>","style_image":"\u003cstring>","subject_image":"\u003cstring>","resolution":"\u003cstring>"},"webhookUrl":"\u003cstring>","metadata":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"riverapi","siteName":"ModelHunter.AI","title":"Long Image - ModelHunter.AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T03:55:24.622Z","originalFileLocation":"api-reference/kling/long-image.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=\"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ModelHunter.AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_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/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_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/riverapi/RuwCO58qiTEVQSUG/_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/riverapi/RuwCO58qiTEVQSUG/_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/riverapi/RuwCO58qiTEVQSUG/_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/riverapi/RuwCO58qiTEVQSUG/_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/riverapi/RuwCO58qiTEVQSUG/_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/riverapi/RuwCO58qiTEVQSUG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Long Image - ModelHunter.AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ModelHunter.AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.modelhunter.ai/api-reference/kling/long-image\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://riverapi.mintlify.site/_mintlify/api/og/v2?division=Kling+Image\u0026amp;title=Long+Image\u0026amp;description=Generate+one+complete+long+image+with+Kling+Image+4.0%3A+an+e-commerce+product+detail+page+or+a+web+page+design.\u0026amp;theme=ab4026ca7ae18c51bf5204a0\u0026amp;signature=b6aef3eaae26f9454666476912f75afefab8c890a14cd468974ad6d23b7e54e0\">\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=\"Long Image - ModelHunter.AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://riverapi.mintlify.site/_mintlify/api/og/v2?division=Kling+Image\u0026amp;title=Long+Image\u0026amp;description=Generate+one+complete+long+image+with+Kling+Image+4.0%3A+an+e-commerce+product+detail+page+or+a+web+page+design.\u0026amp;theme=ab4026ca7ae18c51bf5204a0\u0026amp;signature=b6aef3eaae26f9454666476912f75afefab8c890a14cd468974ad6d23b7e54e0\">\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/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ModelHunter.AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F97316\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.modelhunter.ai/api-reference/kling/long-image\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/kling/long-image.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.modelhunter.ai/#organization\",\"name\":\"ModelHunter.AI\",\"url\":\"https://docs.modelhunter.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/light.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=f9c962a304e4151541c466b2589c0457\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.modelhunter.ai#website\",\"name\":\"ModelHunter.AI\",\"url\":\"https://docs.modelhunter.ai\",\"publisher\":{\"@id\":\"https://docs.modelhunter.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.modelhunter.ai/api-reference/kling/long-image#webpage\",\"url\":\"https://docs.modelhunter.ai/api-reference/kling/long-image\",\"name\":\"Long Image\",\"description\":\"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.\",\"dateModified\":\"2026-11-24T03:55:24.622Z\",\"isPartOf\":{\"@id\":\"https://docs.modelhunter.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.modelhunter.ai/api-reference/kling/long-image#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.modelhunter.ai/api-reference/kling/long-image#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Images\",\"item\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kling Image\",\"item\":\"https://docs.modelhunter.ai/api-reference/kling/text-to-image\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Long Image\",\"item\":\"https://docs.modelhunter.ai/api-reference/kling/long-image\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.modelhunter.ai/api-reference/kling/long-image#apireference\",\"headline\":\"Long Image\",\"name\":\"Long Image\",\"description\":\"Generate one complete long image with Kling Image 4.0: an e-commerce product detail page or a web page design.\",\"url\":\"https://docs.modelhunter.ai/api-reference/kling/long-image\",\"mainEntityOfPage\":{\"@id\":\"https://docs.modelhunter.ai/api-reference/kling/long-image#webpage\"},\"dateModified\":\"2026-11-24T03:55:24.622Z\",\"publisher\":{\"@id\":\"https://docs.modelhunter.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.modelhunter.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ModelHunter.AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ModelHunter.AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/kling/long-image.md","siteName":"ModelHunter.AI","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"LLMs","pages":[{"title":"Messages (Claude)","api":"POST https://api.modelhunter.ai/api/v1/messages","href":"/api-reference/llm/messages"},{"title":"Responses (GPT, Grok, DeepSeek, Kimi)","api":"POST https://api.modelhunter.ai/api/v1/responses","href":"/api-reference/llm/responses"},{"title":"Chat Completions (Gemini)","api":"POST https://api.modelhunter.ai/api/v1/chat/completions","href":"/api-reference/llm/chat-completions"}]},{"group":"Videos","pages":[{"group":"Gemini","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/veo/text-to-video","href":"/api-reference/veo/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/veo/image-to-video","href":"/api-reference/veo/image-to-video"}]},{"group":"Grok","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/grok/text-to-video","href":"/api-reference/grok/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/grok/image-to-video","href":"/api-reference/grok/image-to-video"}]},{"group":"Vidu","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/vidu/text-to-video","href":"/api-reference/vidu/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/vidu/image-to-video","href":"/api-reference/vidu/image-to-video"}]},{"group":"Kling","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/kling/text-to-video","href":"/api-reference/kling/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/kling/image-to-video","href":"/api-reference/kling/image-to-video"},{"title":"Reference to Video","api":"POST https://api.modelhunter.ai/api/v1/kling/reference-to-video","href":"/api-reference/kling/reference-to-video"},{"title":"Keyframe to Video","api":"POST https://api.modelhunter.ai/api/v1/kling/keyframe-to-video","href":"/api-reference/kling/keyframe-to-video"},{"title":"Video to Video","api":"POST https://api.modelhunter.ai/api/v1/kling/video-to-video","href":"/api-reference/kling/video-to-video"},{"title":"Motion Control","api":"POST https://api.modelhunter.ai/api/v1/kling/motion-control","href":"/api-reference/kling/motion-control"}]},{"group":"Seedance","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/seedance/text-to-video","href":"/api-reference/seedance/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/seedance/image-to-video","href":"/api-reference/seedance/image-to-video"},{"title":"Seedance 2.x Multimodal Video","api":"POST https://api.modelhunter.ai/api/v1/seedance/multimodal-video","href":"/api-reference/seedance/multimodal-video"}]},{"group":"Wan","pages":[{"title":"Wan 3.0 Multimodal Video","api":"POST https://api.modelhunter.ai/api/v1/wan/multimodal-video","href":"/api-reference/wan/multimodal-video"},{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/wan/text-to-video","href":"/api-reference/wan/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/wan/image-to-video","href":"/api-reference/wan/image-to-video"},{"title":"Video to Video","api":"POST https://api.modelhunter.ai/api/v1/wan/video-to-video","href":"/api-reference/wan/video-to-video"}]},{"group":"MiniMax H3","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/minimax/text-to-video","href":"/api-reference/minimax/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/minimax/image-to-video","href":"/api-reference/minimax/image-to-video"},{"title":"Reference to Video","api":"POST https://api.modelhunter.ai/api/v1/minimax/reference-to-video","href":"/api-reference/minimax/reference-to-video"}]}]},{"group":"Images","pages":[{"group":"Seedream","pages":[{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/seedream/text-to-image","href":"/api-reference/seedream/text-to-image"},{"title":"Image to Image","api":"POST https://api.modelhunter.ai/api/v1/seedream/image-to-image","href":"/api-reference/seedream/image-to-image"}]},{"group":"Kling Image","pages":[{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/kling/text-to-image","href":"/api-reference/kling/text-to-image"},{"title":"Image to Image","api":"POST https://api.modelhunter.ai/api/v1/kling/image-to-image","description":"Generate images from reference images and reusable elements with Kling Image 4.0, up to 8K.","href":"/api-reference/kling/image-to-image"},{"title":"Long Image","api":"POST https://api.modelhunter.ai/api/v1/kling/long-image","href":"/api-reference/kling/long-image"}]},{"group":"Gemini","pages":[{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/gemini/text-to-image","description":"Generate images from text using Google Gemini models.","href":"/api-reference/gemini/text-to-image"},{"title":"Image to Image","api":"POST https://api.modelhunter.ai/api/v1/gemini/image-to-image","href":"/api-reference/gemini/image-to-image"}]},{"group":"GPT Image","pages":[{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/gpt-image/text-to-image","href":"/api-reference/gpt-image/text-to-image"},{"title":"Image to Image","api":"POST https://api.modelhunter.ai/api/v1/gpt-image/image-to-image","href":"/api-reference/gpt-image/image-to-image"}]},{"group":"MiniMax H3 Image","pages":[{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/minimax/text-to-image","href":"/api-reference/minimax/text-to-image"},{"title":"Image to Image","api":"POST https://api.modelhunter.ai/api/v1/minimax/image-to-image","href":"/api-reference/minimax/image-to-image"}]}]},{"group":"Audio","pages":[{"group":"ElevenLabs","pages":[{"title":"Text to Speech","api":"POST https://api.modelhunter.ai/api/v1/elevenlabs/text-to-speech","href":"/api-reference/elevenlabs/text-to-speech"},{"title":"List Voices","api":"GET https://api.modelhunter.ai/api/v1/elevenlabs/voices","href":"/api-reference/elevenlabs/voices"}]}]},{"group":"Tasks","pages":[{"title":"List Tasks","api":"GET https://api.modelhunter.ai/api/v1/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Get Task Status","api":"GET https://api.modelhunter.ai/api/v1/tasks/{id}","href":"/api-reference/tasks/get-task"},{"title":"Retry Task","api":"POST https://api.modelhunter.ai/api/v1/tasks/{id}/retry","href":"/api-reference/tasks/retry-task"}]},{"group":"Files","pages":[{"title":"Get Upload URL","api":"POST https://api.modelhunter.ai/api/v1/files/upload-url","href":"/api-reference/files/get-upload-url"},{"title":"Complete File Upload","api":"POST https://api.modelhunter.ai/api/v1/files/{file_id}/complete","href":"/api-reference/files/complete-upload"}]},{"group":"Billing API","pages":[{"title":"Get Balance","api":"GET https://api.modelhunter.ai/api/v1/balance","href":"/api-reference/billing/get-balance"}]}]}]},"basePath":"","title":"Long Image - ModelHunter.AI","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js"]}