+
    „°ñj’  ã                   óz   € ^ RI Ht ^ RIHtHt ^ RIHt  ! R R]P                  4      t ! R R]4      t	R R	 lt
R
# )é    )Úoverride)ÚComfyExtensionÚio)Únormalize_palettec                   óP   a € ] tR t^t o ]R 4       t]RV 3R lR ll4       tRtV tR# )ÚBuildJsonPromptIdeogramc                óÌ  € \         P                  P                  R RRR7      p\         P                  ! RRRR\         P                  P                  RR	R
7      \         P
                  P                  RRRRR7      \         P
                  P                  RRRRR7      \         P                  P                  R\         P                  P                  R. 4      \         P                  P                  R\         P
                  P                  RRRR7      .4      \         P                  P                  R\         P
                  P                  RRRR7      .4      .R7      \         P
                  P                  RRRR7      \         P
                  P                  RRRR7      \         P
                  P                  RRRR7      V.\         P                  P                  R R!7      .RR"7      # )#Úcolor_paletteFzIHex color codes that steer the image's dominant colors. Up to 16 entries.)Ú
socketlessÚtooltipr   zBuild JSON Prompt (Ideogram)Útextz-Build a JSON prompt for the Ideogram 4 model.Úelementz4Prompt elements from the node Create Bounding Boxes.)r   Úhigh_level_descriptionTÚ zPOptional description of the image in one or two sentences. Strongly recommended.)Ú	multilineÚdefaultr   Ú
backgroundz=Mandatory description of the image background or environment.ÚstyleÚnoneÚphotozJCamera or lens details for photographic outputs (e.g. 35mm, f/1.4, bokeh).)r   r   Ú	art_stylezEArt style description (e.g. flat vector illustration, bold outlines).)ÚoptionsÚ
aestheticszBMandatory aesthetic keywords (e.g. moody, cinematic, desaturated).ÚlightingzOMandatory lighting description (e.g. golden hour, rim light, dramatic shadows).Úmediumz‚Mandatory medium type (e.g. photograph, illustration, 3d_render, painting, graphic_design). When style = photo, set to photograph.Úprompt)Údisplay_name)Únode_idr   ÚcategoryÚdescriptionÚinputsÚoutputsÚis_experimental)
r   ÚColorsÚInputÚSchemaÚArrayÚStringÚDynamicComboÚOptionÚDictÚOutput)Úclsr
   s   & ÚBC:\Ai_Coding\apps\studio\ComfyUI\comfy_extras\nodes_json_prompt.pyÚdefine_schemaÚ%BuildJsonPromptIdeogram.define_schema   sµ  € äŸ	™	Ÿ™ØØØ_ð (ó 
ˆô
 �yŠyØ-Ø7ØØGä—‘—‘˜yÐ2h�ÓiÜ—	‘	—‘Ð 8ÀDÐRTØ(zð  ó |ä—	‘	—‘ ¸ÀbØ(gð  ó iä—‘×%Ñ% gÜ—O‘O×*Ñ*¨6°2Ó6Ü—O‘O×*Ñ*¨7´R·Y±Y·_±_ÀWÐVXð  co°_ó  6pð  5qó  rÜ—O‘O×*Ñ*¨;¼¿¹¿¹ÈÐ^`ð  kr¸ó  :sð  9tó  uð8Ð%ó ô
 —	‘	—‘ °bð  CG�ó  HÜ—	‘	—‘ 
°Bð  AR�ó  SÜ—	‘	—‘ °"ð  ?C�ó  DØðô  —W‘W—^‘^°�^Ó:Ð;Ø ô-
ð 	
ó    Nc                ó4   <€ V ^8„  d   QhRS[ P                  /# ©é   Úreturn)r   Ú
NodeOutput)ÚformatÚ__classdict__s   "€r.   Ú__annotate__Ú$BuildJsonPromptIdeogram.__annotate__)   s   ø€ ÷ &ñ &ÙNPÏmÉmñ&r1   c	                ó<  € \        V\        4      '       d   TM. p	\        V\        4      '       d   VP                  R R4      MRp
\        V\        4      '       d   VP                  RR4      MRp\        V\        4      '       d   VP                  RR4      MRp\	        T;'       g    . 4      p/ pVP                  4       '       d   W>R&   V
R8w  d/   RVRV/pV
R8X  d
   W¿R&   WR&   MWR&   WÏR&   V'       d   WßR	&   WþR
&   RVRV	/VR&   \        P                  ! V4      # )r   r   r   r   r   r   r   r   r   r
   Ústyle_descriptionr   ÚelementsÚcompositional_deconstruction)Ú
isinstanceÚlistÚdictÚgetr   Ústripr   r6   )r-   r   r   r   r   r   r   r   r
   r=   Úkindr   r   ÚpaletteÚcaptionÚ
style_descs   &&&&&&&&&       r.   ÚexecuteÚBuildJsonPromptIdeogram.execute(   s  € ô )¨´$×7Ò7‘7¸RˆÜ-7¸¼t×-DÒ-Dˆu�y‰y˜ &Ô)È&ˆÜ*4°U¼D×*AÒ*A�—	‘	˜' 2Ô&ÀrˆÜ2<¸UÄD×2IÒ2I�E—I‘I˜k¨2Ô.Èrˆ	Ü# M×$7Ð$7°RÓ8ˆàˆØ!×'Ñ'×)Ò)Ø0FÐ,Ñ-Ø�6Œ>Ø ,¨j¸*ÀhÐOˆJØ�wŒØ&+˜7Ñ#Ø'-˜8Ò$à'-˜8Ñ$Ø*3˜;Ñ'ßØ.5˜?Ñ+Ø+5Ð'Ñ(à˜*Ø˜ð3
ˆÐ.Ñ/ô �}Š}˜WÓ%Ð%r1   © )r   r   r   r   r   N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Úclassmethodr/   rH   Ú__static_attributes__Ú__classdictcell__©r8   s   @r.   r   r      s0   ø‡ € Øñ
ó ð
ð> ÷&ñ &ó ö&r1   r   c                   ó<   a € ] tR t^Ft o ]V 3R lR l4       tRtV tR# )ÚJsonPromptExtensionc                óT   <€ V ^8„  d   QhRS[ S[S[P                  ,          ,          /# r3   )r@   Útyper   Ú	ComfyNode)r7   r8   s   "€r.   r9   Ú JsonPromptExtension.__annotate__H   s"   ø€ ÷ )ñ )¡T©$©r¯|©|Õ*<Õ%=ñ )r1   c              ƒ  ó   "  € \         .# 5i©N)r   )Úselfs   &r.   Úget_node_listÚ!JsonPromptExtension.get_node_listG   s   é € ä'Ð(Ð(ùs   ‚
rJ   N)rK   rL   rM   rN   r   r\   rP   rQ   rR   s   @r.   rT   rT   F   s   ø‡ € Ø÷)ó ö)r1   rT   c                ó$   € V ^8„  d   QhR\         /# r3   ©rT   )r7   s   "r.   r9   r9   L   s   € ÷ !ñ !Ô 3ñ !r1   c               ƒ   ó   "  € \        4       # 5irZ   r_   rJ   r1   r.   Úcomfy_entrypointra   L   s   é € ÜÓ Ð ùs   ‚N)Útyping_extensionsr   Úcomfy_api.latestr   r   Úcomfy_extras.color_utilr   rW   r   rT   ra   rJ   r1   r.   Ú<module>re      s0   ðÝ &ç /Ý 5ô<&˜bŸl™lô <&ô~)˜.ô )÷!r1   