How chatanywhere/gpt_api_free works
This repository is a collection of Python examples for using ChatAnywhere’s hosted, OpenAI-compatible API; it does not contain the proxy service itself. The examples cover text and multimodal chat, response APIs, image generation/editing, and audio transcription/speech. Source excerpts were unavailable, so the diagram does not assert call relationships between individual demos and the remote service; dashed links indicate that their runtime use is inferred from their purpose and the README’s API description.
Main entry points: openai_chat_completion_demo.py Chat completion · openai_chat_completion_picture_demo.py Picture chat · openai_chat_completion_audio_demo.py Audio chat · openai_response_demo.py Responses API
Components 10
Chat examples
- Chat completion
demo/openai_chat_completion_demo.py - Picture chat
demo/openai_chat_completion_picture_demo.py - Audio chat
demo/openai_chat_completion_audio_demo.py - Responses API
demo/openai_response_demo.py
Image examples
- Image generation
demo/gpt_image_1_gen_demo.py - Image editing
demo/gpt_image_1_edit_demo.py
Audio examples
- Transcription
demo/transcriptions_demo.py - Audio speech
demo/audio_speech_demo.py
Other components
- API user
- ChatAnywhere API
Connections 16
- API user → Chat completion: runs example
- API user → Picture chat: runs example
- API user → Audio chat: runs example
- API user → Responses API: runs example
- API user → Image generation: runs example
- API user → Image editing: runs example
- API user → Transcription: runs example
- API user → Audio speech: runs example
- Chat completion → ChatAnywhere API: calls API
- Picture chat → ChatAnywhere API: calls API
- Audio chat → ChatAnywhere API: calls API
- Responses API → ChatAnywhere API: calls API
- Image generation → ChatAnywhere API: calls API
- Image editing → ChatAnywhere API: calls API
- Transcription → ChatAnywhere API: calls API
- Audio speech → ChatAnywhere API: calls API