basketikun/chatgpt2api

ChatGPT官网接口纯协议的逆向实现,支持GPT-Image-2模型、文本模型,兼容OpenAI接口协议,在线批量生图/编辑图,号池管理,支持可编辑PPT/PSD文件逆向,支持导入CPA、sub2api号池 、支持接入Cherry Studio、New Api 等软件

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 23 minutes ago
Added to GitGenius on September 10th, 2026
Created on April 19th, 2026
Open Issues & Pull Requests: 26 (+0)
GitHub issues: Enabled
Number of forks: 1,635
Total Stargazers: 6,274 (+0)
Total Subscribers: 19 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.6 hours
Mean response time: 3.8 days
90th percentile: 15.0 days
Tracked items: 239

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 21% of issues opened in the past year have been closed. Three people close 89% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 15
New in 7 days: 4
Closed in 7 days: 2
Avg open age: 34 days
Stale 30+ days: 9
Stale 90+ days: 0

Recent activity

Opened in 7 days: 4
Closed in 7 days: 2
Comments in 7 days: 6
Events in 7 days: 6

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

ChatGPT2API is a reverse-engineered implementation of the ChatGPT website interface that provides API access compatible with OpenAI's protocol.

The tool works by implementing the underlying protocol of ChatGPT's official interface without relying on official API credentials. It supports both text generation through language models and image generation and editing using GPT-Image-2. The implementation enables batch image generation and editing operations, account pool management for handling multiple credentials, and reverse engineering of editable file formats including PowerPoint and PSD files. The tool can import account pools from other services and integrates with third-party applications.

Developers considering adoption should understand that this is a reverse-engineered solution that mimics ChatGPT's interface rather than using official APIs. It suits projects requiring image generation and editing capabilities alongside text generation, particularly those needing batch processing or account pooling features. The tool's compatibility with OpenAI's protocol means it can work as a drop-in replacement in environments expecting that interface, and it supports integration with existing software platforms.

The project shows active development with regular updates addressing functionality and compatibility. The codebase demonstrates ongoing refinement of the reverse-engineered protocol implementation. The tool maintains support for multiple integration points and continues to expand its handling of different file formats and account management systems.