Skip to content

1.0.0

Latest
Compare
Choose a tag to compare
@rudrankriyam rudrankriyam released this 09 Oct 09:43
· 38 commits to main since this release
41aec31

RunveyKit v1.0.0

New Features

  1. Initial release of RunveyKit, an unofficial Swift SDK for the RunwayML REST API.
  2. Implemented video generation functionality using text prompts and input images.
  3. 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
  4. Added functionality to retrieve task details and process them into human-readable descriptions.
  5. Implemented the ability to cancel or delete a task.

API

  1. Introduced RunveyKit struct as the main entry point for the SDK.
  2. Added generateVideo methods for both image data and image URL inputs.
  3. Implemented generateTask method for manual control over task creation.
  4. Added getTaskDetails method to retrieve information about a specific task.
  5. Implemented cancelOrDeleteTask method to stop or remove a task.
  6. 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+