ValyroUI Русская версия

Generation Progress

Steps, ETA, live latent preview, queue. Pro · Image generation › Results and editing

Step N/M, percent, ETA, a live latent preview that sharpens as it runs, queue position and cancel.

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add generation-progress
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { GenerationProgress } from 'valyro-ui-pro';

Props

PropTypeDefault
status'queued' | 'running' | 'done' | 'cancelled' | 'error''running'Job state; sets the icon, the bar (indeterminate while queued) and the line under the heading.
stepnumber0Sampling steps completed, clamped to 0–totalSteps.
totalStepsnumber30Sampling steps in the job; the bar fills as step / totalSteps.
queuePositionnumberPosition in the queue while queued (1 = next).
etanumberSeconds left. Omit to estimate from the pace of the steps.
previewSrcstringLatent preview image from the backend (e.g. TAESD). Without it a procedural preview sharpens from prompt + seed.
promptstringPrompt the procedural preview is painted from. The preview shows only when this or previewSrc is set.
seednumber0Seed of the procedural preview.
widthnumber1024Size of the generation; sets the preview aspect ratio.
heightnumber1024Height of the generation; with width sets the preview aspect ratio.
titleReactNodeHeading next to the status, e.g. the prompt or a job name.
messageReactNodeError details when status is error.
onCancel() => voidAdds a Cancel button while the job is queued or running; called when it is clicked.
onRetry() => voidAdds a Retry button to a failed or cancelled job, in its row; called when it is clicked.
variant'inline' | 'overlay''inline'inline is a row for lists and sidebars; overlay covers its positioned container with the preview.
localestringBCP 47 locale for numbers and dates; defaults to the ThemeProvider's, then the browser's.
labelsPartial<GenerationProgressLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

Previous: Reference Image Input · Next: Image Result Grid · All Image generation