import{S as wi,i as yi,s as Mi,e as i,k as l,w as D,t as s,M as Li,c as o,d as n,m as d,a,x as w,h as r,b as p,G as e,g as b,y,q as M,o as L,B as x,v as xi,L as $i}from"../../../../chunks/vendor-hf-doc-builder.js";import{T as Pi}from"../../../../chunks/Tip-hf-doc-builder.js";import{D as A}from"../../../../chunks/Docstring-hf-doc-builder.js";import{C as Ei}from"../../../../chunks/CodeBlock-hf-doc-builder.js";import{I as jn}from"../../../../chunks/IconCopyLink-hf-doc-builder.js";import{E as Si}from"../../../../chunks/ExampleCodeBlock-hf-doc-builder.js";function Ii(he){let u,P,h,_,$;return{c(){u=i("p"),P=s("Make sure to check out the Stable Diffusion "),h=i("a"),_=s("Tips"),$=s(" section to learn how to explore the tradeoff between scheduler speed and quality, and how to reuse pipeline components efficiently!"),this.h()},l(f){u=o(f,"P",{});var v=a(u);P=r(v,"Make sure to check out the Stable Diffusion "),h=o(v,"A",{href:!0});var U=a(h);_=r(U,"Tips"),U.forEach(n),$=r(v," section to learn how to explore the tradeoff between scheduler speed and quality, and how to reuse pipeline components efficiently!"),v.forEach(n),this.h()},h(){p(h,"href","overview#tips")},m(f,v){b(f,u,v),e(u,P),e(u,h),e(h,_),e(u,$)},d(f){f&&n(u)}}}function ki(he){let u,P,h,_,$;return _=new Ei({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvbkxETTNEUGlwZWxpbmUlMEElMEFwaXBlJTIwJTNEJTIwU3RhYmxlRGlmZnVzaW9uTERNM0RQaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTIySW50ZWwlMkZsZG0zZC00YyUyMiklMEFwaXBlJTIwJTNEJTIwcGlwZS50byglMjJjdWRhJTIyKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMmElMjBwaG90byUyMG9mJTIwYW4lMjBhc3Ryb25hdXQlMjByaWRpbmclMjBhJTIwaG9yc2UlMjBvbiUyMG1hcnMlMjIlMEFvdXRwdXQlMjAlM0QlMjBwaXBlKHByb21wdCklMEFyZ2JfaW1hZ2UlMkMlMjBkZXB0aF9pbWFnZSUyMCUzRCUyMG91dHB1dC5yZ2IlMkMlMjBvdXRwdXQuZGVwdGglMEFyZ2JfaW1hZ2UlNUIwJTVELnNhdmUoJTIyYXN0cm9uYXV0X2xkbTNkX3JnYi5qcGclMjIpJTBBZGVwdGhfaW1hZ2UlNUIwJTVELnNhdmUoJTIyYXN0cm9uYXV0X2xkbTNkX2RlcHRoLnBuZyUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionLDM3DPipeline

<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = StableDiffusionLDM3DPipeline.from_pretrained(<span class="hljs-string">&quot;Intel/ldm3d-4c&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = pipe.to(<span class="hljs-string">&quot;cuda&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>prompt = <span class="hljs-string">&quot;a photo of an astronaut riding a horse on mars&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>output = pipe(prompt)
<span class="hljs-meta">&gt;&gt;&gt; </span>rgb_image, depth_image = output.rgb, output.depth
<span class="hljs-meta">&gt;&gt;&gt; </span>rgb_image[<span class="hljs-number">0</span>].save(<span class="hljs-string">&quot;astronaut_ldm3d_rgb.jpg&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>depth_image[<span class="hljs-number">0</span>].save(<span class="hljs-string">&quot;astronaut_ldm3d_depth.png&quot;</span>)`}}),{c(){u=i("p"),P=s("Examples:"),h=l(),D(_.$$.fragment)},l(f){u=o(f,"P",{});var v=a(u);P=r(v,"Examples:"),v.forEach(n),h=d(f),w(_.$$.fragment,f)},m(f,v){b(f,u,v),e(u,P),b(f,h,v),y(_,f,v),$=!0},p:$i,i(f){$||(M(_.$$.fragment,f),$=!0)},o(f){L(_.$$.fragment,f),$=!1},d(f){f&&n(u),f&&n(h),x(_,f)}}}function Ti(he){let u,P,h,_,$,f,v,U,vt,Qe,k,Dt,Q,wt,yt,_e,Mt,Lt,He,be,xt,Ke,ve,H,$t,K,Pt,Et,et,G,tt,C,O,ke,ee,St,Te,It,nt,c,te,kt,Ae,Tt,At,ne,Ct,De,Nt,Ut,Gt,Ce,Ot,Bt,E,we,ye,Rt,Vt,jt,Me,Le,Ft,Wt,Zt,xe,$e,zt,qt,Jt,B,Pe,Xt,Yt,Ne,Qt,Ht,Kt,T,ie,en,Ue,tn,nn,R,on,V,oe,an,ae,sn,Ge,rn,ln,dn,j,se,pn,re,fn,Oe,cn,mn,un,F,le,gn,S,hn,Be,_n,bn,Re,vn,Dn,Ve,wn,yn,Mn,W,de,Ln,je,xn,$n,Z,pe,Pn,Fe,En,Sn,z,fe,In,We,kn,it,N,q,Ze,ce,Tn,ze,An,ot,I,me,Cn,qe,Nn,Un,J,ue,Gn,Je,On,at;return f=new jn({}),G=new Pi({props:{$$slots:{default:[Ii]},$$scope:{ctx:he}}}),ee=new jn({}),te=new A({props:{name:"class diffusers.StableDiffusionLDM3DPipeline",anchor:"diffusers.StableDiffusionLDM3DPipeline",parameters:[{name:"vae",val:": AutoencoderKL"},{name:"text_encoder",val:": CLIPTextModel"},{name:"tokenizer",val:": CLIPTokenizer"},{name:"unet",val:": UNet2DConditionModel"},{name:"scheduler",val:": KarrasDiffusionSchedulers"},{name:"safety_checker",val:": StableDiffusionSafetyChecker"},{name:"feature_extractor",val:": CLIPImageProcessor"},{name:"requires_safety_checker",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.StableDiffusionLDM3DPipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/main/en/api/models/autoencoderkl#diffusers.AutoencoderKL">AutoencoderKL</a>) &#x2014;
Variational Auto-Encoder (VAE) model to encode and decode images to and from latent representations.`,name:"vae"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.text_encoder",description:`<strong>text_encoder</strong> (<a href="https://huggingface.co/docs/transformers/main/en/model_doc/clip#transformers.CLIPTextModel" rel="nofollow">CLIPTextModel</a>) &#x2014;
Frozen text-encoder (<a href="https://huggingface.co/openai/clip-vit-large-patch14" rel="nofollow">clip-vit-large-patch14</a>).`,name:"text_encoder"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.tokenizer",description:`<strong>tokenizer</strong> (<a href="https://huggingface.co/docs/transformers/main/en/model_doc/clip#transformers.CLIPTokenizer" rel="nofollow">CLIPTokenizer</a>) &#x2014;
A <code>CLIPTokenizer</code> to tokenize text.`,name:"tokenizer"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.unet",description:`<strong>unet</strong> (<a href="/docs/diffusers/main/en/api/models/unet2d-cond#diffusers.UNet2DConditionModel">UNet2DConditionModel</a>) &#x2014;
A <code>UNet2DConditionModel</code> to denoise the encoded image latents.`,name:"unet"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a>) &#x2014;
A scheduler to be used in combination with <code>unet</code> to denoise the encoded image latents. Can be one of
<a href="/docs/diffusers/main/en/api/schedulers/ddim#diffusers.DDIMScheduler">DDIMScheduler</a>, <a href="/docs/diffusers/main/en/api/schedulers/lms_discrete#diffusers.LMSDiscreteScheduler">LMSDiscreteScheduler</a>, or <a href="/docs/diffusers/main/en/api/schedulers/pndm#diffusers.PNDMScheduler">PNDMScheduler</a>.`,name:"scheduler"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.safety_checker",description:`<strong>safety_checker</strong> (<code>StableDiffusionSafetyChecker</code>) &#x2014;
Classification module that estimates whether generated images could be considered offensive or harmful.
Please refer to the <a href="https://huggingface.co/runwayml/stable-diffusion-v1-5" rel="nofollow">model card</a> for more details
about a model&#x2019;s potential harms.`,name:"safety_checker"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.feature_extractor",description:`<strong>feature_extractor</strong> (<a href="https://huggingface.co/docs/transformers/main/en/model_doc/clip#transformers.CLIPImageProcessor" rel="nofollow">CLIPImageProcessor</a>) &#x2014;
A <code>CLIPImageProcessor</code> to extract features from generated images; used as inputs to the <code>safety_checker</code>.`,name:"feature_extractor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L82"}}),ie=new A({props:{name:"__call__",anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"},{name:"num_inference_steps",val:": int = 49"},{name:"guidance_scale",val:": float = 5.0"},{name:"negative_prompt",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"num_images_per_prompt",val:": typing.Optional[int] = 1"},{name:"eta",val:": float = 0.0"},{name:"generator",val:": typing.Union[torch._C.Generator, typing.List[torch._C.Generator], NoneType] = None"},{name:"latents",val:": typing.Optional[torch.FloatTensor] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.FloatTensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.FloatTensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"},{name:"callback",val:": typing.Union[typing.Callable[[int, int, torch.FloatTensor], NoneType], NoneType] = None"},{name:"callback_steps",val:": int = 1"},{name:"cross_attention_kwargs",val:": typing.Union[typing.Dict[str, typing.Any], NoneType] = None"}],parametersDescription:[{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts to guide image generation. If not defined, you need to pass <code>prompt_embeds</code>.`,name:"prompt"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to <code>self.unet.config.sample_size * self.vae_scale_factor</code>) &#x2014;
The height in pixels of the generated image.`,name:"height"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.width",description:`<strong>width</strong> (<code>int</code>, <em>optional</em>, defaults to <code>self.unet.config.sample_size * self.vae_scale_factor</code>) &#x2014;
The width in pixels of the generated image.`,name:"width"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 50) &#x2014;
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
expense of slower inference.`,name:"num_inference_steps"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 5.0) &#x2014;
A higher guidance scale value encourages the model to generate images closely linked to the text
<code>prompt</code> at the expense of lower image quality. Guidance scale is enabled when <code>guidance_scale &gt; 1</code>.`,name:"guidance_scale"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.negative_prompt",description:`<strong>negative_prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts to guide what to not include in image generation. If not defined, you need to
pass <code>negative_prompt_embeds</code> instead. Ignored when not using guidance (<code>guidance_scale &lt; 1</code>).`,name:"negative_prompt"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The number of images to generate per prompt.`,name:"num_images_per_prompt"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.eta",description:`<strong>eta</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014;
Corresponds to parameter eta (&#x3B7;) from the <a href="https://arxiv.org/abs/2010.02502" rel="nofollow">DDIM</a> paper. Only applies
to the <a href="/docs/diffusers/main/en/api/schedulers/ddim#diffusers.DDIMScheduler">DDIMScheduler</a>, and is ignored in other schedulers.`,name:"eta"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code> or <code>List[torch.Generator]</code>, <em>optional</em>) &#x2014;
A <a href="https://pytorch.org/docs/stable/generated/torch.Generator.html" rel="nofollow"><code>torch.Generator</code></a> to make
generation deterministic.`,name:"generator"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.latents",description:`<strong>latents</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
Pre-generated noisy latents sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor is generated by sampling using the supplied random <code>generator</code>.`,name:"latents"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. Can be used to easily tweak text inputs (prompt weighting). If not
provided, text embeddings are generated from the <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings. Can be used to easily tweak text inputs (prompt weighting). If
not provided, <code>negative_prompt_embeds</code> are generated from the <code>negative_prompt</code> input argument.`,name:"negative_prompt_embeds"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;pil&quot;</code>) &#x2014;
The output format of the generated image. Choose between <code>PIL.Image</code> or <code>np.array</code>.`,name:"output_type"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/img2img#diffusers.pipelines.stable_diffusion.StableDiffusionPipelineOutput">StableDiffusionPipelineOutput</a> instead of a
plain tuple.`,name:"return_dict"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.callback",description:`<strong>callback</strong> (<code>Callable</code>, <em>optional</em>) &#x2014;
A function that calls every <code>callback_steps</code> steps during inference. The function is called with the
following arguments: <code>callback(step: int, timestep: int, latents: torch.FloatTensor)</code>.`,name:"callback"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.callback_steps",description:`<strong>callback_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The frequency at which the <code>callback</code> function is called. If not specified, the callback is called at
every step.`,name:"callback_steps"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.cross_attention_kwargs",description:`<strong>cross_attention_kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
A kwargs dictionary that if specified is passed along to the <code>AttentionProcessor</code> as defined in
<a href="https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention_processor.py" rel="nofollow"><code>self.processor</code></a>.`,name:"cross_attention_kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L508",returnDescription:`
<p>If <code>return_dict</code> is <code>True</code>, <a
  href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/img2img#diffusers.pipelines.stable_diffusion.StableDiffusionPipelineOutput"
>StableDiffusionPipelineOutput</a> is returned,
otherwise a <code>tuple</code> is returned where the first element is a list with the generated images and the
second element is a list of <code>bool</code>s indicating whether the corresponding generated image contains
\u201Cnot-safe-for-work\u201D (nsfw) content.</p>
`,returnType:`
<p><a
  href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/img2img#diffusers.pipelines.stable_diffusion.StableDiffusionPipelineOutput"
>StableDiffusionPipelineOutput</a> or <code>tuple</code></p>
`}}),R=new Si({props:{anchor:"diffusers.StableDiffusionLDM3DPipeline.__call__.example",$$slots:{default:[ki]},$$scope:{ctx:he}}}),oe=new A({props:{name:"disable_vae_slicing",anchor:"diffusers.StableDiffusionLDM3DPipeline.disable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L169"}}),se=new A({props:{name:"disable_vae_tiling",anchor:"diffusers.StableDiffusionLDM3DPipeline.disable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L186"}}),le=new A({props:{name:"enable_model_cpu_offload",anchor:"diffusers.StableDiffusionLDM3DPipeline.enable_model_cpu_offload",parameters:[{name:"gpu_id",val:" = 0"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L194"}}),de=new A({props:{name:"enable_vae_slicing",anchor:"diffusers.StableDiffusionLDM3DPipeline.enable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L161"}}),pe=new A({props:{name:"enable_vae_tiling",anchor:"diffusers.StableDiffusionLDM3DPipeline.enable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L177"}}),fe=new A({props:{name:"encode_prompt",anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt",parameters:[{name:"prompt",val:""},{name:"device",val:""},{name:"num_images_per_prompt",val:""},{name:"do_classifier_free_guidance",val:""},{name:"negative_prompt",val:" = None"},{name:"prompt_embeds",val:": typing.Optional[torch.FloatTensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.FloatTensor] = None"},{name:"lora_scale",val:": typing.Optional[float] = None"}],parametersDescription:[{anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
prompt to be encoded
device &#x2014; (<code>torch.device</code>):
torch device`,name:"prompt"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>) &#x2014;
number of images that should be generated per prompt`,name:"num_images_per_prompt"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt.do_classifier_free_guidance",description:`<strong>do_classifier_free_guidance</strong> (<code>bool</code>) &#x2014;
whether to use classifier free guidance or not`,name:"do_classifier_free_guidance"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt.negative_prompt",description:`<strong>negative_prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts not to guide the image generation. If not defined, one has to pass
<code>negative_prompt_embeds</code> instead. Ignored when not using guidance (i.e., ignored if <code>guidance_scale</code> is
less than <code>1</code>).`,name:"negative_prompt"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt weighting. If not
provided, text embeddings will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt
weighting. If not provided, negative_prompt_embeds will be generated from <code>negative_prompt</code> input
argument.`,name:"negative_prompt_embeds"},{anchor:"diffusers.StableDiffusionLDM3DPipeline.encode_prompt.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>, <em>optional</em>) &#x2014;
A lora scale that will be applied to all LoRA layers of the text encoder if LoRA layers are loaded.`,name:"lora_scale"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L254"}}),ce=new jn({}),me=new A({props:{name:"class diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput",anchor:"diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput",parameters:[{name:"rgb",val:": typing.Union[typing.List[PIL.Image.Image], numpy.ndarray]"},{name:"depth",val:": typing.Union[typing.List[PIL.Image.Image], numpy.ndarray]"},{name:"nsfw_content_detected",val:": typing.Optional[typing.List[bool]]"}],parametersDescription:[{anchor:"diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput.rgb",description:`<strong>rgb</strong> (<code>List[PIL.Image.Image]</code> or <code>np.ndarray</code>) &#x2014;
List of denoised PIL images of length <code>batch_size</code> or NumPy array of shape <code>(batch_size, height, width, num_channels)</code>.`,name:"rgb"},{anchor:"diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput.depth",description:`<strong>depth</strong> (<code>List[PIL.Image.Image]</code> or <code>np.ndarray</code>) &#x2014;
List of denoised PIL images of length <code>batch_size</code> or NumPy array of shape <code>(batch_size, height, width, num_channels)</code>.`,name:"depth"},{anchor:"diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput.nsfw_content_detected",description:`<strong>nsfw_content_detected</strong> (<code>List[bool]</code>) &#x2014;
List indicating whether the corresponding generated image contains &#x201C;not-safe-for-work&#x201D; (nsfw) content or
<code>None</code> if safety checking could not be performed.`,name:"nsfw_content_detected"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_ldm3d.py#L61"}}),ue=new A({props:{name:"__call__",anchor:"diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput.__call__",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}]}}),{c(){u=i("meta"),P=l(),h=i("h1"),_=i("a"),$=i("span"),D(f.$$.fragment),v=l(),U=i("span"),vt=s("Text-to-(RGB, depth)"),Qe=l(),k=i("p"),Dt=s("LDM3D was proposed in "),Q=i("a"),wt=s("LDM3D: Latent Diffusion Model for 3D"),yt=s(" by Gabriela Ben Melech Stan, Diana Wofk, Scottie Fox, Alex Redden, Will Saxton, Jean Yu, Estelle Aflalo, Shao-Yen Tseng, Fabio Nonato, Matthias Muller, and Vasudev Lal. LDM3D generates an image and a depth map from a given text prompt unlike the existing text-to-image diffusion models such as "),_e=i("a"),Mt=s("Stable Diffusion"),Lt=s(" which only generates an image. With almost the same number of parameters, LDM3D achieves to create a latent space that can compress both the RGB images and the depth maps."),He=l(),be=i("p"),xt=s("The abstract from the paper is:"),Ke=l(),ve=i("p"),H=i("em"),$t=s("This research paper proposes a Latent Diffusion Model for 3D (LDM3D) that generates both image and depth map data from a given text prompt, allowing users to generate RGBD images from text prompts. The LDM3D model is fine-tuned on a dataset of tuples containing an RGB image, depth map and caption, and validated through extensive experiments. We also develop an application called DepthFusion, which uses the generated RGB images and depth maps to create immersive and interactive 360-degree-view experiences using TouchDesigner. This technology has the potential to transform a wide range of industries, from entertainment and gaming to architecture and design. Overall, this paper presents a significant contribution to the field of generative AI and computer vision, and showcases the potential of LDM3D and DepthFusion to revolutionize content creation and digital experiences. A short video summarizing the approach can be found at "),K=i("a"),Pt=s("this url"),Et=s("."),et=l(),D(G.$$.fragment),tt=l(),C=i("h2"),O=i("a"),ke=i("span"),D(ee.$$.fragment),St=l(),Te=i("span"),It=s("StableDiffusionLDM3DPipeline"),nt=l(),c=i("div"),D(te.$$.fragment),kt=l(),Ae=i("p"),Tt=s("Pipeline for text-to-image and 3D generation using LDM3D."),At=l(),ne=i("p"),Ct=s("This model inherits from "),De=i("a"),Nt=s("DiffusionPipeline"),Ut=s(`. Check the superclass documentation for the generic methods
implemented for all pipelines (downloading, saving, running on a particular device, etc.).`),Gt=l(),Ce=i("p"),Ot=s("The pipeline also inherits the following loading methods:"),Bt=l(),E=i("ul"),we=i("li"),ye=i("a"),Rt=s("load_textual_inversion()"),Vt=s(" for loading textual inversion embeddings"),jt=l(),Me=i("li"),Le=i("a"),Ft=s("load_lora_weights()"),Wt=s(" for loading LoRA weights"),Zt=l(),xe=i("li"),$e=i("a"),zt=s("save_lora_weights()"),qt=s(" for saving LoRA weights"),Jt=l(),B=i("li"),Pe=i("a"),Xt=s("from_single_file()"),Yt=s(" for loading "),Ne=i("code"),Qt=s(".ckpt"),Ht=s(" files"),Kt=l(),T=i("div"),D(ie.$$.fragment),en=l(),Ue=i("p"),tn=s("The call function to the pipeline for generation."),nn=l(),D(R.$$.fragment),on=l(),V=i("div"),D(oe.$$.fragment),an=l(),ae=i("p"),sn=s("Disable sliced VAE decoding. If "),Ge=i("code"),rn=s("enable_vae_slicing"),ln=s(` was previously enabled, this method will go back to
computing decoding in one step.`),dn=l(),j=i("div"),D(se.$$.fragment),pn=l(),re=i("p"),fn=s("Disable tiled VAE decoding. If "),Oe=i("code"),cn=s("enable_vae_tiling"),mn=s(` was previously enabled, this method will go back to
computing decoding in one step.`),un=l(),F=i("div"),D(le.$$.fragment),gn=l(),S=i("p"),hn=s(`Offload all models to CPU to reduce memory usage with a low impact on performance. Moves one whole model at a
time to the GPU when its `),Be=i("code"),_n=s("forward"),bn=s(` method is called, and the model remains in GPU until the next model runs.
Memory savings are lower than using `),Re=i("code"),vn=s("enable_sequential_cpu_offload"),Dn=s(`, but performance is much better due to the
iterative execution of the `),Ve=i("code"),wn=s("unet"),yn=s("."),Mn=l(),W=i("div"),D(de.$$.fragment),Ln=l(),je=i("p"),xn=s(`Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to
compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.`),$n=l(),Z=i("div"),D(pe.$$.fragment),Pn=l(),Fe=i("p"),En=s(`Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to
compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow
processing larger images.`),Sn=l(),z=i("div"),D(fe.$$.fragment),In=l(),We=i("p"),kn=s("Encodes the prompt into text encoder hidden states."),it=l(),N=i("h2"),q=i("a"),Ze=i("span"),D(ce.$$.fragment),Tn=l(),ze=i("span"),An=s("LDM3DPipelineOutput"),ot=l(),I=i("div"),D(me.$$.fragment),Cn=l(),qe=i("p"),Nn=s("Output class for Stable Diffusion pipelines."),Un=l(),J=i("div"),D(ue.$$.fragment),Gn=l(),Je=i("p"),On=s("Call self as a function."),this.h()},l(t){const m=Li('[data-svelte="svelte-1phssyn"]',document.head);u=o(m,"META",{name:!0,content:!0}),m.forEach(n),P=d(t),h=o(t,"H1",{class:!0});var ge=a(h);_=o(ge,"A",{id:!0,class:!0,href:!0});var Xe=a(_);$=o(Xe,"SPAN",{});var Fn=a($);w(f.$$.fragment,Fn),Fn.forEach(n),Xe.forEach(n),v=d(ge),U=o(ge,"SPAN",{});var Wn=a(U);vt=r(Wn,"Text-to-(RGB, depth)"),Wn.forEach(n),ge.forEach(n),Qe=d(t),k=o(t,"P",{});var Ee=a(k);Dt=r(Ee,"LDM3D was proposed in "),Q=o(Ee,"A",{href:!0,rel:!0});var Zn=a(Q);wt=r(Zn,"LDM3D: Latent Diffusion Model for 3D"),Zn.forEach(n),yt=r(Ee," by Gabriela Ben Melech Stan, Diana Wofk, Scottie Fox, Alex Redden, Will Saxton, Jean Yu, Estelle Aflalo, Shao-Yen Tseng, Fabio Nonato, Matthias Muller, and Vasudev Lal. LDM3D generates an image and a depth map from a given text prompt unlike the existing text-to-image diffusion models such as "),_e=o(Ee,"A",{href:!0});var zn=a(_e);Mt=r(zn,"Stable Diffusion"),zn.forEach(n),Lt=r(Ee," which only generates an image. With almost the same number of parameters, LDM3D achieves to create a latent space that can compress both the RGB images and the depth maps."),Ee.forEach(n),He=d(t),be=o(t,"P",{});var qn=a(be);xt=r(qn,"The abstract from the paper is:"),qn.forEach(n),Ke=d(t),ve=o(t,"P",{});var Jn=a(ve);H=o(Jn,"EM",{});var st=a(H);$t=r(st,"This research paper proposes a Latent Diffusion Model for 3D (LDM3D) that generates both image and depth map data from a given text prompt, allowing users to generate RGBD images from text prompts. The LDM3D model is fine-tuned on a dataset of tuples containing an RGB image, depth map and caption, and validated through extensive experiments. We also develop an application called DepthFusion, which uses the generated RGB images and depth maps to create immersive and interactive 360-degree-view experiences using TouchDesigner. This technology has the potential to transform a wide range of industries, from entertainment and gaming to architecture and design. Overall, this paper presents a significant contribution to the field of generative AI and computer vision, and showcases the potential of LDM3D and DepthFusion to revolutionize content creation and digital experiences. A short video summarizing the approach can be found at "),K=o(st,"A",{href:!0,rel:!0});var Xn=a(K);Pt=r(Xn,"this url"),Xn.forEach(n),Et=r(st,"."),st.forEach(n),Jn.forEach(n),et=d(t),w(G.$$.fragment,t),tt=d(t),C=o(t,"H2",{class:!0});var rt=a(C);O=o(rt,"A",{id:!0,class:!0,href:!0});var Yn=a(O);ke=o(Yn,"SPAN",{});var Qn=a(ke);w(ee.$$.fragment,Qn),Qn.forEach(n),Yn.forEach(n),St=d(rt),Te=o(rt,"SPAN",{});var Hn=a(Te);It=r(Hn,"StableDiffusionLDM3DPipeline"),Hn.forEach(n),rt.forEach(n),nt=d(t),c=o(t,"DIV",{class:!0});var g=a(c);w(te.$$.fragment,g),kt=d(g),Ae=o(g,"P",{});var Kn=a(Ae);Tt=r(Kn,"Pipeline for text-to-image and 3D generation using LDM3D."),Kn.forEach(n),At=d(g),ne=o(g,"P",{});var lt=a(ne);Ct=r(lt,"This model inherits from "),De=o(lt,"A",{href:!0});var ei=a(De);Nt=r(ei,"DiffusionPipeline"),ei.forEach(n),Ut=r(lt,`. Check the superclass documentation for the generic methods
implemented for all pipelines (downloading, saving, running on a particular device, etc.).`),lt.forEach(n),Gt=d(g),Ce=o(g,"P",{});var ti=a(Ce);Ot=r(ti,"The pipeline also inherits the following loading methods:"),ti.forEach(n),Bt=d(g),E=o(g,"UL",{});var X=a(E);we=o(X,"LI",{});var Bn=a(we);ye=o(Bn,"A",{href:!0});var ni=a(ye);Rt=r(ni,"load_textual_inversion()"),ni.forEach(n),Vt=r(Bn," for loading textual inversion embeddings"),Bn.forEach(n),jt=d(X),Me=o(X,"LI",{});var Rn=a(Me);Le=o(Rn,"A",{href:!0});var ii=a(Le);Ft=r(ii,"load_lora_weights()"),ii.forEach(n),Wt=r(Rn," for loading LoRA weights"),Rn.forEach(n),Zt=d(X),xe=o(X,"LI",{});var Vn=a(xe);$e=o(Vn,"A",{href:!0});var oi=a($e);zt=r(oi,"save_lora_weights()"),oi.forEach(n),qt=r(Vn," for saving LoRA weights"),Vn.forEach(n),Jt=d(X),B=o(X,"LI",{});var Ye=a(B);Pe=o(Ye,"A",{href:!0});var ai=a(Pe);Xt=r(ai,"from_single_file()"),ai.forEach(n),Yt=r(Ye," for loading "),Ne=o(Ye,"CODE",{});var si=a(Ne);Qt=r(si,".ckpt"),si.forEach(n),Ht=r(Ye," files"),Ye.forEach(n),X.forEach(n),Kt=d(g),T=o(g,"DIV",{class:!0});var Se=a(T);w(ie.$$.fragment,Se),en=d(Se),Ue=o(Se,"P",{});var ri=a(Ue);tn=r(ri,"The call function to the pipeline for generation."),ri.forEach(n),nn=d(Se),w(R.$$.fragment,Se),Se.forEach(n),on=d(g),V=o(g,"DIV",{class:!0});var dt=a(V);w(oe.$$.fragment,dt),an=d(dt),ae=o(dt,"P",{});var pt=a(ae);sn=r(pt,"Disable sliced VAE decoding. If "),Ge=o(pt,"CODE",{});var li=a(Ge);rn=r(li,"enable_vae_slicing"),li.forEach(n),ln=r(pt,` was previously enabled, this method will go back to
computing decoding in one step.`),pt.forEach(n),dt.forEach(n),dn=d(g),j=o(g,"DIV",{class:!0});var ft=a(j);w(se.$$.fragment,ft),pn=d(ft),re=o(ft,"P",{});var ct=a(re);fn=r(ct,"Disable tiled VAE decoding. If "),Oe=o(ct,"CODE",{});var di=a(Oe);cn=r(di,"enable_vae_tiling"),di.forEach(n),mn=r(ct,` was previously enabled, this method will go back to
computing decoding in one step.`),ct.forEach(n),ft.forEach(n),un=d(g),F=o(g,"DIV",{class:!0});var mt=a(F);w(le.$$.fragment,mt),gn=d(mt),S=o(mt,"P",{});var Y=a(S);hn=r(Y,`Offload all models to CPU to reduce memory usage with a low impact on performance. Moves one whole model at a
time to the GPU when its `),Be=o(Y,"CODE",{});var pi=a(Be);_n=r(pi,"forward"),pi.forEach(n),bn=r(Y,` method is called, and the model remains in GPU until the next model runs.
Memory savings are lower than using `),Re=o(Y,"CODE",{});var fi=a(Re);vn=r(fi,"enable_sequential_cpu_offload"),fi.forEach(n),Dn=r(Y,`, but performance is much better due to the
iterative execution of the `),Ve=o(Y,"CODE",{});var ci=a(Ve);wn=r(ci,"unet"),ci.forEach(n),yn=r(Y,"."),Y.forEach(n),mt.forEach(n),Mn=d(g),W=o(g,"DIV",{class:!0});var ut=a(W);w(de.$$.fragment,ut),Ln=d(ut),je=o(ut,"P",{});var mi=a(je);xn=r(mi,`Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to
compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.`),mi.forEach(n),ut.forEach(n),$n=d(g),Z=o(g,"DIV",{class:!0});var gt=a(Z);w(pe.$$.fragment,gt),Pn=d(gt),Fe=o(gt,"P",{});var ui=a(Fe);En=r(ui,`Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to
compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow
processing larger images.`),ui.forEach(n),gt.forEach(n),Sn=d(g),z=o(g,"DIV",{class:!0});var ht=a(z);w(fe.$$.fragment,ht),In=d(ht),We=o(ht,"P",{});var gi=a(We);kn=r(gi,"Encodes the prompt into text encoder hidden states."),gi.forEach(n),ht.forEach(n),g.forEach(n),it=d(t),N=o(t,"H2",{class:!0});var _t=a(N);q=o(_t,"A",{id:!0,class:!0,href:!0});var hi=a(q);Ze=o(hi,"SPAN",{});var _i=a(Ze);w(ce.$$.fragment,_i),_i.forEach(n),hi.forEach(n),Tn=d(_t),ze=o(_t,"SPAN",{});var bi=a(ze);An=r(bi,"LDM3DPipelineOutput"),bi.forEach(n),_t.forEach(n),ot=d(t),I=o(t,"DIV",{class:!0});var Ie=a(I);w(me.$$.fragment,Ie),Cn=d(Ie),qe=o(Ie,"P",{});var vi=a(qe);Nn=r(vi,"Output class for Stable Diffusion pipelines."),vi.forEach(n),Un=d(Ie),J=o(Ie,"DIV",{class:!0});var bt=a(J);w(ue.$$.fragment,bt),Gn=d(bt),Je=o(bt,"P",{});var Di=a(Je);On=r(Di,"Call self as a function."),Di.forEach(n),bt.forEach(n),Ie.forEach(n),this.h()},h(){p(u,"name","hf:doc:metadata"),p(u,"content",JSON.stringify(Ai)),p(_,"id","texttorgb-depth"),p(_,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(_,"href","#texttorgb-depth"),p(h,"class","relative group"),p(Q,"href","https://huggingface.co/papers/2305.10853"),p(Q,"rel","nofollow"),p(_e,"href","./stable_diffusion/overview"),p(K,"href","https://t.ly/tdi2"),p(K,"rel","nofollow"),p(O,"id","diffusers.StableDiffusionLDM3DPipeline"),p(O,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(O,"href","#diffusers.StableDiffusionLDM3DPipeline"),p(C,"class","relative group"),p(De,"href","/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline"),p(ye,"href","/docs/diffusers/main/en/api/pipelines/stable_diffusion/img2img#diffusers.StableDiffusionImg2ImgPipeline.load_textual_inversion"),p(Le,"href","/docs/diffusers/main/en/api/pipelines/stable_diffusion/img2img#diffusers.StableDiffusionImg2ImgPipeline.load_lora_weights"),p($e,"href","/docs/diffusers/main/en/api/pipelines/stable_diffusion/img2img#diffusers.StableDiffusionImg2ImgPipeline.save_lora_weights"),p(Pe,"href","/docs/diffusers/main/en/api/pipelines/stable_diffusion/img2img#diffusers.StableDiffusionImg2ImgPipeline.from_single_file"),p(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(c,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(q,"id","diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput"),p(q,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(q,"href","#diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput"),p(N,"class","relative group"),p(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(t,m){e(document.head,u),b(t,P,m),b(t,h,m),e(h,_),e(_,$),y(f,$,null),e(h,v),e(h,U),e(U,vt),b(t,Qe,m),b(t,k,m),e(k,Dt),e(k,Q),e(Q,wt),e(k,yt),e(k,_e),e(_e,Mt),e(k,Lt),b(t,He,m),b(t,be,m),e(be,xt),b(t,Ke,m),b(t,ve,m),e(ve,H),e(H,$t),e(H,K),e(K,Pt),e(H,Et),b(t,et,m),y(G,t,m),b(t,tt,m),b(t,C,m),e(C,O),e(O,ke),y(ee,ke,null),e(C,St),e(C,Te),e(Te,It),b(t,nt,m),b(t,c,m),y(te,c,null),e(c,kt),e(c,Ae),e(Ae,Tt),e(c,At),e(c,ne),e(ne,Ct),e(ne,De),e(De,Nt),e(ne,Ut),e(c,Gt),e(c,Ce),e(Ce,Ot),e(c,Bt),e(c,E),e(E,we),e(we,ye),e(ye,Rt),e(we,Vt),e(E,jt),e(E,Me),e(Me,Le),e(Le,Ft),e(Me,Wt),e(E,Zt),e(E,xe),e(xe,$e),e($e,zt),e(xe,qt),e(E,Jt),e(E,B),e(B,Pe),e(Pe,Xt),e(B,Yt),e(B,Ne),e(Ne,Qt),e(B,Ht),e(c,Kt),e(c,T),y(ie,T,null),e(T,en),e(T,Ue),e(Ue,tn),e(T,nn),y(R,T,null),e(c,on),e(c,V),y(oe,V,null),e(V,an),e(V,ae),e(ae,sn),e(ae,Ge),e(Ge,rn),e(ae,ln),e(c,dn),e(c,j),y(se,j,null),e(j,pn),e(j,re),e(re,fn),e(re,Oe),e(Oe,cn),e(re,mn),e(c,un),e(c,F),y(le,F,null),e(F,gn),e(F,S),e(S,hn),e(S,Be),e(Be,_n),e(S,bn),e(S,Re),e(Re,vn),e(S,Dn),e(S,Ve),e(Ve,wn),e(S,yn),e(c,Mn),e(c,W),y(de,W,null),e(W,Ln),e(W,je),e(je,xn),e(c,$n),e(c,Z),y(pe,Z,null),e(Z,Pn),e(Z,Fe),e(Fe,En),e(c,Sn),e(c,z),y(fe,z,null),e(z,In),e(z,We),e(We,kn),b(t,it,m),b(t,N,m),e(N,q),e(q,Ze),y(ce,Ze,null),e(N,Tn),e(N,ze),e(ze,An),b(t,ot,m),b(t,I,m),y(me,I,null),e(I,Cn),e(I,qe),e(qe,Nn),e(I,Un),e(I,J),y(ue,J,null),e(J,Gn),e(J,Je),e(Je,On),at=!0},p(t,[m]){const ge={};m&2&&(ge.$$scope={dirty:m,ctx:t}),G.$set(ge);const Xe={};m&2&&(Xe.$$scope={dirty:m,ctx:t}),R.$set(Xe)},i(t){at||(M(f.$$.fragment,t),M(G.$$.fragment,t),M(ee.$$.fragment,t),M(te.$$.fragment,t),M(ie.$$.fragment,t),M(R.$$.fragment,t),M(oe.$$.fragment,t),M(se.$$.fragment,t),M(le.$$.fragment,t),M(de.$$.fragment,t),M(pe.$$.fragment,t),M(fe.$$.fragment,t),M(ce.$$.fragment,t),M(me.$$.fragment,t),M(ue.$$.fragment,t),at=!0)},o(t){L(f.$$.fragment,t),L(G.$$.fragment,t),L(ee.$$.fragment,t),L(te.$$.fragment,t),L(ie.$$.fragment,t),L(R.$$.fragment,t),L(oe.$$.fragment,t),L(se.$$.fragment,t),L(le.$$.fragment,t),L(de.$$.fragment,t),L(pe.$$.fragment,t),L(fe.$$.fragment,t),L(ce.$$.fragment,t),L(me.$$.fragment,t),L(ue.$$.fragment,t),at=!1},d(t){n(u),t&&n(P),t&&n(h),x(f),t&&n(Qe),t&&n(k),t&&n(He),t&&n(be),t&&n(Ke),t&&n(ve),t&&n(et),x(G,t),t&&n(tt),t&&n(C),x(ee),t&&n(nt),t&&n(c),x(te),x(ie),x(R),x(oe),x(se),x(le),x(de),x(pe),x(fe),t&&n(it),t&&n(N),x(ce),t&&n(ot),t&&n(I),x(me),x(ue)}}}const Ai={local:"texttorgb-depth",sections:[{local:"diffusers.StableDiffusionLDM3DPipeline",title:"StableDiffusionLDM3DPipeline"},{local:"diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_ldm3d.LDM3DPipelineOutput",title:"LDM3DPipelineOutput"}],title:"Text-to-(RGB, depth)"};function Ci(he){return xi(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Vi extends wi{constructor(u){super();yi(this,u,Ci,Ti,Mi,{})}}export{Vi as default,Ai as metadata};
