§
    ‚+jt  ã                   óŽ  — d dl mZ d dlmZmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d	„ d
e¦  «        Z G d„ de¦  «        Z	 G d„ de¦  «        Z
 G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        ZdS )é    )Ú	TypedDict)Ú	BaseModelÚFieldc                   ó.   — e Zd ZU eed<   eed<   eed<   dS )ÚInputModerationSettingsÚprompt_content_moderationÚvisual_input_moderationÚvisual_output_moderationN)Ú__name__Ú
__module__Ú__qualname__ÚboolÚ__annotations__© ó    ú9/home/wildlama/comfy/ComfyUI/comfy_api_nodes/apis/bria.pyr   r      s6   € € € € € € Ø#Ð#Ð#Ñ#Ø!Ð!Ð!Ñ!Ø"Ð"Ð"Ñ"Ð"Ð"r   r   c                   óð  — e Zd ZU  ed¦  «        Zedz  ed<    edd¬¦  «        Zedz  ed<    edd¬¦  «        Ze	e         ed<    edd	¬¦  «        Z
edz  ed
<    ed¦  «        Zedz  ed<    ed¦  «        Zeed<    ed¦  «        Zeed<    ed¦  «        Zeed<    ed¦  «        Zeed<    edd¬¦  «        Zeed<    edd¬¦  «        Zeed<    edd¬¦  «        Zeed<    edd¬¦  «        Zeed<   dS )ÚBriaEditImageRequest.NÚinstructionzBUse this instead of instruction for precise, programmatic control.©ÚdescriptionÚstructured_instructionzRRequired. Publicly available URL or Base64-encoded. Must contain exactly one item.ÚimageszÇMask image (black and white). Black areas will be preserved, white areas will be edited. If omitted, the edit applies to the entire image. The input image and the input mask must be of the same size.ÚmaskÚnegative_promptÚguidance_scaleÚmodel_versionÚ	steps_numÚseedFzGIf true, returns a warning for potential IP content in the instruction.Ú	ip_signalz7If true, returns 422 on instruction moderation failure.r   z:If true, returns 422 on images or mask moderation failure.Úvisual_input_content_moderationú9If true, returns 422 on visual output moderation failure.Ú visual_output_content_moderation)r   r   r   r   r   Ústrr   r   r   Úlistr   r   r   Úfloatr   r   Úintr   r    r   r   r!   r#   r   r   r   r   r      s  € € € € € € Ø#˜e C™jœj€Kt‘Ð(Ð(Ñ(Ø).¨ØØXð*ñ *ô *Ð˜C $™Jð ð ñ ð ˜ØØhðñ ô €FˆDŒIð ð ñ ð uØðGðñ ô €Dˆ#‰*ð ð ñ ð #( %¨¡+¤+€OS˜4‘ZÐ-Ð-Ñ-Ø!˜E #™JœJ€NEÐ&Ð&Ñ&Ø˜˜s™œ€M3Ð#Ð#Ñ#ØU˜3‘Z”Z€IˆsÐÐÑØc‘
”
€Dˆ#ÐÐÑØeØØ]ðñ ô €Iˆtð ð ñ ð ', eØÐTð'ñ 'ô 'Ð˜tð ð ñ ð -2¨EØÐWð-ñ -ô -Ð# Tð ð ñ ð .3¨UØÐVð.ñ .ô .Ð$ dð ð ñ ð ð r   r   c                   ó¸   — e Zd ZU  ed¦  «        Zeed<    ed¦  «        Zeed<    edd¬¦  «        Z	eed<    edd¬¦  «        Z
eed	<    ed¦  «        Zeed
<   dS )ÚBriaRemoveBackgroundRequest.ÚimageFÚsyncz7If true, returns 422 on input image moderation failure.r   r!   r"   r#   r   N)r   r   r   r   r*   r$   r   r+   r   r!   r#   r   r'   r   r   r   r)   r)   0   sº   € € € € € € Øs‘”€Eˆ3ÐÐÑØu‘”€Dˆ$ÐÐÑØ,1¨EØÐTð-ñ -ô -Ð# Tð ð ñ ð .3¨UØÐVð.ñ .ô .Ð$ dð ð ñ ð c‘
”
€Dˆ#ÐÐÑÐÐr   r)   c                   óv   — e Zd ZU  ed¦  «        Zeed<    ed¦  «        Zeed<    ed¦  «        Zedz  ed<   dS )ÚBriaStatusResponse.Ú
request_idÚ
status_urlNÚwarning)	r   r   r   r   r.   r$   r   r/   r0   r   r   r   r-   r-   <   s^   € € € € € € Øe˜C‘j”j€JÐ Ð Ñ Øe˜C‘j”j€JÐ Ð Ñ Ø˜% ™+œ+€GˆS4‰ZÐ%Ð%Ñ%Ð%Ð%r   r-   c                   ó0   — e Zd ZU  ed¦  «        Zeed<   dS )ÚBriaRemoveBackgroundResult.Ú	image_urlN)r   r   r   r   r3   r$   r   r   r   r   r2   r2   B   ó*   € € € € € € ØU˜3‘Z”Z€IˆsÐÐÑÐÐr   r2   c                   óV   — e Zd ZU  ed¦  «        Zeed<    ed¦  «        Zedz  ed<   dS )ÚBriaRemoveBackgroundResponse.ÚstatusNÚresult)	r   r   r   r   r7   r$   r   r8   r2   r   r   r   r6   r6   F   sH   € € € € € € Ø%˜‘*”*€FˆCÐÐÑØ05°°d±´€FÐ&¨Ñ-Ð;Ð;Ñ;Ð;Ð;r   r6   c                   óP   — e Zd ZU  ed¦  «        Zeed<    ed¦  «        Zeed<   dS )ÚBriaImageEditResult.Ústructured_promptr3   N)r   r   r   r   r;   r$   r   r3   r   r   r   r:   r:   K   sC   € € € € € € Ø"˜U 3™ZœZÐsÐ'Ð'Ñ'ØU˜3‘Z”Z€IˆsÐÐÑÐÐr   r:   c                   óV   — e Zd ZU  ed¦  «        Zeed<    ed¦  «        Zedz  ed<   dS )ÚBriaImageEditResponse.r7   Nr8   )	r   r   r   r   r7   r$   r   r8   r:   r   r   r   r=   r=   P   sH   € € € € € € Ø%˜‘*”*€FˆCÐÐÑØ).¨¨t©¬€FÐ $Ñ&Ð4Ð4Ñ4Ð4Ð4r   r=   c                   ó´   — e Zd ZU  ed¦  «        Zeed<    edd¬¦  «        Zeed<    ed¦  «        Zeed<    ed¦  «        Z	e
ed	<    ed¦  «        Zeed
<   dS )Ú BriaRemoveVideoBackgroundRequest.ÚvideoÚtransparentz&Background color for the output video.©Údefaultr   Úbackground_colorÚoutput_container_and_codecTÚpreserve_audior   N)r   r   r   r   r@   r$   r   rD   rE   rF   r   r   r'   r   r   r   r?   r?   U   s”   € € € € € € Øs‘”€Eˆ3ÐÐÑØ!˜E¨-ÐEmÐnÑnÔnÐcÐnÐnÑnØ&+ e¨C¡j¤jÐ Ð0Ð0Ñ0Ø ˜5 ™;œ;€NDÐ&Ð&Ñ&Øc‘
”
€Dˆ#ÐÐÑÐÐr   r?   c                   ó0   — e Zd ZU  ed¦  «        Zeed<   dS )ÚBriaRemoveVideoBackgroundResult.Ú	video_urlN)r   r   r   r   rI   r$   r   r   r   r   rH   rH   ]   r4   r   rH   c                   óV   — e Zd ZU  ed¦  «        Zeed<    ed¦  «        Zedz  ed<   dS )Ú!BriaRemoveVideoBackgroundResponse.r7   Nr8   )	r   r   r   r   r7   r$   r   r8   rH   r   r   r   rK   rK   a   sH   € € € € € € Ø%˜‘*”*€FˆCÐÐÑØ5:°U¸4±[´[€FÐ+¨dÑ2Ð@Ð@Ñ@Ð@Ð@r   rK   c                   ó¸   — e Zd ZU  edd¬¦  «        Zeed<    edd¬¦  «        Zeed<    ed¦  «        Zeed	<    ed
¦  «        Z	e
ed<    ed¦  «        Zeed<   dS )ÚBriaVideoGreenScreenRequest.z+Publicly accessible URL of the input video.r   r@   Úbroadcast_greenzeSolid chroma-key shade applied behind the foreground (broadcast_green, chroma_green, or blue_screen).rB   Úgreen_shaderE   TrF   r   N)r   r   r   r   r@   r$   r   rO   rE   rF   r   r   r'   r   r   r   rM   rM   f   s¬   € € € € € € ØsÐ(UÐVÑVÔV€Eˆ3ÐVÐVÑVØuØ!ð;ðñ ô €Kð ð ñ ð
 ', e¨C¡j¤jÐ Ð0Ð0Ñ0Ø ˜5 ™;œ;€NDÐ&Ð&Ñ&Øc‘
