
    +js
                         S SK JrJr   " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      rg)    )	BaseModelFieldc                   P    \ rS rSr% \" SSS9r\\S'   \" SSSSS	9r\	S-  \S
'   Sr
g)RevePostprocessingOperation   .z;The postprocessing operation: upscale or remove_background.descriptionprocessNz?Upscale factor (2, 3, or 4). Only used when process is upscale.   r	   geleupscale_factor )__name__
__module____qualname____firstlineno__r   r
   str__annotations__r   int__static_attributes__r       9/home/wildlama/comfy/ComfyUI/comfy_api_nodes/apis/reve.pyr   r      s5    *ghGSh!&U	"NC$J r   r   c                       \ rS rSr% \" S5      r\\S'   \" S5      r\S-  \S'   \" S5      r	\\S'   \" SSSS	S
9r
\\S'   \" SSS9r\\   S-  \S'   Srg)ReveImageCreateRequest   .promptNaspect_ratioversion\If included, the model will spend more effort making better images. Values between 1 and 15.      r   test_time_scaling=Optional postprocessing operations to apply after generation.r   postprocessingr   )r   r   r   r   r   r   r   r   r   r    r$   r   r&   listr   r   r   r   r   r   r      su    *FC$SzL#*):GS"r	s  @EY@ND45< r   r   c                       \ rS rSr% \" S5      r\\S'   \" SSS9r\\S'   \" S5      r	\S-  \S'   \" S5      r
\\S	'   \" SS
SSS9r\S-  \S'   \" SSS9r\\   S-  \S'   Srg)ReveImageEditRequest   .edit_instructionz8A base64 encoded image to use as reference for the edit.r   reference_imageNr   r    r!   r"   r#   r   r$   r%   r&   r   )r   r   r   r   r   r+   r   r   r,   r   r    r$   r   r&   r'   r   r   r   r   r   r)   r)      s    !#Jc& 2lmOSm$SzL#*):GS$)r	%sTz  @EY@ND45< r   r)   c                       \ rS rSr% \" S5      r\\S'   \" SSS9r\	\   \S'   \" S5      r
\S-  \S'   \" S5      r\\S	'   \" SS
SSS9r\S-  \S'   \" SSS9r\	\   S-  \S'   Srg)ReveImageRemixRequest-   .r   z.A list of 1-6 base64 encoded reference images.r   reference_imagesNr   r    r!   r"   r#   r   r$   r%   r&   r   )r   r   r   r   r   r   r   r   r0   r'   r   r    r$   r   r&   r   r   r   r   r   r.   r.   -   s    *FC"'9i"jd3ij$SzL#*):GS$)r	%sTz  @EY@ND45< r   r.   c                       \ rS rSr% \" SSS9r\S-  \S'   \" SSS9r\S-  \S'   \" SSS9r	\
S-  \S	'   \" SS
S9r\S-  \S'   \" SSS9r\S-  \S'   Srg)ReveImageResponse=   NzThe base64 encoded image data.r   imagezA unique id for the request.
request_idz,The number of credits used for this request.credits_usedz The specific model version used.r    zBIndicates whether the generated image violates the content policy.content_violationr   )r   r   r   r   r   r4   r   r   r5   r6   floatr    r7   boolr   r   r   r   r2   r2   =   sv    d0PQE3:Q"45STJd
T!&t9g!hL%$,h2TUGS4ZU%*^&td{ r   r2   N)pydanticr   r   r   r   r)   r.   r2   r   r   r   <module>r;      sD    %) Y 9  I  	 r   