OpenAI Image Generation
JSON →Generate and edit images using OpenAI's DALL-E models via the official Python SDK.
Install
pip install -r Tools · 2
- generate_image Generates an image using OpenAI's gpt-image-1 model based on a text prompt and saves it.
- edit_image Edits an image or creates variations using OpenAI's gpt-image-1 model and saves it. Can use multiple input images as reference or perform inpainting with a mask.
Environment variables
OPENAI_API_KEY
★ 15 GitHub stars