// Volcengine seed-tts-2.0 voice catalogue
// Full list: https://www.volcengine.com/docs/6561/1257544
// All IDs must end in _bigtts for the seed-tts-2.0 resource.

export const VOICES = [
  // ── Chinese female ─────────────────────────────────────
  { id: 'zh_female_vv_uranus_bigtts',           label: '灵儿',     lang: '中文', gender: '女', style: '亲切' },
  { id: 'zh_female_tianmei_conversation_bigtts', label: '甜美',     lang: '中文', gender: '女', style: '温柔' },
  { id: 'zh_female_linjing_conversation_bigtts', label: '琳静',     lang: '中文', gender: '女', style: '知性' },
  { id: 'zh_female_qingxin_conversation_bigtts', label: '清新',     lang: '中文', gender: '女', style: '清新' },
  // ── Chinese male ───────────────────────────────────────
  { id: 'zh_male_m191_uranus_bigtts',            label: '豪远',     lang: '中文', gender: '男', style: '标准' },
  { id: 'zh_male_haoran_conversation_bigtts',    label: '豪然',     lang: '中文', gender: '男', style: '稳重' },
  { id: 'zh_male_m372_conversation_bigtts',      label: '温和男声', lang: '中文', gender: '男', style: '温和' },
  // ── English ────────────────────────────────────────────
  { id: 'en_female_sarah_jupiter_bigtts',        label: 'Sarah',    lang: 'EN',   gender: '女', style: 'Warm' },
  { id: 'en_male_adam_mars_bigtts',              label: 'Adam',     lang: 'EN',   gender: '男', style: 'Clear' },
];

export const DEFAULT_VOICE = 'zh_female_vv_uranus_bigtts';

export function getVoiceLabel(id) {
  const v = VOICES.find(v => v.id === id);
  return v ? `${v.label} · ${v.lang} ${v.gender}` : id;
}
