Technical Requirements for Cloud
Complete pull/push specifications for the StellarClose ecosystem development. This document outlines all sources, transformations, destinations, and API integrations required.
System Architecture
The StellarClose ecosystem consists of three interconnected products that share authentication, user data, and billing infrastructure.
Core Infrastructure Requirements
- Unified Authentication: Single sign-on across all products
- Shared User Database: Common user profiles and preferences
- Centralized Billing: Stripe integration for subscriptions and usage
- Event Bus: Real-time communication between services
- CDN: Global content delivery for media assets
Build Phases
StellarSync: Content Sources
StellarSync must be able to pull content from the following sources:
| Source | Content Type | API/Method | Priority |
|---|---|---|---|
| WordPress | Blog posts, pages | REST API v2 | Critical |
| Squarespace | Blog posts, pages | Content API | Critical |
| Wix | Blog posts | REST API | High |
| Ghost | Blog posts | Content API | Medium |
| Medium | Articles | RSS Feed | Medium |
| Substack | Newsletters | RSS Feed | Medium |
| Webflow | CMS collections | CMS API | High |
| Contentful | Content entries | Content Delivery API | Medium |
| Google Docs | Documents | Google Docs API | High |
| Notion | Pages, databases | Notion API | High |
| HubSpot | Blog posts | CMS API | Medium |
| Shopify | Blog posts, products | Storefront API | Medium |
Content Transformations
Before publishing to destinations, content must be transformed according to platform requirements:
- Text Truncation: Automatic shortening with smart sentence breaks
- Hashtag Generation: AI-powered relevant hashtag suggestions
- Image Optimization: Resize, compress, format conversion per platform
- Link Shortening: Branded short links with analytics
- Emoji Enhancement: Optional emoji insertion for engagement
- Thread Splitting: Long-form content split into Twitter threads
- Caption Variation: Generate 3-5 caption variants per post
Destinations (Push)
| Platform | Content Types | API | Character Limits |
|---|---|---|---|
| Posts, images, links | Graph API v18.0 | 63,206 chars | |
| Feed posts, stories, reels | Graph API | 2,200 chars | |
| Posts, articles, images | Marketing API | 3,000 chars | |
| X (Twitter) | Tweets, threads, images | API v2 | 280 chars |
| Pins, boards | API v5 | 500 chars | |
| TikTok | Videos (text overlay) | Content API | 2,200 chars |
| YouTube | Community posts | Data API v3 | 5,000 chars |
| Google Business | Posts, updates | Business Profile API | 1,500 chars |
| Threads | Text posts, images | API (when available) | 500 chars |
| Bluesky | Posts, images | AT Protocol | 300 chars |
| Mastodon | Toots, images | REST API | 500 chars |
| Buffer/Hootsuite | Scheduled posts | REST APIs | Platform-dependent |
StellarSync API Requirements
Required API endpoints for StellarSync functionality:
/api/sync/sources - Connect a new content source
/api/sync/sources/{id}/content - Fetch content from source
/api/sync/destinations - Connect a destination platform
/api/sync/publish - Publish content to destinations
/api/sync/analytics - Get publishing analytics
StellarPost: Video Sources
StellarPost must be able to import and process videos from these sources:
| Source | Import Method | Priority |
|---|---|---|
| YouTube | URL import, channel sync | Critical |
| TikTok | URL import (watermark removal) | Critical |
| Instagram Reels | URL import | Critical |
| Vimeo | API integration | High |
| Loom | API integration | High |
| Direct Upload | MP4, MOV, WebM | Critical |
| Google Drive | Drive API | High |
| Dropbox | Dropbox API | Medium |
Video Processing Capabilities
Required video processing features:
Viral Moment Detection
- AI analysis of engagement patterns
- Automatic highlight clip generation
- Suggested clip timestamps
- Emotion/reaction detection for engaging moments
Watermark Removal
- TikTok watermark detection and removal
- AI-powered inpainting for clean removal
- Maintains video quality post-processing
Auto-Captions
- Speech-to-text transcription (95%+ accuracy)
- Multiple caption styles (bold, animated, minimal)
- Word-by-word highlighting
- Multi-language support
Platform-Specific Resizing
- 9:16 (1080x1920): TikTok, Reels, Shorts, Stories
- 1:1 (1080x1080): Instagram Feed, Facebook
- 16:9 (1920x1080): YouTube, LinkedIn
- 4:5 (1080x1350): Instagram Feed optimal
- Smart crop with subject tracking
Video Destinations
| Platform | Video Types | Max Length | API |
|---|---|---|---|
| YouTube | Shorts, regular videos | 60s / 12hr | Data API v3 |
| TikTok | Videos | 10 minutes | Content API |
| Reels, Stories, Feed | 90s / 60s / 60min | Graph API | |
| Reels, Stories, Feed | 90s / 20s / 240min | Graph API | |
| Native video | 10 minutes | Marketing API | |
| X (Twitter) | Video tweets | 2:20 | API v2 |
| Idea Pins, Video Pins | 60s | API v5 |
StellarPost API Requirements
/api/post/import - Import video from URL or upload
/api/post/process - Apply transformations (captions, resize, etc.)
/api/post/clips/{videoId} - Get AI-detected viral moments
/api/post/publish - Publish to destination platforms
/api/post/analytics/{videoId} - Get cross-platform analytics
StellarMail: Verification Engine
Real-time email verification to reduce bounce rates from 38% to under 2%.
Verification Checks
- Syntax Validation: RFC 5322 compliance check
- Domain Verification: MX record lookup, DNS validation
- Mailbox Verification: SMTP handshake without sending
- Disposable Detection: Check against 100k+ disposable domains
- Role-Based Detection: Identify info@, support@, admin@, etc.
- Catch-All Detection: Identify domains that accept all addresses
- Spam Trap Detection: Known spam trap identification
- Deliverability Score: 0-100 confidence rating
Response Times
- Single verification: < 1 second
- Bulk verification: 10,000 emails in < 5 minutes
- Real-time API: < 200ms response
StellarMail API Requirements
/api/mail/verify - Verify single email address
/api/mail/verify/bulk - Bulk verification (up to 100k)
/api/mail/verify/status/{jobId} - Check bulk verification status
/api/mail/analytics - Verification analytics and stats
// Example verification response
{
"email": "john@example.com",
"valid": true,
"score": 95,
"checks": {
"syntax": "pass",
"domain": "pass",
"mailbox": "pass",
"disposable": false,
"role_based": false,
"catch_all": false,
"spam_trap": false
},
"suggestion": null,
"verified_at": "2025-01-03T10:30:00Z"
}
Authentication
All APIs use OAuth 2.0 with JWT tokens. Unified authentication across all products.
// Authorization header
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
// Token payload includes:
{
"sub": "user_12345",
"products": ["sync", "post", "mail"],
"plan": "pro",
"exp": 1704326400
}
Webhooks
Real-time notifications for async operations:
sync.content.published- Content published to destinationsync.content.failed- Publishing failedpost.video.processed- Video processing completepost.video.published- Video published to destinationmail.bulk.completed- Bulk verification job complete
Rate Limits
| Plan | Requests/minute | Burst |
|---|---|---|
| Starter | 60 | 100 |
| Pro | 300 | 500 |
| Team | 1,000 | 2,000 |