§
    ÎÐj~  ã                   óä   — d Z ddlmZ dZdZdZdZdZdZd	Z	d
Z
dZdZdZi dd“dd“dd“dd“dd“dd“dd“dd“dd“d d!“d"d#“d$d%“d&d'“d(d)“d*d+“d,d-“d.d/“d0d1d2d3d4d5d6d7d8d9d:d;d<œ¥Zd=„ Zd>„ ZdCd@„ZdA„ ZdBS )DzBShared, user-facing Markdown sections for model help declarations.é    ©Údeepcopya  ### Describe the Shot

Describe the subject, visible action, setting, framing, lighting and camera movement in natural language. Keep actions in chronological order and achievable within the selected duration. With a start image, focus on what moves and what stays still.

**Example:** A ceramic bird on a windowsill slowly turns its head. Rain runs down the glass behind it. Soft morning light, fixed close-up camera.

Put unwanted content in the Negative Prompt when the selected model supports it. Prompt enhancement is optional.z·Describe subject, action, setting, framing, light and camera movement chronologically. With an image, describe motion consistent with it. Keep the action feasible within the duration.a“  ### Describe the Finished Image

Name the subject, composition, setting, lighting, colors and medium. Put the most important requirements first. For visible writing, quote the exact words and say where they belong; proofread the result.

**Example:** A cream poster with a blue ceramic bird centered above the title "SPRING MARKET", dark blue lettering, generous margins, flat screen-print illustration.zyDescribe subject, composition, lighting, colors and medium. Quote exact visible text and its placement; proofread output.a  ### Describe the Edit

State the requested change and identify the details to preserve. When using a mask, describe the desired result in that area.

**Example:** Replace the blue jacket with a red wool coat. Keep the person's face, pose, lighting and background unchanged.z‰State the change and what to preserve. Example: replace the blue jacket with a red wool coat, retaining face, pose, light and background.zµWith several references, number images in selection order and assign each a role. Example: use the person from image 1 and the coat from image 2, keeping the person's face and pose.a/  ### Write the Words to Speak

Enter the actual speech, with natural spelling and punctuation, rather than an instruction to write speech. Keep stage directions out of the spoken text unless this model explicitly supports them.

**Example:** Welcome back. Take your time; we can begin when you are ready.zhWrite exact speech with natural punctuation. Do not put unsupported stage directions in the spoken text.aÓ  ### Lyrics and Musical Style

Put the words to sing in **Lyrics**, with section tags on separate lines and blank lines between sections. Put genre, instruments, mood and vocal character in the separate style field.

```text
[Verse]
The morning train rolls into town
The quiet streets are waking now

[Chorus]
Carry me home through the light
```

