refactor(AihubmixPage): update mode options for aihubmix to include specific action values

- Changed mode option values to be more descriptive by prefixing with 'aihubmix_' for better clarity in the image generation context.
This commit is contained in:
kangfenmao 2025-09-02 04:22:56 +08:00
parent c827aeaab2
commit e417b57123

View File

@ -99,9 +99,9 @@ const AihubmixPage: FC<{ Options: string[] }> = ({ Options }) => {
const aihubmixProvider = providers.find((p) => p.id === 'aihubmix')!
const modeOptions = [
{ label: t('paintings.mode.generate'), value: 'generate' },
{ label: t('paintings.mode.remix'), value: 'remix' },
{ label: t('paintings.mode.upscale'), value: 'upscale' }
{ label: t('paintings.mode.generate'), value: 'aihubmix_image_generate' },
{ label: t('paintings.mode.remix'), value: 'aihubmix_image_remix' },
{ label: t('paintings.mode.upscale'), value: 'aihubmix_image_upscale' }
]
const getNewPainting = useCallback(() => {