DMDwelvin Morganinsocialprompt.hashnode.dev·May 20 · 8 min readWhy I Chose Remotion + FFmpeg for Server-Side Video RenderingBuilding a video creation platform, the "Video Studio," presented a significant technical challenge: how to enable users to generate high-quality videos directly from the platform. This required a rob10
DMDwelvin Morganinsocialprompt.hashnode.dev·Mar 23 · 5 min readWe need to stop treating Prompt Engineering like "dark magic" and start treating it like software testing.Here's the scenario. You spend two hours brainstorming and manually crafting what you think is the perfect system prompt. You explicitly say: "Output strictly in JSON. Do not include markdown formatti10
DMDwelvin Morganinsocialprompt.hashnode.dev·Mar 12 · 6 min readReducing LLM API Costs by 43%: A Technical Deep-Dive into Intelligent Prompt RoutingIf you're building AI-powered applications, you've probably noticed your API bills climbing faster than your user growth. With frontier models like Claude Opus 4.5 ($5/$25 per 1M tokens) and GPT-5.2 Pro ($21/$168 per 1M tokens), even moderate usage c...20
DMDwelvin Morganinsocialprompt.hashnode.dev·Mar 12 · 4 min readWhy your AI keeps ignoring your safety constraints (and how we fixed it by engineering "Intent")If you’ve spent any time prompting LLMs, you’ve probably run into this frustrating scenario: You tell the AI to prioritize "safety, clarity, and conciseness." So, what happens when it has to choose between making a sentence clearer or making it safer...00
DMDwelvin Morganinsocialprompt.hashnode.dev·Mar 12 · 6 min readHow We Achieved 91.94% Context Detection Accuracy Without Fine-TuningHow We Achieved 91.94% Context Detection Accuracy Without Fine-Tuning The Problem When building Prompt Optimizer, we faced a critical challenge: how do you optimize prompts without knowing what the user is trying to do? A prompt for image generation ...00