+ {/* Provider Selection */}
+
+
+
+ {Object.keys(PROVIDER_CONFIGS).map((provider) => (
+
+ ))}
+
+
+
+ {/* API Key Input */}
+
+
+
+ handleConfigChange("apiKey", e.target.value)}
+ className="w-full px-4 py-2.5 outline-none border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 transition-colors"
+ placeholder="Enter your API key"
+ />
+
+
+
+ Your API key will be stored locally and never shared
+
+
+
+ {/* Model Information */}
+
+
+
+
+
+ Selected Models
+
+
+ Using {currentProvider.textModels[0].label} for text
+ generation and {currentProvider.imageModels[0].label} for
+ images
+
+
+ We've pre-selected the best models for optimal presentation
+ generation
+
+
+
+
+ {/* API Guide Section */}
+
+
+
+
+ {currentProvider.apiGuide.title}
+
+
+
+
+
+ {currentProvider.apiGuide.steps.map((step, index) => (
+ -
+ {step}
+
+ ))}
+
+
+
+ {currentProvider.apiGuide.videoUrl && (
+
+
+ Watch Video Tutorial
+
+
+ )}
+
+
Official Documentation
+
+
+
+
+
+
+ {/* Save Button */}
+
+
+