import{s as Xn,o as Qn,n as Nn}from"../chunks/scheduler.53228c21.js";import{S as Rn,i as Sn,e as r,s,c as m,q as Dn,h as Fn,a as d,d as t,b as i,f as H,g as c,j as h,r as qn,k,l as p,m as o,n as u,t as g,o as f,p as _}from"../chunks/index.100fac89.js";import{D as Z}from"../chunks/Docstring.49101787.js";import{C as Me}from"../chunks/CodeBlock.d30a6509.js";import{E as Ln}from"../chunks/ExampleCodeBlock.4a9effb9.js";import{H as He,E as Yn}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.4d82655d.js";function On(ce){let l,$="Examples:",w,y,b;return y=new Me({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwSHVueXVhblZpZGVvMTVQaXBlbGluZSUwQWZyb20lMjBkaWZmdXNlcnMudXRpbHMlMjBpbXBvcnQlMjBleHBvcnRfdG9fdmlkZW8lMEElMEFtb2RlbF9pZCUyMCUzRCUyMCUyMmh1bnl1YW52aWRlby1jb21tdW5pdHklMkZIdW55dWFuVmlkZW8tMS41LTQ4MHBfdDJ2JTIyJTBBcGlwZSUyMCUzRCUyMEh1bnl1YW5WaWRlbzE1UGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKG1vZGVsX2lkJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5mbG9hdDE2KSUwQXBpcGUudmFlLmVuYWJsZV90aWxpbmcoKSUwQXBpcGUudG8oJTIyY3VkYSUyMiklMEElMEFvdXRwdXQlMjAlM0QlMjBwaXBlKCUwQSUyMCUyMCUyMCUyMHByb21wdCUzRCUyMkElMjBjYXQlMjB3YWxrcyUyMG9uJTIwdGhlJTIwZ3Jhc3MlMkMlMjByZWFsaXN0aWMlMjIlMkMlMEElMjAlMjAlMjAlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNENTAlMkMlMEEpLmZyYW1lcyU1QjAlNUQlMEFleHBvcnRfdG9fdmlkZW8ob3V0cHV0JTJDJTIwJTIyb3V0cHV0Lm1wNCUyMiUyQyUyMGZwcyUzRDE1KQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> HunyuanVideo15Pipeline
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> export_to_video