Repeat the intended words for repeated choruses. Section tags guide the arrangement; they do not guarantee exact timings.z¯Use actual lyrics with [Verse], [Chorus], [Bridge] and [Outro] sections; keep musical style in alt_prompt. Repeat chorus words explicitly. Tags do not guarantee exact timings.zidentity preservation)zcharacter consistencyzidentity-preserving editszsubject consistencyzmotion transfer)zpose transferzdance animationzhuman animationzcharacter replacement)zreplace a personzcharacter swapzvideo editing)z
edit videozinstruction video editingzimage editing)z
edit imagezinstruction image editingzvideo viewpoint change)zvideo reshootingÚrecamerazchange video perspectiveznovel view videozimage viewpoint change)zchange image perspectiveznovel view imagezcamera control)zcamera pathzcamera trajectoryzcamera movementÚorbitÚdollyz	3D cameraztrajectory control)zpoint trackingzobject motion controlzmotion pathzlip sync)ztalking avatarztalking headzaudio-driven videozaudio-video generation)zvideo with soundzsynchronized audio and videozmulti-shot video)zshot planningz	hard cutszstyle transfer)Ú	restylingÚstylizationzimage inpainting)zmasked image editingzvideo inpainting)zmasked video editingzvideo outpainting)zextend video canvaszimage outpainting)zextend image canvas)zimage structure controlzimage ControlNet)zvideo structure controlzvideo ControlNet)zvideo super-resolution)zreference voicezspeaker imitation)zvoice description)ztwo-speaker dialoguezmulti-speaker dialogue)zsong generationzlyrics to song)z
edit audiozsound editing)zreplace audio interval)zextend audio)ÚfoleyÚambiencezsound design)Ú
typographyÚ	letteringztext writing)zcontrol imagezcontrol videozvideo upscalingzvoice cloningzvoice designzspeech dialoguezmusic generationzaudio editingzaudio inpaintingzaudio continuationzsound effectsztext renderingc                  ó   — d„ | D ¦   «         S )Nc                 óH   — g | ]}|t          t          |         ¦  «        d œ‘Œ S )©ÚnameÚaliases)ÚlistÚSPECIALITIES)Ú.0r   s     ú:C:\Users\johnn\OneDrive\Documents\AI\models\help_shared.pyú
<listcomp>z specialities.<locals>.<listcomp>U   s-   € ÐRÐRÐRÀD�T¥d­<¸Ô+=Ñ&>Ô&>Ð?Ð?ÐRÐRÐRó    © )Únamess    r   Úspecialitiesr   T   s   € ØRÐRÈEÐRÑRÔRÐRr   c           	      óZ  ‡— d„ t                                ¦   «         D ¦   «         }i }| D �]a}t          |t          ¦  «        rd|int	          |¦  «        }|d         }|                     ||¦  «        Šg t                                ‰d¦  «        ¢|                     dd¦  «        ¢}‰|k    r|                     |¦  «         |                     ‰i |¥‰g dœ¥¦  «        }t          t           
                    ˆfd„g |d         ¢|¢D ¦   «         ¦  «        ¦  «        |d<   |                     dd¦  «        }|rU||                     dd¦  «        k    r;d	                     t          d |                     d¦  «        |g¦  «        ¦  «        |d<   �Œct          |                     ¦   «         ¦  «        S )
Nc                 ó,   — i | ]\  }}|g|¢R D ]}||“ŒŒS r   r   )r   r   r   Úaliass       r   ú
<dictcomp>z*normalize_specialities.<locals>.<dictcomp>Y   s8   € ÐeÐeÐe¡  wÐUYÐTdÐ\cÐTdÐTdÐeÐeÈ5�˜ÐeÐeÐeÐer   r   r   r   r   c              3   ó(   •K  — | ]}|‰k    ¯|V — Œd S )Nr   )r   r   r   s     €r   ú	<genexpr>z)normalize_specialities.<locals>.<genexpr>c   s/   øè è € Ð/tÐ/t¸%ÐfkÐosÒfsÐfs°ÐfsÐfsÐfsÐfsÐ/tÐ/tr   ÚdescriptionÚ ú )r   ÚitemsÚ
isinstanceÚstrr   ÚgetÚappendÚ
setdefaultr   ÚdictÚfromkeysÚjoinÚfilterÚvalues)	ÚentriesÚ	canonicalÚresultÚentryÚoriginalr   Úcurrentr"   r   s	           @r   Únormalize_specialitiesr6   X   s©  ø€ ØeÐeµ,×2DÒ2DÑ2FÔ2FÐeÑeÔe€IØ€FØð gñ gˆÝ#-¨eµSÑ#9Ô#9ÐN�˜��½xÈ¹¼ˆØ˜”=ˆØ�}Š}˜X xÑ0Ô0ˆØJ•L×$Ò$ T¨2Ñ.Ô.ÐJ°·²¸9ÀbÑ1IÔ1IÐJˆØ�8ÒÐØ�NŠN˜8Ñ$Ô$Ð$Ø×#Ò# DÐ*P¨UÐ*P¸DÈRÐ*PÐ*PÐ*PÑQÔQˆÝ!¥$§-¢-Ð/tÐ/tÐ/tÐ/tÐCbÀWÈYÔEWÐCbÐZaÐCbÐ/tÑ/tÔ/tÑ"tÔ"tÑuÔuˆ�	ÑØ—i’i ¨rÑ2Ô2ˆØð 	g˜;¨'¯+ª+°mÀRÑ*HÔ*HÒHÐHØ%(§X¢X­f°T¸G¿KºKÈÑ<VÔ<VÐXcÐ;dÑ.eÔ.eÑ%fÔ%fˆG�MÑ"ùÝ�—’‘”Ñ Ô Ð r   r   c                 ó*  — d                      d„ t          |¦  «        D ¦   «         ¦  «        }d| › d|                     ¦   «         › �|rd|› �ndz   |                     ¦   «         d| › d|                     ¦   «         › �d|                     ¦   «         › �d	œS )
Nu    Â· c              3   ó4   K  — | ]\  }}d |dz   › d|› d�V — ŒdS )z
[Upstream é   z](ú)Nr   )r   ÚiÚurls      r   r!   zhelp_text.<locals>.<genexpr>k   s>   è è € ÐVÐV¹¸¸CÐ4 Q¨¡UÐ4Ð4¨cÐ4Ð4Ð4ÐVÐVÐVÐVÐVÐVr   z## z

