Stable Diffusion is a deep learning, text-to-image model that has been publicly released. It uses a variant of the diffusion model called latent diffusion. There are a few popular Open Source repos that create an easy to use web interface for typing in the prompts, managing the settings and seeing the images.This guide will use the webui Github repo maintained by Automatic111 here. The docker image used comes pre-loaded with Stable Diffusion v2.1, and it is possible to upload other models once you have the instance up and running. The recommend template will also setup Jupyter so you can use a web browser to download and upload files to the instance.For all questions or issues with the web GUI, the project has a readme with links.
The first thing to do if you are new to Vast is to create an account. Then head to the Billing tab and add credits. This is pretty self-explanatory. Vast uses Stripe to processes credit card payments and also accepts major cryptocurrencies through Crypto.com. $20 should be enough to start. You pre-buy credits on Vast and then spend them down.
Click on the Change template button from the create page. Then click on the edit button on the Stable Diffusion template. We will need to set a username and password, so it is very important that we edit our template to set a username and password first.
Stable Diffusion can only run on a 1X GPU so select 1X from the filter menu on the top nav. This will then update the interface to show 1X GPU offers. Note that some Stable Diffusion models require large amounts of GPU VRAM. For max settings, you want more GPU RAM. Use the GPU RAM slider in the interface to find offers with over 20GB. We recommend an A6000, A40 or A100 if you want to max the Stable Diffusion settings.
If available, it is also best to pick a host with the datacenter label, as those machines are more reliable.Click the blue RENT button to spin up the instance. You can then watch progress from the instance tab.
The instance can take 3-5 minutes to start. Once it is ready a blue connect button will appear. Click on that to open the web gui.
WARNING
The web gui can take an additional 1-2 minutes to load. If you click on the connect button and get a blank page or error, simply wait 1-2 minutes and reload the page.
And there you go! Please read the Automatic111 documentation for how the web GUI works.There are buttons to save and download the artwork, and also to zip it up.
Spaces Mgwtdaam0Bo2Skpvyo6Q Uploads Klcmg0Mgpmu9Bmipwvsv Stable Diffusion Working
The recommended template has both SSH and Jupyter HTTPS launch modes enabled. To upload a model checkpoint, the simplest way is to click on the Jupyter button on the instances card to open Jupyter and then to upload the .ckpt file to the /workspace/stable-diffusion-webui/models/Stable-diffusion directory.The Jupyter HTTPS launch mode will require you to install a certificate on your local machine. On macOS, this is not optional. Windows and Linux will show an error if the cert is not installed but there is a way to click through the error. To install the Jupyter certificate for Vast, follow the instructions here.To use SSH, you will need to create an SSH key and upload the public portion to Vast. Learn more here.For Linux/macOS users, SCP will also work.
After you generate your artwork and are done with the instance, you have a few options. If you STOP the instance using the stop button, you will no longer pay the hourly GPU charges. However you will still incur storage charges because the data is still stored on the host machine. When you hit the START button to restart the instance, you are also not guaranteed that you can rent the GPU as someone else might have rented it while it was stopped. We don’t recommend that you stop an instance once done.To incur no other charges you have to DESTROY the instance using the trash can icon. We recommend you destroy instances so as not to incur storage charges while you are not using the system.Have fun!
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","colors":{"primary":"#315FFF","light":"#315FFF","dark":"#315FFF"},"logo":{"light":"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/light.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=7f79454b79a0cfc463ec063cd29faea0","dark":"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/dark.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=a0ab9c5200d0f126bb744a83bc1b1ee2"},"favicon":"https://mintcdn.com/vastai-80aa3a82/1e4lY_zkN1CU9p24/favicon.svg?fit=max\u0026auto=format\u0026n=1e4lY_zkN1CU9p24\u0026q=85\u0026s=0d6a4623043c830bd4703fe39c7c8dc3","navbar":{"links":[{"href":"/guides/reference/faq","label":"FAQ"},{"href":"https://discord.gg/vast","label":"Discord"}],"primary":{"type":"button","label":"Console","href":"https://cloud.vast.ai/"}},"footer":{"socials":{"x":"https://x.com/vast_ai","github":"https://github.com/vast-ai","youtube":"https://www.youtube.com/@vast_ai/videos"}},"seo":{"metatags":{"indexing":"all","author":"Vast.ai Team","robots":"index, follow","googlebot":"index, follow","google":"notranslate","google-site-verification":"WHKqvZxf1snX5HX4y0luN_AnAvAPGoSjUcMv03b_NsI","generator":"Mintlify","theme-color":"#000000","color-scheme":"light dark","format-detection":"telephone=no","referrer":"origin","rating":"general","revisit-after":"7 days","language":"en","copyright":"Copyright 2025","reply-to":"contact@vast.ai","distribution":"global","coverage":"Worldwide","category":"Developer Documentation","target":"all","HandheldFriendly":"True","MobileOptimized":"320","apple-mobile-web-app-capable":"yes","apple-mobile-web-app-status-bar-style":"black","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@vast_ai","twitter:creator":"@vast_ai"}},"integrations":{"ga4":{"measurementId":"G-DG15WC8WXG"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vastai-80aa3a82","hasAudioNarration":false,"actualSubdomain":"vastai-80aa3a82","customDomains":["docs.vast.ai"],"gitSource":{"type":"github","owner":"vast-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adfbe11db56f9a377f1e85d","collectionId":"19df4429-5845-44de-b641-dfaf4afb19cb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adfbe11db56f9a377f1e85d"},"feedback":{"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adfc284cade0989ea623e30","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"CLI \u0026 SDK","count":258},{"language":"default","tag":"CLI","count":148},{"language":"default","tag":"SDK","count":143},{"language":"default","tag":"API","count":108},{"language":"default","tag":"Guides","count":101},{"language":"default","tag":"Endpoints","count":100},{"language":"default","tag":"Instances","count":94},{"language":"default","tag":"Host","count":87},{"language":"default","tag":"Serverless","count":80},{"language":"default","tag":"Accounts","count":58}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":[{"filePath":"style.css","content":"@media (min-width: 1024px){div:has(>nav#sidebar){max-width:none!important}#navbar>div{max-width:none!important}#content-area>#header,#content-area>#content{max-width:900px;margin-left:auto;margin-right:auto}}.table-column-dividers th+th,.table-column-dividers td+td{border-left:1px solid color-mix(in srgb, currentColor 20%, transparent)}"}],"page":{"pagePath":"stable-diffusion","slug":"/stable-diffusion","pageMetadata":{"title":"Stable Diffusion","createdAt":"Tue Jan 14 2025 01:12:16 GMT+0000 (Coordinated Universal Time)","updatedAt":"Mon Aug 04 2025 17:10:48 GMT+0000 (Coordinated Universal Time)","description":null,"href":"/stable-diffusion"},"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={a:`a`,blockquote:`blockquote`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Stable Diffusion is a deep learning, text-to-image model that has been publicly released. It uses a variant of the diffusion model called latent diffusion. There are a few popular Open Source repos that create an easy to use web interface for typing in the prompts, managing the settings and seeing the images.`}),`\n`,_jsxs(_components.p,{children:[`This guide will use the webui Github repo maintained by Automatic111 `,_jsx(_components.a,{href:`https://github.com/AUTOMATIC1111/stable-diffusion-webui`,children:`here`}),`. The docker image used comes pre-loaded with Stable Diffusion v2.1, and it is possible to upload other models once you have the instance up and running. The recommend template will also setup Jupyter so you can use a web browser to download and upload files to the instance.`]}),`\n`,_jsxs(_components.p,{children:[`For all questions or issues with the web GUI, the project has a `,_jsx(_components.a,{href:`https://github.com/AUTOMATIC1111/stable-diffusion-webui`,children:`readme`}),` with links.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-setup-your-vast-account`,children:`1) Setup your Vast account`}),`\n`,_jsx(_components.p,{children:`The first thing to do if you are new to Vast is to create an account. Then head to the Billing tab and add credits. This is pretty self-explanatory. Vast uses Stripe to processes credit card payments and also accepts major cryptocurrencies through Crypto.com. $20 should be enough to start. You pre-buy credits on Vast and then spend them down.`}),`\n`,_jsx(Heading,{level:`2`,id:`2-pick-the-webui-template`,children:`2) Pick the webui template`}),`\n`,_jsxs(_components.p,{children:[`Click on the Change template button from the create page. Then click on the edit button on the Stable Diffusion template. We will need to set a username and password, so it is very important that we `,_jsx(_components.em,{children:`edit`}),` our template to set a username and password first.`]}),`\n`,_jsx(Frame,{caption:`Stablediffusionedit`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionedit.webp?fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=1f364a6d8ff744070a621ee2beb09b39`,alt:`Stablediffusionedit`,\"data-og-width\":`1378`,width:`1378`,\"data-og-height\":`892`,height:`892`,\"data-path\":`images/stable-diffusion-stablediffusionedit.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionedit.webp?w=280\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=7f61521e5ba3512719854ce3b1d65c47 280w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionedit.webp?w=560\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=0a606faac7a806ca8830b05b7cc0e8f9 560w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionedit.webp?w=840\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=e05ef813bea93ddc3ebcb3c6ddffc102 840w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionedit.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=9cf9e25f7a7c9c7bfbdb9b465802ad3c 1100w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionedit.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=e65f361817e4476114c1fc7c035df619 1650w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionedit.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=79b8f3ec93f5fa37c3e5a27865496f2d 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`3-set-your-username-and-password`,children:`3) Set your username and password`}),`\n`,_jsx(_components.blockquote,{children:`\n`}),`\n`,_jsx(_components.p,{children:`To set your username and password, go to the beginning of the Docker Options and add the arguments`}),`\n`,_jsx(CodeBlock,{filename:`Text`,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -e WEB_USER=YOUR_USERNAME -e WEB_PASSWORD=YOUR_PASSWORD`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`as shown below.`}),`\n`,_jsx(Frame,{caption:`Stablediffusionoptions`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionoptions.webp?fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=c1a3f48b2749b1a0ce32436b5f3081e7`,alt:`Stablediffusionoptions`,\"data-og-width\":`877`,width:`877`,\"data-og-height\":`117`,height:`117`,\"data-path\":`images/stable-diffusion-stablediffusionoptions.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionoptions.webp?w=280\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=ffdb9915bdb3d7a0073e85e1c2850d2d 280w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionoptions.webp?w=560\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=75c9a039637ce1ecbb7a929615b1a2b7 560w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionoptions.webp?w=840\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=48d06278a378f06f8157d2c49220163a 840w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionoptions.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=566b8a3cd70e6e09f29ad0c59a500d25 1100w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionoptions.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=26a5b7c12e09b83fad79a9ab67763856 1650w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionoptions.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=5025978258914b5a382afa86eddbb783 2500w`})}),`\n`,_jsx(_components.p,{children:`You can also add the variables one by one in the env input`}),`\n`,_jsx(Frame,{caption:`Stablediffusionenv`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionenv.webp?fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=021350553b60891618a8b01735f65d11`,alt:`Stablediffusionenv`,\"data-og-width\":`873`,width:`873`,\"data-og-height\":`146`,height:`146`,\"data-path\":`images/stable-diffusion-stablediffusionenv.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionenv.webp?w=280\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=92ecf1b5f52d5791be17d076064ff14f 280w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionenv.webp?w=560\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=0605b5d83bb28cf18dedf122c4e318b4 560w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionenv.webp?w=840\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=66e6097f518161f17e7aeb53d36c011a 840w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionenv.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=2e0500b3d9a5e79bb8dc7f22b4f2df18 1100w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionenv.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=d2bf0bd47d2e268c8da03119edea1265 1650w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stablediffusionenv.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=4731e0c189312809d93767d92d0d0e37 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`4-pick-a-gpu-offer`,children:`4) Pick a GPU offer`}),`\n`,_jsx(_components.p,{children:`Stable Diffusion can only run on a 1X GPU so select 1X from the filter menu on the top nav. This will then update the interface to show 1X GPU offers. Note that some Stable Diffusion models require large amounts of GPU VRAM. For max settings, you want more GPU RAM. Use the GPU RAM slider in the interface to find offers with over 20GB. We recommend an A6000, A40 or A100 if you want to max the Stable Diffusion settings.`}),`\n`,_jsx(Frame,{caption:`Spaces Mgwtdaam0Bo2Skpvyo6Q Uploads Pyphz4Oz3M2Fz8Kwl7Wo Stable Diffusion Gpu Selection`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-gpu-selection.webp?fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=fd7a0803dd8bc30ce7a0dd7b5d1e2bb0`,alt:`Spaces Mgwtdaam0Bo2Skpvyo6Q Uploads Pyphz4Oz3M2Fz8Kwl7Wo Stable Diffusion Gpu Selection`,\"data-og-width\":`1104`,width:`1104`,\"data-og-height\":`1136`,height:`1136`,\"data-path\":`images/stable-diffusion-stable-diffusion-gpu-selection.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-gpu-selection.webp?w=280\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=2aedd870328efd41ef0226d4d586eaeb 280w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-gpu-selection.webp?w=560\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=742592b66adfe9ec9283fbed7aa03600 560w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-gpu-selection.webp?w=840\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=6bcd37ce2f2154243138745db277bd32 840w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-gpu-selection.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=3e5f4ea7547a9c68a67fc36f3f3d3572 1100w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-gpu-selection.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=cc65ef8263e74537f28ed3179e6e4b40 1650w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-gpu-selection.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=fcc02360804957c6cc2bf44aa22c473d 2500w`})}),`\n`,_jsx(_components.p,{children:`If available, it is also best to pick a host with the datacenter label, as those machines are more reliable.`}),`\n`,_jsx(_components.p,{children:`Click the blue RENT button to spin up the instance. You can then watch progress from the instance tab.`}),`\n`,_jsx(Heading,{level:`2`,id:`5-connect-and-start-making-art`,children:`5) Connect and start making art`}),`\n`,_jsx(_components.p,{children:`The instance can take 3-5 minutes to start. Once it is ready a blue connect button will appear. Click on that to open the web gui.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`WARNING`}),_jsx(`br`,{}),`\nThe web gui can take an additional 1-2 minutes to load. If you click on the connect button and get a blank page or error, simply wait 1-2 minutes and reload the page.`]})}),`\n`,_jsxs(_components.p,{children:[`And there you go! Please read the `,_jsx(_components.a,{href:`https://github.com/AUTOMATIC1111/stable-diffusion-webui`,children:`Automatic111 documentation`}),` for how the web GUI works.`]}),`\n`,_jsx(_components.p,{children:`There are buttons to save and download the artwork, and also to zip it up.`}),`\n`,_jsx(Frame,{caption:`Spaces Mgwtdaam0Bo2Skpvyo6Q Uploads Klcmg0Mgpmu9Bmipwvsv Stable Diffusion Working`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-working.webp?fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=7d0fbd2f7b3324a38ec2120af6389260`,alt:`Spaces Mgwtdaam0Bo2Skpvyo6Q Uploads Klcmg0Mgpmu9Bmipwvsv Stable Diffusion Working`,\"data-og-width\":`1700`,width:`1700`,\"data-og-height\":`1054`,height:`1054`,\"data-path\":`images/stable-diffusion-stable-diffusion-working.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-working.webp?w=280\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=a201393e25d20295bf347e0957adc618 280w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-working.webp?w=560\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=28cae028a5cc89208cb95160590f1f6c 560w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-working.webp?w=840\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=2eec884b1fdfbfe4565c8b99e754179d 840w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-working.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=f41396fe10cc3478c9145a39ce41e246 1100w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-working.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=9bc68b234cf3f04d416854509e4ec051 1650w, https://mintcdn.com/vastai-80aa3a82/B9jwamTa0hEeFgh2/images/stable-diffusion-stable-diffusion-working.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=B9jwamTa0hEeFgh2\u0026q=85\u0026s=02ba00010038f0811b54cad1bbba2797 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`6-upload-other-model-checkpoints`,children:`6) Upload other model checkpoints`}),`\n`,_jsx(_components.p,{children:`The recommended template has both SSH and Jupyter HTTPS launch modes enabled. To upload a model checkpoint, the simplest way is to click on the Jupyter button on the instances card to open Jupyter and then to upload the .ckpt file to the /workspace/stable-diffusion-webui/models/Stable-diffusion directory.`}),`\n`,_jsxs(_components.p,{children:[`The Jupyter HTTPS launch mode will require you to install a certificate on your local machine. On macOS, this is not optional. Windows and Linux will show an error if the cert is not installed but there is a way to click through the error. To install the Jupyter certificate for Vast, follow the instructions `,_jsx(_components.a,{href:`/guides/instances/jupyter`,children:`here`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`To use SSH, you will need to create an SSH key and upload the public portion to Vast. Learn more `,_jsx(_components.a,{href:`/guides/instances/sshscp`,children:`here`}),`.`]}),`\n`,_jsx(_components.p,{children:`For Linux/macOS users, SCP will also work.`}),`\n`,_jsx(Heading,{level:`2`,id:`7-done-destroy-the-instance`,children:`7) Done? Destroy the instance`}),`\n`,_jsxs(_components.p,{children:[`After you generate your artwork and are done with the instance, you have a few options. If you STOP the instance using the stop button, you will no longer pay the hourly GPU charges. `,_jsx(_components.strong,{children:`However you will still incur storage charges`}),` because the data is still stored on the host machine. When you hit the START button to restart the instance, you are also not guaranteed that you can rent the GPU as someone else might have rented it while it was stopped. We don’t recommend that you stop an instance once done.`]}),`\n`,_jsxs(_components.p,{children:[`To incur no other charges you have to DESTROY the instance using the trash can icon. `,_jsx(_components.strong,{children:`We recommend you destroy instances`}),` so as not to incur storage charges while you are not using the system.`]}),`\n`,_jsx(_components.p,{children:`Have fun!`})]})}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":"Stable Diffusion","createdAt":"Tue Jan 14 2025 01:12:16 GMT+0000 (Coordinated Universal Time)","updatedAt":"Mon Aug 04 2025 17:10:48 GMT+0000 (Coordinated Universal Time)","description":null,"href":"/stable-diffusion"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1) Setup your Vast account","slug":"1-setup-your-vast-account","depth":2,"children":[]},{"title":"2) Pick the webui template","slug":"2-pick-the-webui-template","depth":2,"children":[]},{"title":"3) Set your username and password","slug":"3-set-your-username-and-password","depth":2,"children":[]},{"title":"4) Pick a GPU offer","slug":"4-pick-a-gpu-offer","depth":2,"children":[]},{"title":"5) Connect and start making art","slug":"5-connect-and-start-making-art","depth":2,"children":[]},{"title":"6) Upload other model checkpoints","slug":"6-upload-other-model-checkpoints","depth":2,"children":[]},{"title":"7) Done? Destroy the instance","slug":"7-done-destroy-the-instance","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/vastai-80aa3a82/54e4ee435ab02cb8/structured-data.js"],"subdomain":"vastai-80aa3a82","siteName":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","title":"Stable Diffusion - Vast.ai Documentation: Affordable GPU Cloud Marketplace","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T21:15:13.191Z","originalFileLocation":"stable-diffusion.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=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\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=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Stable Diffusion - Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vast.ai/stable-diffusion\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vastai-80aa3a82.mintlify.app/_mintlify/api/og/v2?division=Image+generation\u0026amp;title=Stable+Diffusion\u0026amp;theme=bf5e39208aeafab2e44b0496\u0026amp;signature=ce7c2d92d66fcd9b866626e93acd9e760689161061bd6b9c3d0d3d67fdc7667e\">\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=\"Stable Diffusion - Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vastai-80aa3a82.mintlify.app/_mintlify/api/og/v2?division=Image+generation\u0026amp;title=Stable+Diffusion\u0026amp;theme=bf5e39208aeafab2e44b0496\u0026amp;signature=ce7c2d92d66fcd9b866626e93acd9e760689161061bd6b9c3d0d3d67fdc7667e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#315FFF\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"indexing\" content=\"all\">\u003cmeta data-mint-head name=\"author\" content=\"Vast.ai Team\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"google\" content=\"notranslate\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"WHKqvZxf1snX5HX4y0luN_AnAvAPGoSjUcMv03b_NsI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#000000\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003cmeta data-mint-head name=\"format-detection\" content=\"telephone=no\">\u003cmeta data-mint-head name=\"referrer\" content=\"origin\">\u003cmeta data-mint-head name=\"rating\" content=\"general\">\u003cmeta data-mint-head name=\"revisit-after\" content=\"7 days\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"copyright\" content=\"Copyright 2025\">\u003cmeta data-mint-head name=\"reply-to\" content=\"contact@vast.ai\">\u003cmeta data-mint-head name=\"distribution\" content=\"global\">\u003cmeta data-mint-head name=\"coverage\" content=\"Worldwide\">\u003cmeta data-mint-head name=\"category\" content=\"Developer Documentation\">\u003cmeta data-mint-head name=\"target\" content=\"all\">\u003cmeta data-mint-head name=\"HandheldFriendly\" content=\"True\">\u003cmeta data-mint-head name=\"MobileOptimized\" content=\"320\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-capable\" content=\"yes\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-status-bar-style\" content=\"black\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@vast_ai\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vast.ai/stable-diffusion\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/stable-diffusion.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vast.ai/#organization\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"url\":\"https://docs.vast.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/light.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=7f79454b79a0cfc463ec063cd29faea0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vast.ai#website\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"url\":\"https://docs.vast.ai\",\"publisher\":{\"@id\":\"https://docs.vast.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vast.ai/stable-diffusion#webpage\",\"url\":\"https://docs.vast.ai/stable-diffusion\",\"name\":\"Stable Diffusion\",\"dateModified\":\"2026-10-26T21:15:13.191Z\",\"isPartOf\":{\"@id\":\"https://docs.vast.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vast.ai/stable-diffusion#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vast.ai/stable-diffusion#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Image generation\",\"item\":\"https://docs.vast.ai/image-generation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stable Diffusion\",\"item\":\"https://docs.vast.ai/stable-diffusion\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.vast.ai/stable-diffusion#article\",\"headline\":\"Stable Diffusion\",\"name\":\"Stable Diffusion\",\"url\":\"https://docs.vast.ai/stable-diffusion\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vast.ai/stable-diffusion#webpage\"},\"dateModified\":\"2026-10-26T21:15:13.191Z\",\"publisher\":{\"@id\":\"https://docs.vast.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vast.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/get-started"}]},{"tab":"CLI \u0026 SDK","pages":[{"title":"CLI \u0026 SDK","href":"/cli/hello-world"}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/hello-world"}]},{"tab":"Host","pages":[{"title":"Host","href":"/host/hosting-overview"}]},{"tab":"Examples","groups":[{"group":"AI/ML frameworks","icon":"brain","pages":[{"title":"PyTorch","href":"/pytorch"},{"title":"Multi-Node training using Torch + NCCL","href":"/multi-node-training-using-torch-nccl"},{"title":"Unsloth Studio","href":"/examples/ai-ml-frameworks/unsloth-studio"},{"title":"Fine-Tune LLMs with Axolotl","href":"/examples/ai-ml-frameworks/axolotl-fine-tuning"}]},{"group":"Serving infrastructure","icon":"server","pages":[{"title":"dstack + vLLM","href":"/examples/serving-infrastructure/dstack-vllm"},{"title":"SGLang Router","href":"/examples/serving-infrastructure/sglang-router-vast"}]},{"group":"Notifications","icon":"bell","pages":[{"title":"Send Notifications to Slack","href":"/examples/notifications/slack-webhook"},{"title":"Send Notifications to Google Chat","href":"/examples/notifications/google-chat-webhook"}]},{"group":"Migration guides","icon":"arrow-right-arrow-left","pages":[{"title":"Migrate from Runpod to Vast.ai","href":"/examples/migrations/runpod-to-vast"},{"title":"Migrate from Salad Cloud to Vast.ai","href":"/examples/migrations/salad-to-vast"}]},{"group":"AI agents","icon":"robot","pages":[{"title":"Autonomous AI Research with Autoresearch on Vast.ai","href":"/examples/ai-agents/autoresearch"},{"title":"Langflow + Ollama","href":"/langflow-ollama"},{"title":"BrowseSafe Prompt Injection Detection","href":"/examples/ai-agents/browsesafe"},{"title":"OpenClaw AI Assistant with vLLM on Vast.ai","href":"/examples/ai-agents/openclaw"},{"title":"Budget-Friendly Alternative to Claude Code - Overnight Ralph Loop Guide","href":"/examples/ai-agents/overnight-ralph-loop"}]},{"group":"MCP","icon":"plug","pages":[{"title":"DR-Tulu Research Agent","href":"/examples/mcp/dr-tulu"}]},{"group":"Text generation","icon":"message","pages":[{"title":"Ollama + Webui","href":"/ollama-webui"},{"title":"Oobabooga (LLM webui)","href":"/oobabooga-llm-webui"},{"title":"Huggingface TGI with LLama3","href":"/huggingface-tgi-with-llama3"},{"title":"Quantized GGUF models (cloned)","href":"/quantized-gguf-models-cloned"},{"title":"vLLM (LLM inference and serving)","href":"/vllm-llm-inference-and-serving"},{"title":"MiniMax-M2","href":"/examples/text-generation/minimax-m2"},{"title":"GLM-4.7-Flash","href":"/examples/text-generation/glm-47-flash"},{"title":"NVIDIA Nemotron 3 Super","href":"/examples/text-generation/nemotron-3-super"}]},{"group":"Image generation","icon":"image","pages":[{"title":"Image Generation","description":null,"href":"/image-generation"},{"title":"Stable Diffusion","href":"/stable-diffusion"},{"title":"Disco Diffusion","description":null,"href":"/disco-diffusion"}]},{"group":"Video generation","icon":"film","pages":[{"title":"Video Generation","href":"/video-generation"},{"title":"Generating Video with LTX-2.3 and ComfyUI","href":"/examples/video-generation/ltx-video-2-3"}]},{"group":"Audio \u0026 transcription","icon":"microphone","pages":[{"title":"TTS with Nari Labs Dia","href":"/tts-with-nari-labs-dia"},{"title":"Whisper ASR Guide","href":"/whisper-asr-guide"},{"title":"Speaker Diarization with Pyannote","href":"/examples/transcription/speaker-diarization-pyannote"}]},{"group":"Information extraction","icon":"file-lines","pages":[{"title":"Running RolmOCR","href":"/examples/ocr/rolmocr"},{"title":"GLiNER2","href":"/examples/ner/gliner2"},{"title":"Infinity Embeddings","href":"/infinity-embeddings"},{"title":"Serving Rerankers with vLLM","href":"/examples/embeddings/serving-rerankers-vllm"}]},{"group":"Serverless deployments","icon":"bolt","pages":[{"title":"Square Function","href":"/guides/serverless/deployments/examples/square"},{"title":"MNIST Training \u0026 Inference","href":"/guides/serverless/deployments/examples/train-mnist"},{"title":"vLLM Text Generation","href":"/guides/serverless/deployments/examples/vllm"}]},{"group":"Templates","icon":"layer-group","pages":[{"title":"Creating Templates for GROBID","href":"/guides/templates/examples/grobid"}]},{"group":"Virtual desktops \u0026 VMs","icon":"desktop","pages":[{"title":"Linux Virtual Desktop","href":"/linux-virtual-desktop"},{"title":"Linux Virtual Machines","href":"/linux-virtual-machines"}]},{"group":"Graphics \u0026 GPU programming","icon":"cube","pages":[{"title":"Blender in the Cloud","href":"/blender-in-the-cloud"},{"title":"Blender Batch Rendering","href":"/blender-batch-rendering"},{"title":"CUDA","href":"/cuda"},{"title":"RTX 5 Series","href":"/rtx-5-series"}]},{"group":"Other","icon":"ellipsis","pages":[{"title":"Mining on Bittensor","href":"/mining-on-bittensor"},{"title":"Google Colab","href":"/google-colab"}]}]}]},"basePath":"","title":"Stable Diffusion - Vast.ai Documentation: Affordable GPU Cloud Marketplace","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BdiBGm0H.js","DynamicMarkdown-CbqEDjbV.js","zoom-image-lightbox-CvtNkYOX.js","lightbox-handle-r17bVUz3.js"]}