{/* Generation type — fixed to video */}
{/* Model selector */}
setModel(v as ModelOption)}
minWidth={160}
trigger={
}
/>
{/* Mode selector */}
switchMode(v as CreationMode)}
minWidth={150}
trigger={
}
/>
{/* Aspect ratio */}
setAspectRatio(v as AspectRatio)}
minWidth={100}
trigger={
}
/>
{/* Duration */}
setDuration(Number(v) as Duration)}
minWidth={100}
trigger={
}
/>
{/* @ button - universal mode only */}
{!isKeyframe && (
)}
{/* Spacer — push right group to the end */}
{/* 全部清空 + 预估消耗:仅有内容时显示 */}
{isSubmittable && (
useInputBarStore.getState().reset()}
style={{ fontSize: 12, color: '#8b8ea8', whiteSpace: 'nowrap', userSelect: 'none', cursor: 'pointer', transition: 'filter 0.15s', marginRight: 20, lineHeight: 1 }}
onMouseEnter={(e) => { (e.currentTarget as HTMLElement).style.filter = 'brightness(1.4)'; }}
onMouseLeave={(e) => { (e.currentTarget as HTMLElement).style.filter = ''; }}
>
⟲ 全部清空
)}
{/* Estimated cost */}
{isSubmittable && (team?.token_price || 0) > 0 && (
预估消耗:{estimatedTokens.toLocaleString()} tokens / ¥{estimatedCost}
)}
{/* Send button */}
);
}