@orchestree/forgestudio
v1.4.0
Published
ForgeStudio module — Visual editor, plugin system, marketplace, AI asset generation
Maintainers
Readme
@orchestree/forgestudio
AI-powered asset generation and brand management for Orchestree. Create, manage, and deploy brand-consistent design assets at scale.
Installation
npm install @orchestree/forgestudioQuick Start
const { ForgeClient } = require('@orchestree/forgestudio');
const client = new ForgeClient({
apiKey: 'your-api-key',
});
// Generate an asset
const asset = await client.generateAsset('social-banner', {
description: 'Summer promotion banner',
dimensions: '1200x630',
colorScheme: ['#FF6B6B', '#4ECDC4'],
});
// Create a brand kit
const brandKit = await client.createBrandKit({
name: 'Brand 2024',
colors: {
primary: '#FF6B6B',
secondary: '#4ECDC4',
},
fonts: ['Inter', 'Playfair Display'],
});API Reference
ForgeClient
generateAsset(assetType, spec)
Generate a new asset.
const asset = await client.generateAsset('social-post', {
description: 'Product launch announcement',
style: 'modern',
dimensions: '1080x1080',
});getBrandKit(brandKitId)
Retrieve a brand kit.
const kit = await client.getBrandKit('brand-123');updateBrandKit(brandKitId, updates)
Update brand kit.
await client.updateBrandKit('brand-123', {
colors: { primary: '#FF6B6B' },
});createTemplate(templateDef)
Create a design template.
const template = await client.createTemplate({
name: 'Email Newsletter',
category: 'email',
description: 'Monthly newsletter template',
});listTemplates(filters)
List available templates.
const templates = await client.listTemplates({
category: 'social',
});getMarketplace(category)
Get marketplace items.
const items = await client.getMarketplace('icons');License
MIT
