Skip to content

MusePro is the next generation of drawing tools - a professional-grade app for iOS and visionOS where your Apple Pencil strokes guide real-time AI image generation.

License

Notifications You must be signed in to change notification settings

StyleOf/MusePro

Repository files navigation

MusePro

Realtime AI guided by your hand.

Download on the App Store    Product Hunt

Own the composition and elevate your creativity. MusePro is the next generation of drawing tools - a professional-grade app for iOS and visionOS where your Apple Pencil strokes guide real-time AI image generation.

demo.mp4


A Magical Toolset

Unleash your creativity with familiar tools and groundbreaking AI.

Realtime AI Generation

Watch your vision unfold as your strokes guide the AI.

feature-enhance.mp4

Your drawings transform as you create them - not after. The AI follows your composition, respecting your artistic intent while adding stunning detail in real-time.

  • Full Apple Pencil support with pressure sensitivity
  • Sub-second inference via WebSocket streaming
  • Powered by Latent Consistency Models for instant results
  • SDXL-quality outputs with minimal latency

Intelligent Prompting

Guide the AI with prompts to bring your ideas to life.

feature-prompting.mp4

  • Text-to-Image - Quickly change directions with words
  • Randomize - Never face a blank canvas again
  • Enhance - Beautiful detail with a tap
  • Vision - Your drawing described by GPT-4 Vision

AI Control

Fine-tune the AI with intuitive sliders. You're always in control.

feature-shapes.mp4

  • Shuffle the seed to explore endless possibilities
  • Pause to put AI collaboration on hold
  • Adjust influence strength to balance your drawing vs AI interpretation

One-Tap Enhancement

Enhance details and polish your masterpiece.

feature-realtime.mp4

  • 2x Upscaling - Print-ready outputs from your sketches
  • Creative Enhancement - Sliders help bring rough concepts to life
  • Background Removal - Clean cutouts instantly

Assets & Tools

Infuse your art with shapes, images, and text.

feature-aicontrol.mp4

Import photos, add geometric shapes, and incorporate typography directly into your canvas as composition guides.

Professional Layer System

Experiment and refine effortlessly with layers.

  • Unlimited layers with 16 blend modes
  • Per-layer opacity and locking
  • Drag & drop reordering

Diverse Brush Library

A brush library for every artistic dream.

hero.mp4

17+ brush categories from dry media to vintage effects, all with full pressure and tilt sensitivity. Compatible with Procreate brushes.


Technical Excellence

This isn't a wrapper around an API. MusePro is built from the ground up with custom technology.

Custom Metal Rendering Engine

  • 120 FPS rendering - Buttery smooth on ProMotion displays
  • GPU-accelerated compositing - Zero lag layer blending
  • Hand-written Metal shaders - Custom brush rendering and blend modes
  • Texture-based brush system - Grain textures, shape dynamics, pressure curves
  • Smart memory management - Efficient texture caching and buffer handling

The Rendering Pipeline

  1. Stroke Capture - Apple Pencil events at 240Hz with position, pressure, tilt, azimuth
  2. Bezier Generation - Raw input to smooth curves preserving natural dynamics
  3. Brush Stamping - Textured quads along curves with configurable blending
  4. Layer Compositing - Per-layer textures with GPU blend modes
  5. Display - Final composite at up to 120fps

Real-Time AI Integration

  1. Canvas Snapshot - Current state captured and compressed
  2. WebSocket Stream - Persistent connection to Fal.ai inference
  3. Incremental Updates - Results stream without blocking UI
  4. Graceful Handling - Connection drops, retries, rate limiting

Architecture

MusePro/
├── Canvas/           # Metal rendering engine & canvas management
├── Brush/            # Brush system with texture support
├── BrushSets/        # Pre-built brush libraries
├── MetalBase/        # Core Metal infrastructure & shaders
├── Elements/         # Drawing primitives (lines, shapes, chartlets)
├── Enhancer/         # AI upscaling & enhancement views
├── Tools/            # UI components (color picker, layers, controls)
├── Data & Documents/ # Document system, storage, undo/redo
├── Math & Utils/     # Bezier curves, gesture recognition, utilities
└── Colors.xcassets/  # Color palette definitions

Getting Started

Prerequisites

  • Xcode 15.0+
  • iOS 16.4+ / visionOS 1.0+
  • Apple Developer account (for device deployment)

Configuration

  1. Clone the repository:

    git clone https://github.com/StyleOf/MusePro.git
    cd MusePro
  2. Set up your API keys:

    GoogleService-Info.plist - Firebase configuration

    <key>API_KEY</key>
    <string>YOUR_FIREBASE_API_KEY</string>

    RemoteConfigDefaults.plist - Fal.ai API key

    <key>falKey</key>
    <string>YOUR_FAL_AI_API_KEY</string>

    UserManager.swift - RevenueCat (for subscriptions, optional)

    Purchases.configure(withAPIKey: "YOUR_REVENUECAT_API_KEY")

    App.swift - Intercom (for support, optional)

    Intercom.setApiKey("YOUR_INTERCOM_API_KEY", forAppId: "YOUR_APP_ID")

    LiveImageModel.swift - OpenAI (for prompt enhancement)

    let openAI = OpenAI(apiToken: "YOUR_OPENAI_API_KEY")
  3. Update the bundle identifier to your own

  4. Build and run!

Dependencies

Managed via Swift Package Manager:

Dependency Purpose
Firebase Analytics, Remote Config
RevenueCat Subscription management
FalClient Real-time AI inference
OpenAI GPT-4 prompt enhancement
Intercom Customer support
Kingfisher Image caching
ZIPFoundation Document compression

Platform Support

Platform Version Status
iPhone iOS 16.4+ Full Support
iPad iPadOS 16.4+ Full Support (Optimized)
Vision Pro visionOS 1.0+ Full Support

Using MusePro?

We'd love to hear about it! While not required, please consider:

  • Starring this repo
  • Sharing your project with us on Twitter/X
  • Crediting MusePro in your app's about section

Contributing

Contributions are welcome! Feel free to:

  • Report bugs and request features via Issues
  • Submit Pull Requests for improvements
  • Share your creations made with MusePro

License

This project is licensed under the MIT License - see the LICENSE file for details.


Acknowledgments

StyleOf      Fal.ai


Made for artists and creators who want to own their composition while embracing AI collaboration.

About

MusePro is the next generation of drawing tools - a professional-grade app for iOS and visionOS where your Apple Pencil strokes guide real-time AI image generation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published