import{s as nt,o as ot,n as et}from"../chunks/scheduler.53228c21.js";import{S as at,i as st,e as l,s,c as _,h as it,a as p,d as t,b as i,f as N,g as h,j as g,k as I,l as d,m as o,n as y,t as b,o as v,p as k}from"../chunks/index.100fac89.js";import{C as rt}from"../chunks/CopyLLMTxtMenu.9360b11d.js";import{D as le}from"../chunks/Docstring.22cc8849.js";import{C as tt}from"../chunks/CodeBlock.d30a6509.js";import{E as ze}from"../chunks/ExampleCodeBlock.1963d52f.js";import{H as We,E as lt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.c9001d7a.js";function pt(z){let r,x="Examples:",f,c,m;return c=new tt({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMEF1dG9QaXBlbGluZUZvclRleHQySW1hZ2UlMEFpbXBvcnQlMjB0b3JjaCUwQSUwQXBpcGUlMjAlM0QlMjBBdXRvUGlwZWxpbmVGb3JUZXh0MkltYWdlLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJrYW5kaW5za3ktY29tbXVuaXR5JTJGa2FuZGluc2t5LTMlMjIlMkMlMjB2YXJpYW50JTNEJTIyZnAxNiUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUwQSklMEFwaXBlLmVuYWJsZV9tb2RlbF9jcHVfb2ZmbG9hZCgpJTBBJTBBcHJvbXB0JTIwJTNEJTIwJTIyQSUyMHBob3RvZ3JhcGglMjBvZiUyMHRoZSUyMGluc2lkZSUyMG9mJTIwYSUyMHN1YndheSUyMHRyYWluLiUyMFRoZXJlJTIwYXJlJTIwcmFjY29vbnMlMjBzaXR0aW5nJTIwb24lMjB0aGUlMjBzZWF0cy4lMjBPbmUlMjBvZiUyMHRoZW0lMjBpcyUyMHJlYWRpbmclMjBhJTIwbmV3c3BhcGVyLiUyMFRoZSUyMHdpbmRvdyUyMHNob3dzJTIwdGhlJTIwY2l0eSUyMGluJTIwdGhlJTIwYmFja2dyb3VuZC4lMjIlMEElMEFnZW5lcmF0b3IlMjAlM0QlMjB0b3JjaC5HZW5lcmF0b3IoZGV2aWNlJTNEJTIyY3B1JTIyKS5tYW51YWxfc2VlZCgwKSUwQWltYWdlJTIwJTNEJTIwcGlwZShwcm9tcHQlMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNEMjUlMkMlMjBnZW5lcmF0b3IlM0RnZW5lcmF0b3IpLmltYWdlcyU1QjAlNUQ=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> AutoPipelineForText2Image
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch

<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = AutoPipelineForText2Image.from_pretrained(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;kandinsky-community/kandinsky-3&quot;</span>, variant=<span class="hljs-string">&quot;fp16&quot;</span>, torch_dtype=torch.float16
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.enable_model_cpu_offload()

<span class="hljs-meta">&gt;&gt;&gt; </span>prompt = <span class="hljs-string">&quot;A photograph of the inside of a subway train. There are raccoons sitting on the seats. One of them is reading a newspaper. The window shows the city in the background.&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>generator = torch.Generator(device=<span class="hljs-string">&quot;cpu&quot;</span>).manual_seed(<span class="hljs-number">0</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>image = pipe(prompt, num_inference_steps=<span class="hljs-number">25</span>, generator=generator).images[<span class="hljs-number">0</span>]`,wrap:!1}}),{c(){r=l("p"),r.textContent=x,f=s(),_(c.$$.fragment)},l(a){r=p(a,"P",{"data-svelte-h":!0}),g(r)!=="svelte-kvfsh7"&&(r.textContent=x),f=i(a),h(c.$$.fragment,a)},m(a,u){o(a,r,u),o(a,f,u),y(c,a,u),m=!0},p:et,i(a){m||(b(c.$$.fragment,a),m=!0)},o(a){v(c.$$.fragment,a),m=!1},d(a){a&&(t(r),t(f)),k(c,a)}}}function dt(z){let r,x="Examples:",f,c,m;return c=new tt({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMEF1dG9QaXBlbGluZUZvckltYWdlMkltYWdlJTBBZnJvbSUyMGRpZmZ1c2Vycy51dGlscyUyMGltcG9ydCUyMGxvYWRfaW1hZ2UlMEFpbXBvcnQlMjB0b3JjaCUwQSUwQXBpcGUlMjAlM0QlMjBBdXRvUGlwZWxpbmVGb3JJbWFnZTJJbWFnZS5mcm9tX3ByZXRyYWluZWQoJTBBJTIwJTIwJTIwJTIwJTIya2FuZGluc2t5LWNvbW11bml0eSUyRmthbmRpbnNreS0zJTIyJTJDJTIwdmFyaWFudCUzRCUyMmZwMTYlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMEEpJTBBcGlwZS5lbmFibGVfbW9kZWxfY3B1X29mZmxvYWQoKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMkElMjBwYWludGluZyUyMG9mJTIwdGhlJTIwaW5zaWRlJTIwb2YlMjBhJTIwc3Vid2F5JTIwdHJhaW4lMjB3aXRoJTIwdGlueSUyMHJhY2Nvb25zLiUyMiUwQWltYWdlJTIwJTNEJTIwbG9hZF9pbWFnZSglMEElMjAlMjAlMjAlMjAlMjJodHRwcyUzQSUyRiUyRmh1Z2dpbmdmYWNlLmNvJTJGZGF0YXNldHMlMkZoZi1pbnRlcm5hbC10ZXN0aW5nJTJGZGlmZnVzZXJzLWltYWdlcyUyRnJlc29sdmUlMkZtYWluJTJGa2FuZGluc2t5MyUyRnQyaS5wbmclMjIlMEEpJTBBJTBBZ2VuZXJhdG9yJTIwJTNEJTIwdG9yY2guR2VuZXJhdG9yKGRldmljZSUzRCUyMmNwdSUyMikubWFudWFsX3NlZWQoMCklMEFpbWFnZSUyMCUzRCUyMHBpcGUocHJvbXB0JTJDJTIwaW1hZ2UlM0RpbWFnZSUyQyUyMHN0cmVuZ3RoJTNEMC43NSUyQyUyMG51bV9pbmZlcmVuY2Vfc3RlcHMlM0QyNSUyQyUyMGdlbmVyYXRvciUzRGdlbmVyYXRvcikuaW1hZ2VzJTVCMCU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> AutoPipelineForImage2Image
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> load_image
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch

<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = AutoPipelineForImage2Image.from_pretrained(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;kandinsky-community/kandinsky-3&quot;</span>, variant=<span class="hljs-string">&quot;fp16&quot;</span>, torch_dtype=torch.float16
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.enable_model_cpu_offload()

<span class="hljs-meta">&gt;&gt;&gt; </span>prompt = <span class="hljs-string">&quot;A painting of the inside of a subway train with tiny raccoons.&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>image = load_image(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/kandinsky3/t2i.png&quot;</span>
<span class="hljs-meta">... </span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>generator = torch.Generator(device=<span class="hljs-string">&quot;cpu&quot;</span>).manual_seed(<span class="hljs-number">0</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>image = pipe(prompt, image=image, strength=<span class="hljs-number">0.75</span>, num_inference_steps=<span class="hljs-number">25</span>, generator=generator).images[<span class="hljs-number">0</span>]`,wrap:!1}}),{c(){r=l("p"),r.textContent=x,f=s(),_(c.$$.fragment)},l(a){r=p(a,"P",{"data-svelte-h":!0}),g(r)!=="svelte-kvfsh7"&&(r.textContent=x),f=i(a),h(c.$$.fragment,a)},m(a,u){o(a,r,u),o(a,f,u),y(c,a,u),m=!0},p:et,i(a){m||(b(c.$$.fragment,a),m=!0)},o(a){v(c.$$.fragment,a),m=!1},d(a){a&&(t(r),t(f)),k(c,a)}}}function ct(z){let r,x,f,c,m,a,u,de,J,Be='<img alt="LoRA" src="https://img.shields.io/badge/LoRA-d8b4fe?style=flat"/>',ce,W,Re='Kandinsky 3 is created by <a href="https://github.com/oriBetelgeuse" rel="nofollow">Vladimir Arkhipkin</a>,<a href="https://github.com/NastyaMittseva" rel="nofollow">Anastasia Maltseva</a>,<a href="https://github.com/boomb0om" rel="nofollow">Igor Pavlov</a>,<a href="https://github.com/anvilarth" rel="nofollow">Andrei Filatov</a>,<a href="https://github.com/cene555" rel="nofollow">Arseniy Shakhmatov</a>,<a href="https://github.com/kuznetsoffandrey" rel="nofollow">Andrey Kuznetsov</a>,<a href="https://github.com/denndimitrov" rel="nofollow">Denis Dimitrov</a>, <a href="https://github.com/zeinsh" rel="nofollow">Zein Shaheen</a>',me,B,Ee="The description from it’s GitHub page:",ge,R,Fe="<em>Kandinsky 3.0 is an open-source text-to-image diffusion model built upon the Kandinsky2-x model family. In comparison to its predecessors, enhancements have been made to the text understanding and visual quality of the model, achieved by increasing the size of the text encoder and Diffusion U-Net models, respectively.</em>",fe,E,He="Its architecture includes 3 main components:",ue,F,Se='<li><a href="https://huggingface.co/google/flan-ul2" rel="nofollow">FLAN-UL2</a>, which is an encoder decoder model based on the T5 architecture.</li> <li>New U-Net architecture featuring BigGAN-deep blocks doubles depth while maintaining the same number of parameters.</li> <li>Sber-MoVQGAN is a decoder proven to have superior results in image restoration.</li>',_e,H,qe='The original codebase can be found at <a href="https://github.com/ai-forever/Kandinsky-3" rel="nofollow">ai-forever/Kandinsky-3</a>.',he,C,Ye='<p>Check out the <a href="https://huggingface.co/kandinsky-community" rel="nofollow">Kandinsky Community</a> organization on the Hub for the official model checkpoints for tasks like text-to-image, image-to-image, and inpainting.</p>',ye,K,Oe='<p>Make sure to check out the schedulers <a href="../../using-diffusers/schedulers">guide</a> to learn how to explore the tradeoff between scheduler speed and quality, and see the <a href="../../using-diffusers/loading#reuse-a-pipeline">reuse components across pipelines</a> section to learn how to efficiently load the same components into multiple pipelines.</p>',be,S,ve,w,q,$e,M,Y,Pe,ee,Ve="Function invoked when calling the pipeline for generation.",je,Z,Ue,G,O,Je,te,Qe="Encodes the prompt into text encoder hidden states.",ke,V,we,T,Q,Ce,$,X,Ke,ne,Xe="Function invoked when calling the pipeline for generation.",Ze,L,Ge,P,A,Le,oe,Ae="Encodes the prompt into text encoder hidden states.",Ne,ae,De=`device: (<code>torch.device</code>, <em>optional</em>):
torch device to place the resulting embeddings on
num_images_per_prompt (<code>int</code>, <em>optional</em>, defaults to 1):
number of images that should be generated per prompt
do_classifier_free_guidance (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>):
whether to use classifier free guidance or not
negative_prompt (<code>str</code> or <code>List[str]</code>, <em>optional</em>):
The prompt or prompts not to guide the image generation. If not defined, one has to pass
<code>negative_prompt_embeds</code>. instead. 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>).
prompt_embeds (<code>torch.Tensor</code>, <em>optional</em>):
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.
negative_prompt_embeds (<code>torch.Tensor</code>, <em>optional</em>):
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.
attention_mask (<code>torch.Tensor</code>, <em>optional</em>):
Pre-generated attention mask. Must provide if passing <code>prompt_embeds</code> directly.
negative_attention_mask (<code>torch.Tensor</code>, <em>optional</em>):
Pre-generated negative attention mask. Must provide if passing <code>negative_prompt_embeds</code> directly.`,Te,D,Ie,pe,xe;return m=new rt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),u=new We({props:{title:"Kandinsky 3",local:"kandinsky-3",headingTag:"h1"}}),S=new We({props:{title:"Kandinsky3Pipeline",local:"diffusers.Kandinsky3Pipeline",headingTag:"h2"}}),q=new le({props:{name:"class diffusers.Kandinsky3Pipeline",anchor:"diffusers.Kandinsky3Pipeline",parameters:[{name:"tokenizer",val:": T5Tokenizer"},{name:"text_encoder",val:": T5EncoderModel"},{name:"unet",val:": Kandinsky3UNet"},{name:"scheduler",val:": DDPMScheduler"},{name:"movq",val:": VQModel"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py#L59"}}),Y=new le({props:{name:"__call__",anchor:"diffusers.Kandinsky3Pipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"num_inference_steps",val:": int = 25"},{name:"guidance_scale",val:": float = 3.0"},{name:"negative_prompt",val:": typing.Union[str, typing.List[str], NoneType] = None"},{name:"num_images_per_prompt",val:": typing.Optional[int] = 1"},{name:"height",val:": typing.Optional[int] = 1024"},{name:"width",val:": typing.Optional[int] = 1024"},{name:"generator",val:": typing.Union[torch._C.Generator, typing.List[torch._C.Generator], NoneType] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"},{name:"latents",val:" = None"},{name:"callback_on_step_end",val:": typing.Optional[typing.Callable[[int, int, typing.Dict], NoneType]] = None"},{name:"callback_on_step_end_tensor_inputs",val:": typing.List[str] = ['latents']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.Kandinsky3Pipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts to guide the image generation. If not defined, one has to pass <code>prompt_embeds</code>.
instead.`,name:"prompt"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 25) &#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.Kandinsky3Pipeline.__call__.timesteps",description:`<strong>timesteps</strong> (<code>List[int]</code>, <em>optional</em>) &#x2014;
Custom timesteps to use for the denoising process. If not defined, equal spaced <code>num_inference_steps</code>
timesteps are used. Must be in descending order.`,name:"timesteps"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 3.0) &#x2014;
Guidance scale as defined in <a href="https://huggingface.co/papers/2207.12598" rel="nofollow">Classifier-Free Diffusion
Guidance</a>. <code>guidance_scale</code> is defined as <code>w</code> of equation 2.
of <a href="https://huggingface.co/papers/2205.11487" rel="nofollow">Imagen Paper</a>. Guidance scale is enabled by setting
<code>guidance_scale &gt; 1</code>. Higher guidance scale encourages to generate images that are closely linked to
the text <code>prompt</code>, usually at the expense of lower image quality.`,name:"guidance_scale"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.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.Kandinsky3Pipeline.__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.Kandinsky3Pipeline.__call__.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size) &#x2014;
The height in pixels of the generated image.`,name:"height"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.width",description:`<strong>width</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size) &#x2014;
The width in pixels of the generated image.`,name:"width"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.eta",description:`<strong>eta</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014;
Corresponds to parameter eta (&#x3B7;) in the DDIM paper: <a href="https://huggingface.co/papers/2010.02502" rel="nofollow">https://huggingface.co/papers/2010.02502</a>. Only
applies to <a href="/docs/diffusers/main/en/api/schedulers/ddim#diffusers.DDIMScheduler">schedulers.DDIMScheduler</a>, will be ignored for others.`,name:"eta"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code> or <code>List[torch.Generator]</code>, <em>optional</em>) &#x2014;
One or a list of <a href="https://pytorch.org/docs/stable/generated/torch.Generator.html" rel="nofollow">torch generator(s)</a>
to make generation deterministic.`,name:"generator"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</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.Kandinsky3Pipeline.__call__.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</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.Kandinsky3Pipeline.__call__.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated attention mask. Must provide if passing <code>prompt_embeds</code> directly.`,name:"attention_mask"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.negative_attention_mask",description:`<strong>negative_attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative attention mask. Must provide if passing <code>negative_prompt_embeds</code> directly.`,name:"negative_attention_mask"},{anchor:"diffusers.Kandinsky3Pipeline.__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 generate image. Choose between
<a href="https://pillow.readthedocs.io/en/stable/" rel="nofollow">PIL</a>: <code>PIL.Image.Image</code> or <code>np.array</code>.`,name:"output_type"},{anchor:"diffusers.Kandinsky3Pipeline.__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 <code>~pipelines.stable_diffusion.IFPipelineOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.callback",description:`<strong>callback</strong> (<code>Callable</code>, <em>optional</em>) &#x2014;
A function that will be called every <code>callback_steps</code> steps during inference. The function will be
called with the following arguments: <code>callback(step: int, timestep: int, latents: torch.Tensor)</code>.`,name:"callback"},{anchor:"diffusers.Kandinsky3Pipeline.__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 will be called. If not specified, the callback will be
called at every step.`,name:"callback_steps"},{anchor:"diffusers.Kandinsky3Pipeline.__call__.clean_caption",description:`<strong>clean_caption</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to clean the caption before creating embeddings. Requires <code>beautifulsoup4</code> and <code>ftfy</code> to
be installed. If the dependencies are not installed, the embeddings will be created from the raw
prompt.`,name:"clean_caption"},{anchor:"diffusers.Kandinsky3Pipeline.__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 under
<code>self.processor</code> in
<a href="https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention_processor.py" rel="nofollow">diffusers.models.attention_processor</a>.`,name:"cross_attention_kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py#L334",returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/diffusers/main/en/api/pipelines/dit#diffusers.ImagePipelineOutput"
>ImagePipelineOutput</a> or <code>tuple</code></p>
`}}),Z=new ze({props:{anchor:"diffusers.Kandinsky3Pipeline.__call__.example",$$slots:{default:[pt]},$$scope:{ctx:z}}}),O=new le({props:{name:"encode_prompt",anchor:"diffusers.Kandinsky3Pipeline.encode_prompt",parameters:[{name:"prompt",val:""},{name:"do_classifier_free_guidance",val:" = True"},{name:"num_images_per_prompt",val:" = 1"},{name:"device",val:" = None"},{name:"negative_prompt",val:" = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"_cut_context",val:" = False"},{name:"attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_attention_mask",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.Kandinsky3Pipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
prompt to be encoded`,name:"prompt"},{anchor:"diffusers.Kandinsky3Pipeline.encode_prompt.device",description:`<strong>device</strong> &#x2014; (<code>torch.device</code>, <em>optional</em>):
torch device to place the resulting embeddings on`,name:"device"},{anchor:"diffusers.Kandinsky3Pipeline.encode_prompt.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
number of images that should be generated per prompt`,name:"num_images_per_prompt"},{anchor:"diffusers.Kandinsky3Pipeline.encode_prompt.do_classifier_free_guidance",description:`<strong>do_classifier_free_guidance</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
whether to use classifier free guidance or not`,name:"do_classifier_free_guidance"},{anchor:"diffusers.Kandinsky3Pipeline.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. 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.Kandinsky3Pipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</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.Kandinsky3Pipeline.encode_prompt.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</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.Kandinsky3Pipeline.encode_prompt.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated attention mask. Must provide if passing <code>prompt_embeds</code> directly.`,name:"attention_mask"},{anchor:"diffusers.Kandinsky3Pipeline.encode_prompt.negative_attention_mask",description:`<strong>negative_attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative attention mask. Must provide if passing <code>negative_prompt_embeds</code> directly.`,name:"negative_attention_mask"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py#L91"}}),V=new We({props:{title:"Kandinsky3Img2ImgPipeline",local:"diffusers.Kandinsky3Img2ImgPipeline",headingTag:"h2"}}),Q=new le({props:{name:"class diffusers.Kandinsky3Img2ImgPipeline",anchor:"diffusers.Kandinsky3Img2ImgPipeline",parameters:[{name:"tokenizer",val:": T5Tokenizer"},{name:"text_encoder",val:": T5EncoderModel"},{name:"unet",val:": Kandinsky3UNet"},{name:"scheduler",val:": DDPMScheduler"},{name:"movq",val:": VQModel"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py#L56"}}),X=new le({props:{name:"__call__",anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"image",val:": typing.Union[torch.Tensor, PIL.Image.Image, typing.List[torch.Tensor], typing.List[PIL.Image.Image]] = None"},{name:"strength",val:": float = 0.3"},{name:"num_inference_steps",val:": int = 25"},{name:"guidance_scale",val:": float = 3.0"},{name:"negative_prompt",val:": typing.Union[str, typing.List[str], NoneType] = None"},{name:"num_images_per_prompt",val:": typing.Optional[int] = 1"},{name:"generator",val:": typing.Union[torch._C.Generator, typing.List[torch._C.Generator], NoneType] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"},{name:"callback_on_step_end",val:": typing.Optional[typing.Callable[[int, int, typing.Dict], NoneType]] = None"},{name:"callback_on_step_end_tensor_inputs",val:": typing.List[str] = ['latents']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts to guide the image generation. If not defined, one has to pass <code>prompt_embeds</code>.
instead.`,name:"prompt"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.image",description:`<strong>image</strong> (<code>torch.Tensor</code>, <code>PIL.Image.Image</code>, <code>np.ndarray</code>, <code>List[torch.Tensor]</code>, <code>List[PIL.Image.Image]</code>, or <code>List[np.ndarray]</code>) &#x2014;
<code>Image</code>, or tensor representing an image batch, that will be used as the starting point for the
process.`,name:"image"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.strength",description:`<strong>strength</strong> (<code>float</code>, <em>optional</em>, defaults to 0.8) &#x2014;
Indicates extent to transform the reference <code>image</code>. Must be between 0 and 1. <code>image</code> is used as a
starting point and more noise is added the higher the <code>strength</code>. The number of denoising steps depends
on the amount of noise initially added. When <code>strength</code> is 1, added noise is maximum and the denoising
process runs for the full number of iterations specified in <code>num_inference_steps</code>. A value of 1
essentially ignores <code>image</code>.`,name:"strength"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__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.Kandinsky3Img2ImgPipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 3.0) &#x2014;
Guidance scale as defined in <a href="https://huggingface.co/papers/2207.12598" rel="nofollow">Classifier-Free Diffusion
Guidance</a>. <code>guidance_scale</code> is defined as <code>w</code> of equation 2.
of <a href="https://huggingface.co/papers/2205.11487" rel="nofollow">Imagen Paper</a>. Guidance scale is enabled by setting
<code>guidance_scale &gt; 1</code>. Higher guidance scale encourages to generate images that are closely linked to
the text <code>prompt</code>, usually at the expense of lower image quality.`,name:"guidance_scale"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.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.Kandinsky3Img2ImgPipeline.__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.Kandinsky3Img2ImgPipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code> or <code>List[torch.Generator]</code>, <em>optional</em>) &#x2014;
One or a list of <a href="https://pytorch.org/docs/stable/generated/torch.Generator.html" rel="nofollow">torch generator(s)</a>
to make generation deterministic.`,name:"generator"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</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.Kandinsky3Img2ImgPipeline.__call__.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</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.Kandinsky3Img2ImgPipeline.__call__.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated attention mask. Must provide if passing <code>prompt_embeds</code> directly.`,name:"attention_mask"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.negative_attention_mask",description:`<strong>negative_attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative attention mask. Must provide if passing <code>negative_prompt_embeds</code> directly.`,name:"negative_attention_mask"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__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 generate image. Choose between
<a href="https://pillow.readthedocs.io/en/stable/" rel="nofollow">PIL</a>: <code>PIL.Image.Image</code> or <code>np.array</code>.`,name:"output_type"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__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 <code>~pipelines.stable_diffusion.IFPipelineOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.callback_on_step_end",description:`<strong>callback_on_step_end</strong> (<code>Callable</code>, <em>optional</em>) &#x2014;
A function that calls at the end of each denoising steps during the inference. The function is called
with the following arguments: <code>callback_on_step_end(self: DiffusionPipeline, step: int, timestep: int, callback_kwargs: Dict)</code>. <code>callback_kwargs</code> will include a list of all tensors as specified by
<code>callback_on_step_end_tensor_inputs</code>.`,name:"callback_on_step_end"},{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.callback_on_step_end_tensor_inputs",description:`<strong>callback_on_step_end_tensor_inputs</strong> (<code>List</code>, <em>optional</em>) &#x2014;
The list of tensor inputs for the <code>callback_on_step_end</code> function. The tensors specified in the list
will be passed as <code>callback_kwargs</code> argument. You will only be able to include variables listed in the
<code>._callback_tensor_inputs</code> attribute of your pipeline class.`,name:"callback_on_step_end_tensor_inputs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py#L400",returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/diffusers/main/en/api/pipelines/dit#diffusers.ImagePipelineOutput"
>ImagePipelineOutput</a> or <code>tuple</code></p>
`}}),L=new ze({props:{anchor:"diffusers.Kandinsky3Img2ImgPipeline.__call__.example",$$slots:{default:[dt]},$$scope:{ctx:z}}}),A=new le({props:{name:"encode_prompt",anchor:"diffusers.Kandinsky3Img2ImgPipeline.encode_prompt",parameters:[{name:"prompt",val:""},{name:"do_classifier_free_guidance",val:" = True"},{name:"num_images_per_prompt",val:" = 1"},{name:"device",val:" = None"},{name:"negative_prompt",val:" = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"_cut_context",val:" = False"},{name:"attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_attention_mask",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.Kandinsky3Img2ImgPipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
prompt to be encoded`,name:"prompt"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py#L106"}}),D=new lt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/kandinsky3.md"}}),{c(){r=l("meta"),x=s(),f=l("p"),c=s(),_(m.$$.fragment),a=s(),_(u.$$.fragment),de=s(),J=l("div"),J.innerHTML=Be,ce=s(),W=l("p"),W.innerHTML=Re,me=s(),B=l("p"),B.textContent=Ee,ge=s(),R=l("p"),R.innerHTML=Fe,fe=s(),E=l("p"),E.textContent=He,ue=s(),F=l("ol"),F.innerHTML=Se,_e=s(),H=l("p"),H.innerHTML=qe,he=s(),C=l("blockquote"),C.innerHTML=Ye,ye=s(),K=l("blockquote"),K.innerHTML=Oe,be=s(),_(S.$$.fragment),ve=s(),w=l("div"),_(q.$$.fragment),$e=s(),M=l("div"),_(Y.$$.fragment),Pe=s(),ee=l("p"),ee.textContent=Ve,je=s(),_(Z.$$.fragment),Ue=s(),G=l("div"),_(O.$$.fragment),Je=s(),te=l("p"),te.textContent=Qe,ke=s(),_(V.$$.fragment),we=s(),T=l("div"),_(Q.$$.fragment),Ce=s(),$=l("div"),_(X.$$.fragment),Ke=s(),ne=l("p"),ne.textContent=Xe,Ze=s(),_(L.$$.fragment),Ge=s(),P=l("div"),_(A.$$.fragment),Le=s(),oe=l("p"),oe.textContent=Ae,Ne=s(),ae=l("p"),ae.innerHTML=De,Te=s(),_(D.$$.fragment),Ie=s(),pe=l("p"),this.h()},l(e){const n=it("svelte-u9bgzb",document.head);r=p(n,"META",{name:!0,content:!0}),n.forEach(t),x=i(e),f=p(e,"P",{}),N(f).forEach(t),c=i(e),h(m.$$.fragment,e),a=i(e),h(u.$$.fragment,e),de=i(e),J=p(e,"DIV",{class:!0,"data-svelte-h":!0}),g(J)!=="svelte-si9ct8"&&(J.innerHTML=Be),ce=i(e),W=p(e,"P",{"data-svelte-h":!0}),g(W)!=="svelte-zgs18q"&&(W.innerHTML=Re),me=i(e),B=p(e,"P",{"data-svelte-h":!0}),g(B)!=="svelte-11fcrak"&&(B.textContent=Ee),ge=i(e),R=p(e,"P",{"data-svelte-h":!0}),g(R)!=="svelte-j37ij6"&&(R.innerHTML=Fe),fe=i(e),E=p(e,"P",{"data-svelte-h":!0}),g(E)!=="svelte-14pgcke"&&(E.textContent=He),ue=i(e),F=p(e,"OL",{"data-svelte-h":!0}),g(F)!=="svelte-szx3ox"&&(F.innerHTML=Se),_e=i(e),H=p(e,"P",{"data-svelte-h":!0}),g(H)!=="svelte-1ewkyn"&&(H.innerHTML=qe),he=i(e),C=p(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),g(C)!=="svelte-1oumf4r"&&(C.innerHTML=Ye),ye=i(e),K=p(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),g(K)!=="svelte-1vrnbmf"&&(K.innerHTML=Oe),be=i(e),h(S.$$.fragment,e),ve=i(e),w=p(e,"DIV",{class:!0});var j=N(w);h(q.$$.fragment,j),$e=i(j),M=p(j,"DIV",{class:!0});var U=N(M);h(Y.$$.fragment,U),Pe=i(U),ee=p(U,"P",{"data-svelte-h":!0}),g(ee)!=="svelte-v78lg8"&&(ee.textContent=Ve),je=i(U),h(Z.$$.fragment,U),U.forEach(t),Ue=i(j),G=p(j,"DIV",{class:!0});var Me=N(G);h(O.$$.fragment,Me),Je=i(Me),te=p(Me,"P",{"data-svelte-h":!0}),g(te)!=="svelte-16q0ax1"&&(te.textContent=Qe),Me.forEach(t),j.forEach(t),ke=i(e),h(V.$$.fragment,e),we=i(e),T=p(e,"DIV",{class:!0});var se=N(T);h(Q.$$.fragment,se),Ce=i(se),$=p(se,"DIV",{class:!0});var ie=N($);h(X.$$.fragment,ie),Ke=i(ie),ne=p(ie,"P",{"data-svelte-h":!0}),g(ne)!=="svelte-v78lg8"&&(ne.textContent=Xe),Ze=i(ie),h(L.$$.fragment,ie),ie.forEach(t),Ge=i(se),P=p(se,"DIV",{class:!0});var re=N(P);h(A.$$.fragment,re),Le=i(re),oe=p(re,"P",{"data-svelte-h":!0}),g(oe)!=="svelte-16q0ax1"&&(oe.textContent=Ae),Ne=i(re),ae=p(re,"P",{"data-svelte-h":!0}),g(ae)!=="svelte-1jhxv5m"&&(ae.innerHTML=De),re.forEach(t),se.forEach(t),Te=i(e),h(D.$$.fragment,e),Ie=i(e),pe=p(e,"P",{}),N(pe).forEach(t),this.h()},h(){I(r,"name","hf:doc:metadata"),I(r,"content",mt),I(J,"class","flex flex-wrap space-x-1"),I(C,"class","tip"),I(K,"class","tip"),I(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),I(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),I(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),I($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),I(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),I(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,n){d(document.head,r),o(e,x,n),o(e,f,n),o(e,c,n),y(m,e,n),o(e,a,n),y(u,e,n),o(e,de,n),o(e,J,n),o(e,ce,n),o(e,W,n),o(e,me,n),o(e,B,n),o(e,ge,n),o(e,R,n),o(e,fe,n),o(e,E,n),o(e,ue,n),o(e,F,n),o(e,_e,n),o(e,H,n),o(e,he,n),o(e,C,n),o(e,ye,n),o(e,K,n),o(e,be,n),y(S,e,n),o(e,ve,n),o(e,w,n),y(q,w,null),d(w,$e),d(w,M),y(Y,M,null),d(M,Pe),d(M,ee),d(M,je),y(Z,M,null),d(w,Ue),d(w,G),y(O,G,null),d(G,Je),d(G,te),o(e,ke,n),y(V,e,n),o(e,we,n),o(e,T,n),y(Q,T,null),d(T,Ce),d(T,$),y(X,$,null),d($,Ke),d($,ne),d($,Ze),y(L,$,null),d(T,Ge),d(T,P),y(A,P,null),d(P,Le),d(P,oe),d(P,Ne),d(P,ae),o(e,Te,n),y(D,e,n),o(e,Ie,n),o(e,pe,n),xe=!0},p(e,[n]){const j={};n&2&&(j.$$scope={dirty:n,ctx:e}),Z.$set(j);const U={};n&2&&(U.$$scope={dirty:n,ctx:e}),L.$set(U)},i(e){xe||(b(m.$$.fragment,e),b(u.$$.fragment,e),b(S.$$.fragment,e),b(q.$$.fragment,e),b(Y.$$.fragment,e),b(Z.$$.fragment,e),b(O.$$.fragment,e),b(V.$$.fragment,e),b(Q.$$.fragment,e),b(X.$$.fragment,e),b(L.$$.fragment,e),b(A.$$.fragment,e),b(D.$$.fragment,e),xe=!0)},o(e){v(m.$$.fragment,e),v(u.$$.fragment,e),v(S.$$.fragment,e),v(q.$$.fragment,e),v(Y.$$.fragment,e),v(Z.$$.fragment,e),v(O.$$.fragment,e),v(V.$$.fragment,e),v(Q.$$.fragment,e),v(X.$$.fragment,e),v(L.$$.fragment,e),v(A.$$.fragment,e),v(D.$$.fragment,e),xe=!1},d(e){e&&(t(x),t(f),t(c),t(a),t(de),t(J),t(ce),t(W),t(me),t(B),t(ge),t(R),t(fe),t(E),t(ue),t(F),t(_e),t(H),t(he),t(C),t(ye),t(K),t(be),t(ve),t(w),t(ke),t(we),t(T),t(Te),t(Ie),t(pe)),t(r),k(m,e),k(u,e),k(S,e),k(q),k(Y),k(Z),k(O),k(V,e),k(Q),k(X),k(L),k(A),k(D,e)}}}const mt='{"title":"Kandinsky 3","local":"kandinsky-3","sections":[{"title":"Kandinsky3Pipeline","local":"diffusers.Kandinsky3Pipeline","sections":[],"depth":2},{"title":"Kandinsky3Img2ImgPipeline","local":"diffusers.Kandinsky3Img2ImgPipeline","sections":[],"depth":2}],"depth":1}';function gt(z){return ot(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class kt extends at{constructor(r){super(),st(this,r,gt,ct,nt,{})}}export{kt as component};