z

### Further Reading

r#   z### z### Prompt

)ÚinfosÚprompt_infosÚdeepy_infosÚdeepy_prompt_infos)r-   Ú	enumerateÚstrip)Útitler=   ÚpromptÚcompact_infosÚcompact_promptÚsourcesÚlinkss          r   Ú	help_textrI   j   s°   € Ø�KŠKÐVÐVÅ9ÈWÑCUÔCUÐVÑVÔVÑVÔV€Eà1�uÐ1Ð1 %§+¢+¡-¤-Ð1Ð1Ð^cÐ5kÐ5ZÐSXÐ5ZÐ5ZÐ5ZÐikÑlØŸš™œØ@˜eÐ@Ð@¨×)<Ò)<Ñ)>Ô)>Ð@Ð@ØG¨~×/CÒ/CÑ/EÔ/EÐGÐGð	ð ð r   c                 óÒ   ‡— i |¥| ¥}d|v r[t          |                      dg ¦  «        ¦  «        }d„ |D ¦   «         Š|                     ˆfd„|d         D ¦   «         ¦  «         ||d<   |S )zGKeep explicit handler help while inheriting shared family declarations.r   c                 ó   — h | ]
}|d          ’ŒS )r   r   )r   r3   s     r   ú	<setcomp>zmerge_help.<locals>.<setcomp>y   s   € Ð4Ð4Ð4 5��v”Ð4Ð4Ð4r   c              3   óJ   •K  — | ]}|d          ‰v¯t          |¦  «        V — ŒdS )r   Nr   )r   r3   r   s     €r   r!   zmerge_help.<locals>.<genexpr>z   s;   øè è € ÐkÐk¨5ÐPUÐV\ÔP]ÐejÐPjÐPj•x ‘”ÐPjÐPjÐPjÐPjÐkÐkr   )r   r(   Úextend)ÚdeclarationsÚhelp_defr2   r0   r   s       @r   Ú
merge_helprQ   t   sˆ   ø€ à)�Ð)˜LÐ)€FØ˜Ð!Ð!Ý˜<×+Ò+¨N¸BÑ?Ô?Ñ@Ô@ˆØ4Ð4¨GÐ4Ñ4Ô4ˆØ�ŠÐkÐkÐkÐk°H¸^Ô4LÐkÑkÔkÑkÔkÐkØ!(ˆˆ~ÑØ€Mr   N)r   )Ú__doc__Úcopyr   ÚVIDEO_PROMPTÚVIDEO_PROMPT_SHORTÚIMAGE_PROMPTÚIMAGE_PROMPT_SHORTÚEDIT_PROMPTÚEDIT_PROMPT_SHORTÚREFERENCE_PROMPTÚSPEECH_PROMPTÚSPEECH_PROMPT_SHORTÚLYRICS_PROMPTÚLYRICS_PROMPT_SHORTr   r   r6   rI   rQ   r   r   r   ú<module>r_      sà  ðà HÐ HØ Ð Ð Ð Ð Ð ðt€ð OÐ ðk€ð
 QÐ ð€ð
 `Ð ð KÐ ðO€ð
 AÐ ð}€ð HÐ ðØÐjðàÐNðð ÐCðð Ð@ð	ð
 Ð@ðð Ðnðð ÐNðð Ðlðð ÐTðð ÐHðð ÐRðð Ð6ðð Ð2ðð Ð1ðð Ð1ðð  Ð1ð!ð" Ð1ð#ð$ EØDØ2Ø=Ø*ØIØ=Ø4Ø3Ø+Ø:ØAð;ð ð €ðBSð Sð Sð!ð !ð !ð$ð ð ð ðð ð ð ð r   