Skip to content

yaroslav-droid/openai-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

OpenAI Key Generator

Banner

Overview

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.

Features

  • 🛠 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).

Table of Contents

  1. Installation
  2. Usage
  3. Models Supported
  4. Screenshots
  5. How It Works
  6. Future Improvements
  7. License

Installation

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

Usage

  1. Run the script:

    python main.py
  2. Choose a model: Select from a list of available OpenAI models using an interactive prompt.

  3. Set the number of keys: Specify how many valid keys you want to generate.

  4. View results: Monitor the progress and view valid keys (if found).


Models Supported

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

Screenshots

Interactive Model Selection

Interactive Prompt

Key Validation Progress

Validation Progress


How It Works

  1. Key Generation: The script generates real OpenAI API keys.
  2. Key Validation: Each key is tested against the selected model using OpenAI's API.
  3. Error Handling: Errors are captured, categorized, and analyzed for better insights.
  4. Logging: Key validation events are logged, and progress is displayed in real-time.

Future Improvements

  • 🌟 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.

License

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages