{
event.stopPropagation();
if (event.target instanceof HTMLInputElement) return;
if (document.activeElement instanceof HTMLInputElement && event.currentTarget.contains(document.activeElement)) document.activeElement.blur();
}}
>
{showTitle ?
图像设置
: null}
{showQuality && profile.quality.supported && !imageResolutionUsesQuality(profile) ?
{isGrokResolutionQuality(profile) ? "分辨率" : "质量"}
{activeQualityOptions.map((item) => (
onConfigChange("quality", item.value)}>
{item.label}
))}
: null}
{showTransparent && profile.transparentBackground.supported ?
透明背景
请求模型输出保留 Alpha 通道的 PNG
event.stopPropagation()}>
onConfigChange("transparentBackground", checked ? "true" : "false")}
/>
: null}
{showSize ?
onConfigChange("size", size)} /> : null}
{showCount && effectiveMaxCount > 1 ? (
生成张数
{Array.from({ length: Math.min(quickCount, effectiveMaxCount) }, (_, index) => index + 1).map((value) => (
onConfigChange("count", String(value))}>
{value}
))}
onConfigChange("count", String(value || 1))} />
) : null}