Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

© 2026 Chiranjeev (@chiranr19) — All Rights Reserved. This project is source-available for viewing only; it is not open source. No copying, reuse, modification, deployment, or redistribution of any part of it (or its underlying ideas) without prior written permission — see LICENSE and SIGNATURE. Prospective employers and collaborators are welcome to read the code. · authorship sigil 6LRS·FP75·YVIF·7BOO

ost

AI music video creator for Instagram Stories - iOS app

OST

iOS app that generates AI music and creates music videos for Instagram Stories.

Features

  • Generate music from text descriptions
  • Add photos to create music videos
  • Export vertical videos (9:16) for Instagram Stories
  • Multiple music genres

Tech Stack

  • SwiftUI
  • AVFoundation for video/audio
  • Supabase backend
  • MiniMax AI for music generation

Architecture

SwiftUI + MVVM. Each tab is a feature module; view-models talk to a thin Core service layer, which fans out to MiniMax (music generation) and Supabase (auth, storage, library). AVFoundation composes the generated track and the user's photos into a 9:16 video for export.

flowchart TB
    subgraph UI["SwiftUI · RootTabView"]
        Create["Create"]
        Studio["Studio"]
        Library["Library"]
        Settings["Settings"]
    end
    subgraph VM["View-models"]
        CVM["CreateViewModel"]
    end
    subgraph Core["Core services"]
        Session["AppSession"]
        MusicAPI["MusicAPIService"]
        Store["LibraryStore"]
        AVF["AVFoundation<br/>audio + photo compositing"]
    end
    subgraph Ext["External"]
        MiniMax["MiniMax AI<br/>text → music"]
        Supabase["Supabase<br/>auth · storage · DB"]
    end

    Create --> CVM --> MusicAPI --> MiniMax
    MiniMax -->|generated track| CVM
    CVM -->|track + photos| AVF -->|9:16 MP4| Studio
    Studio -->|save| Store
    Library --> Store
    Store <--> Supabase
    Session --> Supabase
Loading

Setup

  1. Clone the repo
git clone https://github.com/chiranr19/ost.git
  1. Open OST.xcodeproj in Xcode

  2. Add your API keys to Secrets.swift:

enum Secrets {
    static let supabaseURL = "your-url"
    static let supabaseAnonKey = "your-key"
}
  1. Build and run (Cmd+R)

Requirements

  • iOS 16.0+
  • Xcode 15.0+
  • macOS 13.0+

Status

🚧 In active development

Contact

Chiran - chiranr19

About

AI music video creator for Instagram Stories - iOS app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages