Browse image generation, editing, and visual processing endpoints.
Image APIs include OpenAI-compatible endpoints, provider-native generation APIs, and asynchronous visual utilities. Choose an API family based on your client and required controls.
Upscale, segment, repair, colorize, compress, and OCR.
Async results
Submit a task and retrieve the result by its ID.
File upload endpoints use the multipart/form-data fields shown on their endpoint pages. Do not reuse a JSON body for a file upload endpoint.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MaxAPI Developer","description":"MaxAPI 模型接口、集成指南和在线 API 调试文档","colors":{"primary":"#D81E06","light":"#FF6B57","dark":"#B91807"},"logo":{"light":"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/logo/light.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=3e02d7853f6f2d38be5b5480f468b8ad","dark":"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/logo/dark.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=16d33f7300ba5ccddbca801a3da87ef0","href":"https://api.maxapi.ai"},"favicon":"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=537533922b570685c84068f3d67a60de","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","python","javascript","go","java"],"prefill":true,"autogenerate":true},"url":"full"},"appearance":{"default":"dark"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#111217"}},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"contextual":{"options":["copy","view","download-spec"],"display":"header"},"navigation":{"languages":[{"language":"cn","default":true,"navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"模型与价格"},{"href":"https://api.maxapi.ai","label":"控制台"}],"primary":{"type":"button","label":"获取 API Key","href":"https://api.maxapi.ai"}},"href":""},{"language":"en","navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"Models \u0026 pricing"},{"href":"https://api.maxapi.ai","label":"Console"}],"primary":{"type":"button","label":"Get API key","href":"https://api.maxapi.ai"}},"href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"maxapi","hasAudioNarration":false,"actualSubdomain":"maxapi","customDomains":["docs.maxapi.ai"],"gitSource":{"type":"github","owner":"yesbug","repo":"maxapi-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6a6f4c9ec4f90ea6d3f13c51","collectionId":"4abc105d-be3d-4973-876b-36820583c414","liveDeploymentHistoryId":"6a6f4c9ec4f90ea6d3f13c51","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a6f4c9ec4f90ea6d3f13c51:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"cn","tag":"API Reference","count":172},{"language":"cn","tag":"模型接口","count":168},{"language":"en","tag":"API Reference","count":128},{"language":"en","tag":"Model APIs","count":124},{"language":"cn","tag":"图像生成与处理","count":60},{"language":"cn","tag":"视频生成","count":54},{"language":"en","tag":"Image generation","count":44},{"language":"en","tag":"Video generation","count":39},{"language":"cn","tag":"工具与 PPT","count":31},{"language":"cn","tag":"场景示例","count":30},{"language":"cn","tag":"PPT 服务","count":30},{"language":"en","tag":"Use cases","count":30},{"language":"en","tag":"Tools \u0026 presentations","count":21},{"language":"cn","tag":"音频与音乐","count":20},{"language":"en","tag":"Presentation services","count":20},{"language":"cn","tag":"佐糖","count":18},{"language":"cn","tag":"Midjourney","count":17},{"language":"en","tag":"Audio \u0026 music","count":17},{"language":"en","tag":"Vidu","count":14},{"language":"en","tag":"Midjourney","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api-reference/images","slug":"/en/api-reference/images","pageMetadata":{"title":"Image generation","description":"Browse image generation, editing, and visual processing endpoints.","href":"/en/api-reference/images"},"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: \"Browse image generation, editing, and visual processing endpoints.\"\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`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Card,CardGroup,Heading,Table,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Image APIs include OpenAI-compatible endpoints, provider-native generation APIs, and asynchronous visual utilities. Choose an API family based on your client and required controls.`}),`\n`,_jsx(Heading,{level:`2`,id:`common-entry-points`,children:`Common entry points`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Use case`}),_jsx(_components.th,{children:`Recommended entry point`}),_jsx(_components.th,{children:`Result`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`General text-to-image`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/images/generations`})}),_jsx(_components.td,{children:`Image URL or Base64`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Image editing`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/images/edits`})}),_jsx(_components.td,{children:`Image URL or Base64`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gemini image generation`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST ...:generateContent`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`candidates[].content.parts`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Stable Image`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/sd/v2beta/stable-image/generate/*`})}),_jsx(_components.td,{children:`Binary image or Base64 JSON`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Segmentation, repair, OCR`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/api/tasks/visual/*`}),`, `,_jsx(_components.code,{children:`/api/tasks/document/*`})]}),_jsx(_components.td,{children:`Asynchronous task`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-an-api-family`,children:`Choose an API family`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Compatible formats`,icon:`braces`,children:`OpenAI Images and Gemini generateContent.`}),_jsx(Card,{title:`Specialized image models`,icon:`sparkles`,children:`Stability AI, Ideogram, Midjourney, and MewXAI.`}),_jsx(Card,{title:`Visual utilities`,icon:`wand-magic-sparkles`,children:`Upscale, segment, repair, colorize, compress, and OCR.`}),_jsx(Card,{title:`Async results`,icon:`clock`,href:`/en/guides/async-tasks`,children:`Submit a task and retrieve the result by its ID.`})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`File upload endpoints use the `,_jsx(_components.code,{children:`multipart/form-data`}),` fields shown on their endpoint pages. Do not reuse a JSON body for a file upload endpoint.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Image generation","description":"Browse image generation, editing, and visual processing endpoints.","href":"/en/api-reference/images"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Common entry points","slug":"common-entry-points","depth":2,"children":[]},{"title":"Choose an API family","slug":"choose-an-api-family","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/maxapi/d98b163ca8914da0/scripts/generate-usercases.js","/_mintlify/custom/maxapi/9e3ee4c5990361c4/scripts/organize-api-navigation.js","/_mintlify/custom/maxapi/443121df9b73d3ea/scripts/prepare-english-openapi.js","/_mintlify/custom/maxapi/8186248c42e21105/scripts/prepare-openapi.js","/_mintlify/custom/maxapi/5c49d97810de30cd/scripts/audit-openapi-coverage.js","/_mintlify/custom/maxapi/d2f3a00987cb3590/scripts/enrich-openapi.js"],"subdomain":"maxapi","siteName":"MaxAPI Developer","title":"Image generation - MaxAPI Developer","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/api-reference/images","matchLevel":1},"en":{"href":"/en/api-reference/images","matchLevel":0}}},"lastModified":"2026-08-02T13:57:17.850Z","originalFileLocation":"en/api-reference/images.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=\"dark\"}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=\"Browse image generation, editing, and visual processing endpoints.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MaxAPI Developer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003cmeta data-mint-head property=\"og:title\" content=\"Image generation - MaxAPI Developer\">\u003cmeta data-mint-head property=\"og:description\" content=\"Browse image generation, editing, and visual processing endpoints.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MaxAPI Developer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.maxapi.ai/en/api-reference/images\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://maxapi.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Image+generation\u0026amp;description=Browse+image+generation%2C+editing%2C+and+visual+processing+endpoints.\u0026amp;theme=3b26e3f140a7347686f124e1\u0026amp;signature=9bebb2a878ef6eca624ee14def89e8c913503ee5b9cebbed090531353e9d87b6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Image generation - MaxAPI Developer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Browse image generation, editing, and visual processing endpoints.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://maxapi.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Image+generation\u0026amp;description=Browse+image+generation%2C+editing%2C+and+visual+processing+endpoints.\u0026amp;theme=3b26e3f140a7347686f124e1\u0026amp;signature=9bebb2a878ef6eca624ee14def89e8c913503ee5b9cebbed090531353e9d87b6\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/maxapi/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MaxAPI Developer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D81E06\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.maxapi.ai/en/api-reference/images\">\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/images.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.maxapi.ai/en/api-reference/images\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.maxapi.ai/api-reference/images\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.maxapi.ai/api-reference/images\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.maxapi.ai/#organization\",\"name\":\"MaxAPI Developer\",\"url\":\"https://docs.maxapi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/logo/light.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=3e02d7853f6f2d38be5b5480f468b8ad\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.maxapi.ai#website\",\"name\":\"MaxAPI Developer\",\"url\":\"https://docs.maxapi.ai\",\"publisher\":{\"@id\":\"https://docs.maxapi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.maxapi.ai/en/api-reference/images#webpage\",\"url\":\"https://docs.maxapi.ai/en/api-reference/images\",\"name\":\"Image generation\",\"description\":\"Browse image generation, editing, and visual processing endpoints.\",\"dateModified\":\"2026-08-02T13:57:17.850Z\",\"isPartOf\":{\"@id\":\"https://docs.maxapi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.maxapi.ai/en/api-reference/images#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.maxapi.ai/en/api-reference/images#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Model APIs\",\"item\":\"https://docs.maxapi.ai/api-reference/maxapi-endpoints/create-chat-completion\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Image generation\",\"item\":\"https://docs.maxapi.ai/en/api-reference/images\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.maxapi.ai/en/api-reference/images#article\",\"headline\":\"Image generation\",\"name\":\"Image generation\",\"description\":\"Browse image generation, editing, and visual processing endpoints.\",\"url\":\"https://docs.maxapi.ai/en/api-reference/images\",\"mainEntityOfPage\":{\"@id\":\"https://docs.maxapi.ai/en/api-reference/images#webpage\"},\"dateModified\":\"2026-08-02T13:57:17.850Z\",\"publisher\":{\"@id\":\"https://docs.maxapi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.maxapi.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MaxAPI Developer\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MaxAPI Developer","nav":{"global":null,"languages":[{"language":"cn","default":true,"navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"模型与价格"},{"href":"https://api.maxapi.ai","label":"控制台"}],"primary":{"type":"button","label":"获取 API Key","href":"https://api.maxapi.ai"}},"pages":[{"title":"cn","href":"/api-reference/images"}]},{"language":"en","navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"Models \u0026 pricing"},{"href":"https://api.maxapi.ai","label":"Console"}],"primary":{"type":"button","label":"Get API key","href":"https://api.maxapi.ai"}},"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/en"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"API overview","pages":[{"title":"API catalog","mode":"wide","href":"/en/api-reference/overview"},{"title":"Authentication","href":"/en/guides/authentication"},{"title":"Asynchronous tasks","href":"/en/guides/async-tasks"},{"title":"Error handling","href":"/en/guides/errors"}]},{"group":"Model APIs","pages":[{"group":"Text \u0026 embeddings","icon":"messages","root":{"title":"Text \u0026 embeddings","href":"/en/api-reference/text"},"expanded":false,"pages":[{"title":"Create chat completion","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/maxapi-endpoints/create-chat-completion"},{"title":"Create completion","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/completions","href":"/api-reference/maxapi-endpoints/create-completion"},{"title":"Create embeddings","description":"Use this endpoint to call the provider-compatible create embeddings operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/embeddings","href":"/api-reference/maxapi-endpoints/create-embeddings"}]},{"group":"Image generation","icon":"image","root":{"title":"Image generation","href":"/en/api-reference/images"},"expanded":false,"pages":[{"group":"Google","expanded":false,"pages":[{"title":"Nano-banana","description":"Use this endpoint to call the provider-compatible nano-banana operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1beta/models/gemini-2.5-flash-image:generateContent","href":"/api-reference/maxapi-endpoints/nano-banana"},{"title":"nano-bananaDownload image","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /v1/videos/{task_id}/content","href":"/api-reference/maxapi-endpoints/nano-bananadownload-image"}]},{"group":"Alibaba Cloud","expanded":false,"pages":[{"title":"images/edits","description":"Use this endpoint to call the provider-compatible images/edits operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/images/edits","href":"/api-reference/maxapi-endpoints/imagesedits"}]},{"group":"Kling AI","expanded":false,"pages":[{"title":"Generate image","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/v1/images/neuralstyle/generate","href":"/api-reference/maxapi-endpoints/generate-image"}]},{"group":"Vidu","expanded":false,"pages":[{"title":"POST /ent/v2/reference2image","description":"Use this endpoint to call the provider-compatible post /ent/v2/reference2image operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/reference2image","href":"/api-reference/maxapi-endpoints/post-entv2reference2image"}]},{"group":"Midjourney","expanded":false,"pages":[{"title":"Create swap_facetask","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/insight-face/swap","href":"/api-reference/maxapi-endpoints/create-swap_facetask"},{"title":"Run action","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/submit/action","href":"/api-reference/maxapi-endpoints/run-action"},{"title":"Create Blend task","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/submit/blend","href":"/api-reference/maxapi-endpoints/create-blend-task"},{"title":"Create Describe task","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/submit/describe","href":"/api-reference/maxapi-endpoints/create-describe-task"},{"title":"Create Imagine task","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/submit/imagine","href":"/api-reference/maxapi-endpoints/create-imagine-task"},{"title":"Create Modal","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/submit/modal","href":"/api-reference/maxapi-endpoints/create-modal"},{"title":"Create Shorten task","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/submit/shorten","href":"/api-reference/maxapi-endpoints/create-shorten-task"},{"title":"List tasks","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /mj/task/list","href":"/api-reference/maxapi-endpoints/list-tasks"},{"title":"IDGet task","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /mj/task/{id}/fetch","href":"/api-reference/maxapi-endpoints/idget-task"},{"title":"List tasks with pagination","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj/task/query","href":"/api-reference/maxapi-endpoints/list-tasks-with-pagination"},{"title":"Get task queue","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /mj/task/queue","href":"/api-reference/maxapi-endpoints/get-task-queue"},{"title":"Cancel task","description":"Use this endpoint to call the provider-compatible cancel task operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/tasks/{id}/cancel","href":"/api-reference/maxapi-endpoints/cancel-task"},{"title":"IDGet task","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /mj/task/{id}/fetch","href":"/api-reference/maxapi-endpoints/idget-task"},{"title":"Get taskimageseed(mjnijiID)","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /mj/task/{id}/image-seed","href":"/api-reference/maxapi-endpoints/get-taskimageseed(mjnijiid)"},{"title":"Get task","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /luma/v2/generations/task_id","href":"/api-reference/maxapi-endpoints/get-task"}]},{"group":"Stability AI","expanded":false,"pages":[{"title":"Stable Image Ultra","description":"Our most advanced text to image generation service, Stable Image Ultra creates the highest quality images\nwith unprecedented prompt understanding. Ultra excels in typography, complex compositions, dynamic lighting, \nvibrant hues, and overall cohesion and structure of an art piece. Made from the most advanced models,\nincluding Stable Diffusion 3, Ultra offers the best of the Stable Diffusion ecosystem.\n\n### Try it out\nGrab your [API key](https://platform.stability.ai/account/keys) and head over to [](https://colab.research.google.com/github/stability-ai/stability-sdk/blob/main/nbs/Stable_Image_API_Public.ipynb#scrollTo=yXhs626oZdr1)\n\n### How to use\nPlease invoke this endpoint with a `POST` request.\n\nThe headers of the request must include an API key in the `authorization` field. The body of the request must be\n`multipart/form-data`. The accept header should be set to one of the following:\n- `image/*` to receive the image in the format specified by the `output_format` parameter.\n- `application/json` to receive the image in the format specified by the `output_format` parameter, but encoded to base64 in a JSON response.\n\nThe only required parameter is the `prompt` field, which should contain the text prompt for the image generation.\n\n> **Note:** for the full list of optional parameters, please see the request schema below.\n\n### Output\nThe resolution of the generated image will be 1 megapixel. The default resolution is 1024x1024.\n\n### Credits\nThe Ultra service uses 8 credits per successful result. You will not be charged for failed results.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /sd/v2beta/stable-image/generate/ultra","href":"/api-reference/maxapi-endpoints/stable-image-ultra"},{"title":"Stable Image Core","description":"Our primary service for text-to-image generation, Stable Image Core represents the best quality achievable at high \nspeed. No prompt engineering is required! Try asking for a style, a scene, or a character, and see what you get.\n\n### Try it out\nGrab your [API key](https://platform.stability.ai/account/keys) and head over to [](https://colab.research.google.com/github/stability-ai/stability-sdk/blob/main/nbs/Stable_Image_API_Public.ipynb#scrollTo=yXhs626oZdr1)\n\n### How to use\nPlease invoke this endpoint with a `POST` request.\n\nThe headers of the request must include an API key in the `authorization` field. The body of the request must be\n`multipart/form-data`, and the `accept` header should be set to one of the following:\n - `image/*` to receive the image in the format specified by the `output_format` parameter.\n - `application/json` to receive the image encoded as base64 in a JSON response.\n\nThe body of the request should include:\n- `prompt`\n\nThe body may optionally include:\n- `aspect_ratio`\n- `negative_prompt`\n- `seed`\n- `style_preset`\n- `output_format`\n\n> **Note:** for more details about these parameters please see the request schema below.\n\n### Output\nThe resolution of the generated image will be 1.5 megapixels.\n\n### Credits\nFlat rate of 3 credits per successful generation. You will not be charged for failed generations.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /sd/v2beta/stable-image/generate/core","href":"/api-reference/maxapi-endpoints/stable-image-core"},{"title":"Stable Diffusion 3","description":"Generate an image using a Stable Diffusion 3 model:\n- SD3 Medium - the 2 billion parameter model\n- SD3 Large - the 8 billion parameter model\n- SD3 Large Turbo - the 8 billion parameter model with a faster inference time \n\nThis API is powered by [Fireworks AI](https://fireworks.ai/). \nAPI status can be reviewed [here](https://readme.fireworks.ai/page/application-status). \n\n### Try it out\nGrab your [API key](https://platform.stability.ai/account/keys) and head over to one of the following sites: \n- [](https://fireworks.ai/models/stability/sd3)\n- [](https://colab.research.google.com/github/stability-ai/stability-sdk/blob/main/nbs/SD3_API.ipynb)\n\n\n### How to use\nPlease invoke this endpoint with a `POST` request.\n\nThe headers of the request must include an API key in the `authorization` field. The body of the request must be\n`multipart/form-data`. The accept header should be set to one of the following:\n- `image/*` to receive the image in the format specified by the `output_format` parameter.\n- `application/json` to receive the image encoded as base64 in a JSON response.\n\n#### **Generating with a prompt**\nCommonly referred to as **text-to-image**, this mode generates an image from text alone. While the only required \nparameter is the `prompt`, it also supports an `aspect_ratio` parameter which can be used to control the \naspect ratio of the generated image.\n\n#### **Generating with a prompt *and* an image**\nCommonly referred to as **image-to-image**, this mode also generates an image from text but uses an existing image as the\nstarting point. The required parameters are:\n- `prompt` - text to generate the image from\n- `image` - the image to use as the starting point for the generation\n- `strength` - controls how much influence the `image` parameter has on the output image\n- `mode` - must be set to `image-to-image`\n\n> **Note:** maximum request size is 10MiB.\n\n#### **Optional Parameters:**\nBoth modes support the following optional parameters:\n- `model` - the model to use (SD3 Medium, SD3 Large, or SD3 Large Turbo)\n- `output_format` - the the format of the output image\n- `seed` - the randomness seed to use for the generation\n- `negative_prompt` - keywords of what you **do not** wish to see in the output image\n\n> **Note:** for more details about these parameters please see the request schema below.\n\n### Output\nThe resolution of the generated image will be 1MP. The default resolution is 1024x1024.\n\n### Credits\n- SD3 Medium: Flat rate of 3.5 credits per successful generation.\n- SD3 Large: Flat rate of 6.5 credits per successful generation.\n- SD3 Large Turbo: Flat rate of 4 credits per successful generation.\n\nAs always, you will not be charged for failed generations.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /sd/v2beta/stable-image/generate/sd3","href":"/api-reference/maxapi-endpoints/stable-diffusion-3"},{"title":"Text-to-image","description":"Generate an image from a text prompt. \n### Using SDXL 1.0\nUse `stable-diffusion-xl-1024-v1-0` as the `engine_id` of your request and pass in `height` \u0026 `width` as one of the following combinations:\n- 1024x1024\n- 1152x896\n- 896x1152\n- 1216x832\n- 1344x768\n- 768x1344\n- 1536x640\n- 640x1536. \n\n### Using SD 1.6\nPass in `stable-diffusion-v1-6` as the `engine_id` of your request and ensure the `height` \u0026 `width` you pass in adhere to the following restrictions:\n- No dimension can be less than 320 pixels\n- No dimension can be greater than 1536 pixels\n\n### Using SD Beta\nPass in `stable-diffusion-xl-beta-v2-2-2` as the `engine_id` of your request and ensure the `height` \u0026 `width` you pass in adhere to the following restrictions:\n- dimensions must be between 128x128 and 512x896 (or 896x512)\n- only one dimension can be greater than 512, but not both \n\n> NOTE: Only **Version 1** engines will work with this endpoint.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /sd/v1/generation/{engine_id}/text-to-image","href":"/api-reference/maxapi-endpoints/text-to-image"}]},{"group":"Ideogram","expanded":false,"pages":[{"title":"Generate()","description":"Use this endpoint to call the provider-compatible generate() operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ideogram/generate","href":"/api-reference/maxapi-endpoints/generate()"},{"title":"Remix()","description":"Use this endpoint to call the provider-compatible remix() operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ideogram/remix","href":"/api-reference/maxapi-endpoints/remix()"},{"title":"Upscale()","description":"Use this endpoint to call the provider-compatible upscale() operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ideogram/upscale","href":"/api-reference/maxapi-endpoints/upscale()"},{"title":"Describe()","description":"Use this endpoint to call the provider-compatible describe() operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ideogram/describe","href":"/api-reference/maxapi-endpoints/describe()"}]},{"group":"MewXAI","expanded":false,"pages":[{"title":"Generate image","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/v1/images/neuralstyle/generate","href":"/api-reference/maxapi-endpoints/generate-image"},{"title":"3. - (AI)","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/v1/images/shadow/generate","href":"/api-reference/maxapi-endpoints/3--(ai)"},{"title":"(MX)","description":"Use this endpoint to call the provider-compatible (mx) operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/v1/mx/images/computed","href":"/api-reference/maxapi-endpoints/(mx)"},{"title":"(MX-MX)","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/v1/mx/images/extraList","href":"/api-reference/maxapi-endpoints/(mx-mx)"},{"title":"(MX-MX)","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/v1/mx/images/extraList","href":"/api-reference/maxapi-endpoints/(mx-mx)"},{"title":"Generate imageAPI(MX-Cute)","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/v1/mx/images/cute/generate","href":"/api-reference/maxapi-endpoints/generate-imageapi(mx-cute)"},{"title":"(MX-Cute)","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/v1/mx/images/cute/extraList","href":"/api-reference/maxapi-endpoints/(mx-cute)"},{"title":"Callback example","description":"Use this endpoint to call the provider-compatible callback example operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/xxx/xxx","href":"/api-reference/maxapi-endpoints/callback-example"},{"title":"Get details","description":"Use this endpoint to call the provider-compatible get details operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/v1/images/detail","href":"/api-reference/maxapi-endpoints/get-details"},{"title":"Get balance","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/v1/user/count","href":"/api-reference/maxapi-endpoints/get-balance"},{"title":"List templates","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/v1/template/list","href":"/api-reference/maxapi-endpoints/list-templates"},{"title":"List models","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/v1/model/list","href":"/api-reference/maxapi-endpoints/list-models"},{"title":"- (MX-Generate API-Cute-Generate ())","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/v1/images/cute/generate","href":"/api-reference/maxapi-endpoints/-(mx-generate-api-cute-generate-())"}]},{"group":"PicWish","expanded":false,"pages":[{"title":"Create task","description":"Use this endpoint to call the provider-compatible create task operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/idphoto","href":"/api-reference/maxapi-endpoints/create-task"},{"title":"Get image","description":"Use this endpoint to call the provider-compatible get image operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/tasks/visual/correction/task_id","href":"/api-reference/maxapi-endpoints/get-image"},{"title":"Get","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /suno/fetch/{task_id}","href":"/api-reference/maxapi-endpoints/get"},{"title":"Create imagetask","description":"Use this endpoint to call the provider-compatible create imagetask operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/correction","href":"/api-reference/maxapi-endpoints/create-imagetask"},{"title":"Get image","description":"Use this endpoint to call the provider-compatible get image operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/tasks/visual/correction/task_id","href":"/api-reference/maxapi-endpoints/get-image"},{"title":"Create imagetask","description":"Use this endpoint to call the provider-compatible create imagetask operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/correction","href":"/api-reference/maxapi-endpoints/create-imagetask"},{"title":"Get image","description":"Use this endpoint to call the provider-compatible get image operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/tasks/visual/correction/task_id","href":"/api-reference/maxapi-endpoints/get-image"},{"title":"Create Generate task","description":"Use this endpoint to call the provider-compatible create generate task operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/r-background","href":"/api-reference/maxapi-endpoints/create-generate-task"},{"title":"Get Generate","description":"Use this endpoint to call the provider-compatible get generate operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/tasks/visual/r-background/task_id","href":"/api-reference/maxapi-endpoints/get-generate"},{"title":"Create task","description":"Use this endpoint to call the provider-compatible create task operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/idphoto","href":"/api-reference/maxapi-endpoints/create-task"},{"title":"Get","description":"","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /suno/fetch/{task_id}","href":"/api-reference/maxapi-endpoints/get"},{"title":"Create imagetask","description":"Use this endpoint to call the provider-compatible create imagetask operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/correction","href":"/api-reference/maxapi-endpoints/create-imagetask"},{"title":"Get image","description":"Use this endpoint to call the provider-compatible get image operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/tasks/visual/correction/task_id","href":"/api-reference/maxapi-endpoints/get-image"},{"title":"Create imagetask","description":"Use this endpoint to call the provider-compatible create imagetask operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/correction","href":"/api-reference/maxapi-endpoints/create-imagetask"},{"title":"Create OCRtask","description":"Use this endpoint to call the provider-compatible create ocrtask operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/document/ocr","href":"/api-reference/maxapi-endpoints/create-ocrtask"},{"title":"Get OCR","description":"Use this endpoint to call the provider-compatible get ocr operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/tasks/document/ocr/task_id","href":"/api-reference/maxapi-endpoints/get-ocr"},{"title":"Create imagetask","description":"Use this endpoint to call the provider-compatible create imagetask operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/tasks/visual/correction","href":"/api-reference/maxapi-endpoints/create-imagetask"},{"title":"Get image","description":"Use this endpoint to call the provider-compatible get image operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/tasks/visual/correction/task_id","href":"/api-reference/maxapi-endpoints/get-image"}]},{"group":"OpenAI","expanded":false,"pages":[{"title":"DALL·E 3","description":"Use this endpoint to call the provider-compatible dall·e 3 operation through MaxAPI.","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/images/generations","href":"/api-reference/maxapi-endpoints/dall·e-3"}]}]},{"group":"Video generation","icon":"video","root":{"title":"Video generation","href":"/en/api-reference/video"},"expanded":false,"pages":[{"group":"Google","expanded":false,"pages":[{"title":"video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/extend","href":"/api-reference/maxapi-endpoints/video"},{"title":"Get task status","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /vidu/ent/v2/tasks/{id}/creations","href":"/api-reference/maxapi-endpoints/get-task-status"},{"title":"Create a video generation task","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /veo/v1/api/video/submit","href":"/api-reference/maxapi-endpoints/create-a-video-generation-task"},{"title":"Get task status","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /vidu/ent/v2/tasks/{id}/creations","href":"/api-reference/maxapi-endpoints/get-task-status"},{"title":"Download video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /aistudio/v1beta/files/am6emvv7ekgo:download","href":"/api-reference/maxapi-endpoints/download-video"},{"title":"Create videotask","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /runwayml/v1/image_to_video","href":"/api-reference/maxapi-endpoints/create-videotask"},{"title":"Create a video generation task","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /veo/v1/api/video/submit","href":"/api-reference/maxapi-endpoints/create-a-video-generation-task"},{"title":"Get video generation status","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /veo/v1/api/video/status/{taskId}","href":"/api-reference/maxapi-endpoints/get-video-generation-status"},{"title":"Get video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /luma/v2/generations/task_id/download_video_url","href":"/api-reference/maxapi-endpoints/get-video"},{"title":"Download video(,Get videoAPI url)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /v1/videos/{id}/content","href":"/api-reference/maxapi-endpoints/download-video,get-videoapi-url"},{"title":"Veovideo","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v2/videos/generations","href":"/api-reference/maxapi-endpoints/veovideo"},{"title":"VeoGet task","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /v2/videos/generations/{task_id}","href":"/api-reference/maxapi-endpoints/veoget-task"}]},{"group":"ByteDance","expanded":false,"pages":[{"title":"Create video task","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /seedance/api/v3/contents/generations/tasks","href":"/api-reference/maxapi-endpoints/create-video-task"},{"title":"Get task ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /wan/api/v1/tasks/{task_id}","href":"/api-reference/maxapi-endpoints/get-task-"}]},{"group":"Alibaba Cloud","expanded":false,"pages":[{"title":"videoGenerate ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api-reference/maxapi-endpoints/videogenerate-"},{"title":"video ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /wan/api/v1/services/aigc/image2video/image-to-video","href":"/api-reference/maxapi-endpoints/video-"},{"title":"video ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /wan/api/v1/services/aigc/image2video/image-to-video","href":"/api-reference/maxapi-endpoints/video-"},{"title":"Get task ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /wan/api/v1/tasks/{task_id}","href":"/api-reference/maxapi-endpoints/get-task-"}]},{"group":"Kling AI","expanded":false,"pages":[{"title":"Generate video from text","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /vidu/ent/v2/text2video","href":"/api-reference/maxapi-endpoints/generate-video-from-text"},{"title":"Generate video from image","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /vidu/ent/v2/img2video","href":"/api-reference/maxapi-endpoints/generate-video-from-image"},{"title":"Get task()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /kling/v1/{action}/{action2}/{task_id}","href":"/api-reference/maxapi-endpoints/get-task()"}]},{"group":"Vidu","expanded":false,"pages":[{"title":"Generate video from image","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /vidu/ent/v2/img2video","href":"/api-reference/maxapi-endpoints/generate-video-from-image"},{"title":"Generate video from text","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /vidu/ent/v2/text2video","href":"/api-reference/maxapi-endpoints/generate-video-from-text"},{"title":"video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/extend","href":"/api-reference/maxapi-endpoints/video"},{"title":"Generate video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /luma/v1/generations","href":"/api-reference/maxapi-endpoints/generate-video"},{"title":"POST /ent/v2/template","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/template","href":"/api-reference/maxapi-endpoints/post-entv2template"},{"title":"POST /ent/v2/template-story","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/template-story","href":"/api-reference/maxapi-endpoints/post-entv2template-story"},{"title":"POST /ent/v2/img2video-prompt-recommendation","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/img2video-prompt-recommendation","href":"/api-reference/maxapi-endpoints/post-entv2img2video-prompt-recommendation"},{"title":"video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/extend","href":"/api-reference/maxapi-endpoints/video"},{"title":"POST /ent/v2/upscale-new","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/upscale-new","href":"/api-reference/maxapi-endpoints/post-entv2upscale-new"},{"title":"Get task status","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /vidu/ent/v2/tasks/{id}/creations","href":"/api-reference/maxapi-endpoints/get-task-status"},{"title":"Cancel task","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/tasks/{id}/cancel","href":"/api-reference/maxapi-endpoints/cancel-task"},{"title":"Get credit balance","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /ent/v2/credits","href":"/api-reference/maxapi-endpoints/get-credit-balance"}]},{"group":"MiniMax","expanded":false,"pages":[{"title":"videoGenerate (API)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /hailuo/v1/video_generation","href":"/api-reference/maxapi-endpoints/videogenerate-api"},{"title":"Get videoGenerate task","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /hailuo/v1/query/video_generation","href":"/api-reference/maxapi-endpoints/get-videogenerate-task"},{"title":"Download video file","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /hailuo/v1/files/retrieve","href":"/api-reference/maxapi-endpoints/download-video-file"}]},{"group":"Midjourney","expanded":false,"pages":[{"title":"FastvideoCreate","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj-fast/mj/submit/video","href":"/api-reference/maxapi-endpoints/fastvideocreate"},{"title":"RelaxvideoCreate","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /mj-relax/mj/submit/video","href":"/api-reference/maxapi-endpoints/relaxvideocreate"}]},{"group":"Luma AI","expanded":false,"pages":[{"title":"Generate video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /luma/v1/generations","href":"/api-reference/maxapi-endpoints/generate-video"},{"title":"Get video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /luma/v2/generations/task_id/download_video_url","href":"/api-reference/maxapi-endpoints/get-video"},{"title":"Generate video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /luma/v1/generations","href":"/api-reference/maxapi-endpoints/generate-video"},{"title":"Get video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /luma/v2/generations/task_id/download_video_url","href":"/api-reference/maxapi-endpoints/get-video"},{"title":"Create Generate videotask","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /luma/v2/generations","href":"/api-reference/maxapi-endpoints/create-generate-videotask"},{"title":"Get task","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /luma/v2/generations/task_id","href":"/api-reference/maxapi-endpoints/get-task"},{"title":"Extend video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /luma/v2/generations/task_id/extend","href":"/api-reference/maxapi-endpoints/extend-video"},{"title":"Get video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /luma/v2/generations/task_id/download_video_url","href":"/api-reference/maxapi-endpoints/get-video"}]},{"group":"Runway","expanded":false,"pages":[{"title":"Create videotask","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /runwayml/v1/image_to_video","href":"/api-reference/maxapi-endpoints/create-videotask"},{"title":"Control a character","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /runwayml/v1/character_performance","href":"/api-reference/maxapi-endpoints/control-a-character"},{"title":"video_to_video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /runwayml/v1/video_to_video","href":"/api-reference/maxapi-endpoints/video_to_video"}]},{"group":"OpenAI","expanded":false,"pages":[{"title":"4.Create Character(taskCreate --Create )","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/videos","href":"/api-reference/maxapi-endpoints/4create-charactertaskcreate--create-"},{"title":"6.Retrieve Video(Get video)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /v1/videos/{video_id}","href":"/api-reference/maxapi-endpoints/6retrieve-videoget-video"},{"title":"Create character","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /sora/v1/characters","href":"/api-reference/maxapi-endpoints/create-character"},{"title":"Remix video","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/videos/{id}/remix","href":"/api-reference/maxapi-endpoints/remix-video"},{"title":"5.Remix Video(video)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/videos/{video_id}/remix","href":"/api-reference/maxapi-endpoints/5remix-videovideo"}]}]},{"group":"Audio \u0026 music","icon":"waveform","root":{"title":"Audio \u0026 music","href":"/en/api-reference/audio-music"},"expanded":false,"pages":[{"group":"Vidu","expanded":false,"pages":[{"title":"POST /ent/v2/text2audio","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/text2audio","href":"/api-reference/maxapi-endpoints/post-entv2text2audio"},{"title":"POST /ent/v2/timing2audio","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/timing2audio","href":"/api-reference/maxapi-endpoints/post-entv2timing2audio"},{"title":"POST /ent/v2/lip-sync","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ent/v2/lip-sync","href":"/api-reference/maxapi-endpoints/post-entv2lip-sync"}]},{"group":"Suno","expanded":false,"pages":[{"title":"Generate music","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /suno/v1/v3.0/music","href":"/api-reference/maxapi-endpoints/generate-music"},{"title":"Get music","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /suno/v1/v3.0/music/id","href":"/api-reference/maxapi-endpoints/get-music"},{"title":"Generate music","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /suno/v1/v3.0/music","href":"/api-reference/maxapi-endpoints/generate-music"},{"title":"Get music","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /suno/v1/v3.0/music/id","href":"/api-reference/maxapi-endpoints/get-music"},{"title":"musicsuno(upload)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /suno/v2/uploads/audio","href":"/api-reference/maxapi-endpoints/musicsunoupload"},{"title":"musicGenerate (generations)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /suno/v2/generate","href":"/api-reference/maxapi-endpoints/musicgenerate-generations"},{"title":"Get task(feed)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /suno/v2/feed","href":"/api-reference/maxapi-endpoints/get-taskfeed"},{"title":"Get lyrics","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /suno/v1/v3.0/lyrics/id","href":"/api-reference/maxapi-endpoints/get-lyrics"},{"title":"Generate lyrics","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /suno/v1/v3.0/lyrics","href":"/api-reference/maxapi-endpoints/generate-lyrics"},{"title":"Generate music v5","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /suno/submit/music","href":"/api-reference/maxapi-endpoints/generate-music-v5"},{"title":"Get","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /suno/fetch/{task_id}","href":"/api-reference/maxapi-endpoints/get"},{"title":"Upload music","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /suno/uploads/audio-url","href":"/api-reference/maxapi-endpoints/upload-music"}]},{"group":"Fish Audio","expanded":false,"pages":[{"title":"TTS","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/audio/speech","href":"/api-reference/maxapi-endpoints/tts"},{"title":"asr","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /fish/v1/asr","href":"/api-reference/maxapi-endpoints/asr"}]},{"group":"OpenAI","expanded":false,"pages":[{"title":"Create transcription","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/audio/transcriptions","href":"/api-reference/maxapi-endpoints/create-transcription"},{"title":"Create translation","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/audio/translations","href":"/api-reference/maxapi-endpoints/create-translation"},{"title":"TTS","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /v1/audio/speech","href":"/api-reference/maxapi-endpoints/tts"}]}]},{"group":"Tools \u0026 presentations","icon":"wrench","root":{"title":"Tools \u0026 presentations","href":"/en/api-reference/tools"},"expanded":false,"pages":[{"group":"Presentation services","expanded":false,"pages":[{"title":"Generate (Generate )","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /apps/ppt-create","href":"/api-reference/maxapi-endpoints/generate-generate-"},{"title":"Get PPTGenerate ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /apps/ppt-result","href":"/api-reference/maxapi-endpoints/get-pptgenerate-()"},{"title":"Generate PPT(Generate PPT)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /apps/ppt-structure","href":"/api-reference/maxapi-endpoints/generate-pptgenerate-ppt"},{"title":"Generate ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /apps/ppt-recover","href":"/api-reference/maxapi-endpoints/generate-()"},{"title":"Generate ()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /apps/ppt-recover","href":"/api-reference/maxapi-endpoints/generate-()"},{"title":"task_idPPT(PPT)","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /apps/ppt-page","href":"/api-reference/maxapi-endpoints/task_idppt(ppt)"},{"title":"Generate PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/directGeneratePptx","href":"/api-reference/maxapi-endpoints/generate-ppt"},{"title":"Generate PPT()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /apps/ppt-create-thesis","href":"/api-reference/maxapi-endpoints/generate-ppt()"},{"title":"()","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /apps/ppt-create-task","href":"/api-reference/maxapi-endpoints/()"},{"title":"Generate PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/directGeneratePptx","href":"/api-reference/maxapi-endpoints/generate-ppt"},{"title":"Get PPTDownload (Get Download )","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /apps/ppt-download","href":"/api-reference/maxapi-endpoints/get-pptdownload-get-download-"},{"title":"Create APItoken","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/user/createApiToken","href":"/api-reference/maxapi-endpoints/create-apitoken"},{"title":"Generate Generate PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/generateContent","href":"/api-reference/maxapi-endpoints/generate-generate-ppt"},{"title":"POST /api/ppt/parseFileData","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/parseFileData","href":"/api-reference/maxapi-endpoints/post-apipptparsefiledata"},{"title":"Generate","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/generateOutline","href":"/api-reference/maxapi-endpoints/generate"},{"title":"Get PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/listPptx","href":"/api-reference/maxapi-endpoints/get-ppt"},{"title":"PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/updatePptTemplate","href":"/api-reference/maxapi-endpoints/ppt"},{"title":"Generate PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/directGeneratePptx","href":"/api-reference/maxapi-endpoints/generate-ppt"},{"title":"Generate PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/directGeneratePptx","href":"/api-reference/maxapi-endpoints/generate-ppt"},{"title":"Get PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/listPptx","href":"/api-reference/maxapi-endpoints/get-ppt"},{"title":"PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/updatePptTemplate","href":"/api-reference/maxapi-endpoints/ppt"},{"title":"Download PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/downloadPptx","href":"/api-reference/maxapi-endpoints/download-ppt"},{"title":"PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/updatePptTemplate","href":"/api-reference/maxapi-endpoints/ppt"},{"title":"PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/updatePptTemplate","href":"/api-reference/maxapi-endpoints/ppt"},{"title":"PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/updatePptTemplate","href":"/api-reference/maxapi-endpoints/ppt"},{"title":"Get Generate PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/ppt/asyncPptInfo","href":"/api-reference/maxapi-endpoints/get-generate-ppt"},{"title":"pptjson","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/pptjson/ppt2json","href":"/api-reference/maxapi-endpoints/pptjson"},{"title":"jsonppt","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/pptjson/json2ppt","href":"/api-reference/maxapi-endpoints/jsonppt"},{"title":"PPT","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /api/ppt/updatePptTemplate","href":"/api-reference/maxapi-endpoints/ppt"},{"title":"POST /ppt/updateOutline","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json post /ppt/updateOutline","href":"/api-reference/maxapi-endpoints/post-pptupdateoutline"}]},{"group":"Other and compatible APIs","expanded":false,"pages":[{"title":"Get API","deprecated":false,"version":null,"openapi":"/en/api-reference/openapi.json get /api/user/apiInfo","href":"/api-reference/maxapi-endpoints/get-api"}]}]}]}]},{"tab":"Use cases","icon":"lightbulb","pages":[{"title":"Use cases","href":"/en/usercases"}]}]}]},"title":"Image generation - MaxAPI Developer","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":[],"chunks":[]}