Buckets:
| import{s as Be,o as He,n as ze}from"../chunks/scheduler.8c3d61f6.js";import{S as Ae,i as Fe,g as r,s,r as f,A as Se,h as l,f as t,c as a,j as T,u,x as I,k as P,y as i,a as d,v as _,d as h,t as w,w as b}from"../chunks/index.da70eac4.js";import{T as Xe}from"../chunks/Tip.1d9b8c37.js";import{D as G}from"../chunks/Docstring.c021b19a.js";import{C as Re}from"../chunks/CodeBlock.a9c4becf.js";import{E as Ye}from"../chunks/ExampleCodeBlock.56b4589c.js";import{H as Ee,E as Ke}from"../chunks/getInferenceSnippets.725ed3d4.js";function et(S){let o,x='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.';return{c(){o=r("p"),o.innerHTML=x},l(g){o=l(g,"P",{"data-svelte-h":!0}),I(o)!=="svelte-1qn15hi"&&(o.innerHTML=x)},m(g,v){d(g,o,v)},p:ze,d(g){g&&t(o)}}}function tt(S){let o,x="Examples:",g,v,$;return v=new Re({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwUXdlbkltYWdlUGlwZWxpbmUlMEElMEFwaXBlJTIwJTNEJTIwUXdlbkltYWdlUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUyMlF3ZW4lMkZRd2VuLUltYWdlJTIyJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5iZmxvYXQxNiklMEFwaXBlLnRvKCUyMmN1ZGElMjIpJTBBcHJvbXB0JTIwJTNEJTIwJTIyQSUyMGNhdCUyMGhvbGRpbmclMjBhJTIwc2lnbiUyMHRoYXQlMjBzYXlzJTIwaGVsbG8lMjB3b3JsZCUyMiUwQSUyMyUyMERlcGVuZGluZyUyMG9uJTIwdGhlJTIwdmFyaWFudCUyMGJlaW5nJTIwdXNlZCUyQyUyMHRoZSUyMHBpcGVsaW5lJTIwY2FsbCUyMHdpbGwlMjBzbGlnaHRseSUyMHZhcnkuJTBBJTIzJTIwUmVmZXIlMjB0byUyMHRoZSUyMHBpcGVsaW5lJTIwZG9jdW1lbnRhdGlvbiUyMGZvciUyMG1vcmUlMjBkZXRhaWxzLiUwQWltYWdlJTIwJTNEJTIwcGlwZShwcm9tcHQlMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNENTApLmltYWdlcyU1QjAlNUQlMEFpbWFnZS5zYXZlKCUyMnF3ZW5pbWFnZS5wbmclMjIp",highlighted:`<span class="hljs-meta">>>> </span><span class="hljs-keyword">import</span> torch | |
| <span class="hljs-meta">>>> </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> QwenImagePipeline | |
| <span class="hljs-meta">>>> </span>pipe = QwenImagePipeline.from_pretrained(<span class="hljs-string">"Qwen/Qwen-Image"</span>, torch_dtype=torch.bfloat16) | |
| <span class="hljs-meta">>>> </span>pipe.to(<span class="hljs-string">"cuda"</span>) | |
| <span class="hljs-meta">>>> </span>prompt = <span class="hljs-string">"A cat holding a sign that says hello world"</span> | |
| <span class="hljs-meta">>>> </span><span class="hljs-comment"># Depending on the variant being used, the pipeline call will slightly vary.</span> | |
| <span class="hljs-meta">>>> </span><span class="hljs-comment"># Refer to the pipeline documentation for more details.</span> | |
| <span class="hljs-meta">>>> </span>image = pipe(prompt, num_inference_steps=<span class="hljs-number">50</span>).images[<span class="hljs-number">0</span>] | |
| <span class="hljs-meta">>>> </span>image.save(<span class="hljs-string">"qwenimage.png"</span>)`,wrap:!1}}),{c(){o=r("p"),o.textContent=x,g=s(),f(v.$$.fragment)},l(c){o=l(c,"P",{"data-svelte-h":!0}),I(o)!=="svelte-kvfsh7"&&(o.textContent=x),g=a(c),u(v.$$.fragment,c)},m(c,y){d(c,o,y),d(c,g,y),_(v,c,y),$=!0},p:ze,i(c){$||(h(v.$$.fragment,c),$=!0)},o(c){w(v.$$.fragment,c),$=!1},d(c){c&&(t(o),t(g)),b(v,c)}}}function nt(S){let o,x,g,v,$,c,y,Ue="Qwen-Image from the Qwen team is an image generation foundation model in the Qwen series that achieves significant advances in complex text rendering and precise image editing. Experiments show strong general capabilities in both image generation and editing, with exceptional performance in text rendering, especially for Chinese.",ae,j,Je='Check out the model card <a href="https://huggingface.co/Qwen/Qwen-Image" rel="nofollow">here</a> to learn more.',oe,C,re,D,le,p,V,be,X,Ge="The QwenImage pipeline for text-to-image generation.",ve,Q,N,$e,R,je="Function invoked when calling the pipeline for generation.",ye,L,Ie,q,Z,xe,Y,De=`Disable sliced VAE decoding. If <code>enable_vae_slicing</code> was previously enabled, this method will go back to | |
| computing decoding in one step.`,Qe,E,O,Te,K,Ve=`Disable tiled VAE decoding. If <code>enable_vae_tiling</code> was previously enabled, this method will go back to | |
| computing decoding in one step.`,Pe,U,W,ke,ee,Ne=`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.`,Me,J,z,Ce,te,Ze=`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.`,Le,ne,B,pe,H,de,k,A,qe,ie,Oe="Output class for Stable Diffusion pipelines.",ce,F,me,se,ge;return $=new Ee({props:{title:"QwenImage",local:"qwenimage",headingTag:"h1"}}),C=new Xe({props:{$$slots:{default:[et]},$$scope:{ctx:S}}}),D=new Ee({props:{title:"QwenImagePipeline",local:"diffusers.QwenImagePipeline",headingTag:"h2"}}),V=new G({props:{name:"class diffusers.QwenImagePipeline",anchor:"diffusers.QwenImagePipeline",parameters:[{name:"scheduler",val:": FlowMatchEulerDiscreteScheduler"},{name:"vae",val:": AutoencoderKLQwenImage"},{name:"text_encoder",val:": Qwen2_5_VLForConditionalGeneration"},{name:"tokenizer",val:": Qwen2Tokenizer"},{name:"transformer",val:": QwenImageTransformer2DModel"}],parametersDescription:[{anchor:"diffusers.QwenImagePipeline.transformer",description:`<strong>transformer</strong> (<a href="/docs/diffusers/pr_12087/en/api/models/qwenimage_transformer2d#diffusers.QwenImageTransformer2DModel">QwenImageTransformer2DModel</a>) — | |
| Conditional Transformer (MMDiT) architecture to denoise the encoded image latents.`,name:"transformer"},{anchor:"diffusers.QwenImagePipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/pr_12087/en/api/schedulers/flow_match_euler_discrete#diffusers.FlowMatchEulerDiscreteScheduler">FlowMatchEulerDiscreteScheduler</a>) — | |
| A scheduler to be used in combination with <code>transformer</code> to denoise the encoded image latents.`,name:"scheduler"},{anchor:"diffusers.QwenImagePipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/pr_12087/en/api/models/autoencoderkl#diffusers.AutoencoderKL">AutoencoderKL</a>) — | |
| Variational Auto-Encoder (VAE) Model to encode and decode images to and from latent representations.`,name:"vae"},{anchor:"diffusers.QwenImagePipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>Qwen2.5-VL-7B-Instruct</code>) — | |
| <a href="https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct" rel="nofollow">Qwen2.5-VL-7B-Instruct</a>, specifically the | |
| <a href="https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct" rel="nofollow">Qwen2.5-VL-7B-Instruct</a> variant.`,name:"text_encoder"},{anchor:"diffusers.QwenImagePipeline.tokenizer",description:`<strong>tokenizer</strong> (<code>QwenTokenizer</code>) — | |
| Tokenizer of class | |
| <a href="https://huggingface.co/docs/transformers/en/model_doc/clip#transformers.CLIPTokenizer" rel="nofollow">CLIPTokenizer</a>.`,name:"tokenizer"}],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L132"}}),N=new G({props:{name:"__call__",anchor:"diffusers.QwenImagePipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"negative_prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"true_cfg_scale",val:": float = 4.0"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"},{name:"num_inference_steps",val:": int = 50"},{name:"sigmas",val:": typing.Optional[typing.List[float]] = None"},{name:"guidance_scale",val:": float = 1.0"},{name:"num_images_per_prompt",val:": int = 1"},{name:"generator",val:": typing.Union[torch._C.Generator, typing.List[torch._C.Generator], NoneType] = None"},{name:"latents",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"},{name:"attention_kwargs",val:": typing.Optional[typing.Dict[str, typing.Any]] = 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:"max_sequence_length",val:": int = 512"}],parametersDescription:[{anchor:"diffusers.QwenImagePipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) — | |
| 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.QwenImagePipeline.__call__.negative_prompt",description:`<strong>negative_prompt</strong> (<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. Ignored when not using guidance (i.e., ignored if <code>true_cfg_scale</code> is | |
| not greater than <code>1</code>).`,name:"negative_prompt"},{anchor:"diffusers.QwenImagePipeline.__call__.true_cfg_scale",description:`<strong>true_cfg_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) — | |
| When > 1.0 and a provided <code>negative_prompt</code>, enables true classifier-free guidance.`,name:"true_cfg_scale"},{anchor:"diffusers.QwenImagePipeline.__call__.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size * self.vae_scale_factor) — | |
| The height in pixels of the generated image. This is set to 1024 by default for the best results.`,name:"height"},{anchor:"diffusers.QwenImagePipeline.__call__.width",description:`<strong>width</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size * self.vae_scale_factor) — | |
| The width in pixels of the generated image. This is set to 1024 by default for the best results.`,name:"width"},{anchor:"diffusers.QwenImagePipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 50) — | |
| 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.QwenImagePipeline.__call__.sigmas",description:`<strong>sigmas</strong> (<code>List[float]</code>, <em>optional</em>) — | |
| Custom sigmas to use for the denoising process with schedulers which support a <code>sigmas</code> argument in | |
| their <code>set_timesteps</code> method. If not defined, the default behavior when <code>num_inference_steps</code> is passed | |
| will be used.`,name:"sigmas"},{anchor:"diffusers.QwenImagePipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 3.5) — | |
| 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 > 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.QwenImagePipeline.__call__.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) — | |
| The number of images to generate per prompt.`,name:"num_images_per_prompt"},{anchor:"diffusers.QwenImagePipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code> or <code>List[torch.Generator]</code>, <em>optional</em>) — | |
| 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.QwenImagePipeline.__call__.latents",description:`<strong>latents</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| 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 will be generated by sampling using the supplied random <code>generator</code>.`,name:"latents"},{anchor:"diffusers.QwenImagePipeline.__call__.prompt_embeds",description:`<strong>prompt_embeds</strong> (<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.`,name:"prompt_embeds"},{anchor:"diffusers.QwenImagePipeline.__call__.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<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.`,name:"negative_prompt_embeds"},{anchor:"diffusers.QwenImagePipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>"pil"</code>) — | |
| 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.QwenImagePipeline.__call__.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) — | |
| Whether or not to return a <code>~pipelines.qwenimage.QwenImagePipelineOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.QwenImagePipeline.__call__.attention_kwargs",description:`<strong>attention_kwargs</strong> (<code>dict</code>, <em>optional</em>) — | |
| 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:"attention_kwargs"},{anchor:"diffusers.QwenImagePipeline.__call__.callback_on_step_end",description:`<strong>callback_on_step_end</strong> (<code>Callable</code>, <em>optional</em>) — | |
| 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.QwenImagePipeline.__call__.callback_on_step_end_tensor_inputs",description:`<strong>callback_on_step_end_tensor_inputs</strong> (<code>List</code>, <em>optional</em>) — | |
| 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"},{anchor:"diffusers.QwenImagePipeline.__call__.max_sequence_length",description:"<strong>max_sequence_length</strong> (<code>int</code> defaults to 512) — Maximum sequence length to use with the <code>prompt</code>.",name:"max_sequence_length"}],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L441",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>~pipelines.qwenimage.QwenImagePipelineOutput</code> if <code>return_dict</code> is True, otherwise a <code>tuple</code>. When | |
| returning a tuple, the first element is a list with the generated images.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>~pipelines.qwenimage.QwenImagePipelineOutput</code> or <code>tuple</code></p> | |
| `}}),L=new Ye({props:{anchor:"diffusers.QwenImagePipeline.__call__.example",$$slots:{default:[tt]},$$scope:{ctx:S}}}),Z=new G({props:{name:"disable_vae_slicing",anchor:"diffusers.QwenImagePipeline.disable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L364"}}),O=new G({props:{name:"disable_vae_tiling",anchor:"diffusers.QwenImagePipeline.disable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L379"}}),W=new G({props:{name:"enable_vae_slicing",anchor:"diffusers.QwenImagePipeline.enable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L357"}}),z=new G({props:{name:"enable_vae_tiling",anchor:"diffusers.QwenImagePipeline.enable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L371"}}),B=new G({props:{name:"encode_prompt",anchor:"diffusers.QwenImagePipeline.encode_prompt",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]]"},{name:"device",val:": typing.Optional[torch.device] = None"},{name:"num_images_per_prompt",val:": int = 1"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"max_sequence_length",val:": int = 1024"}],parametersDescription:[{anchor:"diffusers.QwenImagePipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) — | |
| prompt to be encoded`,name:"prompt"},{anchor:"diffusers.QwenImagePipeline.encode_prompt.device",description:`<strong>device</strong> — (<code>torch.device</code>): | |
| torch device`,name:"device"},{anchor:"diffusers.QwenImagePipeline.encode_prompt.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>) — | |
| number of images that should be generated per prompt`,name:"num_images_per_prompt"},{anchor:"diffusers.QwenImagePipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<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.`,name:"prompt_embeds"}],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py#L226"}}),H=new Ee({props:{title:"QwenImagePipelineOutput",local:"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput",headingTag:"h2"}}),A=new G({props:{name:"class diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput",anchor:"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput",parameters:[{name:"images",val:": typing.Union[typing.List[PIL.Image.Image], numpy.ndarray]"}],parametersDescription:[{anchor:"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput.images",description:`<strong>images</strong> (<code>List[PIL.Image.Image]</code> or <code>np.ndarray</code>) — | |
| List of denoised PIL images of length <code>batch_size</code> or numpy array of shape <code>(batch_size, height, width, num_channels)</code>. PIL images or numpy array present the denoised images of the diffusion pipeline.`,name:"images"}],source:"https://github.com/huggingface/diffusers/blob/vr_12087/src/diffusers/pipelines/qwenimage/pipeline_output.py#L10"}}),F=new Ke({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/qwenimage.md"}}),{c(){o=r("meta"),x=s(),g=r("p"),v=s(),f($.$$.fragment),c=s(),y=r("p"),y.textContent=Ue,ae=s(),j=r("p"),j.innerHTML=Je,oe=s(),f(C.$$.fragment),re=s(),f(D.$$.fragment),le=s(),p=r("div"),f(V.$$.fragment),be=s(),X=r("p"),X.textContent=Ge,ve=s(),Q=r("div"),f(N.$$.fragment),$e=s(),R=r("p"),R.textContent=je,ye=s(),f(L.$$.fragment),Ie=s(),q=r("div"),f(Z.$$.fragment),xe=s(),Y=r("p"),Y.innerHTML=De,Qe=s(),E=r("div"),f(O.$$.fragment),Te=s(),K=r("p"),K.innerHTML=Ve,Pe=s(),U=r("div"),f(W.$$.fragment),ke=s(),ee=r("p"),ee.textContent=Ne,Me=s(),J=r("div"),f(z.$$.fragment),Ce=s(),te=r("p"),te.textContent=Ze,Le=s(),ne=r("div"),f(B.$$.fragment),pe=s(),f(H.$$.fragment),de=s(),k=r("div"),f(A.$$.fragment),qe=s(),ie=r("p"),ie.textContent=Oe,ce=s(),f(F.$$.fragment),me=s(),se=r("p"),this.h()},l(e){const n=Se("svelte-u9bgzb",document.head);o=l(n,"META",{name:!0,content:!0}),n.forEach(t),x=a(e),g=l(e,"P",{}),T(g).forEach(t),v=a(e),u($.$$.fragment,e),c=a(e),y=l(e,"P",{"data-svelte-h":!0}),I(y)!=="svelte-f9n2hx"&&(y.textContent=Ue),ae=a(e),j=l(e,"P",{"data-svelte-h":!0}),I(j)!=="svelte-mwc7ri"&&(j.innerHTML=Je),oe=a(e),u(C.$$.fragment,e),re=a(e),u(D.$$.fragment,e),le=a(e),p=l(e,"DIV",{class:!0});var m=T(p);u(V.$$.fragment,m),be=a(m),X=l(m,"P",{"data-svelte-h":!0}),I(X)!=="svelte-1b1rx25"&&(X.textContent=Ge),ve=a(m),Q=l(m,"DIV",{class:!0});var M=T(Q);u(N.$$.fragment,M),$e=a(M),R=l(M,"P",{"data-svelte-h":!0}),I(R)!=="svelte-v78lg8"&&(R.textContent=je),ye=a(M),u(L.$$.fragment,M),M.forEach(t),Ie=a(m),q=l(m,"DIV",{class:!0});var fe=T(q);u(Z.$$.fragment,fe),xe=a(fe),Y=l(fe,"P",{"data-svelte-h":!0}),I(Y)!=="svelte-1s3c06i"&&(Y.innerHTML=De),fe.forEach(t),Qe=a(m),E=l(m,"DIV",{class:!0});var ue=T(E);u(O.$$.fragment,ue),Te=a(ue),K=l(ue,"P",{"data-svelte-h":!0}),I(K)!=="svelte-pkn4ui"&&(K.innerHTML=Ve),ue.forEach(t),Pe=a(m),U=l(m,"DIV",{class:!0});var _e=T(U);u(W.$$.fragment,_e),ke=a(_e),ee=l(_e,"P",{"data-svelte-h":!0}),I(ee)!=="svelte-14bnrb6"&&(ee.textContent=Ne),_e.forEach(t),Me=a(m),J=l(m,"DIV",{class:!0});var he=T(J);u(z.$$.fragment,he),Ce=a(he),te=l(he,"P",{"data-svelte-h":!0}),I(te)!=="svelte-1xwrf7t"&&(te.textContent=Ze),he.forEach(t),Le=a(m),ne=l(m,"DIV",{class:!0});var We=T(ne);u(B.$$.fragment,We),We.forEach(t),m.forEach(t),pe=a(e),u(H.$$.fragment,e),de=a(e),k=l(e,"DIV",{class:!0});var we=T(k);u(A.$$.fragment,we),qe=a(we),ie=l(we,"P",{"data-svelte-h":!0}),I(ie)!=="svelte-1qpjiuf"&&(ie.textContent=Oe),we.forEach(t),ce=a(e),u(F.$$.fragment,e),me=a(e),se=l(e,"P",{}),T(se).forEach(t),this.h()},h(){P(o,"name","hf:doc:metadata"),P(o,"content",it),P(Q,"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,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(U,"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(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(p,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),P(k,"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){i(document.head,o),d(e,x,n),d(e,g,n),d(e,v,n),_($,e,n),d(e,c,n),d(e,y,n),d(e,ae,n),d(e,j,n),d(e,oe,n),_(C,e,n),d(e,re,n),_(D,e,n),d(e,le,n),d(e,p,n),_(V,p,null),i(p,be),i(p,X),i(p,ve),i(p,Q),_(N,Q,null),i(Q,$e),i(Q,R),i(Q,ye),_(L,Q,null),i(p,Ie),i(p,q),_(Z,q,null),i(q,xe),i(q,Y),i(p,Qe),i(p,E),_(O,E,null),i(E,Te),i(E,K),i(p,Pe),i(p,U),_(W,U,null),i(U,ke),i(U,ee),i(p,Me),i(p,J),_(z,J,null),i(J,Ce),i(J,te),i(p,Le),i(p,ne),_(B,ne,null),d(e,pe,n),_(H,e,n),d(e,de,n),d(e,k,n),_(A,k,null),i(k,qe),i(k,ie),d(e,ce,n),_(F,e,n),d(e,me,n),d(e,se,n),ge=!0},p(e,[n]){const m={};n&2&&(m.$$scope={dirty:n,ctx:e}),C.$set(m);const M={};n&2&&(M.$$scope={dirty:n,ctx:e}),L.$set(M)},i(e){ge||(h($.$$.fragment,e),h(C.$$.fragment,e),h(D.$$.fragment,e),h(V.$$.fragment,e),h(N.$$.fragment,e),h(L.$$.fragment,e),h(Z.$$.fragment,e),h(O.$$.fragment,e),h(W.$$.fragment,e),h(z.$$.fragment,e),h(B.$$.fragment,e),h(H.$$.fragment,e),h(A.$$.fragment,e),h(F.$$.fragment,e),ge=!0)},o(e){w($.$$.fragment,e),w(C.$$.fragment,e),w(D.$$.fragment,e),w(V.$$.fragment,e),w(N.$$.fragment,e),w(L.$$.fragment,e),w(Z.$$.fragment,e),w(O.$$.fragment,e),w(W.$$.fragment,e),w(z.$$.fragment,e),w(B.$$.fragment,e),w(H.$$.fragment,e),w(A.$$.fragment,e),w(F.$$.fragment,e),ge=!1},d(e){e&&(t(x),t(g),t(v),t(c),t(y),t(ae),t(j),t(oe),t(re),t(le),t(p),t(pe),t(de),t(k),t(ce),t(me),t(se)),t(o),b($,e),b(C,e),b(D,e),b(V),b(N),b(L),b(Z),b(O),b(W),b(z),b(B),b(H,e),b(A),b(F,e)}}}const it='{"title":"QwenImage","local":"qwenimage","sections":[{"title":"QwenImagePipeline","local":"diffusers.QwenImagePipeline","sections":[],"depth":2},{"title":"QwenImagePipelineOutput","local":"diffusers.pipelines.qwenimage.pipeline_output.QwenImagePipelineOutput","sections":[],"depth":2}],"depth":1}';function st(S){return He(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mt extends Ae{constructor(o){super(),Fe(this,o,st,nt,Be,{})}}export{mt as component}; | |
Xet Storage Details
- Size:
- 26.3 kB
- Xet hash:
- 3b310695ecc5463c9df39684ce3d0a0f7fe403394cf3d87f7f45d787ee80e838
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.