You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lightweight Swift package for interacting with OpenAI's `gpt-image-1` model to generate or edit images using natural language prompts and image files.
4
+
5
+
## ✨ Features
6
+
7
+
- Supports multiple input images (`image[]`) for editing
8
+
- Uses `multipart/form-data` requests to match OpenAI API requirements
9
+
- Returns generated image data in decoded PNG format
10
+
- Compatible with SwiftUI and UIKit
11
+
- Swift Concurrency (`async/await`) support
12
+
13
+
## 🛠 Requirements
14
+
15
+
- iOS 15.0+ / macOS 12.0+
16
+
- Swift 5.7+
17
+
- Valid OpenAI API key
18
+
- Network permission enabled
19
+
20
+
## 📦 Installation
21
+
22
+
Add to your project via **Swift Package Manager**:
0 commit comments