<span class="hljs-meta">&gt;&gt;&gt; </span>model_id = <span class="hljs-string">&quot;hunyuanvideo-community/HunyuanVideo-1.5-480p_t2v&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = HunyuanVideo15Pipeline.from_pretrained(model_id, torch_dtype=torch.float16)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.vae.enable_tiling()
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.to(<span class="hljs-string">&quot;cuda&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>output = pipe(
<span class="hljs-meta">... </span>    prompt=<span class="hljs-string">&quot;A cat walks on the grass, realistic&quot;</span>,
<span class="hljs-meta">... </span>    num_inference_steps=<span class="hljs-number">50</span>,
<span class="hljs-meta">... </span>).frames[<span class="hljs-number">0</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>export_to_video(output, <span class="hljs-string">&quot;output.mp4&quot;</span>, fps=<span class="hljs-number">15</span>)`,wrap:!1}}),{c(){l=r("p"),l.textContent=$,w=s(),m(y.$$.fragment)},l(a){l=d(a,"P",{"data-svelte-h":!0}),h(l)!=="svelte-kvfsh7"&&(l.textContent=$),w=i(a),c(y.$$.fragment,a)},m(a,V){o(a,l,V),o(a,w,V),u(y,a,V),b=!0},p:Nn,i(a){b||(g(y.$$.fragment,a),b=!0)},o(a){f(y.$$.fragment,a),b=!1},d(a){a&&(t(l),t(w)),_(y,a)}}}function An(ce){let l,$="Examples:",w,y,b;return y=new Me({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwSHVueXVhblZpZGVvMTVJbWFnZVRvVmlkZW9QaXBlbGluZSUwQWZyb20lMjBkaWZmdXNlcnMudXRpbHMlMjBpbXBvcnQlMjBleHBvcnRfdG9fdmlkZW8lMEElMEFtb2RlbF9pZCUyMCUzRCUyMCUyMmh1bnl1YW52aWRlby1jb21tdW5pdHklMkZIdW55dWFuVmlkZW8tMS41LTQ4MHBfaTJ2JTIyJTBBcGlwZSUyMCUzRCUyMEh1bnl1YW5WaWRlbzE1SW1hZ2VUb1ZpZGVvUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKG1vZGVsX2lkJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5mbG9hdDE2KSUwQXBpcGUudmFlLmVuYWJsZV90aWxpbmcoKSUwQXBpcGUudG8oJTIyY3VkYSUyMiklMEElMEFpbWFnZSUyMCUzRCUyMGxvYWRfaW1hZ2UoJTIyaHR0cHMlM0ElMkYlMkZodWdnaW5nZmFjZS5jbyUyRmRhdGFzZXRzJTJGWWlZaVh1JTJGdGVzdGluZy1pbWFnZXMlMkZyZXNvbHZlJTJGbWFpbiUyRndhbl9pMnZfaW5wdXQuSlBHJTIyKSUwQSUwQW91dHB1dCUyMCUzRCUyMHBpcGUoJTBBJTIwJTIwJTIwJTIwcHJvbXB0JTNEJTIyU3VtbWVyJTIwYmVhY2glMjB2YWNhdGlvbiUyMHN0eWxlJTJDJTIwYSUyMHdoaXRlJTIwY2F0JTIwd2VhcmluZyUyMHN1bmdsYXNzZXMlMjBzaXRzJTIwb24lMjBhJTIwc3VyZmJvYXJkLiUyMFRoZSUyMGZsdWZmeS1mdXJyZWQlMjBmZWxpbmUlMjBnYXplcyUyMGRpcmVjdGx5JTIwYXQlMjB0aGUlMjBjYW1lcmElMjB3aXRoJTIwYSUyMHJlbGF4ZWQlMjBleHByZXNzaW9uLiUyMEJsdXJyZWQlMjBiZWFjaCUyMHNjZW5lcnklMjBmb3JtcyUyMHRoZSUyMGJhY2tncm91bmQlMjBmZWF0dXJpbmclMjBjcnlzdGFsLWNsZWFyJTIwd2F0ZXJzJTJDJTIwZGlzdGFudCUyMGdyZWVuJTIwaGlsbHMlMkMlMjBhbmQlMjBhJTIwYmx1ZSUyMHNreSUyMGRvdHRlZCUyMHdpdGglMjB3aGl0ZSUyMGNsb3Vkcy4lMjBUaGUlMjBjYXQlMjBhc3N1bWVzJTIwYSUyMG5hdHVyYWxseSUyMHJlbGF4ZWQlMjBwb3N0dXJlJTJDJTIwYXMlMjBpZiUyMHNhdm9yaW5nJTIwdGhlJTIwc2VhJTIwYnJlZXplJTIwYW5kJTIwd2FybSUyMHN1bmxpZ2h0LiUyMEElMjBjbG9zZS11cCUyMHNob3QlMjBoaWdobGlnaHRzJTIwdGhlJTIwZmVsaW5lJ3MlMjBpbnRyaWNhdGUlMjBkZXRhaWxzJTIwYW5kJTIwdGhlJTIwcmVmcmVzaGluZyUyMGF0bW9zcGhlcmUlMjBvZiUyMHRoZSUyMHNlYXNpZGUuJTIyJTJDJTBBJTIwJTIwJTIwJTIwaW1hZ2UlM0RpbWFnZSUyQyUwQSUyMCUyMCUyMCUyMG51bV9pbmZlcmVuY2Vfc3RlcHMlM0Q1MCUyQyUwQSkuZnJhbWVzJTVCMCU1RCUwQWV4cG9ydF90b192aWRlbyhvdXRwdXQlMkMlMjAlMjJvdXRwdXQubXA0JTIyJTJDJTIwZnBzJTNEMjQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> HunyuanVideo15ImageToVideoPipeline
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> export_to_video

<span class="hljs-meta">&gt;&gt;&gt; </span>model_id = <span class="hljs-string">&quot;hunyuanvideo-community/HunyuanVideo-1.5-480p_i2v&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = HunyuanVideo15ImageToVideoPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.vae.enable_tiling()
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.to(<span class="hljs-string">&quot;cuda&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>image = load_image(<span class="hljs-string">&quot;https://huggingface.co/datasets/YiYiXu/testing-images/resolve/main/wan_i2v_input.JPG&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>output = pipe(
<span class="hljs-meta">... </span>    prompt=<span class="hljs-string">&quot;Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline&#x27;s intricate details and the refreshing atmosphere of the seaside.&quot;</span>,
<span class="hljs-meta">... </span>    image=image,
<span class="hljs-meta">... </span>    num_inference_steps=<span class="hljs-number">50</span>,
<span class="hljs-meta">... </span>).frames[<span class="hljs-number">0</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>export_to_video(output, <span class="hljs-string">&quot;output.mp4&quot;</span>, fps=<span class="hljs-number">24</span>)`,wrap:!1}}),{c(){l=r("p"),l.textContent=$,w=s(),m(y.$$.fragment)},l(a){l=d(a,"P",{"data-svelte-h":!0}),h(l)!=="svelte-kvfsh7"&&(l.textContent=$),w=i(a),c(y.$$.fragment,a)},m(a,V){o(a,l,V),o(a,w,V),u(y,a,V),b=!0},p:Nn,i(a){b||(g(y.$$.fragment,a),b=!0)},o(a){f(y.$$.fragment,a),b=!1},d(a){a&&(t(l),t(w)),_(y,a)}}}function Kn(ce){let l,$,w,y,b,a,V,bn="HunyuanVideo-1.5 is a lightweight yet powerful video generation model that achieves state-of-the-art visual quality and motion coherence with only 8.3 billion parameters, enabling efficient inference on consumer-grade GPUs. This achievement is built upon several key components, including meticulous data curation, an advanced DiT architecture with selective and sliding tile attention (SSTA), enhanced bilingual understanding through glyph-aware text encoding, progressive pre-training and post-training, and an efficient video super-resolution network. Leveraging these designs, we developed a unified framework capable of high-quality text-to-video and image-to-video generation across multiple durations and resolutions. Extensive experiments demonstrate that this compact and proficient model establishes a new state-of-the-art among open-source models.",$e,z,vn='You can find all the original HunyuanVideo checkpoints under the <a href="https://huggingface.co/tencent" rel="nofollow">Tencent</a> organization.',Ie,U,Tn='<p>Click on the HunyuanVideo models in the right sidebar for more examples of video generation tasks.</p> <p>The examples below use a checkpoint from <a href="https://huggingface.co/hunyuanvideo-community" rel="nofollow">hunyuanvideo-community</a> because the weights are stored in a layout compatible with Diffusers.</p>',Pe,E,wn="The example below demonstrates how to generate a video optimized for memory or inference speed.",Je,L,Vn='Refer to the <a href="../../optimization/memory">Reduce memory usage</a> guide for more details about the various memory saving techniques.',je,N,Ze,X,Ue,Q,xn="<li><p>HunyuanVideo1.5 use attention masks with variable-length sequences. For best performance, we recommend using an attention backend that handles padding efficiently.</p> <ul><li><strong>H100/H800:</strong> <code>_flash_3_hub</code> or <code>_flash_3_varlen_hub</code></li> <li><strong>A100/A800/RTX 4090:</strong> <code>flash_hub</code> or <code>flash_varlen_hub</code></li> <li><strong>Other GPUs:</strong> <code>sage_hub</code></li></ul></li>",Ce,R,Mn='Refer to the <a href="../../optimization/attention_backends">Attention backends</a> guide for more details about using a different backend.',Ge,S,We,D,kn='<li><a href="/docs/diffusers/main/en/api/pipelines/hunyuan_video15#diffusers.HunyuanVideo15Pipeline">HunyuanVideo15Pipeline</a> use guider and does not take <code>guidance_scale</code> parameter at runtime.</li>',Be,F,Hn="You can check the default guider configuration using <code>pipe.guider</code>:",ze,q,Ee,Y,$n="To update guider configuration, you can run <code>pipe.guider = pipe.guider.new(...)</code>",Le,O,Ne,A,In='Read more on Guider <a href="../../modular_diffusers/guiders">here</a>.',Xe,K,Qe,v,ee,nn,ue,Pn="Pipeline for text-to-video generation using HunyuanVideo1.5.",tn,ge,Jn=`This model inherits from <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline">DiffusionPipeline</a>. Check the superclass documentation for the generic methods
implemented for all pipelines (downloading, saving, running on a particular device, etc.).`,on,I,ne,sn,fe,jn="The call function to the pipeline for generation.",an,C,rn,_e,te,dn,G,oe,pn,he,Zn="Prepare conditional latents and mask for t2v generation.",Re,se,Se,T,ie,ln,ye,Un="Pipeline for image-to-video generation using HunyuanVideo1.5.",mn,be,Cn=`This model inherits from <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline">DiffusionPipeline</a>. Check the superclass documentation for the generic methods
implemented for all pipelines (downloading, saving, running on a particular device, etc.).`,cn,P,ae,un,ve,Gn="The call function to the pipeline for generation.",gn,W,fn,Te,re,_n,B,de,hn,we,Wn="Prepare conditional latents and mask for t2v generation.",De,pe,Fe,J,le,yn,Ve,Bn="Output class for HunyuanVideo1.5 pipelines.",qe,me,Ye,ke,Oe;return b=new He({props:{title:"HunyuanVideo-1.5",local:"hunyuanvideo-15",headingTag:"h1"}}),N=new Me({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwQXV0b01vZGVsJTJDJTIwSHVueXVhblZpZGVvMTVQaXBlbGluZSUwQWZyb20lMjBkaWZmdXNlcnMudXRpbHMlMjBpbXBvcnQlMjBleHBvcnRfdG9fdmlkZW8lMEElMEElMEFwaXBlbGluZSUyMCUzRCUyMEh1bnl1YW5WaWRlbzE1UGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMkh1bnl1YW5WaWRlby0xLjUtRGlmZnVzZXJzLTQ4MHBfdDJ2JTIyJTJDJTBBJTIwJTIwJTIwJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5iZmxvYXQxNiUyQyUwQSklMEElMEElMjMlMjBtb2RlbC1vZmZsb2FkaW5nJTIwYW5kJTIwdGlsaW5nJTBBcGlwZWxpbmUuZW5hYmxlX21vZGVsX2NwdV9vZmZsb2FkKCklMEFwaXBlbGluZS52YWUuZW5hYmxlX3RpbGluZygpJTBBJTBBcHJvbXB0JTIwJTNEJTIwJTIyQSUyMGZsdWZmeSUyMHRlZGR5JTIwYmVhciUyMHNpdHMlMjBvbiUyMGElMjBiZWQlMjBvZiUyMHNvZnQlMjBwaWxsb3dzJTIwc3Vycm91bmRlZCUyMGJ5JTIwY2hpbGRyZW4ncyUyMHRveXMuJTIyJTBBdmlkZW8lMjAlM0QlMjBwaXBlbGluZShwcm9tcHQlM0Rwcm9tcHQlMkMlMjBudW1fZnJhbWVzJTNENjElMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNEMzApLmZyYW1lcyU1QjAlNUQlMEFleHBvcnRfdG9fdmlkZW8odmlkZW8lMkMlMjAlMjJvdXRwdXQubXA0JTIyJTJDJTIwZnBzJTNEMTUp",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> AutoModel, HunyuanVideo15Pipeline
<span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> export_to_video


pipeline = HunyuanVideo15Pipeline.from_pretrained(
    <span class="hljs-string">&quot;HunyuanVideo-1.5-Diffusers-480p_t2v&quot;</span>,
    torch_dtype=torch.bfloat16,
)

<span class="hljs-comment"># model-offloading and tiling</span>
pipeline.enable_model_cpu_offload()
pipeline.vae.enable_tiling()

prompt = <span class="hljs-string">&quot;A fluffy teddy bear sits on a bed of soft pillows surrounded by children&#x27;s toys.&quot;</span>
video = pipeline(prompt=prompt, num_frames=<span class="hljs-number">61</span>, num_inference_steps=<span class="hljs-number">30</span>).frames[<span class="hljs-number">0</span>]
export_to_video(video, <span class="hljs-string">&quot;output.mp4&quot;</span>, fps=<span class="hljs-number">15</span>)`,wrap:!1}}),X=new He({props:{title:"Notes",local:"notes",headingTag:"h2"}}),S=new Me({props:{code:"cGlwZS50cmFuc2Zvcm1lci5zZXRfYXR0ZW50aW9uX2JhY2tlbmQoJTIyZmxhc2hfaHViJTIyKSUyMCUyMCUyMyUyMG9yJTIweW91ciUyMHByZWZlcnJlZCUyMGJhY2tlbmQ=",highlighted:'pipe.transformer.set_attention_backend(<span class="hljs-string">&quot;flash_hub&quot;</span>)  <span class="hljs-comment"># or your preferred backend</span>',wrap:!1}}),q=new Me({props:{code:"cGlwZS5ndWlkZXIlMjAlMEE=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.guider 
ClassifierFreeGuidance {
  <span class="hljs-string">&quot;_class_name&quot;</span>: <span class="hljs-string">&quot;ClassifierFreeGuidance&quot;</span>,
  <span class="hljs-string">&quot;_diffusers_version&quot;</span>: <span class="hljs-string">&quot;0.36.0.dev0&quot;</span>,
  <span class="hljs-string">&quot;enabled&quot;</span>: true,
  <span class="hljs-string">&quot;guidance_rescale&quot;</span>: <span class="hljs-number">0.0</span>,
  <span class="hljs-string">&quot;guidance_scale&quot;</span>: <span class="hljs-number">6.0</span>,
  <span class="hljs-string">&quot;start&quot;</span>: <span class="hljs-number">0.0</span>,
  <span class="hljs-string">&quot;stop&quot;</span>: <span class="hljs-number">1.0</span>,
  <span class="hljs-string">&quot;use_original_formulation&quot;</span>: false
}

State:
  step: <span class="hljs-literal">None</span>
  num_inference_steps: <span class="hljs-literal">None</span>
  timestep: <span class="hljs-literal">None</span>
  count_prepared: <span class="hljs-number">0</span>
  enabled: <span class="hljs-literal">True</span>
  num_conditions: <span class="hljs-number">2</span>`,wrap:!1}}),O=new Me({props:{code:"cGlwZS5ndWlkZXIlMjAlM0QlMjBwaXBlLmd1aWRlci5uZXcoZ3VpZGFuY2Vfc2NhbGUlM0Q1LjAp",highlighted:'pipe.guider = pipe.guider.new(guidance_scale=<span class="hljs-number">5.0</span>)',wrap:!1}}),K=new He({props:{title:"HunyuanVideo15Pipeline",local:"diffusers.HunyuanVideo15Pipeline",headingTag:"h2"}}),ee=new Z({props:{name:"class diffusers.HunyuanVideo15Pipeline",anchor:"diffusers.HunyuanVideo15Pipeline",parameters:[{name:"text_encoder",val:": Qwen2_5_VLTextModel"},{name:"tokenizer",val:": Qwen2Tokenizer"},{name:"transformer",val:": HunyuanVideo15Transformer3DModel"},{name:"vae",val:": AutoencoderKLHunyuanVideo15"},{name:"scheduler",val:": FlowMatchEulerDiscreteScheduler"},{name:"text_encoder_2",val:": T5EncoderModel"},{name:"tokenizer_2",val:": ByT5Tokenizer"},{name:"guider",val:": ClassifierFreeGuidance"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15Pipeline.transformer",description:`<strong>transformer</strong> (<a href="/docs/diffusers/main/en/api/models/hunyuan_video15_transformer_3d#diffusers.HunyuanVideo15Transformer3DModel">HunyuanVideo15Transformer3DModel</a>) &#x2014;
Conditional Transformer (MMDiT) architecture to denoise the encoded video latents.`,name:"transformer"},{anchor:"diffusers.HunyuanVideo15Pipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/main/en/api/schedulers/flow_match_euler_discrete#diffusers.FlowMatchEulerDiscreteScheduler">FlowMatchEulerDiscreteScheduler</a>) &#x2014;
A scheduler to be used in combination with <code>transformer</code> to denoise the encoded video latents.`,name:"scheduler"},{anchor:"diffusers.HunyuanVideo15Pipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/main/en/api/models/autoencoder_kl_hunyuan_video15#diffusers.AutoencoderKLHunyuanVideo15">AutoencoderKLHunyuanVideo15</a>) &#x2014;
Variational Auto-Encoder (VAE) Model to encode and decode videos to and from latent representations.`,name:"vae"},{anchor:"diffusers.HunyuanVideo15Pipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>Qwen2.5-VL-7B-Instruct</code>) &#x2014;
<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.HunyuanVideo15Pipeline.tokenizer",description:"<strong>tokenizer</strong> (<code>Qwen2Tokenizer</code>) &#x2014; Tokenizer of class [Qwen2Tokenizer].",name:"tokenizer"},{anchor:"diffusers.HunyuanVideo15Pipeline.text_encoder_2",description:`<strong>text_encoder_2</strong> (<code>T5EncoderModel</code>) &#x2014;
<a href="https://huggingface.co/docs/transformers/en/model_doc/t5#transformers.T5EncoderModel" rel="nofollow">T5EncoderModel</a>
variant.`,name:"text_encoder_2"},{anchor:"diffusers.HunyuanVideo15Pipeline.tokenizer_2",description:"<strong>tokenizer_2</strong> (<code>ByT5Tokenizer</code>) &#x2014; Tokenizer of class [ByT5Tokenizer]",name:"tokenizer_2"},{anchor:"diffusers.HunyuanVideo15Pipeline.guider",description:`<strong>guider</strong> (<a href="/docs/diffusers/main/en/api/modular_diffusers/guiders#diffusers.ClassifierFreeGuidance">ClassifierFreeGuidance</a>) &#x2014;
[ClassifierFreeGuidance]for classifier free guidance.`,name:"guider"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py#L166"}}),ne=new Z({props:{name:"__call__",anchor:"diffusers.HunyuanVideo15Pipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"negative_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_frames",val:": int = 121"},{name:"num_inference_steps",val:": int = 50"},{name:"sigmas",val:": typing.List[float] = None"},{name:"num_videos_per_prompt",val:": typing.Optional[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:"prompt_embeds_2",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask_2",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds_2",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds_mask_2",val:": typing.Optional[torch.Tensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'np'"},{name:"return_dict",val:": bool = True"},{name:"attention_kwargs",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15Pipeline.__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.HunyuanVideo15Pipeline.__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.`,name:"negative_prompt"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The height in pixels of the generated video.`,name:"height"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.width",description:`<strong>width</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The width in pixels of the generated video.`,name:"width"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.num_frames",description:`<strong>num_frames</strong> (<code>int</code>, defaults to <code>121</code>) &#x2014;
The number of frames in the generated video.`,name:"num_frames"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, defaults to <code>50</code>) &#x2014;
The number of denoising steps. More denoising steps usually lead to a higher quality video at the
expense of slower inference.`,name:"num_inference_steps"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.sigmas",description:`<strong>sigmas</strong> (<code>List[float]</code>, <em>optional</em>) &#x2014;
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.HunyuanVideo15Pipeline.__call__.num_videos_per_prompt",description:`<strong>num_videos_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The number of videos to generate per prompt.`,name:"num_videos_per_prompt"},{anchor:"diffusers.HunyuanVideo15Pipeline.__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.HunyuanVideo15Pipeline.__call__.latents",description:`<strong>latents</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated noisy latents sampled from a Gaussian distribution, to be used as inputs for video
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.HunyuanVideo15Pipeline.__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 (prompt weighting). If not
provided, text embeddings are generated from the <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.prompt_embeds_mask",description:`<strong>prompt_embeds_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for prompt embeddings.`,name:"prompt_embeds_mask"},{anchor:"diffusers.HunyuanVideo15Pipeline.__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.HunyuanVideo15Pipeline.__call__.negative_prompt_embeds_mask",description:`<strong>negative_prompt_embeds_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for negative prompt embeddings.`,name:"negative_prompt_embeds_mask"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.prompt_embeds_2",description:`<strong>prompt_embeds_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings from the second text encoder. Can be used to easily tweak text inputs.`,name:"prompt_embeds_2"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.prompt_embeds_mask_2",description:`<strong>prompt_embeds_mask_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for prompt embeddings from the second text encoder.`,name:"prompt_embeds_mask_2"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.negative_prompt_embeds_2",description:`<strong>negative_prompt_embeds_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings from the second text encoder.`,name:"negative_prompt_embeds_2"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.negative_prompt_embeds_mask_2",description:`<strong>negative_prompt_embeds_mask_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for negative prompt embeddings from the second text encoder.`,name:"negative_prompt_embeds_mask_2"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;np&quot;</code>) &#x2014;
The output format of the generated video. Choose between &#x201C;np&#x201D;, &#x201C;pt&#x201D;, or &#x201C;latent&#x201D;.`,name:"output_type"},{anchor:"diffusers.HunyuanVideo15Pipeline.__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>HunyuanVideo15PipelineOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.attention_kwargs",description:`<strong>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:"attention_kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py#L542",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If <code>return_dict</code> is <code>True</code>, <code>HunyuanVideo15PipelineOutput</code> is returned, otherwise a <code>tuple</code> is
returned where the first element is a list with the generated videos.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>~HunyuanVideo15PipelineOutput</code> or <code>tuple</code></p>
`}}),C=new Ln({props:{anchor:"diffusers.HunyuanVideo15Pipeline.__call__.example",$$slots:{default:[On]},$$scope:{ctx:ce}}}),te=new Z({props:{name:"encode_prompt",anchor:"diffusers.HunyuanVideo15Pipeline.encode_prompt",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]]"},{name:"device",val:": typing.Optional[torch.device] = None"},{name:"dtype",val:": typing.Optional[torch.dtype] = None"},{name:"batch_size",val:": int = 1"},{name:"num_videos_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:"prompt_embeds_2",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask_2",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15Pipeline.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.HunyuanVideo15Pipeline.encode_prompt.device",description:`<strong>device</strong> &#x2014; (<code>torch.device</code>):
torch device`,name:"device"},{anchor:"diffusers.HunyuanVideo15Pipeline.encode_prompt.batch_size",description:`<strong>batch_size</strong> (<code>int</code>) &#x2014;
batch size of prompts, defaults to 1`,name:"batch_size"},{anchor:"diffusers.HunyuanVideo15Pipeline.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.HunyuanVideo15Pipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. If not provided, text embeddings will be generated from <code>prompt</code> input
argument.`,name:"prompt_embeds"},{anchor:"diffusers.HunyuanVideo15Pipeline.encode_prompt.prompt_embeds_mask",description:`<strong>prompt_embeds_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text mask. If not provided, text mask will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds_mask"},{anchor:"diffusers.HunyuanVideo15Pipeline.encode_prompt.prompt_embeds_2",description:`<strong>prompt_embeds_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated glyph text embeddings from ByT5. If not provided, will be generated from <code>prompt</code> input
argument using self.tokenizer_2 and self.text_encoder_2.`,name:"prompt_embeds_2"},{anchor:"diffusers.HunyuanVideo15Pipeline.encode_prompt.prompt_embeds_mask_2",description:`<strong>prompt_embeds_mask_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated glyph text mask from ByT5. If not provided, will be generated from <code>prompt</code> input
argument using self.tokenizer_2 and self.text_encoder_2.`,name:"prompt_embeds_mask_2"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py#L334"}}),oe=new Z({props:{name:"prepare_cond_latents_and_mask",anchor:"diffusers.HunyuanVideo15Pipeline.prepare_cond_latents_and_mask",parameters:[{name:"latents",val:""},{name:"dtype",val:": typing.Optional[torch.dtype]"},{name:"device",val:": typing.Optional[torch.device]"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15Pipeline.prepare_cond_latents_and_mask.latents",description:"<strong>latents</strong> &#x2014; Main latents tensor (B, C, F, H, W)",name:"latents"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py#L508",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>(cond_latents_concat, mask_concat) - both are zero tensors for t2v</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>tuple</p>
`}}),se=new He({props:{title:"HunyuanVideo15ImageToVideoPipeline",local:"diffusers.HunyuanVideo15ImageToVideoPipeline",headingTag:"h2"}}),ie=new Z({props:{name:"class diffusers.HunyuanVideo15ImageToVideoPipeline",anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline",parameters:[{name:"text_encoder",val:": Qwen2_5_VLTextModel"},{name:"tokenizer",val:": Qwen2Tokenizer"},{name:"transformer",val:": HunyuanVideo15Transformer3DModel"},{name:"vae",val:": AutoencoderKLHunyuanVideo15"},{name:"scheduler",val:": FlowMatchEulerDiscreteScheduler"},{name:"text_encoder_2",val:": T5EncoderModel"},{name:"tokenizer_2",val:": ByT5Tokenizer"},{name:"guider",val:": ClassifierFreeGuidance"},{name:"image_encoder",val:": SiglipVisionModel"},{name:"feature_extractor",val:": SiglipImageProcessor"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.transformer",description:`<strong>transformer</strong> (<a href="/docs/diffusers/main/en/api/models/hunyuan_video15_transformer_3d#diffusers.HunyuanVideo15Transformer3DModel">HunyuanVideo15Transformer3DModel</a>) &#x2014;
Conditional Transformer (MMDiT) architecture to denoise the encoded video latents.`,name:"transformer"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/main/en/api/schedulers/flow_match_euler_discrete#diffusers.FlowMatchEulerDiscreteScheduler">FlowMatchEulerDiscreteScheduler</a>) &#x2014;
A scheduler to be used in combination with <code>transformer</code> to denoise the encoded video latents.`,name:"scheduler"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/main/en/api/models/autoencoder_kl_hunyuan_video15#diffusers.AutoencoderKLHunyuanVideo15">AutoencoderKLHunyuanVideo15</a>) &#x2014;
Variational Auto-Encoder (VAE) Model to encode and decode videos to and from latent representations.`,name:"vae"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>Qwen2.5-VL-7B-Instruct</code>) &#x2014;
<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.HunyuanVideo15ImageToVideoPipeline.tokenizer",description:"<strong>tokenizer</strong> (<code>Qwen2Tokenizer</code>) &#x2014; Tokenizer of class [Qwen2Tokenizer].",name:"tokenizer"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.text_encoder_2",description:`<strong>text_encoder_2</strong> (<code>T5EncoderModel</code>) &#x2014;
<a href="https://huggingface.co/docs/transformers/en/model_doc/t5#transformers.T5EncoderModel" rel="nofollow">T5EncoderModel</a>
variant.`,name:"text_encoder_2"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.tokenizer_2",description:"<strong>tokenizer_2</strong> (<code>ByT5Tokenizer</code>) &#x2014; Tokenizer of class [ByT5Tokenizer]",name:"tokenizer_2"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.guider",description:`<strong>guider</strong> (<a href="/docs/diffusers/main/en/api/modular_diffusers/guiders#diffusers.ClassifierFreeGuidance">ClassifierFreeGuidance</a>) &#x2014;
[ClassifierFreeGuidance]for classifier free guidance.`,name:"guider"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.image_encoder",description:`<strong>image_encoder</strong> (<code>SiglipVisionModel</code>) &#x2014;
<a href="https://huggingface.co/docs/transformers/en/model_doc/siglip#transformers.SiglipVisionModel" rel="nofollow">SiglipVisionModel</a>
variant.`,name:"image_encoder"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.feature_extractor",description:`<strong>feature_extractor</strong> (<code>SiglipImageProcessor</code>) &#x2014;
<a href="https://huggingface.co/docs/transformers/en/model_doc/siglip#transformers.SiglipImageProcessor" rel="nofollow">SiglipImageProcessor</a>
variant.`,name:"feature_extractor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5_image2video.py#L193"}}),ae=new Z({props:{name:"__call__",anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__",parameters:[{name:"image",val:": Image"},{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"negative_prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"num_frames",val:": int = 121"},{name:"num_inference_steps",val:": int = 50"},{name:"sigmas",val:": typing.List[float] = None"},{name:"num_videos_per_prompt",val:": typing.Optional[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:"prompt_embeds_2",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask_2",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds_2",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds_mask_2",val:": typing.Optional[torch.Tensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'np'"},{name:"return_dict",val:": bool = True"},{name:"attention_kwargs",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.image",description:`<strong>image</strong> (<code>PIL.Image.Image</code>) &#x2014;
The input image to condition video generation on.`,name:"image"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__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 video generation. If not defined, one has to pass <code>prompt_embeds</code>
instead.`,name:"prompt"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__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 video generation. If not defined, one has to pass
<code>negative_prompt_embeds</code> instead.`,name:"negative_prompt"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.num_frames",description:`<strong>num_frames</strong> (<code>int</code>, defaults to <code>121</code>) &#x2014;
The number of frames in the generated video.`,name:"num_frames"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, defaults to <code>50</code>) &#x2014;
The number of denoising steps. More denoising steps usually lead to a higher quality video at the
expense of slower inference.`,name:"num_inference_steps"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.sigmas",description:`<strong>sigmas</strong> (<code>List[float]</code>, <em>optional</em>) &#x2014;
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.HunyuanVideo15ImageToVideoPipeline.__call__.num_videos_per_prompt",description:`<strong>num_videos_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The number of videos to generate per prompt.`,name:"num_videos_per_prompt"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__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.HunyuanVideo15ImageToVideoPipeline.__call__.latents",description:`<strong>latents</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated noisy latents sampled from a Gaussian distribution, to be used as inputs for video
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.HunyuanVideo15ImageToVideoPipeline.__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 (prompt weighting). If not
provided, text embeddings are generated from the <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.prompt_embeds_mask",description:`<strong>prompt_embeds_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for prompt embeddings.`,name:"prompt_embeds_mask"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__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.HunyuanVideo15ImageToVideoPipeline.__call__.negative_prompt_embeds_mask",description:`<strong>negative_prompt_embeds_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for negative prompt embeddings.`,name:"negative_prompt_embeds_mask"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.prompt_embeds_2",description:`<strong>prompt_embeds_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings from the second text encoder. Can be used to easily tweak text inputs.`,name:"prompt_embeds_2"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.prompt_embeds_mask_2",description:`<strong>prompt_embeds_mask_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for prompt embeddings from the second text encoder.`,name:"prompt_embeds_mask_2"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.negative_prompt_embeds_2",description:`<strong>negative_prompt_embeds_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings from the second text encoder.`,name:"negative_prompt_embeds_2"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.negative_prompt_embeds_mask_2",description:`<strong>negative_prompt_embeds_mask_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated mask for negative prompt embeddings from the second text encoder.`,name:"negative_prompt_embeds_mask_2"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;np&quot;</code>) &#x2014;
The output format of the generated video. Choose between &#x201C;np&#x201D;, &#x201C;pt&#x201D;, or &#x201C;latent&#x201D;.`,name:"output_type"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__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>HunyuanVideo15PipelineOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.attention_kwargs",description:`<strong>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:"attention_kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5_image2video.py#L650",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If <code>return_dict</code> is <code>True</code>, <code>HunyuanVideo15PipelineOutput</code> is returned, otherwise a <code>tuple</code> is
returned where the first element is a list with the generated videos.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>~HunyuanVideo15PipelineOutput</code> or <code>tuple</code></p>
`}}),W=new Ln({props:{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.__call__.example",$$slots:{default:[An]},$$scope:{ctx:ce}}}),re=new Z({props:{name:"encode_prompt",anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.encode_prompt",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]]"},{name:"device",val:": typing.Optional[torch.device] = None"},{name:"dtype",val:": typing.Optional[torch.dtype] = None"},{name:"batch_size",val:": int = 1"},{name:"num_videos_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:"prompt_embeds_2",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds_mask_2",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.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.HunyuanVideo15ImageToVideoPipeline.encode_prompt.device",description:`<strong>device</strong> &#x2014; (<code>torch.device</code>):
torch device`,name:"device"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.encode_prompt.batch_size",description:`<strong>batch_size</strong> (<code>int</code>) &#x2014;
batch size of prompts, defaults to 1`,name:"batch_size"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.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.HunyuanVideo15ImageToVideoPipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. If not provided, text embeddings will be generated from <code>prompt</code> input
argument.`,name:"prompt_embeds"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.encode_prompt.prompt_embeds_mask",description:`<strong>prompt_embeds_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text mask. If not provided, text mask will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds_mask"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.encode_prompt.prompt_embeds_2",description:`<strong>prompt_embeds_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated glyph text embeddings from ByT5. If not provided, will be generated from <code>prompt</code> input
argument using self.tokenizer_2 and self.text_encoder_2.`,name:"prompt_embeds_2"},{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.encode_prompt.prompt_embeds_mask_2",description:`<strong>prompt_embeds_mask_2</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated glyph text mask from ByT5. If not provided, will be generated from <code>prompt</code> input
argument using self.tokenizer_2 and self.text_encoder_2.`,name:"prompt_embeds_mask_2"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5_image2video.py#L422"}}),de=new Z({props:{name:"prepare_cond_latents_and_mask",anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.prepare_cond_latents_and_mask",parameters:[{name:"latents",val:": Tensor"},{name:"image",val:": Image"},{name:"batch_size",val:": int"},{name:"height",val:": int"},{name:"width",val:": int"},{name:"dtype",val:": dtype"},{name:"device",val:": device"}],parametersDescription:[{anchor:"diffusers.HunyuanVideo15ImageToVideoPipeline.prepare_cond_latents_and_mask.latents",description:"<strong>latents</strong> &#x2014; Main latents tensor (B, C, F, H, W)",name:"latents"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5_image2video.py#L594",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>(cond_latents_concat, mask_concat) - both are zero tensors for t2v</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>tuple</p>
`}}),pe=new He({props:{title:"HunyuanVideo15PipelineOutput",local:"diffusers.pipelines.hunyuan_video1_5.pipeline_output.HunyuanVideo15PipelineOutput",headingTag:"h2"}}),le=new Z({props:{name:"class diffusers.pipelines.hunyuan_video1_5.pipeline_output.HunyuanVideo15PipelineOutput",anchor:"diffusers.pipelines.hunyuan_video1_5.pipeline_output.HunyuanVideo15PipelineOutput",parameters:[{name:"frames",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.pipelines.hunyuan_video1_5.pipeline_output.HunyuanVideo15PipelineOutput.frames",description:`<strong>frames</strong> (<code>torch.Tensor</code>, <code>np.ndarray</code>, or List[List[PIL.Image.Image]]) &#x2014;
List of video outputs - It can be a nested list of length <code>batch_size,</code> with each sub-list containing
denoised PIL image sequences of length <code>num_frames.</code> It can also be a NumPy array or Torch tensor of shape
<code>(batch_size, num_frames, channels, height, width)</code>.`,name:"frames"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/hunyuan_video1_5/pipeline_output.py#L9"}}),me=new Yn({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/hunyuan_video15.md"}}),{c(){l=r("meta"),$=s(),w=r("p"),y=s(),m(b.$$.fragment),a=s(),V=r("p"),V.textContent=bn,$e=s(),z=r("p"),z.innerHTML=vn,Ie=s(),U=r("blockquote"),U.innerHTML=Tn,Pe=s(),E=r("p"),E.textContent=wn,Je=Dn(`
<hfoptions id="usage">
<hfoption id="memory">
`),L=r("p"),L.innerHTML=Vn,je=s(),m(N.$$.fragment),Ze=s(),m(X.$$.fragment),Ue=s(),Q=r("ul"),Q.innerHTML=xn,Ce=s(),R=r("p"),R.innerHTML=Mn,Ge=s(),m(S.$$.fragment),We=s(),D=r("ul"),D.innerHTML=kn,Be=s(),F=r("p"),F.innerHTML=Hn,ze=s(),m(q.$$.fragment),Ee=s(),Y=r("p"),Y.innerHTML=$n,Le=s(),m(O.$$.fragment),Ne=s(),A=r("p"),A.innerHTML=In,Xe=s(),m(K.$$.fragment),Qe=s(),v=r("div"),m(ee.$$.fragment),nn=s(),ue=r("p"),ue.textContent=Pn,tn=s(),ge=r("p"),ge.innerHTML=Jn,on=s(),I=r("div"),m(ne.$$.fragment),sn=s(),fe=r("p"),fe.textContent=jn,an=s(),m(C.$$.fragment),rn=s(),_e=r("div"),m(te.$$.fragment),dn=s(),G=r("div"),m(oe.$$.fragment),pn=s(),he=r("p"),he.textContent=Zn,Re=s(),m(se.$$.fragment),Se=s(),T=r("div"),m(ie.$$.fragment),ln=s(),ye=r("p"),ye.textContent=Un,mn=s(),be=r("p"),be.innerHTML=Cn,cn=s(),P=r("div"),m(ae.$$.fragment),un=s(),ve=r("p"),ve.textContent=Gn,gn=s(),m(W.$$.fragment),fn=s(),Te=r("div"),m(re.$$.fragment),_n=s(),B=r("div"),m(de.$$.fragment),hn=s(),we=r("p"),we.textContent=Wn,De=s(),m(pe.$$.fragment),Fe=s(),J=r("div"),m(le.$$.fragment),yn=s(),Ve=r("p"),Ve.textContent=Bn,qe=s(),m(me.$$.fragment),Ye=s(),ke=r("p"),this.h()},l(e){const n=Fn("svelte-u9bgzb",document.head);l=d(n,"META",{name:!0,content:!0}),n.forEach(t),$=i(e),w=d(e,"P",{}),H(w).forEach(t),y=i(e),c(b.$$.fragment,e),a=i(e),V=d(e,"P",{"data-svelte-h":!0}),h(V)!=="svelte-113g4nv"&&(V.textContent=bn),$e=i(e),z=d(e,"P",{"data-svelte-h":!0}),h(z)!=="svelte-vyw78o"&&(z.innerHTML=vn),Ie=i(e),U=d(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),h(U)!=="svelte-91v6e"&&(U.innerHTML=Tn),Pe=i(e),E=d(e,"P",{"data-svelte-h":!0}),h(E)!=="svelte-pzhop3"&&(E.textContent=wn),Je=qn(e,`
<hfoptions id="usage">
<hfoption id="memory">
`),L=d(e,"P",{"data-svelte-h":!0}),h(L)!=="svelte-iowzkr"&&(L.innerHTML=Vn),je=i(e),c(N.$$.fragment,e),Ze=i(e),c(X.$$.fragment,e),Ue=i(e),Q=d(e,"UL",{"data-svelte-h":!0}),h(Q)!=="svelte-7qk7xi"&&(Q.innerHTML=xn),Ce=i(e),R=d(e,"P",{"data-svelte-h":!0}),h(R)!=="svelte-1co46db"&&(R.innerHTML=Mn),Ge=i(e),c(S.$$.fragment,e),We=i(e),D=d(e,"UL",{"data-svelte-h":!0}),h(D)!=="svelte-xlihh5"&&(D.innerHTML=kn),Be=i(e),F=d(e,"P",{"data-svelte-h":!0}),h(F)!=="svelte-8xcbz6"&&(F.innerHTML=Hn),ze=i(e),c(q.$$.fragment,e),Ee=i(e),Y=d(e,"P",{"data-svelte-h":!0}),h(Y)!=="svelte-88vp6f"&&(Y.innerHTML=$n),Le=i(e),c(O.$$.fragment,e),Ne=i(e),A=d(e,"P",{"data-svelte-h":!0}),h(A)!=="svelte-8tk2in"&&(A.innerHTML=In),Xe=i(e),c(K.$$.fragment,e),Qe=i(e),v=d(e,"DIV",{class:!0});var x=H(v);c(ee.$$.fragment,x),nn=i(x),ue=d(x,"P",{"data-svelte-h":!0}),h(ue)!=="svelte-15fsw8h"&&(ue.textContent=Pn),tn=i(x),ge=d(x,"P",{"data-svelte-h":!0}),h(ge)!=="svelte-496sm0"&&(ge.innerHTML=Jn),on=i(x),I=d(x,"DIV",{class:!0});var j=H(I);c(ne.$$.fragment,j),sn=i(j),fe=d(j,"P",{"data-svelte-h":!0}),h(fe)!=="svelte-50j04k"&&(fe.textContent=jn),an=i(j),c(C.$$.fragment,j),j.forEach(t),rn=i(x),_e=d(x,"DIV",{class:!0});var zn=H(_e);c(te.$$.fragment,zn),zn.forEach(t),dn=i(x),G=d(x,"DIV",{class:!0});var Ae=H(G);c(oe.$$.fragment,Ae),pn=i(Ae),he=d(Ae,"P",{"data-svelte-h":!0}),h(he)!=="svelte-y034i8"&&(he.textContent=Zn),Ae.forEach(t),x.forEach(t),Re=i(e),c(se.$$.fragment,e),Se=i(e),T=d(e,"DIV",{class:!0});var M=H(T);c(ie.$$.fragment,M),ln=i(M),ye=d(M,"P",{"data-svelte-h":!0}),h(ye)!=="svelte-2mwkuf"&&(ye.textContent=Un),mn=i(M),be=d(M,"P",{"data-svelte-h":!0}),h(be)!=="svelte-496sm0"&&(be.innerHTML=Cn),cn=i(M),P=d(M,"DIV",{class:!0});var xe=H(P);c(ae.$$.fragment,xe),un=i(xe),ve=d(xe,"P",{"data-svelte-h":!0}),h(ve)!=="svelte-50j04k"&&(ve.textContent=Gn),gn=i(xe),c(W.$$.fragment,xe),xe.forEach(t),fn=i(M),Te=d(M,"DIV",{class:!0});var En=H(Te);c(re.$$.fragment,En),En.forEach(t),_n=i(M),B=d(M,"DIV",{class:!0});var Ke=H(B);c(de.$$.fragment,Ke),hn=i(Ke),we=d(Ke,"P",{"data-svelte-h":!0}),h(we)!=="svelte-y034i8"&&(we.textContent=Wn),Ke.forEach(t),M.forEach(t),De=i(e),c(pe.$$.fragment,e),Fe=i(e),J=d(e,"DIV",{class:!0});var en=H(J);c(le.$$.fragment,en),yn=i(en),Ve=d(en,"P",{"data-svelte-h":!0}),h(Ve)!=="svelte-1nzp3pe"&&(Ve.textContent=Bn),en.forEach(t),qe=i(e),c(me.$$.fragment,e),Ye=i(e),ke=d(e,"P",{}),H(ke).forEach(t),this.h()},h(){k(l,"name","hf:doc:metadata"),k(l,"content",et),k(U,"class","tip"),k(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(_e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(J,"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){p(document.head,l),o(e,$,n),o(e,w,n),o(e,y,n),u(b,e,n),o(e,a,n),o(e,V,n),o(e,$e,n),o(e,z,n),o(e,Ie,n),o(e,U,n),o(e,Pe,n),o(e,E,n),o(e,Je,n),o(e,L,n),o(e,je,n),u(N,e,n),o(e,Ze,n),u(X,e,n),o(e,Ue,n),o(e,Q,n),o(e,Ce,n),o(e,R,n),o(e,Ge,n),u(S,e,n),o(e,We,n),o(e,D,n),o(e,Be,n),o(e,F,n),o(e,ze,n),u(q,e,n),o(e,Ee,n),o(e,Y,n),o(e,Le,n),u(O,e,n),o(e,Ne,n),o(e,A,n),o(e,Xe,n),u(K,e,n),o(e,Qe,n),o(e,v,n),u(ee,v,null),p(v,nn),p(v,ue),p(v,tn),p(v,ge),p(v,on),p(v,I),u(ne,I,null),p(I,sn),p(I,fe),p(I,an),u(C,I,null),p(v,rn),p(v,_e),u(te,_e,null),p(v,dn),p(v,G),u(oe,G,null),p(G,pn),p(G,he),o(e,Re,n),u(se,e,n),o(e,Se,n),o(e,T,n),u(ie,T,null),p(T,ln),p(T,ye),p(T,mn),p(T,be),p(T,cn),p(T,P),u(ae,P,null),p(P,un),p(P,ve),p(P,gn),u(W,P,null),p(T,fn),p(T,Te),u(re,Te,null),p(T,_n),p(T,B),u(de,B,null),p(B,hn),p(B,we),o(e,De,n),u(pe,e,n),o(e,Fe,n),o(e,J,n),u(le,J,null),p(J,yn),p(J,Ve),o(e,qe,n),u(me,e,n),o(e,Ye,n),o(e,ke,n),Oe=!0},p(e,[n]){const x={};n&2&&(x.$$scope={dirty:n,ctx:e}),C.$set(x);const j={};n&2&&(j.$$scope={dirty:n,ctx:e}),W.$set(j)},i(e){Oe||(g(b.$$.fragment,e),g(N.$$.fragment,e),g(X.$$.fragment,e),g(S.$$.fragment,e),g(q.$$.fragment,e),g(O.$$.fragment,e),g(K.$$.fragment,e),g(ee.$$.fragment,e),g(ne.$$.fragment,e),g(C.$$.fragment,e),g(te.$$.fragment,e),g(oe.$$.fragment,e),g(se.$$.fragment,e),g(ie.$$.fragment,e),g(ae.$$.fragment,e),g(W.$$.fragment,e),g(re.$$.fragment,e),g(de.$$.fragment,e),g(pe.$$.fragment,e),g(le.$$.fragment,e),g(me.$$.fragment,e),Oe=!0)},o(e){f(b.$$.fragment,e),f(N.$$.fragment,e),f(X.$$.fragment,e),f(S.$$.fragment,e),f(q.$$.fragment,e),f(O.$$.fragment,e),f(K.$$.fragment,e),f(ee.$$.fragment,e),f(ne.$$.fragment,e),f(C.$$.fragment,e),f(te.$$.fragment,e),f(oe.$$.fragment,e),f(se.$$.fragment,e),f(ie.$$.fragment,e),f(ae.$$.fragment,e),f(W.$$.fragment,e),f(re.$$.fragment,e),f(de.$$.fragment,e),f(pe.$$.fragment,e),f(le.$$.fragment,e),f(me.$$.fragment,e),Oe=!1},d(e){e&&(t($),t(w),t(y),t(a),t(V),t($e),t(z),t(Ie),t(U),t(Pe),t(E),t(Je),t(L),t(je),t(Ze),t(Ue),t(Q),t(Ce),t(R),t(Ge),t(We),t(D),t(Be),t(F),t(ze),t(Ee),t(Y),t(Le),t(Ne),t(A),t(Xe),t(Qe),t(v),t(Re),t(Se),t(T),t(De),t(Fe),t(J),t(qe),t(Ye),t(ke)),t(l),_(b,e),_(N,e),_(X,e),_(S,e),_(q,e),_(O,e),_(K,e),_(ee),_(ne),_(C),_(te),_(oe),_(se,e),_(ie),_(ae),_(W),_(re),_(de),_(pe,e),_(le),_(me,e)}}}const et='{"title":"HunyuanVideo-1.5","local":"hunyuanvideo-15","sections":[{"title":"Notes","local":"notes","sections":[],"depth":2},{"title":"HunyuanVideo15Pipeline","local":"diffusers.HunyuanVideo15Pipeline","sections":[],"depth":2},{"title":"HunyuanVideo15ImageToVideoPipeline","local":"diffusers.HunyuanVideo15ImageToVideoPipeline","sections":[],"depth":2},{"title":"HunyuanVideo15PipelineOutput","local":"diffusers.pipelines.hunyuan_video1_5.pipeline_output.HunyuanVideo15PipelineOutput","sections":[],"depth":2}],"depth":1}';function nt(ce){return Qn(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dt extends Rn{constructor(l){super(),Sn(this,l,nt,Kn,Xn,{})}}export{dt as component};
