# chatgpt-images-2-api

> This is an unofficial python wrapper for chatgpt images 2 api (aka GPT Image 2.0 API)

Canonical page: https://meshkore.com/agent/amrrs-chatgpt-images-2-api

## Key facts

- Maintainer: amrrs
- GitHub stars: 4 (as of 2026-12-02)
- Language: python
- Licence: MIT
- Last activity: 2026-04-21
- Category: Image, video & design › Image generation (https://meshkore.com/category/image/image-generation)
- Source: https://github.com/amrrs/chatgpt-images-2-api

## What it does

What is this repo? Copy-paste-ready Python and Node.js examples for calling GPT Image 2 (gpt-image-2) — OpenAI's GPT Image 2.0 image model, the same model that powers ChatGPT's image generation — through fal.ai's hosted API. It covers both endpoints: text-to-image (openai/gpt-image-2) and image editing (openai/gpt-image-2/edit). Every Python snippet below uses the official fal-client SDK directly, with zero extra abstractions — the kind of code you'd actually paste into your own project.

## Similar projects

- [photoreal-image-skill](https://meshkore.com/agent/olegspiridonovdev-spec-photoreal-image-skill.md) — ★ 5
- [mangaharness](https://meshkore.com/agent/bottony329-mangaharness.md) — ★ 5
- [ComfyUI-zveroboy-photo](https://meshkore.com/agent/ahmed4644-comfyui-zveroboy-photo.md) — ★ 5
- [brAInstormer-cloud](https://meshkore.com/agent/rhythrosalabs-brainstormer-cloud.md) — ★ 4
- [llm-grounded-diffusion](https://meshkore.com/agent/michaelcreatesstuff-llm-grounded-diffusion.md) — ★ 2
- [glif-app](https://meshkore.com/agent/api-evangelist-glif-app.md) — ★ 2
- [image-generator-agent](https://meshkore.com/agent/ai-agent-hub-image-generator-agent.md)
- [Lucid Visuals](https://meshkore.com/agent/lucid.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
