UPDATE base_model_catalog
SET display_name = 'MiniMax-Voice-Clone',
    metadata = jsonb_set(
      COALESCE(metadata, '{}'::jsonb),
      '{alias}',
      '"MiniMax-Voice-Clone"'::jsonb,
      true
    ),
    default_snapshot = jsonb_set(
      jsonb_set(
        COALESCE(default_snapshot, '{}'::jsonb),
        '{modelAlias}',
        '"MiniMax-Voice-Clone"'::jsonb,
        true
      ),
      '{displayName}',
      '"MiniMax-Voice-Clone"'::jsonb,
      true
    ),
    updated_at = now()
WHERE canonical_model_key = 'minimax:voice-clone';

UPDATE platform_models pm
SET model_alias = 'MiniMax-Voice-Clone',
    display_name = 'MiniMax-Voice-Clone',
    updated_at = now()
FROM base_model_catalog b
WHERE pm.base_model_id = b.id
  AND b.canonical_model_key = 'minimax:voice-clone';
