Edit an image based on a text prompt using the Qwen Image Edit Spicy model.
Keep the primary image in image and pass up to two additional images in
reference_images. Output composition and dimensions follow the primary image;
reference images are used in array order.
Edit images using text prompts with the Q Image Edit Spicy model (qwen-image-edit-spicy). Supports adding, removing, or modifying elements, style transfer, and other image editing operations.Keep the primary image in image and pass up to two additional images in reference_images. Output composition and dimensions follow the primary image; reference images are used in array order.
{ "image": "https://example.com/main.png", "reference_images": [ "https://example.com/ref2.png" ], "prompt": "Dress the person in the outfit from reference image 2"}
{ "image": "https://example.com/main.png", "reference_images": [ "https://example.com/ref2.png", "https://example.com/ref3.png" ], "prompt": "Use the outfit from reference image 2 and the background from reference image 3", "seed": 42}
Optional reference images as URLs or base64-encoded image data, up to two items. Items correspond to reference image 2 and reference image 3 in order. Omit, use null, or pass an empty array for single-image editing.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MuleRouter Docs","colors":{"primary":"#594BF6","light":"#7E7DFF","dark":"#594BF6"},"logo":{"light":"https://mintcdn.com/mulerouter/w_eptSTc-1yZxAo4/logo/logo-black.png?fit=max\u0026auto=format\u0026n=w_eptSTc-1yZxAo4\u0026q=85\u0026s=999db716e829193466c7e1f5634e0cd6","dark":"https://mintcdn.com/mulerouter/w_eptSTc-1yZxAo4/logo/logo-white.png?fit=max\u0026auto=format\u0026n=w_eptSTc-1yZxAo4\u0026q=85\u0026s=fcdc6b30ee1ed937ae509f24337d70a9"},"favicon":"https://mintcdn.com/mulerouter/qjoWRjVMcugsGrYt/logo/favicon.svg?fit=max\u0026auto=format\u0026n=qjoWRjVMcugsGrYt\u0026q=85\u0026s=36bb7994e26042019c16a17b003cbb8e","navbar":{"links":[{"href":"mailto:contact@mulerouter.ai","label":"Contact"}],"primary":{"type":"button","label":"MuleRouter","href":"https://mulerouter.ai"}},"footer":{"socials":{"discord":"https://discord.gg/pdRwFDsc9z"}},"seo":{"metatags":{"canonical":"https://www.mulerouter.ai/docs","title":"MuleRouter Documentation - AI API Gateway \u0026 Routing Platform","description":"Complete API documentation for MuleRouter AI platform. Learn to integrate LLM, image generation, and video generation APIs including OpenAI, Qwen, Wan 2, Midjourney, and more.","keywords":"MuleRouter, AI API, API gateway, LLM, OpenAI, image generation, video generation, Qwen, Wan 2, Midjourney, AI integration, API documentation","og:title":"MuleRouter Documentation - AI API Gateway \u0026 Routing Platform","og:description":"Complete API documentation for MuleRouter AI platform. Learn to integrate LLM, image generation, and video generation APIs including OpenAI, Qwen, Wan 2, Midjourney, and more.","og:image":"https://www.mulerouter.ai/logo/logo-black.png","og:url":"https://www.mulerouter.ai/docs","og:type":"website","twitter:card":"summary_large_image","twitter:title":"MuleRouter Documentation - AI API Gateway \u0026 Routing Platform","twitter:description":"Complete API documentation for MuleRouter AI platform. Learn to integrate LLM, image generation, and video generation APIs including OpenAI, Qwen, Wan 2, Midjourney, and more.","twitter:image":"https://www.mulerouter.ai/logo/logo-black.png","robots":"index, follow","author":"MuleRouter","language":"en"}},"contextual":{"options":["copy","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/pdRwFDsc9z"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mulerouter","hasAudioNarration":false,"actualSubdomain":"mulerouter","customDomains":["mulerouter.ai"],"gitSource":{"type":"github","owner":"openmule","repo":"mulerouter-website","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae213d1f8179dd8087b26a7","collectionId":"4296a510-d817-4ef8-85a3-4be9d5f89488","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae213d1f8179dd8087b26a7"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae213d1f8179dd8087b26a7","clientVersion":"0.0.4039","searchFilterCounts":[{"language":"default","tag":"API Reference","count":108},{"language":"default","tag":"Video Generation","count":61},{"language":"default","tag":"Wan 2","count":39},{"language":"default","tag":"Image Generation","count":35},{"language":"default","tag":"CLI","count":15},{"language":"default","tag":"Kling","count":14},{"language":"default","tag":"Wan 2 Spark","count":12},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"MiniMax","count":8},{"language":"default","tag":"Wan 3","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"billing-updated-9-15","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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation","slug":"/api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation","pageMetadata":{"title":"Q Image Edit Spicy Generation","openapi":"api-reference/endpoint/carrothub/qwen-image-edit-spicy/qwen-image-edit-spicy.yaml POST /vendors/carrothub/v1/qwen-image-edit-spicy/generation","description":"Edit an image based on a text prompt using the Qwen Image Edit Spicy model.\n\nKeep the primary image in `image` and pass up to two additional images in\n`reference_images`. Output composition and dimensions follow the primary image;\nreference images are used in array order.","href":"/api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Edit an image based on a text prompt using the Qwen Image Edit Spicy model.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Keep the primary image in \", _jsx(_components.code, {\n children: \"image\"\n }), \" and pass up to two additional images in\\n\", _jsx(_components.code, {\n children: \"reference_images\"\n }), \". Output composition and dimensions follow the primary image;\\nreference images are used in array order.\"]\n })]\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];const ReferenceImagesLimit=()=>{useEffect(()=>{const guard={install(){guard.cleanup?.();const pagePath=`/api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation`;const maxItems=2;const addSelector=`[data-testid=\"api-playground-modal\"] button[data-testid^=\"body.reference_images.\"][data-testid$=\".items.add-item-button\"]`;const modalSelector=`[data-testid=\"api-playground-modal\"]`;const sendSelector=`${modalSelector} button[data-testid=\"try-it-button\"]`;const originals=new Map;const blockedSends=new Map;function isSpicyPage(){return window.location.pathname.replace(/\\/$/,``).endsWith(pagePath)}function itemCount(button){return button.parentElement.parentElement.querySelectorAll(`button[aria-label=\"Delete item\"]`).length}function removeExtraEmptyRows(button){const rows=Array.from(button.parentElement.parentElement.querySelectorAll(`button[aria-label=\"Delete item\"]`));let count=rows.length;for(const remove of rows.reverse()){if(count\u003c=maxItems)break;const inputs=remove.parentElement.querySelectorAll(`input`);if(inputs.length===1\u0026\u0026inputs[0].value===``){remove.click();count--}}}function restore(button,original){button.disabled=original.disabled;if(original.title===null)button.removeAttribute(`title`);else button.setAttribute(`title`,original.title);button.style.opacity=original.opacity;button.style.cursor=original.cursor}function snapshot(button){return{disabled:button.disabled,title:button.getAttribute(`title`),opacity:button.style.opacity,cursor:button.style.cursor}}function disable(button,title){button.disabled=true;button.title=title;button.style.opacity=`0.5`;button.style.cursor=`not-allowed`}function hasTooManyImages(modal){return isSpicyPage()\u0026\u0026modal\u0026\u0026Array.from(modal.querySelectorAll(addSelector)).some(button=>itemCount(button)>maxItems)}function update(){const buttons=new Set(isSpicyPage()?document.querySelectorAll(addSelector):[]);for(const[button,original]of originals){if(!buttons.has(button)){restore(button,original);original.notice.remove();originals.delete(button)}}for(const button of buttons){if(!originals.has(button)){const notice=document.createElement(`p`);notice.setAttribute(`role`,`status`);notice.className=`mt-2 text-xs text-gray-500 dark:text-gray-400`;button.parentElement.append(notice);originals.set(button,{...snapshot(button),notice})}removeExtraEmptyRows(button);const count=itemCount(button);const original=originals.get(button);const message=count>maxItems?`Remove extra reference images to keep at most 2.`:`Maximum of 2 reference images reached.`;if(original.notice.textContent!==message)original.notice.textContent=message;original.notice.hidden=count\u003cmaxItems;if(count>=maxItems){disable(button,`Maximum of 2 reference images`)}else{restore(button,original)}}const invalidSends=new Set(Array.from(document.querySelectorAll(sendSelector)).filter(button=>hasTooManyImages(button.closest(modalSelector))));for(const[button,original]of blockedSends){if(!invalidSends.has(button)){restore(button,original);blockedSends.delete(button)}}for(const button of invalidSends){if(!blockedSends.has(button))blockedSends.set(button,snapshot(button));disable(button,`Remove extra reference images before sending (maximum 2).`)}}function guardClick(event){const button=event.target instanceof Element?event.target.closest(`button`):null;if(button\u0026\u0026(button.matches(addSelector)\u0026\u0026isSpicyPage()\u0026\u0026itemCount(button)>=maxItems||button.matches(sendSelector)\u0026\u0026hasTooManyImages(button.closest(modalSelector)))){event.preventDefault();event.stopImmediatePropagation();update()}}function guardSubmit(event){const modal=event.target instanceof Element?event.target.closest(modalSelector):null;if(hasTooManyImages(modal)){event.preventDefault();event.stopImmediatePropagation();update()}}function guardKeydown(event){const target=event.target;if(!(target instanceof Element))return;const sends=event.key===`Enter`\u0026\u0026(event.metaKey||event.ctrlKey||target.matches(`input`))||(event.key===`Enter`||event.key===` `)\u0026\u0026target.closest(sendSelector);if(sends)guardSubmit(event)}const observer=new MutationObserver(update);observer.observe(document.body,{childList:true,subtree:true});document.addEventListener(`click`,guardClick,true);document.addEventListener(`submit`,guardSubmit,true);document.addEventListener(`keydown`,guardKeydown,true);update();guard.cleanup=()=>{observer.disconnect();document.removeEventListener(`click`,guardClick,true);document.removeEventListener(`submit`,guardSubmit,true);document.removeEventListener(`keydown`,guardKeydown,true);for(const[button,original]of originals){restore(button,original);original.notice.remove()}for(const[button,original]of blockedSends)restore(button,original)}}};window.__muleReferenceImagesGuard=guard;guard.install();return()=>{guard.cleanup();if(window.__muleReferenceImagesGuard===guard)delete window.__muleReferenceImagesGuard}},[]);return null};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,Heading,Table,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`ReferenceImagesLimit`,children:_jsx(ReferenceImagesLimit,{})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Edit images using text prompts with the Q Image Edit Spicy model (`,_jsx(_components.code,{children:`qwen-image-edit-spicy`}),`). Supports adding, removing, or modifying elements, style transfer, and other image editing operations.`]}),`\n`,_jsxs(_components.p,{children:[`Keep the primary image in `,_jsx(_components.code,{children:`image`}),` and pass up to two additional images in `,_jsx(_components.code,{children:`reference_images`}),`. Output composition and dimensions follow the primary image; reference images are used in array order.`]}),`\n`,_jsx(Heading,{level:`2`,id:`key-features`,children:`Key Features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Text-guided image editing`}),`\n`,_jsx(_components.li,{children:`Add, remove, or modify image elements`}),`\n`,_jsx(_components.li,{children:`Style transfer and background changes`}),`\n`,_jsx(_components.li,{children:`Up to 3 images: one primary image plus two optional reference images`}),`\n`,_jsx(_components.li,{children:`Optional random seed for reproducibility`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`multi-image-rules`,children:`Multi-image Rules`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`image`}),` is required and remains the primary image`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reference_images`}),` is optional and accepts up to two image URLs or base64-encoded images`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reference_images[0]`}),` is reference image 2; `,_jsx(_components.code,{children:`reference_images[1]`}),` is reference image 3`]}),`\n`,_jsxs(_components.li,{children:[`Omit `,_jsx(_components.code,{children:`reference_images`}),`, use `,_jsx(_components.code,{children:`null`}),`, or pass `,_jsx(_components.code,{children:`[]`}),` for single-image editing; existing single-image calls need no change`]}),`\n`,_jsxs(_components.li,{children:[`Unknown fields are ignored, preserving existing client behavior. Only `,_jsx(_components.code,{children:`reference_images`}),` supplies additional reference images.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example Requests`}),`\n`,_jsx(Heading,{level:`3`,id:`basic`,children:`Basic`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/photo.png\"`}),_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Change the background to a sunny beach scene\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`with-seed`,children:`With Seed`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/photo.png\"`}),_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Add sunglasses to the person's face\"`}),_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:` \"seed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`two-images`,children:`Two Images`}),`\n`,_jsx(CodeBlock,{filename:``,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:` \"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/main.png\"`}),_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:` \"reference_images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/ref2.png\"`})}),`\n`,_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Dress the person in the outfit from reference image 2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`three-images`,children:`Three Images`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,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:` \"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/main.png\"`}),_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:` \"reference_images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/ref2.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/ref3.png\"`})}),`\n`,_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Use the outfit from reference image 2 and the background from reference image 3\"`}),_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:` \"seed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`pricing`,children:`Pricing`}),`\n`,_jsx(_components.p,{children:`Base price plus a surcharge for each additional reference image.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Item`}),_jsx(_components.th,{style:{textAlign:`right`},children:`Price (USD)`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Image editing (1 image)`}),_jsx(_components.td,{style:{textAlign:`right`},children:`$0.04 / image`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Image editing (2 images)`}),_jsx(_components.td,{style:{textAlign:`right`},children:`$0.043 / image`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Image editing (3 images)`}),_jsx(_components.td,{style:{textAlign:`right`},children:`$0.046 / image`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{ReferenceImagesLimit,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":"Q Image Edit Spicy Generation","openapi":"api-reference/endpoint/carrothub/qwen-image-edit-spicy/qwen-image-edit-spicy.yaml POST /vendors/carrothub/v1/qwen-image-edit-spicy/generation","description":"Edit an image based on a text prompt using the Qwen Image Edit Spicy model.\n\nKeep the primary image in `image` and pass up to two additional images in\n`reference_images`. Output composition and dimensions follow the primary image;\nreference images are used in array order.","href":"/api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[159,4987,"null;function _creat"]]},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Key Features","slug":"key-features","depth":2,"children":[]},{"title":"Multi-image Rules","slug":"multi-image-rules","depth":2,"children":[]},{"title":"Example Requests","slug":"example-requests","depth":2,"children":[{"title":"Basic","slug":"basic","depth":3,"children":[]},{"title":"With Seed","slug":"with-seed","depth":3,"children":[]},{"title":"Two Images","slug":"two-images","depth":3,"children":[]},{"title":"Three Images","slug":"three-images","depth":3,"children":[]}]},{"title":"Pricing","slug":"pricing","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create Generation Task","description":"Edit an image based on a text prompt using the Qwen Image Edit Spicy model.\n\nKeep the primary image in `image` and pass up to two additional images in\n`reference_images`. Output composition and dimensions follow the primary image;\nreference images are used in array order.","operationId":"qwen_image_edit_spicy_generation","responses":{"202":"c92a934c-2579-4ab5-ad58-4fd3b044bd38"},"requestBody":"10867e71-78a5-4f50-b7ee-897fd89db7a2","method":"post","type":"path","servers":["9f5c8c16-5ddd-462c-9f01-67bd34e0c3e0"],"security":["ee8dbedf-8909-4f9b-9a40-67b20adad3b4"],"path":"/vendors/carrothub/v1/qwen-image-edit-spicy/generation","baseUrlOptions":["https://api.mulerouter.ai/"],"title":"Create Generation Task","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"image":{"type":"string","minLength":1,"description":"Primary image to be edited. Supports an image URL or base64-encoded image data. Output composition and dimensions follow this image.","isRequired":true,"uniqueKey":"image","typeLabel":"string"},"prompt":{"type":"string","minLength":1,"description":"Text prompt describing the desired edit to apply to the image.","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"reference_images":{"oneOf":[{"type":"array","items":{"type":"string","minLength":1,"uniqueKey":"reference_images.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Optional reference images as URLs or base64-encoded image data, up to two items. Items correspond to reference image 2 and reference image 3 in order. Omit, use null, or pass an empty array for single-image editing.","maxItems":2,"uniqueKey":"reference_images.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Optional reference images as URLs or base64-encoded image data, up to two items. Items correspond to reference image 2 and reference image 3 in order. Omit, use null, or pass an empty array for single-image editing.","uniqueKey":"reference_images.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference_images","typeLabel":"string[] | null"},"seed":{"oneOf":[{"type":"integer","description":"Random seed. null or 0 for random generation.","uniqueKey":"seed.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Random seed. null or 0 for random generation.","uniqueKey":"seed.oneOf.1","typeLabel":"null"}],"uniqueKey":"seed","typeLabel":"integer | null"}},"required":["image","prompt"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"image":"\u003cstring>","prompt":"\u003cstring>","reference_images":["\u003cstring>"],"seed":123}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c92a934c-2579-4ab5-ad58-4fd3b044bd38":{"description":"Accepted - Task created successfully","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"task_info":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","description":"UUID of the task","format":"uuid","isRequired":true,"uniqueKey":"task_info.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Task status (pending when created)","enum":["pending"],"isRequired":true,"uniqueKey":"task_info.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","description":"Task creation timestamp (ISO 8601)","format":"date-time","isRequired":true,"uniqueKey":"task_info.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","description":"Task last update timestamp (ISO 8601)","format":"date-time","isRequired":true,"uniqueKey":"task_info.updated_at","typeLabel":"string\u003cdate-time>"}},"required":["id","status","created_at","updated_at"],"uniqueKey":"task_info","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"task_info":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"pending","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ee8dbedf-8909-4f9b-9a40-67b20adad3b4":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"9f5c8c16-5ddd-462c-9f01-67bd34e0c3e0":{"url":"https://api.mulerouter.ai/"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/endpoint/carrothub/qwen-image-edit-spicy/qwen-image-edit-spicy.yaml"},"subdomain":"mulerouter","siteName":"MuleRouter Docs","title":"MuleRouter Documentation - AI API Gateway \u0026 Routing Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T15:26:21.484Z","originalFileLocation":"api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation.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=\"Edit an image based on a text prompt using the Qwen Image Edit Spicy model. Keep the primary image in image and pass up to two additional images in reference_images. Output composition and dimensions follow the primary image; reference images are used in array order.\">\u003cmeta data-mint-head name=\"keywords\" content=\"MuleRouter, AI API, API gateway, LLM, OpenAI, image generation, video generation, Qwen, Wan 2, Midjourney, AI integration, API documentation\">\u003cmeta data-mint-head name=\"application-name\" content=\"MuleRouter Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_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=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"MuleRouter Documentation - AI API Gateway \u0026amp; Routing Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Complete API documentation for MuleRouter AI platform. Learn to integrate LLM, image generation, and video generation APIs including OpenAI, Qwen, Wan 2, Midjourney, and more.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MuleRouter Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.mulerouter.ai/docs/api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://www.mulerouter.ai/logo/logo-black.png\">\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=\"MuleRouter Documentation - AI API Gateway \u0026amp; Routing Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Complete API documentation for MuleRouter AI platform. Learn to integrate LLM, image generation, and video generation APIs including OpenAI, Qwen, Wan 2, Midjourney, and more.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://www.mulerouter.ai/logo/logo-black.png\">\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=\"/docs/mintlify-assets/_mintlify/favicons/mulerouter/vbgd1_NbBwUfmOI3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MuleRouter Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#594BF6\">\u003cmeta data-mint-head name=\"author\" content=\"MuleRouter\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.mulerouter.ai/docs/api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/endpoint/carrothub/qwen-image-edit-spicy/generation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MuleRouter Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MuleRouter Docs","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/pdRwFDsc9z"}]},"tabs":[{"tab":"Get Started","groups":[{"group":"Overview","pages":[{"title":"Welcome","href":"/get-started/welcome"},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Authentication","href":"/get-started/authentication"},{"title":"API keys","href":"/get-started/api-keys"},{"title":"Endpoint conventions","href":"/get-started/endpoints"},{"title":"Models","href":"/get-started/models"}]},{"group":"Core concepts","pages":[{"title":"Asynchronous Tasks","href":"/get-started/async-tasks"},{"title":"Webhooks","href":"/get-started/webhooks"},{"title":"Error Codes","href":"/get-started/error-codes"}]}]},{"tab":"API Reference","groups":[{"group":"Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Account","pages":[{"title":"Get account balance","openapi":"api-reference/endpoint/user/billing/balance.yaml GET /user/billing/balance","href":"/api-reference/endpoint/user/billing/balance"}]},{"group":"LLM","pages":[{"group":"OpenAI Format","pages":[{"title":"Create Chat Completion","openapi":"api-reference/endpoint/openai/openai.yaml POST /vendors/openai/v1/chat/completions","href":"/api-reference/endpoint/openai/chat"},{"title":"Supported Models","href":"/api-reference/endpoint/openai/models"}]}]},{"group":"Image Generation","pages":[{"group":"Wan 2","pages":[{"group":"Wan 2.6 Text-To-Image","pages":[{"title":"Wan 2.6 Text-To-Image Generation","openapi":"api-reference/endpoint/alibaba/wan2.6-t2i/wan2.6-t2i.yaml POST /vendors/alibaba/v1/wan2.6-t2i/generation","href":"/api-reference/endpoint/alibaba/wan2.6-t2i/generation"},{"title":"Wan 2.6 Text-To-Image Task","openapi":"api-reference/endpoint/alibaba/wan2.6-t2i/wan2.6-t2i.yaml GET /vendors/alibaba/v1/wan2.6-t2i/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-t2i/generation-task"},{"title":"Delete Wan 2.6 Text-To-Image Task","openapi":"api-reference/endpoint/alibaba/wan2.6-t2i/wan2.6-t2i.yaml DELETE /vendors/alibaba/v1/wan2.6-t2i/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-t2i/delete-task"}]},{"group":"Wan 2.6 Image-To-Image","pages":[{"title":"Wan 2.6 Image-To-Image Generation","openapi":"api-reference/endpoint/alibaba/wan2.6-image/wan2.6-image.yaml POST /vendors/alibaba/v1/wan2.6-image/generation","href":"/api-reference/endpoint/alibaba/wan2.6-image/generation"},{"title":"Wan 2.6 Image-To-Image Task","openapi":"api-reference/endpoint/alibaba/wan2.6-image/wan2.6-image.yaml GET /vendors/alibaba/v1/wan2.6-image/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-image/generation-task"},{"title":"Delete Wan 2.6 Image-To-Image Task","openapi":"api-reference/endpoint/alibaba/wan2.6-image/wan2.6-image.yaml DELETE /vendors/alibaba/v1/wan2.6-image/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-image/delete-task"}]},{"group":"Wan 2.5 Text-To-Image Preview","pages":[{"title":"Wan 2.5 Text-To-Image Preview Generation","openapi":"api-reference/endpoint/alibaba/wan2.5-t2i-preview/wan2.5-t2i-preview.yaml POST /vendors/alibaba/v1/wan2.5-t2i-preview/generation","href":"/api-reference/endpoint/alibaba/wan2.5-t2i-preview/generation"},{"title":"Wan 2.5 Text-To-Image Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-t2i-preview/wan2.5-t2i-preview.yaml GET /vendors/alibaba/v1/wan2.5-t2i-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-t2i-preview/generation-task"},{"title":"Delete Wan 2.5 Text-To-Image Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-t2i-preview/wan2.5-t2i-preview.yaml DELETE /vendors/alibaba/v1/wan2.5-t2i-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-t2i-preview/delete-task"}]},{"group":"Wan 2.5 Image-To-Image Preview","pages":[{"title":"Wan 2.5 Image-To-Image Preview Generation","openapi":"api-reference/endpoint/alibaba/wan2.5-i2i-preview/wan2.5-i2i-preview.yaml POST /vendors/alibaba/v1/wan2.5-i2i-preview/generation","href":"/api-reference/endpoint/alibaba/wan2.5-i2i-preview/generation"},{"title":"Wan 2.5 Image-To-Image Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-i2i-preview/wan2.5-i2i-preview.yaml GET /vendors/alibaba/v1/wan2.5-i2i-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-i2i-preview/generation-task"},{"title":"Delete Wan 2.5 Image-To-Image Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-i2i-preview/wan2.5-i2i-preview.yaml DELETE /vendors/alibaba/v1/wan2.5-i2i-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-i2i-preview/delete-task"}]}]},{"group":"Qwen Image Max","pages":[{"title":"Qwen Image Max Generation","openapi":"api-reference/endpoint/alibaba/qwen-image-max/qwen-image-max.yaml POST /vendors/alibaba/v1/qwen-image-max/generation","href":"/api-reference/endpoint/alibaba/qwen-image-max/generation"},{"title":"Qwen Image Max Task","openapi":"api-reference/endpoint/alibaba/qwen-image-max/qwen-image-max.yaml GET /vendors/alibaba/v1/qwen-image-max/generation/{task_id}","href":"/api-reference/endpoint/alibaba/qwen-image-max/generation-task"},{"title":"Delete Qwen Image Max Task","openapi":"api-reference/endpoint/alibaba/qwen-image-max/qwen-image-max.yaml DELETE /vendors/alibaba/v1/qwen-image-max/generation/{task_id}","href":"/api-reference/endpoint/alibaba/qwen-image-max/delete-task"}]},{"group":"Qwen Image Edit Max","pages":[{"title":"Qwen Image Edit Max Generation","openapi":"api-reference/endpoint/alibaba/qwen-image-edit-max/qwen-image-edit-max.yaml POST /vendors/alibaba/v1/qwen-image-edit-max/generation","href":"/api-reference/endpoint/alibaba/qwen-image-edit-max/generation"},{"title":"Qwen Image Edit Max Task","openapi":"api-reference/endpoint/alibaba/qwen-image-edit-max/qwen-image-edit-max.yaml GET /vendors/alibaba/v1/qwen-image-edit-max/generation/{task_id}","href":"/api-reference/endpoint/alibaba/qwen-image-edit-max/generation-task"},{"title":"Delete Qwen Image Edit Max Task","openapi":"api-reference/endpoint/alibaba/qwen-image-edit-max/qwen-image-edit-max.yaml DELETE /vendors/alibaba/v1/qwen-image-edit-max/generation/{task_id}","href":"/api-reference/endpoint/alibaba/qwen-image-edit-max/delete-task"}]},{"group":"Nano Banana Pro","pages":[{"title":"🍌 Nano Banana Pro Image Generation","openapi":"api-reference/endpoint/google/nano-banana-pro/openapi.yaml POST /vendors/google/v1/nano-banana-pro/generation","href":"/api-reference/endpoint/google/nano-banana-pro/generation"},{"title":"🍌 Nano Banana Pro Generation Task","openapi":"api-reference/endpoint/google/nano-banana-pro/openapi.yaml GET /vendors/google/v1/nano-banana-pro/generation/{task_id}","href":"/api-reference/endpoint/google/nano-banana-pro/generation-task"},{"title":"Delete Nano Banana Pro Generation Task","openapi":"api-reference/endpoint/google/nano-banana-pro/openapi.yaml DELETE /vendors/google/v1/nano-banana-pro/generation/{task_id}","href":"/api-reference/endpoint/google/nano-banana-pro/delete-task"},{"title":"🍌 Nano Banana Pro Image Edit","openapi":"api-reference/endpoint/google/nano-banana-pro/openapi.yaml POST /vendors/google/v1/nano-banana-pro/edit","href":"/api-reference/endpoint/google/nano-banana-pro/edit"},{"title":"🍌 Nano Banana Pro Edit Task","openapi":"api-reference/endpoint/google/nano-banana-pro/openapi.yaml GET /vendors/google/v1/nano-banana-pro/edit/{task_id}","href":"/api-reference/endpoint/google/nano-banana-pro/edit-task"}]},{"group":"Nano Banana 2","pages":[{"title":"🍌 Nano Banana 2 Image Generation","openapi":"api-reference/endpoint/google/nano-banana-2/openapi.yaml POST /vendors/google/v1/nano-banana-2/generation","href":"/api-reference/endpoint/google/nano-banana-2/generation"},{"title":"🍌 Nano Banana 2 Generation Task","openapi":"api-reference/endpoint/google/nano-banana-2/openapi.yaml GET /vendors/google/v1/nano-banana-2/generation/{task_id}","href":"/api-reference/endpoint/google/nano-banana-2/generation-task"},{"title":"Delete Nano Banana 2 Generation Task","openapi":"api-reference/endpoint/google/nano-banana-2/openapi.yaml DELETE /vendors/google/v1/nano-banana-2/generation/{task_id}","href":"/api-reference/endpoint/google/nano-banana-2/delete-task"},{"title":"🍌 Nano Banana 2 Image Edit","openapi":"api-reference/endpoint/google/nano-banana-2/openapi.yaml POST /vendors/google/v1/nano-banana-2/edit","href":"/api-reference/endpoint/google/nano-banana-2/edit"},{"title":"🍌 Nano Banana 2 Edit Task","openapi":"api-reference/endpoint/google/nano-banana-2/openapi.yaml GET /vendors/google/v1/nano-banana-2/edit/{task_id}","href":"/api-reference/endpoint/google/nano-banana-2/edit-task"}]},{"group":"Midjourney","pages":[{"title":"Diffusion","openapi":"api-reference/endpoint/midjourney/midjourney.yaml POST /vendors/midjourney/v1/tob/diffusion","href":"/api-reference/endpoint/midjourney/diffusion"},{"title":"Diffusion","openapi":"api-reference/endpoint/midjourney/midjourney.yaml GET /vendors/midjourney/v1/tob/diffusion/{task_id}","href":"/api-reference/endpoint/midjourney/diffuison-task"}]},{"group":"GPT Image 2","pages":[{"title":"GPT Image 2 Image Generation","openapi":"api-reference/endpoint/openai/gpt-image-2/openapi.yaml POST /vendors/openai/v1/gpt-image-2/generation","href":"/api-reference/endpoint/openai/gpt-image-2/generation"},{"title":"GPT Image 2 Generation Task","openapi":"api-reference/endpoint/openai/gpt-image-2/openapi.yaml GET /vendors/openai/v1/gpt-image-2/generation/{task_id}","href":"/api-reference/endpoint/openai/gpt-image-2/generation-task"},{"title":"Delete GPT Image 2 Generation Task","openapi":"api-reference/endpoint/openai/gpt-image-2/openapi.yaml DELETE /vendors/openai/v1/gpt-image-2/generation/{task_id}","href":"/api-reference/endpoint/openai/gpt-image-2/delete-task"},{"title":"GPT Image 2 Image Edit","openapi":"api-reference/endpoint/openai/gpt-image-2/openapi.yaml POST /vendors/openai/v1/gpt-image-2/edit","href":"/api-reference/endpoint/openai/gpt-image-2/edit"},{"title":"GPT Image 2 Edit Task","openapi":"api-reference/endpoint/openai/gpt-image-2/openapi.yaml GET /vendors/openai/v1/gpt-image-2/edit/{task_id}","href":"/api-reference/endpoint/openai/gpt-image-2/edit-task"}]}]},{"group":"Video Generation","pages":[{"group":"Wan 3","pages":[{"group":"Wan 3.0","pages":[{"title":"Alibaba W3.0 Video Generation","openapi":"api-reference/endpoint/alibaba/w3.0-video/w3.0-video.yaml POST /vendors/alibaba/v1/w3.0-video/generation","href":"/api-reference/endpoint/alibaba/w3.0-video/generation"},{"title":"Alibaba W3.0 Video Generation Task","openapi":"api-reference/endpoint/alibaba/w3.0-video/w3.0-video.yaml GET /vendors/alibaba/v1/w3.0-video/generation/{task_id}","href":"/api-reference/endpoint/alibaba/w3.0-video/generation-task"},{"title":"Delete Alibaba W3.0 Video Generation Task","openapi":"api-reference/endpoint/alibaba/w3.0-video/w3.0-video.yaml DELETE /vendors/alibaba/v1/w3.0-video/generation/{task_id}","href":"/api-reference/endpoint/alibaba/w3.0-video/delete-task"}]},{"group":"Wan 3.0 Prime","pages":[{"title":"Alibaba W3.0-Prime Video Generation","openapi":"api-reference/endpoint/alibaba/w3.0-video-prime/w3.0-video-prime.yaml POST /vendors/alibaba/v1/w3.0-video-prime/generation","href":"/api-reference/endpoint/alibaba/w3.0-video-prime/generation"},{"title":"Alibaba W3.0-Prime Video Generation Task","openapi":"api-reference/endpoint/alibaba/w3.0-video-prime/w3.0-video-prime.yaml GET /vendors/alibaba/v1/w3.0-video-prime/generation/{task_id}","href":"/api-reference/endpoint/alibaba/w3.0-video-prime/generation-task"},{"title":"Delete Alibaba W3.0-Prime Video Generation Task","openapi":"api-reference/endpoint/alibaba/w3.0-video-prime/w3.0-video-prime.yaml DELETE /vendors/alibaba/v1/w3.0-video-prime/generation/{task_id}","href":"/api-reference/endpoint/alibaba/w3.0-video-prime/delete-task"}]}]},{"group":"Wan 2","pages":[{"group":"Wan 2.6 Text-To-Video","pages":[{"title":"Wan 2.6 Text-To-Video Generation","openapi":"api-reference/endpoint/alibaba/wan2.6-t2v/wan2.6-t2v.yaml POST /vendors/alibaba/v1/wan2.6-t2v/generation","href":"/api-reference/endpoint/alibaba/wan2.6-t2v/generation"},{"title":"Wan 2.6 Text-To-Video Task","openapi":"api-reference/endpoint/alibaba/wan2.6-t2v/wan2.6-t2v.yaml GET /vendors/alibaba/v1/wan2.6-t2v/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-t2v/generation-task"},{"title":"Delete Wan 2.6 Text-To-Video Task","openapi":"api-reference/endpoint/alibaba/wan2.6-t2v/wan2.6-t2v.yaml DELETE /vendors/alibaba/v1/wan2.6-t2v/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-t2v/delete-task"}]},{"group":"Wan 2.6 Image-To-Video","pages":[{"title":"Wan 2.6 Image-To-Video Generation","openapi":"api-reference/endpoint/alibaba/wan2.6-i2v/wan2.6-i2v.yaml POST /vendors/alibaba/v1/wan2.6-i2v/generation","href":"/api-reference/endpoint/alibaba/wan2.6-i2v/generation"},{"title":"Wan 2.6 Image-To-Video Task","openapi":"api-reference/endpoint/alibaba/wan2.6-i2v/wan2.6-i2v.yaml GET /vendors/alibaba/v1/wan2.6-i2v/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-i2v/generation-task"},{"title":"Delete Wan 2.6 Image-To-Video Task","openapi":"api-reference/endpoint/alibaba/wan2.6-i2v/wan2.6-i2v.yaml DELETE /vendors/alibaba/v1/wan2.6-i2v/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.6-i2v/delete-task"}]},{"group":"Wan 2.5 Text-To-Video Preview","pages":[{"title":"Wan 2.5 Text-To-Video Preview Generation","openapi":"api-reference/endpoint/alibaba/wan2.5-t2v-preview/wan2.5-t2v-preview.yaml POST /vendors/alibaba/v1/wan2.5-t2v-preview/generation","href":"/api-reference/endpoint/alibaba/wan2.5-t2v-preview/generation"},{"title":"Wan 2.5 Text-To-Video Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-t2v-preview/wan2.5-t2v-preview.yaml GET /vendors/alibaba/v1/wan2.5-t2v-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-t2v-preview/generation-task"},{"title":"Delete Wan 2.5 Text-To-Video Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-t2v-preview/wan2.5-t2v-preview.yaml DELETE /vendors/alibaba/v1/wan2.5-t2v-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-t2v-preview/delete-task"}]},{"group":"Wan 2.5 Image-To-Video Preview","pages":[{"title":"Wan 2.5 Image-To-Video Preview Generation","openapi":"api-reference/endpoint/alibaba/wan2.5-i2v-preview/wan2.5-i2v-preview.yaml POST /vendors/alibaba/v1/wan2.5-i2v-preview/generation","href":"/api-reference/endpoint/alibaba/wan2.5-i2v-preview/generation"},{"title":"Wan 2.5 Image-To-Video Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-i2v-preview/wan2.5-i2v-preview.yaml GET /vendors/alibaba/v1/wan2.5-i2v-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-i2v-preview/generation-task"},{"title":"Delete Wan 2.5 Image-To-Video Preview Task","openapi":"api-reference/endpoint/alibaba/wan2.5-i2v-preview/wan2.5-i2v-preview.yaml DELETE /vendors/alibaba/v1/wan2.5-i2v-preview/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.5-i2v-preview/delete-task"}]},{"group":"Wan 2.2 Text-To-Video Plus","pages":[{"title":"Wan 2.2 Text-To-Video Plus Generation","openapi":"api-reference/endpoint/alibaba/wan2.2-t2v-plus/wan2.2-t2v-plus.yaml POST /vendors/alibaba/v1/wan2.2-t2v-plus/generation","href":"/api-reference/endpoint/alibaba/wan2.2-t2v-plus/generation"},{"title":"Wan 2.2 Text-To-Video Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.2-t2v-plus/wan2.2-t2v-plus.yaml GET /vendors/alibaba/v1/wan2.2-t2v-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.2-t2v-plus/generation-task"},{"title":"Delete Wan 2.2 Text-To-Video Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.2-t2v-plus/wan2.2-t2v-plus.yaml DELETE /vendors/alibaba/v1/wan2.2-t2v-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.2-t2v-plus/delete-task"}]},{"group":"Wan 2.2 Image-To-Video Plus","pages":[{"title":"Wan 2.2 Image-To-Video Plus Generation","openapi":"api-reference/endpoint/alibaba/wan2.2-i2v-plus/wan2.2-i2v-plus.yaml POST /vendors/alibaba/v1/wan2.2-i2v-plus/generation","href":"/api-reference/endpoint/alibaba/wan2.2-i2v-plus/generation"},{"title":"Wan 2.2 Image-To-Video Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.2-i2v-plus/wan2.2-i2v-plus.yaml GET /vendors/alibaba/v1/wan2.2-i2v-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.2-i2v-plus/generation-task"},{"title":"Delete Wan 2.2 Image-To-Video Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.2-i2v-plus/wan2.2-i2v-plus.yaml DELETE /vendors/alibaba/v1/wan2.2-i2v-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.2-i2v-plus/delete-task"}]},{"group":"Wan 2.2 Image-To-Video Flash","pages":[{"title":"Wan 2.2 Image-To-Video Flash Generation","openapi":"api-reference/endpoint/alibaba/wan2.2-i2v-flash/wan2.2-i2v-flash.yaml POST /vendors/alibaba/v1/wan2.2-i2v-flash/generation","href":"/api-reference/endpoint/alibaba/wan2.2-i2v-flash/generation"},{"title":"Wan 2.2 Image-To-Video Flash Task","openapi":"api-reference/endpoint/alibaba/wan2.2-i2v-flash/wan2.2-i2v-flash.yaml GET /vendors/alibaba/v1/wan2.2-i2v-flash/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.2-i2v-flash/generation-task"},{"title":"Delete Wan 2.2 Image-To-Video Flash Task","openapi":"api-reference/endpoint/alibaba/wan2.2-i2v-flash/wan2.2-i2v-flash.yaml DELETE /vendors/alibaba/v1/wan2.2-i2v-flash/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.2-i2v-flash/delete-task"}]},{"group":"Wan 2.1 Keyframe-To-Video Plus","pages":[{"title":"Wan 2.1 Keyframe-To-Video Plus Generation","openapi":"api-reference/endpoint/alibaba/wan2.1-kf2v-plus/wan2.1-kf2v-plus.yaml POST /vendors/alibaba/v1/wan2.1-kf2v-plus/generation","href":"/api-reference/endpoint/alibaba/wan2.1-kf2v-plus/generation"},{"title":"Wan 2.1 Keyframe-To-Video Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.1-kf2v-plus/wan2.1-kf2v-plus.yaml GET /vendors/alibaba/v1/wan2.1-kf2v-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.1-kf2v-plus/generation-task"},{"title":"Delete Wan 2.1 Keyframe-To-Video Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.1-kf2v-plus/wan2.1-kf2v-plus.yaml DELETE /vendors/alibaba/v1/wan2.1-kf2v-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.1-kf2v-plus/delete-task"}]},{"group":"Wan 2.1 Video Ace Plus","pages":[{"title":"Wan 2.1 Video Ace Plus Generation","openapi":"api-reference/endpoint/alibaba/wan2.1-vace-plus/wan2.1-vace-plus.yaml POST /vendors/alibaba/v1/wan2.1-vace-plus/generation","href":"/api-reference/endpoint/alibaba/wan2.1-vace-plus/generation"},{"title":"Wan 2.1 Video Ace Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.1-vace-plus/wan2.1-vace-plus.yaml GET /vendors/alibaba/v1/wan2.1-vace-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.1-vace-plus/generation-task"},{"title":"Delete Wan 2.1 Video Ace Plus Task","openapi":"api-reference/endpoint/alibaba/wan2.1-vace-plus/wan2.1-vace-plus.yaml DELETE /vendors/alibaba/v1/wan2.1-vace-plus/generation/{task_id}","href":"/api-reference/endpoint/alibaba/wan2.1-vace-plus/delete-task"}]}]},{"group":"Wan 2 Spark","pages":[{"group":"Wan 2.6 Text-To-Video Spark","pages":[{"title":"Wan 2.6 Text-To-Video Spark Generation","openapi":"api-reference/endpoint/mulerouter/wan2.6-t2v-spark/wan2.6-t2v-spark.yaml POST /vendors/mulerouter/v1/wan2.6-t2v-spark/generation","href":"/api-reference/endpoint/mulerouter/wan2.6-t2v-spark/generation"},{"title":"Wan 2.6 Text-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.6-t2v-spark/wan2.6-t2v-spark.yaml GET /vendors/mulerouter/v1/wan2.6-t2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.6-t2v-spark/generation-task"},{"title":"Delete Wan 2.6 Text-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.6-t2v-spark/wan2.6-t2v-spark.yaml DELETE /vendors/mulerouter/v1/wan2.6-t2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.6-t2v-spark/delete-task"}]},{"group":"Wan 2.6 Image-To-Video Spark","pages":[{"title":"Wan 2.6 Image-To-Video Spark Generation","openapi":"api-reference/endpoint/mulerouter/wan2.6-i2v-spark/wan2.6-i2v-spark.yaml POST /vendors/mulerouter/v1/wan2.6-i2v-spark/generation","href":"/api-reference/endpoint/mulerouter/wan2.6-i2v-spark/generation"},{"title":"Wan 2.6 Image-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.6-i2v-spark/wan2.6-i2v-spark.yaml GET /vendors/mulerouter/v1/wan2.6-i2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.6-i2v-spark/generation-task"},{"title":"Delete Wan 2.6 Image-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.6-i2v-spark/wan2.6-i2v-spark.yaml DELETE /vendors/mulerouter/v1/wan2.6-i2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.6-i2v-spark/delete-task"}]},{"group":"Wan 2.5 Text-To-Video Spark","pages":[{"title":"Wan 2.5 Text-To-Video Spark Generation","openapi":"api-reference/endpoint/mulerouter/wan2.5-t2v-spark/wan2.5-t2v-spark.yaml POST /vendors/mulerouter/v1/wan2.5-t2v-spark/generation","href":"/api-reference/endpoint/mulerouter/wan2.5-t2v-spark/generation"},{"title":"Wan 2.5 Text-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.5-t2v-spark/wan2.5-t2v-spark.yaml GET /vendors/mulerouter/v1/wan2.5-t2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.5-t2v-spark/generation-task"},{"title":"Delete Wan 2.5 Text-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.5-t2v-spark/wan2.5-t2v-spark.yaml DELETE /vendors/mulerouter/v1/wan2.5-t2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.5-t2v-spark/delete-task"}]},{"group":"Wan 2.5 Image-To-Video Spark","pages":[{"title":"Wan 2.5 Image-To-Video Spark Generation","openapi":"api-reference/endpoint/mulerouter/wan2.5-i2v-spark/wan2.5-i2v-spark.yaml POST /vendors/mulerouter/v1/wan2.5-i2v-spark/generation","href":"/api-reference/endpoint/mulerouter/wan2.5-i2v-spark/generation"},{"title":"Wan 2.5 Image-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.5-i2v-spark/wan2.5-i2v-spark.yaml GET /vendors/mulerouter/v1/wan2.5-i2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.5-i2v-spark/generation-task"},{"title":"Delete Wan 2.5 Image-To-Video Spark Task","openapi":"api-reference/endpoint/mulerouter/wan2.5-i2v-spark/wan2.5-i2v-spark.yaml DELETE /vendors/mulerouter/v1/wan2.5-i2v-spark/generation/{task_id}","href":"/api-reference/endpoint/mulerouter/wan2.5-i2v-spark/delete-task"}]}]},{"group":"Kling","pages":[{"group":"Kling V3 Omni Text-To-Video","pages":[{"title":"Kling V3 Omni Text to Video","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-text-to-video.yaml POST /vendors/klingai/v1/kling-v3-omni/text-to-video/generation","href":"/api-reference/endpoint/klingai/kling-v3-omni/text-to-video"},{"title":"Kling V3 Omni Text to Video Task","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-text-to-video.yaml GET /vendors/klingai/v1/kling-v3-omni/text-to-video/generation/{task_id}","href":"/api-reference/endpoint/klingai/kling-v3-omni/text-to-video-task"}]},{"group":"Kling V3 Omni Image-To-Video","pages":[{"title":"Kling V3 Omni Image to Video","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-image-to-video.yaml POST /vendors/klingai/v1/kling-v3-omni/image-to-video/generation","href":"/api-reference/endpoint/klingai/kling-v3-omni/image-to-video"},{"title":"Kling V3 Omni Image to Video Task","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-image-to-video.yaml GET /vendors/klingai/v1/kling-v3-omni/image-to-video/generation/{task_id}","href":"/api-reference/endpoint/klingai/kling-v3-omni/image-to-video-task"}]},{"group":"Kling V3 Omni Reference Image-To-Video","pages":[{"title":"Kling V3 Omni Reference Image to Video","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-reference-image-to-video.yaml POST /vendors/klingai/v1/kling-v3-omni/reference-image-to-video/generation","href":"/api-reference/endpoint/klingai/kling-v3-omni/reference-image-to-video"},{"title":"Kling V3 Omni Reference Image to Video Task","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-reference-image-to-video.yaml GET /vendors/klingai/v1/kling-v3-omni/reference-image-to-video/generation/{task_id}","href":"/api-reference/endpoint/klingai/kling-v3-omni/reference-image-to-video-task"}]},{"group":"Kling V3 Omni Reference Video-To-Video","pages":[{"title":"Kling V3 Omni Reference Video to Video","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-reference-video-to-video.yaml POST /vendors/klingai/v1/kling-v3-omni/reference-video-to-video/generation","href":"/api-reference/endpoint/klingai/kling-v3-omni/reference-video-to-video"},{"title":"Kling V3 Omni Reference Video to Video Task","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-reference-video-to-video.yaml GET /vendors/klingai/v1/kling-v3-omni/reference-video-to-video/generation/{task_id}","href":"/api-reference/endpoint/klingai/kling-v3-omni/reference-video-to-video-task"}]},{"group":"Kling V3 Omni Video-To-Video Edit","pages":[{"title":"Kling V3 Omni Video to Video Edit","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-video-to-video-edit.yaml POST /vendors/klingai/v1/kling-v3-omni/video-to-video/edit","href":"/api-reference/endpoint/klingai/kling-v3-omni/video-to-video-edit"},{"title":"Kling V3 Omni Video to Video Edit Task","openapi":"api-reference/endpoint/klingai/kling-v3-omni/kling-v3-omni-video-to-video-edit.yaml GET /vendors/klingai/v1/kling-v3-omni/video-to-video/edit/{task_id}","href":"/api-reference/endpoint/klingai/kling-v3-omni/video-to-video-edit-task"}]},{"group":"Kling V3.0 Text-To-Video","pages":[{"title":"Kling V3.0 Text to Video","openapi":"api-reference/endpoint/klingai/kling-v3/openapi.yaml POST /vendors/klingai/v1/kling-v3/text-to-video/generation","href":"/api-reference/endpoint/klingai/kling-v3/text-to-video"},{"title":"Kling V3.0 Text to Video Task","openapi":"api-reference/endpoint/klingai/kling-v3/openapi.yaml GET /vendors/klingai/v1/kling-v3/text-to-video/generation/{task_id}","href":"/api-reference/endpoint/klingai/kling-v3/text-to-video-task"}]},{"group":"Kling V3.0 Image-To-Video","pages":[{"title":"Kling V3.0 Image to Video","openapi":"api-reference/endpoint/klingai/kling-v3/openapi.yaml POST /vendors/klingai/v1/kling-v3/image-to-video/generation","href":"/api-reference/endpoint/klingai/kling-v3/image-to-video"},{"title":"Kling V3.0 Image to Video Task","openapi":"api-reference/endpoint/klingai/kling-v3/openapi.yaml GET /vendors/klingai/v1/kling-v3/image-to-video/generation/{task_id}","href":"/api-reference/endpoint/klingai/kling-v3/image-to-video-task"}]}]},{"group":"Midjourney","pages":[{"title":"Video Diffusion","openapi":"api-reference/endpoint/midjourney/midjourney.yaml POST /vendors/midjourney/v1/tob/video-diffusion","href":"/api-reference/endpoint/midjourney/video-diffusion"},{"title":"Video Diffusion","openapi":"api-reference/endpoint/midjourney/midjourney.yaml GET /vendors/midjourney/v1/tob/video-diffusion/{task_id}","href":"/api-reference/endpoint/midjourney/video-diffusion-task"}]}]},{"group":"Speech Generation","pages":[{"group":"MiniMax","pages":[{"group":"Speech 2.8 HD Text-To-Speech","pages":[{"title":"MiniMax Speech 2.8 HD Text to Speech","openapi":"api-reference/endpoint/minimax/speech-2.8-hd/speech-2.8-hd.yaml POST /vendors/minimax/v1/speech-2.8-hd/text-to-speech/generation","href":"/api-reference/endpoint/minimax/speech-2.8-hd/text-to-speech"},{"title":"MiniMax Speech 2.8 HD Text to Speech Task","openapi":"api-reference/endpoint/minimax/speech-2.8-hd/speech-2.8-hd.yaml GET /vendors/minimax/v1/speech-2.8-hd/text-to-speech/generation/{task_id}","href":"/api-reference/endpoint/minimax/speech-2.8-hd/text-to-speech-task"}]},{"group":"Speech 2.8 Turbo Text-To-Speech","pages":[{"title":"MiniMax Speech 2.8 Turbo Text to Speech","openapi":"api-reference/endpoint/minimax/speech-2.8-turbo/speech-2.8-turbo.yaml POST /vendors/minimax/v1/speech-2.8-turbo/text-to-speech/generation","href":"/api-reference/endpoint/minimax/speech-2.8-turbo/text-to-speech"},{"title":"MiniMax Speech 2.8 Turbo Text to Speech Task","openapi":"api-reference/endpoint/minimax/speech-2.8-turbo/speech-2.8-turbo.yaml GET /vendors/minimax/v1/speech-2.8-turbo/text-to-speech/generation/{task_id}","href":"/api-reference/endpoint/minimax/speech-2.8-turbo/text-to-speech-task"}]}]}]},{"group":"Music Generation","pages":[{"group":"MiniMax","pages":[{"group":"Music 2.5 Text-To-Music","pages":[{"title":"MiniMax Music 2.5 Text to Music","openapi":"api-reference/endpoint/minimax/music-2.5/music-2.5.yaml POST /vendors/minimax/v1/music-2.5/text-to-music/generation","href":"/api-reference/endpoint/minimax/music-2.5/text-to-music"},{"title":"MiniMax Music 2.5 Text to Music Task","openapi":"api-reference/endpoint/minimax/music-2.5/music-2.5.yaml GET /vendors/minimax/v1/music-2.5/text-to-music/generation/{task_id}","href":"/api-reference/endpoint/minimax/music-2.5/text-to-music-task"}]},{"group":"Music 2.0 Text-To-Music","pages":[{"title":"MiniMax Music 2.0 Text to Music","openapi":"api-reference/endpoint/minimax/music-2.0/music-2.0.yaml POST /vendors/minimax/v1/music-2.0/text-to-music/generation","href":"/api-reference/endpoint/minimax/music-2.0/text-to-music"},{"title":"MiniMax Music 2.0 Text to Music Task","openapi":"api-reference/endpoint/minimax/music-2.0/music-2.0.yaml GET /vendors/minimax/v1/music-2.0/text-to-music/generation/{task_id}","href":"/api-reference/endpoint/minimax/music-2.0/text-to-music-task"}]}]}]}]},{"tab":"CLI","groups":[{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/cli/quickstart"},{"title":"Introduction","href":"/cli/introduction"},{"title":"Installation","href":"/cli/installation"},{"title":"Configuration","href":"/cli/configuration"}]},{"group":"Commands","pages":[{"title":"mulerouter list","href":"/cli/commands/list"},{"title":"mulerouter params","href":"/cli/commands/params"},{"title":"mulerouter run","href":"/cli/commands/run"},{"title":"mulerouter status","href":"/cli/commands/status"},{"title":"mulerouter config","href":"/cli/commands/config"}]},{"group":"Workflows","pages":[{"title":"Async tasks","href":"/cli/workflows/async-tasks"},{"title":"Scripting with JSON output","href":"/cli/workflows/json-output"},{"title":"Local image inputs","href":"/cli/workflows/image-inputs"}]},{"group":"Reference","pages":[{"title":"Models cheatsheet","href":"/cli/models"},{"title":"Library usage","href":"/cli/library-usage"},{"title":"Troubleshooting","href":"/cli/troubleshooting"}]}]},{"tab":"Legal","groups":[{"group":"Terms","pages":[{"title":"User Privacy Policy","href":"/legal/user-privacy-policy"},{"title":"User Terms of Use","href":"/legal/user-terms-of-use"},{"title":"Third Party Terms","href":"/legal/third-party-terms"}]},{"group":"Licenses","pages":[]}]}]},"basePath":"","title":"MuleRouter Documentation - AI API Gateway \u0026 Routing Platform","buildId":"dpl_vxNrqJE23JbA78phy8jLDK3aKko4","deploymentId":"dpl_vxNrqJE23JbA78phy8jLDK3aKko4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DNbCZWPE.js","utils-CCONXZq-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DHN1IJy-.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-nt3QucCU.js","snippetPresets-CHEWgGN5.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CmuEHDif.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C35XDfWP.js","shallow-BswxdzJ7.js","getApiPlaygroundDisplay-DpjRQ2mC.js","CodeSnippet-W2AhdkX6.js","CodeSnippets-Dgg3ypJB.js","Page-CZg0_Frb.js","getPastedJson-EoZQYqs0.js","icon-CLvZgIkz.js","MethodPill-DsuQabHc.js","DuplicateIcon-B_aCTiZ3.js","createIcon-CaCNxjoO.js","DynamicMarkdown-HqliV26m.js","SectionHeading-Da8zerNI.js","axios-vUo_bRtp.js","Markdown-Bz87YqWD.js","clsx-B_RjOJVu.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Db_D9YDq.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CmpWN1bk.js"]}