”
€Dˆ#ÐÐÑÐÐr   rM   c                   ó¸   — e Zd ZU  edd¬¦  «        Zeed<    edd¬¦  «        Zeed<    ed¦  «        Zeed<    ed¦  «        Z	e
ed	<    ed¦  «        Zeed
<   dS )Ú!BriaVideoReplaceBackgroundRequest.z8Publicly accessible URL of the input (foreground) video.r   r@   z¯Publicly accessible URL of the background image or video to composite behind the foreground. Stretched to the foreground frame; match its aspect ratio for undistorted results.Úbackground_urlrE   TrF   r   N)r   r   r   r   r@   r$   r   rR   rE   rF   r   r   r'   r   r   r   rQ   rQ   r   s¬   € € € € € € ØsÐ(bÐcÑcÔc€Eˆ3ÐcÐcÑcØ˜%Øððñ ô €NCð ð ñ ð ', e¨C¡j¤jÐ Ð0Ð0Ñ0Ø ˜5 ™;œ;€NDÐ&Ð&Ñ&Øc‘
”
€Dˆ#ÐÐÑÐÐr   rQ   N)Útypingr   Úpydanticr   r   r   r   r)   r-   r2   r6   r:   r=   r?   rH   rK   rM   rQ   r   r   r   ú<module>rU      sd  ðØ Ð Ð Ð Ð Ð à %Ð %Ð %Ð %Ð %Ð %Ð %Ð %ð#ð #ð #ð #ð #˜iñ #ô #ð #ð!ð !ð !ð !ð !˜9ñ !ô !ð !ðH	ð 	ð 	ð 	ð 	 )ñ 	ô 	ð 	ð&ð &ð &ð &ð &˜ñ &ô &ð &ð ð  ð  ð  ð   ñ  ô  ð  ð<ð <ð <ð <ð < 9ñ <ô <ð <ð
 ð  ð  ð  ð  ˜)ñ  ô  ð  ð
5ð 5ð 5ð 5ð 5˜Iñ 5ô 5ð 5ð
ð ð ð ð  yñ ô ð ð ð  ð  ð  ð   iñ  ô  ð  ðAð Að Að Að A¨	ñ Aô Að Að
	ð 	ð 	ð 	ð 	 )ñ 	ô 	ð 	ð
ð 
ð 
ð 
ð 
¨	ñ 
ô 
ð 
ð 
ð 
r   