The FLUX series represents a family of AI image generation models developed by Black Forest Labs. See the pricing page for pricing details.FLUX.1 Schnell
Number of denoising steps. Supports flux_dev and flux_schnell. For flux_dev between 1 and 50, with a default value of 28. For flux_schnell between 1 and 4, with a default value of 4. For flux_pro between 1 and 50, with a default value of 25.
Controls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt. Supports flux_pro and flux_dev. Between 2 and 5 for flux_pro. Between 0 and 10 for flux_dev.
Interval is a setting that increases the variance in possible outputs letting the model be a tad more dynamic in what outputs it may produce in terms of composition, color, detail, and prompt interpretation. Setting this value low will ensure strong prompt following with more consistent outputs, setting it higher will produce more dynamic or varied outputs. Only supports flux_pro. Between 1 and 4.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Monica API Platform","colors":{"primary":"#6841EA","light":"#8264EE","dark":"#6841EA"},"favicon":"https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/favicon.png?fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=7ec20620912d6d0c91a2a86d866bd732","styling":{"eyebrows":null,"codeblocks":"system","latex":false},"logo":{"light":"https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=3752489b5b18653505b34b22cff64fbb","dark":"https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=9c51276e1ebe991ff84ed72f55b5295e","href":"https://platform.monica.im"},"api":{"openapi":["openapi/platform.yaml","openapi/openai.oapi.yaml","openapi/monica.oapi.yaml"],"playground":{"display":"simple"},"mdx":{"server":"https://openapi.monica.im","auth":{"method":"bearer","name":null}}},"navbar":{"links":[{"label":"Support","href":"https://monica.im/feedback?platform=openapi"}],"primary":{"type":"button","label":"Dashboard","href":"https://platform.monica.im/dashboard"}},"footer":{"socials":{"x":"https://x.com/hey_im_monica","linkedin":"https://www.linkedin.com/company/monica-im/mycompany/","website":"https://platform.monica.im"},"links":[{"header":"Legal","items":[{"label":"Terms of Service","href":"https://monica.im/terms"},{"label":"Privacy Policy","href":"https://monica.im/privacy"}]}]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"butterflyeffect-3a0f6b4e","hasAudioNarration":false,"actualSubdomain":"butterflyeffect-3a0f6b4e","customDomains":["platform.monica.im"],"gitSource":{"type":"github","owner":"monica-im","repo":"monica-api-platform-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c649c633b96a9da54edc","collectionId":"c546cd96-3224-4bf3-aedd-20968bb40e72","schemaVersion":"v2"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a20c649c633b96a9da54edc:success","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Chat","count":6},{"language":"default","tag":"Image generation","count":5},{"language":"default","tag":"Using the API","count":4},{"language":"default","tag":"Image tools","count":2},{"language":"default","tag":"Get Started","count":2}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/image-gen/flux","slug":"/en/image-gen/flux","pageMetadata":{"title":"FLUX models","openapi":"POST /v1/image/gen/flux","version":"English","description":null,"href":"/en/image-gen/flux"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const APIKeyHint=()=>{const _components={a:`a`,..._provideComponents()},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(Note,{children:[`Follow the `,_jsx(_components.a,{href:`/en/quickstart`,children:`quickstart guide`}),` to get your own API Key.`]})};function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{OptimizedImage,Tab,Tabs,_MdxComponentBoundary}=_components;if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`APIKeyHint`,children:_jsx(APIKeyHint,{})}),`\n`,_jsxs(_components.p,{children:[`The FLUX series represents a family of AI image generation models developed by `,_jsx(_components.a,{href:`https://blackforestlabs.ai/`,children:`Black Forest Labs`}),`. See the `,_jsx(_components.a,{href:`/en/models-and-pricing#image-generation`,children:`pricing page`}),` for pricing details.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`FLUX.1 Schnell`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Entry-level model in the FLUX series`}),`\n`,_jsx(_components.li,{children:`Optimized for speed and efficiency`}),`\n`,_jsx(_components.li,{children:`Balanced performance for general-purpose use`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`FLUX.1 dev`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Developer-focused variant`}),`\n`,_jsx(_components.li,{children:`Enhanced customization options`}),`\n`,_jsx(_components.li,{children:`Flexible parameter adjustments`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`FLUX.1 pro`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Professional-grade model`}),`\n`,_jsx(_components.li,{children:`Highest quality output in the series`}),`\n`,_jsx(_components.li,{children:`Advanced features and controls`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Previews`})}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`FLUX.1 Schnell`,id:`flux-1-schnell`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-schnell.webp?fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=1113d52278d5f643f3c50f73dbb45363`,\"data-og-width\":`1024`,width:`1024`,\"data-og-height\":`1024`,height:`1024`,\"data-path\":`image-previews/flux-schnell.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-schnell.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=f3ba72d14b76af45e3d5a2aaff21037f 280w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-schnell.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=53c667ca94bd22d51a12778257f92b12 560w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-schnell.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=210b264de780756b00fb4f9226d3e0fd 840w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-schnell.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=90609f14ea3e2aaf1e802456682a171c 1100w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-schnell.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=efe8c37bc2af46090166f5d6957130b5 1650w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-schnell.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=1f8d507599020d642db8cc1694e20779 2500w`})}),_jsx(Tab,{title:`FLUX.1 dev`,id:`flux-1-dev`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-dev.webp?fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=7c251c517fa54eedcea9000929b38a21`,\"data-og-width\":`1024`,width:`1024`,\"data-og-height\":`1024`,height:`1024`,\"data-path\":`image-previews/flux-dev.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-dev.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=a457da6da525a536b20e2433ed20ffb7 280w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-dev.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=4e5a87d8b9f1ed8eb57a184c499a2a74 560w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-dev.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=3eca8d7901c3b7fb45540b9abd8fd042 840w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-dev.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=139b47e83b2fce9ed6f7ce51609d5f0f 1100w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-dev.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=76560cd5ba9d46af87be4326dcb443d9 1650w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-dev.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=2cc17d242129f3cab0df65caeef81fda 2500w`})}),_jsx(Tab,{title:`FLUX.1 pro`,id:`flux-1-pro`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-pro.webp?fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=744c5a003cd581e3e865c3c446b0fe56`,\"data-og-width\":`1024`,width:`1024`,\"data-og-height\":`768`,height:`768`,\"data-path\":`image-previews/flux-pro.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-pro.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=ccdca4b382c1829e26de848602199099 280w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-pro.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=9b92aef4320910237ab027d976ee9457 560w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-pro.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=df6c5c74ae812d2733c440b9ae884ed5 840w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-pro.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=bc51666af6255f9ef811ecb249381176 1100w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-pro.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=71a2b739db931919ea84f6f862369f9d 1650w, https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/flux-pro.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=1504797d8814d923be725616b8aebaa9 2500w`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{APIKeyHint,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"FLUX models","openapi":"POST /v1/image/gen/flux","version":"English","description":null,"href":"/en/image-gen/flux"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["image.v1.ImageGenerationService"],"summary":"FluxImageGeneration","operationId":"image.v1.ImageGenerationService.FluxImageGeneration","requestBody":"73041888-0f6c-47de-a688-6ed2bcf9c427","responses":{"200":"4e7db9cd-fdbd-4305-8135-f24282bb9ebd"},"security":["ea4890e9-50f9-4b68-898a-dc6beefc714b"],"method":"post","type":"path","servers":[],"path":"/v1/image/gen/flux","baseUrlOptions":["https://openapi.monica.im"],"title":"FluxImageGeneration","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","examples":["flux_dev"],"title":"model","enum":["flux_pro","flux_dev","flux_schnell"],"description":"The Flux model to use for generation.","isRequired":true,"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"prompt":{"type":"string","examples":["black forest gateau cake spelling out the words \"FLUX DEV\", tasty, food photography, dynamic shot"],"title":"prompt","maxLength":4000,"minLength":1,"description":"Text prompt for image generation.","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"num_outputs":{"type":"integer","examples":[1],"title":"num_outputs","maximum":4,"minimum":1,"format":"int32","description":"Number of images to generate. Supports for flux_dev and flux_schnell. Between 1 and 4.","default":"1","uniqueKey":"num_outputs","typeLabel":"integer\u003cint32>"},"size":{"type":"string","examples":["1024x1024"],"title":"size","enum":["1024x1024","768x1344","1344x768"],"description":"The aspect ratio of generated images.","default":"1024x1024","uniqueKey":"size","typeLabel":"enum\u003cstring>"},"seed":{"type":"integer","examples":[42],"title":"seed","maximum":2147483647,"format":"int32","description":"Random seed. Set for reproducible generation.","uniqueKey":"seed","typeLabel":"integer\u003cint32>"},"steps":{"type":"integer","examples":[25],"title":"steps","maximum":50,"minimum":1,"format":"int32","description":"Number of denoising steps. Supports flux_dev and flux_schnell. For flux_dev between 1 and 50, with a default value of 28. For flux_schnell between 1 and 4, with a default value of 4. For flux_pro between 1 and 50, with a default value of 25.","default":"25","uniqueKey":"steps","typeLabel":"integer\u003cint32>"},"guidance":{"type":"number","examples":["3"],"title":"guidance","format":"double","description":"Controls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt. Supports flux_pro and flux_dev. Between 2 and 5 for flux_pro. Between 0 and 10 for flux_dev.","default":"3","uniqueKey":"guidance","typeLabel":"number\u003cdouble>"},"interval":{"type":"integer","examples":[2],"title":"interval","maximum":4,"minimum":1,"format":"int32","description":"Interval is a setting that increases the variance in possible outputs letting the model be a tad more dynamic in what outputs it may produce in terms of composition, color, detail, and prompt interpretation. Setting this value low will ensure strong prompt following with more consistent outputs, setting it higher will produce more dynamic or varied outputs. Only supports flux_pro. Between 1 and 4.","default":"2","uniqueKey":"interval","typeLabel":"integer\u003cint32>"},"safety_tolerance":{"type":"integer","examples":[2],"title":"safety_tolerance","maximum":6,"minimum":1,"format":"int32","description":"Safety tolerance, 1 is most strict and 6 is most permissive. Only supports flux_pro. Between 1 and 6.","default":"2","uniqueKey":"safety_tolerance","typeLabel":"integer\u003cint32>"}},"title":"FluxImageGenerationRequest","required":["model","prompt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"FluxImageGenerationRequest · object"},"examples":{"Example":{"title":"Example","value":{"model":"flux_dev","prompt":"black forest gateau cake spelling out the words \"FLUX DEV\", tasty, food photography, dynamic shot","num_outputs":1,"size":"1024x1024","seed":42,"steps":25,"guidance":"3","interval":2,"safety_tolerance":2}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"4e7db9cd-fdbd-4305-8135-f24282bb9ebd":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","title":"url","description":"The URL of the generated image.","uniqueKey":"data.items.[INDEX].url","typeLabel":"string"}},"title":"ImageResponseDataInner","additionalProperties":false,"uniqueKey":"data.items.[INDEX]","typeLabel":"ImageResponseDataInner · object"},"title":"data","description":"An array of generated image URLs.","uniqueKey":"data","typeLabel":"ImageResponseDataInner · object[]"}},"title":"FluxImageGenerationResponse","additionalProperties":false,"uniqueKey":"","typeLabel":"FluxImageGenerationResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":[{"url":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ea4890e9-50f9-4b68-898a-dc6beefc714b":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{},"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":"openapi/platform.yaml"},"subdomain":"butterflyeffect-3a0f6b4e","siteName":"Monica API Platform","title":"FLUX models - Monica API Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-28T10:19:18.235Z","originalFileLocation":"en/image-gen/flux.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=\"application-name\" content=\"Monica API Platform\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"FLUX models - Monica API Platform\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Monica API Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://platform.monica.im/docs/en/image-gen/flux\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://butterflyeffect-3a0f6b4e.mintlify.app/_mintlify/api/og/v2?division=Image+generation\u0026amp;title=FLUX+models\u0026amp;theme=76f0feb70011549b5d0494c7\u0026amp;signature=41e13efd664027d5580641309c75d9c411677d3ac2d8d17457db975dc68186d9\">\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=\"FLUX models - Monica API Platform\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://butterflyeffect-3a0f6b4e.mintlify.app/_mintlify/api/og/v2?division=Image+generation\u0026amp;title=FLUX+models\u0026amp;theme=76f0feb70011549b5d0494c7\u0026amp;signature=41e13efd664027d5580641309c75d9c411677d3ac2d8d17457db975dc68186d9\">\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/butterflyeffect-3a0f6b4e/4o5bu-HazC7GR-qQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Monica API Platform\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6841EA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://platform.monica.im/docs/en/image-gen/flux\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/image-gen/flux.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://platform.monica.im/#organization\",\"name\":\"Monica API Platform\",\"url\":\"https://platform.monica.im\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=XIP_99VNIjc_U1El\u0026q=85\u0026s=3752489b5b18653505b34b22cff64fbb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://platform.monica.im/docs#website\",\"name\":\"Monica API Platform\",\"url\":\"https://platform.monica.im/docs\",\"publisher\":{\"@id\":\"https://platform.monica.im/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://platform.monica.im/docs/en/image-gen/flux#webpage\",\"url\":\"https://platform.monica.im/docs/en/image-gen/flux\",\"name\":\"FLUX models\",\"dateModified\":\"2026-05-28T10:19:18.235Z\",\"isPartOf\":{\"@id\":\"https://platform.monica.im/docs#website\"},\"breadcrumb\":{\"@id\":\"https://platform.monica.im/docs/en/image-gen/flux#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://platform.monica.im/docs/en/image-gen/flux#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Monica API Platform\",\"item\":\"https://platform.monica.im/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FLUX models\",\"item\":\"https://platform.monica.im/docs/en/image-gen/flux\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://platform.monica.im/docs/en/image-gen/flux#apireference\",\"headline\":\"FLUX models\",\"name\":\"FLUX models\",\"url\":\"https://platform.monica.im/docs/en/image-gen/flux\",\"mainEntityOfPage\":{\"@id\":\"https://platform.monica.im/docs/en/image-gen/flux#webpage\"},\"dateModified\":\"2026-05-28T10:19:18.235Z\",\"publisher\":{\"@id\":\"https://platform.monica.im/#organization\"},\"isPartOf\":{\"@id\":\"https://platform.monica.im/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Monica API Platform\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Monica API Platform","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Monica API Platform Documentation","sidebarTitle":"Overview","version":"English","href":"/en/overview"},{"title":"Quickstart","version":"English","href":"/en/quickstart"}]},{"group":"Using the API","pages":[{"title":"Models and pricing","version":"English","href":"/en/models-and-pricing"},{"title":"Errors","version":"English","href":"/en/errors"},{"title":"Rate limits","version":"English","href":"/en/rate-limits"},{"title":"Fraquently Asked Questions","sidebarTitle":"FAQ","version":"English","href":"/en/faq"}]},{"group":"Chat","pages":[{"title":"Chat completion","api":"POST /v1/chat/completions","mode":"wide","version":"English","href":"/en/chat/chat"},{"title":"OpenAI models","version":"English","href":"/en/chat/models/openai"},{"title":"Anthropic models","version":"English","href":"/en/chat/models/anthropic"},{"title":"Google models","version":"English","href":"/en/chat/models/google"},{"title":"xAI models","version":"English","href":"/en/chat/models/xai"},{"title":"Open Source models","version":"English","description":null,"href":"/en/chat/models/opensource"}]},{"group":"Image generation","pages":[{"title":"FLUX models","openapi":"POST /v1/image/gen/flux","version":"English","href":"/en/image-gen/flux"},{"title":"Stable Diffusion models","openapi":"POST /v1/image/gen/sd","version":"English","description":null,"href":"/en/image-gen/stable-diffusion"},{"title":"DALL·E models","openapi":"POST /v1/image/gen/dalle","version":"English","href":"/en/image-gen/dalle"},{"title":"Playground models","openapi":"POST /v1/image/gen/playground","version":"English","href":"/en/image-gen/playground"},{"title":"Ideogram models","openapi":"POST /v1/image/gen/ideogram","version":"English","href":"/en/image-gen/ideogram"}]},{"group":"Image tools","pages":[{"title":"Upscale","openapi":"POST /v1/image/tool/upscale","version":"English","href":"/en/image-tools/upscale"},{"title":"Remove background","openapi":"POST /v1/image/tool/removebg","version":"English","href":"/en/image-tools/remove-bg"}]}]},"basePath":"","title":"FLUX models - Monica API Platform","buildId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","deploymentId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a74be98ba7","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D_4Sesi0.js","utils-DRHeK26p.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C6d-DUc2.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dex7slho.js","snippetPresets-BcCEBp0Z.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CufowNTX.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-A4lJSCIe.js","shallow-DqoHP7zn.js","getApiPlaygroundDisplay-Cku8AmtL.js","CodeSnippet-CtHQbNqc.js","CodeSnippets-CGo5Cslf.js","Page-BoJxk0m8.js","getPastedJson-M-bKdue4.js","icon-DEqCU4st.js","MethodPill-DnfSSXiJ.js","DuplicateIcon-BHu2PE8M.js","createIcon-BPsE5X7c.js","DynamicMarkdown-Dnt6YhtR.js","SectionHeading-6CtFWqMQ.js","axios-vUo_bRtp.js","zoom-image-lightbox-CZTaVDTN.js","lightbox-handle-r17bVUz3.js","Markdown-BoKe_1fI.js","clsx-DM5-sUNJ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CkIdkovK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-B3e6Nh_r.js"]}