Send requests to https://customer.lululab.ai. Use the raw API key in the Authorization header. Submit creation jobs through POST /tasks and choose the capability with workflowId.
Purpose
Method and path
Notes
Create upload destination
POST /uploads
Returns presignedUrl and file id
List uploaded files
GET /files
Optional; get asset location and mimeType
Estimate credits
POST /billing/estimates
Call before submission; final settlement is server-side
Create a quote
POST /billing/quotes
Optional; returns an id usable as quoteId when submitting
ImageGenV2 · VideoGenV2 · SalesVideoPromptV3 · VideoCreationV1 · ProductImagePromptV1 · Select the capability. Product workflows require a planning task followed by generation.
input (object)
Yes
Workflow-specific parameters; see the field table for each capability.
attributes.saveGeneratedAssets (boolean)
No
true · false · Set true on generation jobs to save the result.
attributes.creationSource (string)
No
api · Optional source marker; examples use api.
quoteId (UUID)
No
Optional quote ID returned by /billing/quotes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LuluLab API","colors":{"primary":"#7654BD","light":"#AA8AF2","dark":"#6542A9"},"api":{"playground":{"display":"simple"}},"navbar":{"primary":{"type":"button","label":"LuluLab","href":"https://www.lululab.ai/"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"cn","href":"cn"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lululab-api","hasAudioNarration":false,"actualSubdomain":"lululab-api","customDomains":["docs.lululab.ai"],"gitSource":{"type":"artifacts","owner":"prod","repo":"c3bfa05b6b390fb7159a57d6","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b06755a6e8c57d07f10eded"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b06756438589b890193c9a7","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"cn","tag":"接口参考","count":8},{"language":"en","tag":"API reference","count":8},{"language":"cn","tag":"创作指南","count":4},{"language":"cn","tag":"开始接入","count":4},{"language":"en","tag":"Creative guides","count":4},{"language":"en","tag":"Get started","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"reference","slug":"/reference","pageMetadata":{"title":"API reference","description":null,"href":"/reference"},"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`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send requests to `,_jsx(_components.code,{children:`https://customer.lululab.ai`}),`. Use the raw API key in the `,_jsx(_components.code,{children:`Authorization`}),` header. Submit creation jobs through `,_jsx(_components.code,{children:`POST /tasks`}),` and choose the capability with `,_jsx(_components.code,{children:`workflowId`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Purpose`}),_jsx(_components.th,{children:`Method and path`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create upload destination`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /uploads`})}),_jsx(_components.td,{children:`Returns presignedUrl and file id`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`List uploaded files`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /files`})}),_jsx(_components.td,{children:`Optional; get asset location and mimeType`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Estimate credits`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /billing/estimates`})}),_jsx(_components.td,{children:`Call before submission; final settlement is server-side`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create a quote`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /billing/quotes`})}),_jsx(_components.td,{children:`Optional; returns an id usable as quoteId when submitting`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create a job`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /tasks`})}),_jsx(_components.td,{children:`Returns an id and initial status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Get a job`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /tasks/{id}`})}),_jsx(_components.td,{children:`Returns status, output, and errors`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`List jobs`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /tasks`})}),_jsx(_components.td,{children:`Supports pagination and workflowId filtering`})]})]})]}),`\n`,_jsx(_components.p,{children:`Estimate example:`}),`\n`,_jsx(CodeBlock,{filename:`Image credit estimate`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://customer.lululab.ai/billing/estimates`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"items\": [{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"workflowId\": \"ImageGenV2\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": { \"model\": \"gpt-image-2-5-flare\", \"resolution\": \"1K\", \"imageCount\": 1 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }] }'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For a time-limited quote, submit the same pricing input to /billing/quotes. The returned id can be used as quoteId on the task.`}),`\n`,_jsx(CodeBlock,{filename:`Create an image task quote`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://customer.lululab.ai/billing/quotes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LULULAB_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"workflowId\": \"ImageGenV2\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": { \"model\": \"gpt-image-2-5-flare\", \"resolution\": \"1K\", \"imageCount\": 1 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`common-task-fields`,children:`Common task fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field / type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Values and description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workflowId`}),` (`,_jsx(_components.code,{children:`string`}),`)`]}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`ImageGenV2 · VideoGenV2 · SalesVideoPromptV3 · VideoCreationV1 · ProductImagePromptV1 · Select the capability. Product workflows require a planning task followed by generation.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`input`}),` (`,_jsx(_components.code,{children:`object`}),`)`]}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Workflow-specific parameters; see the field table for each capability.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`attributes.saveGeneratedAssets`}),` (`,_jsx(_components.code,{children:`boolean`}),`)`]}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`true · false · Set true on generation jobs to save the result.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`attributes.creationSource`}),` (`,_jsx(_components.code,{children:`string`}),`)`]}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`api · Optional source marker; examples use api.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`quoteId`}),` (`,_jsx(_components.code,{children:`UUID`}),`)`]}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Optional quote ID returned by /billing/quotes.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"API reference","description":null,"href":"/reference"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Common task fields","slug":"common-task-fields","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lululab-api","siteName":"LuluLab API","title":"API reference - LuluLab API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/reference","matchLevel":0},"cn":{"href":"/cn/reference","matchLevel":1}}},"lastModified":"2026-11-25T05:43:05.305Z","originalFileLocation":"reference.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"LuluLab API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lululab-api/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lululab-api/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lululab-api/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/lululab-api/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"API reference - LuluLab API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LuluLab API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lululab.ai/reference\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lululab-api.mintlify.site/_mintlify/api/og/v2?division=API+reference\u0026amp;title=API+reference\u0026amp;theme=e3690d0c68548fe751e4b28b\u0026amp;signature=69897d95ab9272f69ec8b57c5b94532ca4302519f61e4351d32e54c57e8c165a\">\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=\"API reference - LuluLab API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lululab-api.mintlify.site/_mintlify/api/og/v2?division=API+reference\u0026amp;title=API+reference\u0026amp;theme=e3690d0c68548fe751e4b28b\u0026amp;signature=69897d95ab9272f69ec8b57c5b94532ca4302519f61e4351d32e54c57e8c165a\">\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/lululab-api/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LuluLab API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7654BD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lululab.ai/reference\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.lululab.ai/reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.lululab.ai/cn/reference\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.lululab.ai/reference\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lululab.ai/#organization\",\"name\":\"LuluLab API\",\"url\":\"https://docs.lululab.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lululab.ai#website\",\"name\":\"LuluLab API\",\"url\":\"https://docs.lululab.ai\",\"publisher\":{\"@id\":\"https://docs.lululab.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lululab.ai/reference#webpage\",\"url\":\"https://docs.lululab.ai/reference\",\"name\":\"API reference\",\"dateModified\":\"2026-11-25T05:43:05.305Z\",\"isPartOf\":{\"@id\":\"https://docs.lululab.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lululab.ai/reference#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lululab.ai/reference#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"LuluLab API\",\"item\":\"https://docs.lululab.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API reference\",\"item\":\"https://docs.lululab.ai/reference\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.lululab.ai/reference#article\",\"headline\":\"API reference\",\"name\":\"API reference\",\"url\":\"https://docs.lululab.ai/reference\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lululab.ai/reference#webpage\"},\"dateModified\":\"2026-11-25T05:43:05.305Z\",\"publisher\":{\"@id\":\"https://docs.lululab.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lululab.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LuluLab API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LuluLab API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference.md","siteName":"LuluLab API","nav":{"global":null,"languages":[{"language":"en","groups":[{"group":"Get started","pages":[{"title":"LuluLab API documentation","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Upload reference assets","href":"/uploads"},{"title":"Task status, results, and errors","href":"/task-results"}]},{"group":"Creative guides","pages":[{"title":"Image generation API","href":"/images"},{"title":"Video generation API","href":"/videos"},{"title":"Product video API","href":"/product-videos"},{"title":"Product image API","description":null,"href":"/product-images"}]},{"group":"API reference","pages":[{"title":"API reference","href":"/reference"},{"title":"Create a temporary upload destination","description":"Returns a presignedUrl. POST your file as multipart/form-data with a file field to that URL. The upload response returns location and mimeType; use them as the url and mimeType in a later creative request.","deprecated":null,"version":null,"openapi":"/openapi.json post /uploads","href":"/endpoints/getting-started/create-a-temporary-upload-destination"},{"title":"List uploaded files","deprecated":null,"version":null,"openapi":"/openapi.json get /files","href":"/endpoints/getting-started/list-uploaded-files"},{"title":"Estimate credits","deprecated":null,"version":null,"openapi":"/openapi.json post /billing/estimates","href":"/endpoints/getting-started/estimate-credits"},{"title":"Create a time-limited credit quote","deprecated":null,"version":null,"openapi":"/openapi.json post /billing/quotes","href":"/endpoints/getting-started/create-a-time-limited-credit-quote"},{"title":"Submit a creative task","deprecated":null,"version":null,"openapi":"/openapi.json post /tasks","href":"/endpoints/creative-tasks/submit-a-creative-task"},{"title":"Get task status and result","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks/{id}","href":"/endpoints/creative-tasks/get-task-status-and-result"},{"title":"List tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks","href":"/endpoints/creative-tasks/list-tasks"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/reference"}]}]},"basePath":"","title":"API reference - LuluLab API","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":[],"chunks":[]}