Direct Provider Integration (FAL, OpenAI, Anthropic, Hugging Face)
A lean, production-ready creative automation system for generating and publishing media content. This repository contains the core Tier-1 production infrastructure for Banana Studios, focusing on direct provider API calls without proxy layers.
Generate, compose, and publish creative media assets (images, videos, audio, scripts) using Tier-1 providers only:
# Configure environment (from project root)
cp env.example .env
# Edit .env with your API keys:
# - FAL_API_KEY
# - OPENAI_API_KEY
# - ANTHROPIC_API_KEY
# - HF_API_KEY
# Install dependencies
cd mpc-api
npm install
# Start development server
npm run dev
# Test image generation
curl -X POST http://localhost:3000/api/fal/image \
-H "Content-Type: application/json" \
-d '{"prompt": "a cute red panda"}'
# Test video generation
curl -X POST http://localhost:3000/api/fal/video \
-H "Content-Type: application/json" \
-d '{"prompt": "a cute red panda animation", "duration": 3}'
.
├── mpc-api/ # Main API server (Express + TypeScript)
│ ├── src/
│ │ ├── providers/ # Direct provider wrappers
│ │ ├── agents/ # Agent modules (Script, Visual, Voice, Publisher)
│ │ └── routes/ # API endpoints
│ └── package.json
├── outputs/ # Generated content
│ ├── images/
│ ├── videos/
│ └── audio/
├── docs/
│ └── production/ # Tier-1 production documentation
└── tests/ # Test scripts
POST /api/fal/image - Generate image (synchronous)POST /api/fal/video - Start video generation (async)GET /api/fal/video/:requestId/status - Check video statusGET /api/fal/video/:requestId - Get video resultPOST /api/fal/generate - Unified image/video generationPOST /api/production/content - Complete content packagePOST /api/production/short - Short-form content generator# Navigate to API directory
cd mpc-api
# Development mode (hot reload)
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Run tests (from project root)
cd ..
python test_tier1_production.py
Only Tier-1 essential packages:
express - Web frameworktypescript - Type safetydotenv - Environment configurationProvider-specific integrations use direct API calls (no SDK dependencies).
Proprietary - Banana Studios
For issues or questions, see docs/production/README.md
Version: 1.0.0-tier1
Status: Production Ready
Last Updated: November 2025
128 commits
7 commits
Python
68.7%
TypeScript
20.7%
JavaScript
9.9%
Direct Provider Integration (FAL, OpenAI, Anthropic, Hugging Face)
A lean, production-ready creative automation system for generating and publishing media content. This repository contains the core Tier-1 production infrastructure for Banana Studios, focusing on direct provider API calls without proxy layers.
Generate, compose, and publish creative media assets (images, videos, audio, scripts) using Tier-1 providers only:
# Configure environment (from project root)
cp env.example .env
# Edit .env with your API keys:
# - FAL_API_KEY
# - OPENAI_API_KEY
# - ANTHROPIC_API_KEY
# - HF_API_KEY
# Install dependencies
cd mpc-api
npm install
# Start development server
npm run dev
# Test image generation
curl -X POST http://localhost:3000/api/fal/image \
-H "Content-Type: application/json" \
-d '{"prompt": "a cute red panda"}'
# Test video generation
curl -X POST http://localhost:3000/api/fal/video \
-H "Content-Type: application/json" \
-d '{"prompt": "a cute red panda animation", "duration": 3}'
.
├── mpc-api/ # Main API server (Express + TypeScript)
│ ├── src/
│ │ ├── providers/ # Direct provider wrappers
│ │ ├── agents/ # Agent modules (Script, Visual, Voice, Publisher)
│ │ └── routes/ # API endpoints
│ └── package.json
├── outputs/ # Generated content
│ ├── images/
│ ├── videos/
│ └── audio/
├── docs/
│ └── production/ # Tier-1 production documentation
└── tests/ # Test scripts
POST /api/fal/image - Generate image (synchronous)POST /api/fal/video - Start video generation (async)GET /api/fal/video/:requestId/status - Check video statusGET /api/fal/video/:requestId - Get video resultPOST /api/fal/generate - Unified image/video generationPOST /api/production/content - Complete content packagePOST /api/production/short - Short-form content generator# Navigate to API directory
cd mpc-api
# Development mode (hot reload)
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Run tests (from project root)
cd ..
python test_tier1_production.py
Only Tier-1 essential packages:
express - Web frameworktypescript - Type safetydotenv - Environment configurationProvider-specific integrations use direct API calls (no SDK dependencies).
Proprietary - Banana Studios
For issues or questions, see docs/production/README.md
Version: 1.0.0-tier1
Status: Production Ready
Last Updated: November 2025
128 commits
7 commits
Python
68.7%
TypeScript
20.7%
JavaScript
9.9%