npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aivue/ai-360-generator

v1.0.1

Published

AI-powered 360° product view generator from single images using OpenAI DALL-E and Stability AI

Readme

@aivue/ai-360-generator

AI 360 Generator

🤖 AI-Powered 360° Product View Generator for Vue.js

Transform a single product image into a complete 360° rotation view using AI. Powered by OpenAI DALL-E 3 and Stability AI.

npm version npm downloads MIT License Netlify Status


✨ Features

🎯 Core Capabilities

  • 🤖 AI-Powered Generation - Uses OpenAI DALL-E 3 or Stability AI to generate 360° views
  • 📸 Single Image Input - Upload one product photo, get 36 frames
  • 🔄 Complete 360° Rotation - Generates views from all angles
  • 🎨 Customizable Output - Control frame count, quality, background color
  • 📊 Real-time Progress - Live updates during generation
  • 💾 Export Options - Download individual frames or complete sequence
  • 🎬 360° Viewer Integration - Works seamlessly with @aivue/360-spin

🚀 AI Providers

  • OpenAI DALL-E 3 - High-quality, photorealistic generation
  • Stability AI - Advanced 3D novel view synthesis
  • Multi-provider Support - Switch between providers easily

🛠️ Developer Experience

  • TypeScript Support - Full type definitions included
  • 📦 Vue 2 & 3 Compatible - Works with both Vue versions
  • 🎨 Customizable UI - Styled components with CSS variables
  • 🔌 Composable API - Use the Vue composable or standalone class
  • 📱 Responsive Design - Mobile-friendly interface

📦 Installation

npm install @aivue/ai-360-generator @aivue/core

🚀 Quick Start

Basic Usage

<template>
  <AI360Generator
    :api-key="openaiApiKey"
    provider="openai"
    :frame-count="36"
    @complete="handleComplete"
  />
</template>

<script setup>
import { AI360Generator } from '@aivue/ai-360-generator';
import '@aivue/ai-360-generator/ai-360-generator.css';

const openaiApiKey = 'your-openai-api-key';

function handleComplete(frames) {
  console.log('Generated frames:', frames);
  // Use frames with @aivue/360-spin or download
}
</script>

With 360° Viewer Integration

<template>
  <div>
    <!-- Step 1: Generate 360° frames -->
    <AI360Generator
      v-if="!generated360Frames"
      :api-key="apiKey"
      provider="openai"
      @complete="handle360Generated"
    />

    <!-- Step 2: Display in 360° viewer -->
    <Ai360Spin
      v-else
      :static-image="generated360Frames[0].url"
      :animated-image="generated360Frames.map(f => f.url)"
      mode="frames"
      enable-drag-spin
    />
  </div>
</template>

<script setup>
import { ref } from 'vue';
import { AI360Generator } from '@aivue/ai-360-generator';
import { Ai360Spin } from '@aivue/360-spin';
import '@aivue/ai-360-generator/ai-360-generator.css';
import '@aivue/360-spin/360-spin.css';

const apiKey = import.meta.env.VITE_OPENAI_API_KEY;
const generated360Frames = ref(null);

function handle360Generated(frames) {
  generated360Frames.value = frames;
}
</script>

📖 API Reference

Component Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | apiKey | string | required | OpenAI or Stability AI API key | | provider | 'openai' \| 'stability-ai' | 'openai' | AI provider to use | | frameCount | number | 36 | Number of frames to generate | | quality | number | 90 | Image quality (0-100) | | backgroundColor | string | 'white' | Background color for generated images | | title | string | 'AI 360° Generator' | Component title | | description | string | Auto | Component description |

Events

| Event | Payload | Description | |-------|---------|-------------| | complete | GeneratedFrame[] | Emitted when generation completes successfully | | error | string | Emitted when generation fails |


🎨 Using the Composable

For more control, use the useAI360Generator composable:

<script setup>
import { ref } from 'vue';
import { useAI360Generator } from '@aivue/ai-360-generator';

const config = {
  provider: 'openai',
  apiKey: 'your-api-key',
  frameCount: 36,
  quality: 90
};

const {
  status,
  progress,
  frames,
  isGenerating,
  isComplete,
  generate,
  cancel,
  downloadFrames
} = useAI360Generator(config);

async function handleFileUpload(file) {
  await generate(file);
}
</script>

🔧 Advanced Configuration

OpenAI DALL-E Options

const config = {
  provider: 'openai',
  apiKey: 'your-key',
  frameCount: 36,
  openai: {
    model: 'dall-e-3',
    size: '1024x1024',
    style: 'natural' // or 'vivid'
  }
};

Stability AI Options

const config = {
  provider: 'stability-ai',
  apiKey: 'your-key',
  frameCount: 36,
  stabilityAI: {
    model: 'stable-video-3d',
    steps: 50,
    cfgScale: 7.5
  }
};

💡 Use Cases

E-commerce Product Photography

Generate 360° views for product listings without expensive photography equipment.

Virtual Showrooms

Create interactive product displays from catalog images.

AR/VR Applications

Generate multi-angle views for augmented reality experiences.

Marketing Materials

Create dynamic product presentations from single photos.


🔐 API Keys

OpenAI API Key

  1. Sign up at platform.openai.com
  2. Navigate to API Keys section
  3. Create a new API key
  4. Add billing information (DALL-E 3 is paid)

Stability AI API Key

  1. Sign up at stability.ai
  2. Get API key from dashboard
  3. Choose appropriate pricing plan

📊 Performance

  • Generation Time: ~2-5 minutes for 36 frames (OpenAI DALL-E 3)
  • Cost: ~$1.44 for 36 frames with DALL-E 3 ($0.04/image)
  • Quality: HD 1024x1024 images
  • Frame Count: Customizable (12, 24, 36, or more)

🤝 Integration with @aivue Ecosystem

Works seamlessly with:

  • @aivue/360-spin - Display generated 360° views
  • @aivue/core - Shared AI client utilities
  • @aivue/image-caption - Add AI captions to products

📝 License

MIT © reachbrt


🔗 Links