Welcome to OpenAI Key Generator, a tool designed for testing the validity of OpenAI API keys with a variety of models. This script leverages advanced Python features and libraries to provide an interactive and detailed experience for analyzing API keys.
- 🛠 Key Generation: Generates OpenAI API keys for testing purposes.
- ✅ Key Validation: Verifies the validity of keys against selected OpenAI models.
- 📊 Error Analysis: Tracks and categorizes errors encountered during the validation process.
- 🔄 Dynamic Rate Calculation: Displays real-time key validation speed.
- 🖥 Interactive Model Selection: Choose from a range of OpenAI models using an intuitive interface.
- 💾 Clean Logging: Logs events to a file (automatically cleaned up after execution).
To get started, clone the repository and install the required dependencies:
git clone https://github.com/yaroslav-droid/openai-generator.git
cd openai-generator
pip install -r requirements.txt
-
Run the script:
python main.py
-
Choose a model: Select from a list of available OpenAI models using an interactive prompt.
-
Set the number of keys: Specify how many valid keys you want to generate.
-
View results: Monitor the progress and view valid keys (if found).
Model Name | Description |
---|---|
GPT-4o | High-intelligence flagship model for complex tasks |
o1-preview | Models trained with reinforcement learning for complex reasoning. |
GPT-4 Turbo | Optimized model for faster processing |
GPT-3.5 Turbo | Cost-effective model for simple tasks |
DALL·E | Image generation and editing |
TTS | Text-to-Speech conversion |
Whisper | Audio-to-Text transcription |
Embeddings | Numerical representation of text |
Moderation | Content moderation |
- Key Generation: The script generates real OpenAI API keys.
- Key Validation: Each key is tested against the selected model using OpenAI's API.
- Error Handling: Errors are captured, categorized, and analyzed for better insights.
- Logging: Key validation events are logged, and progress is displayed in real-time.
- 🌟 GUI Integration: Add a graphical user interface for enhanced usability.
- 📈 Performance Metrics: Include more detailed statistics and visual charts.
- 🔒 Real API Integration: Extend support for real OpenAI API keys.
- 🌍 Localization: Support multiple languages for global accessibility.
This project is licensed under the MIT License. See the LICENSE file for details.
Disclaimer: This tool is for educational purposes only. Generating or testing fake keys against real services without authorization may violate their terms of use.