s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Images · Components

PhotoCutoutSetup

No summary has been written for PhotoCutoutSetup. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { PhotoCutoutSetup } from '@happyvertical/smrt-images/svelte';
Import path
@happyvertical/smrt-images/svelte
Props
5
Props described
0 of 5
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
endpointstringNoNot described
segmentationAssetsstringNoNot described
speechPreview(text: string, options: { onLevel: (level: number) => void; onStart?: () => void; signal: AbortSignal; }) => Promise<void>NoNot described
saveSetup(setup: Pick<PersistedSetup, 'pngDataUrl' | 'rig'>) => Promise<{ savedAt: string; }>NoNot described
loadSetup() => Promise<PersistedSetup | null>NoNot described

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation