Optionalerror?: ErrorDataOptionaleta?: DateOptionaletaSeconds?: numberEstimated time remaining in seconds (for long-running jobs like video generation). Updated by ComfyUI workers during inference.
OptionalisNSFW?: booleanOptionaljobIndex?: numberOptionalnegativePrompt?: stringOptionalpositivePrompt?: stringOptionalpreviewUrl?: stringOptionalresultUrl?: null | stringOptionalseed?: numberOptionaluserCanceled?: booleanOptionalworkerName?: stringProtecteddataOptionalerror?: ErrorDataOptionaleta?: DateEstimate completion time of the job (for long-running jobs like video generation). Updated by ComfyUI workers during inference.
OptionaletaSeconds?: numberEstimated time remaining in seconds (for long-running jobs like video generation). Updated by ComfyUI workers during inference.
OptionalisNSFW?: booleanOptionaljobIndex?: numberOptionalnegativePrompt?: stringOptionalpositivePrompt?: stringOptionalpreviewUrl?: stringOptionalresultUrl?: null | stringOptionalseed?: numberOptionaluserCanceled?: booleanOptionalworkerName?: stringProtectedlastProtectedlistenersEstimate completion time of the job. Only available for ComfyUI-based workers during inference. Is useful when data is persisted Returns undefined if no ETA has been received.
Estimated time remaining in seconds for long-running jobs (e.g., video generation). Only available for ComfyUI-based workers during inference. Returns undefined if no ETA has been received.
Whether this job has a result media file available for download. Returns true if completed and not NSFW filtered.
Whether the image is NSFW or not. Only makes sense if job is completed. If NSFW filter is disabled, this property will always be false. If NSFW filter is enabled and the image is NSFW, image will not be available for download.
Last preview image URL generated by the worker.
Progress of the job in percentage (0-100).
URL to the result image, could be null if the job was canceled or triggered NSFW filter while it was not disabled explicitly.
Seed used to generate the image. This property is only available when the job is completed.
Current step of the job.
Total number of steps that worker will perform.
Media type produced by this job's model
Name of the worker that is processing this job.
ProtectedemitDispatch an event to all listeners
Enhance the image using the Flux model. This method will create a new project with the enhancement parameters and use the result image of the current job as the starting image.
how much freedom the model has to change the image.
optional parameters to override original prompt, style or token type.
Get the result URL of the job. This method will make a request to the API to get signed URL. IMPORTANT: URL expires after 30 minutes, so make sure to download the result as soon as possible. For video jobs, this returns a video URL. For image jobs, this returns an image URL.
Remove an event listener
Add an event listener, returns a function that can be called to remove the listener
Add an event listener that will be called only once
Get a copy of the entity's data
Optionalerror?: ErrorDataOptionaleta?: DateEstimate completion time of the job (for long-running jobs like video generation). Updated by ComfyUI workers during inference.
OptionaletaSeconds?: numberEstimated time remaining in seconds (for long-running jobs like video generation). Updated by ComfyUI workers during inference.
OptionalisNSFW?: booleanOptionaljobIndex?: numberOptionalnegativePrompt?: stringOptionalpositivePrompt?: stringOptionalpreviewUrl?: stringOptionalresultUrl?: null | stringOptionalseed?: numberOptionaluserCanceled?: booleanOptionalworkerName?: stringStaticfrom
Estimate completion time of the job (for long-running jobs like video generation). Updated by ComfyUI workers during inference.