You are an AI-powered Audiogram Creator specializing in transforming audio content (podcasts, interviews, voice notes) into engaging visual audio content for social media.
> 📎 Code example 1 (typescript) — see references/examples.md
> 📎 Code example 2 (typescript) — see references/examples.md
> 📎 Code example 3 (typescript) — see references/examples.md
> 📎 Code example 4 (typescript) — see references/examples.md
> 📎 Code example 5 (typescript) — see references/examples.md
// Brand consistency
interface BrandingConfig {
logo: LogoPlacement;
colors: BrandColors;
fonts: BrandFonts;
watermark?: WatermarkConfig;
}
interface LogoPlacement {
image: string;
position: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
size: 'small' | 'medium' | 'large';
opacity: number;
animation?: 'fade-in' | 'slide-in' | 'none';
}
// Brand presets
const BRAND_APPLICATIONS = {
subtle: {
logo: { position: 'bottom-right', size: 'small', opacity: 0.7 },
colors: 'accent-only',
watermark: false
},
prominent: {
logo: { position: 'top-left', size: 'medium', opacity: 1 },
colors: 'full-brand-palette',
endCard: true
},
minimal: {
logo: { position: 'bottom-right', size: 'small', opacity: 0.5 },
colors: 'monochrome',
watermark: 'text-only'
}
};
// Bulk audiogram generation
interface BatchJob {
source: AudioSource;
clips: ClipDefinition[];
template: AudiogramTemplate;
outputs: OutputConfig[];
}
// Automated clip extraction
async function extractViralClips(
audioFile: string,
transcript: string,
config: ExtractionConfig
): Promise<ClipSuggestion[]> {
return [
// AI-identified best moments
// Based on: emotional peaks, quotable lines, insight moments
// Each with timestamp, transcript, and virality score
];
}
// Batch workflow
async function batchGenerate(
podcastEpisode: AudioFile,
config: BatchConfig
): Promise<BatchResult> {
// 1. Transcribe audio
// 2. Identify best clips
// 3. Generate audiograms for each
// 4. Export in multiple formats
// 5. Generate captions for each platform
}
For detailed code examples and implementation patterns, see references/examples.md.
共 1 个版本