export const ASPECT_RATIOS = [
  {
    labelKey: 'paintings.aspect_ratios.square',
    options: [
      {
        label: '1:1',
        value: 'ASPECT_1_1'
      }
    ]
  },
  {
    labelKey: 'paintings.aspect_ratios.landscape',
    options: [
      {
        label: '1:2',
        value: 'ASPECT_1_2'
      },
      {
        label: '1:3',
        value: 'ASPECT_1_3'
      },
      {
        label: '2:3',
        value: 'ASPECT_2_3'
      },
      {
        label: '3:4',
        value: 'ASPECT_3_4'
      },
      {
        label: '4:5',
        value: 'ASPECT_4_5'
      },
      {
        label: '9:16',
        value: 'ASPECT_9_16'
      },
      {
        label: '10:16',
        value: 'ASPECT_10_16'
      }
    ]
  },
  {
    labelKey: 'paintings.aspect_ratios.landscape',
    options: [
      {
        label: '2:1',
        value: 'ASPECT_2_1'
      },
      {
        label: '3:1',
        value: 'ASPECT_3_1'
      },
      {
        label: '3:2',
        value: 'ASPECT_3_2'
      },
      {
        label: '4:3',
        value: 'ASPECT_4_3'
      },
      {
        label: '5:4',
        value: 'ASPECT_5_4'
      },
      {
        label: '16:9',
        value: 'ASPECT_16_9'
      },
      {
        label: '16:10',
        value: 'ASPECT_16_10'
      }
    ]
  }
]

export const STYLE_TYPES = [
  {
    labelKey: 'paintings.style_types.auto',
    value: 'AUTO'
  },
  {
    labelKey: 'paintings.style_types.general',
    value: 'GENERAL'
  },
  {
    labelKey: 'paintings.style_types.realistic',
    value: 'REALISTIC'
  },
  {
    labelKey: 'paintings.style_types.design',
    value: 'DESIGN'
  },
  {
    labelKey: 'paintings.style_types.3d',
    value: 'RENDER_3D',
    onlyV2: true // 仅V2模型支持
  },
  {
    labelKey: 'paintings.style_types.anime',
    value: 'ANIME',
    onlyV2: true // 仅V2模型支持
  }
]

// V3模型支持的样式类型
export const V3_STYLE_TYPES = STYLE_TYPES.filter((style) => !style.onlyV2)

// 新增V3渲染速度选项
export const RENDERING_SPEED_OPTIONS = [
  {
    labelKey: 'paintings.rendering_speeds.default',
    value: 'DEFAULT'
  },
  {
    labelKey: 'paintings.rendering_speeds.turbo',
    value: 'TURBO'
  },
  {
    labelKey: 'paintings.rendering_speeds.quality',
    value: 'QUALITY'
  }
]

export const QUALITY_OPTIONS = [
  { labelKey: 'paintings.quality_options.auto', value: 'auto' },
  { labelKey: 'paintings.quality_options.low', value: 'low' },
  { labelKey: 'paintings.quality_options.medium', value: 'medium' },
  { labelKey: 'paintings.quality_options.high', value: 'high' }
]

export const MODERATION_OPTIONS = [
  { labelKey: 'paintings.moderation_options.auto', value: 'auto' },
  { labelKey: 'paintings.moderation_options.low', value: 'low' }
]

export const BACKGROUND_OPTIONS = [
  { labelKey: 'paintings.background_options.auto', value: 'auto' },
  { labelKey: 'paintings.background_options.transparent', value: 'transparent' },
  { labelKey: 'paintings.background_options.opaque', value: 'opaque' }
]

export const PERSON_GENERATION_OPTIONS = [
  { labelKey: 'paintings.person_generation_options.allow_all', value: 'ALLOW_ALL' },
  { labelKey: 'paintings.person_generation_options.allow_adult', value: 'ALLOW_ADULT' },
  { labelKey: 'paintings.person_generation_options.allow_none', value: 'DONT_ALLOW' }
]
