RunveyKit v1.0.0
New Features
- Initial release of RunveyKit, an unofficial Swift SDK for the RunwayML REST API.
- Implemented video generation functionality using text prompts and input images.
- Added support for customizable generation parameters:
- Duration (short: 5 seconds, long: 10 seconds)
- Aspect ratio (widescreen: 16:9, portrait: 9:16)
- Watermark toggle
- Optional seed for reproducible results
- Added functionality to retrieve task details and process them into human-readable descriptions.
- Implemented the ability to cancel or delete a task.
API
- Introduced
RunveyKit
struct as the main entry point for the SDK. - Added
generateVideo
methods for both image data and image URL inputs. - Implemented
generateTask
method for manual control over task creation. - Added
getTaskDetails
method to retrieve information about a specific task. - Implemented
cancelOrDeleteTask
method to stop or remove a task. - Created custom error type
RunwayMLError
for comprehensive error handling.
Example App
Created a SwiftUI-based example app (Runvey) demonstrating the usage of RunveyKit:
- Image selection using PhotosPicker
- Video generation with custom prompt
- Display of generated video using AVPlayer
- Error handling and loading state management
Supported Platforms
- iOS 16.0+
- macOS 14.0+
- tvOS 16.0+
- watchOS 9.0+
- visionOS 1.0+