Tutorials
In-depth AI tutorials — from fundamentals to production: RAG, agents, deployment, fine-tuning and more.
246
Total tutorials
44
Beginner
20
Hands-on
Browse by topic
Midjourney v7 for Brand Design: Creating Consistent Visual Identities at Scale
A practical workflow guide for brand designers using Midjourney v7 to generate logos, brand mood boards, product mockups, and marketing assets with style-ref and character-ref parameters for consistency.
Midjourney V7 Prompt Guide 2026: From Beginner to Commercial-Grade Image Generation
Midjourney V7 Prompt Guide (2026): Five-part structure of Subject → Scene → Lighting → Style → Parameters (lighting weight is most underestimated), parameter quick reference table, recipe library for e-commerce/header images/portraits/concept scenes, consistency control for commercial delivery (cref/sref/seed recording).
Mistral AI API Guide 2026: Mixtral, Mistral Large, and Edge Deployment
Comprehensive guide to Mistral AI API and models in 2026. Covers Mistral Large vs Mixtral model selection, API usage with Python and TypeScript, local deployment with Ollama, function calling, and building production applications with European data residency.
Mistral Large 3 API Complete Guide 2026: Setup, Features & Best Practices
Complete Mistral Large API guide: mistralai SDK setup, La Plateforme keys, OpenAI compatibility, function calling, JSON mode, streaming, and GDPR compliance.
Modal AI Infrastructure: Complete Setup Guide
Modal AI workload guide (2026): Python decorators as infrastructure for serverless GPU—four sweet spots (burst jobs, spiky endpoints, parallel fan-out, scheduled pipelines), cold start mitigation (keep_warm/Volume for weight caching), GPU selection, and the crossover point where you should move to self-hosted vLLM.
MongoDB + Atlas Vector Search: How to Add AI search to MongoDB (2026)
MongoDB + Atlas Vector Search Integration Guide 2026 Overview This guide shows you exactly how to add AI search to MongoDB using MongoDB and Atlas Vector Search. We cover setup, core integration, and production-ready patterns. Prerequisites - Mon
Multi-Provider AI Fallback: Production Guide
Multi-Vendor AI Fallback Production Architecture (2026): Centralized gateway strategy (LiteLLM config example), capability tier abstraction (apps call tiers not vendors), health routing + circuit breaking, signals for triggering vs. not triggering fallback. Covers pitfalls naive fallback misses: prompt portability, feature asymmetry, latency cliffs.
Multimodal AI: Building Vision-Language Applications with GPT-4V & Gemini in 2025
Multimodal AI combines vision and language understanding to unlock powerful real-world applications. This guide covers GPT-4V, Gemini 1.5 Pro, Claude 3 Opus vision capabilities, open-source models (LLaVA, Qwen-VL), document intelligence with OCR + LLM, building visual QA systems, video understanding, and deploying multimodal AI applications in production.
Node.js + LangChain.js: How to Build Node.js AI applications (2026)
Node.js + LangChain.js Integration Guide 2026 Overview This guide shows you exactly how to build Node.js AI applications using Node.js and LangChain.js. We cover setup, core integration, and production-ready patterns. Prerequisites - Node.js envi
Notion + AI API: How to Automate Notion with AI (2026)
Notion + AI API Integration Guide 2026 Overview This guide shows you exactly how to automate Notion with AI using Notion and AI API. We cover setup, core integration, and production-ready patterns. Prerequisites - Notion environment set up - AI A
Notion AI Knowledge Management: Building a Company Wiki That Actually Gets Used
Why company wikis die and how to fix it: a Notion knowledge management playbook—information architecture, Notion AI Q&A, Slack integration, operating rituals.
Ollama vs LM Studio vs Jan: Local LLM Comparison 2026
Ollama vs LM Studio vs Jan local LLM tool comparison (2026): Developers connecting via API choose Ollama; those wanting the most polished GUI choose LM Studio (with MLX acceleration on Mac); those needing an open-source GUI choose Jan. All three use llama.cpp under the hood—the choice is about workflow. Includes hardware estimation rules and a decision table.
OpenAI API vs Anthropic API vs Gemini API: Developer Comparison 2026
Complete developer comparison of OpenAI API, Anthropic API, and Google Gemini API for 2026. Covers authentication, streaming, function calling, structured output, rate limits, and cost comparison.
Build an AI Customer Support Agent with OpenAI Assistants API 2026
Step-by-step tutorial for building an AI customer support agent using the OpenAI Assistants API. Covers creating assistants, uploading knowledge base files, implementing function calling, managing threads, and deploying to production.
OpenAI Assistants API v2 2026: Files, Code Interpreter, and Threads
OpenAI Assistants API Status and Migration (2026): Officially deprecated, transitioning to Responses API. Provides concept mapping table (Thread → response chain / Run polling → direct return / vector store unchanged), five-step migration method, dual-run validation strategy, and the lesson that "managed state APIs should be abstracted and isolated."
OpenAI Batch vs Standard API: Side-by-Side Comparison
OpenAI Batch vs Standard API Comparison (2026): Do non-urgent tasks at half price—JSONL upload → poll → download complete code, custom_id correlation, partial failure retry, independent quota without affecting online traffic. Same model for Anthropic/Gemini.
OpenAI Function Calling Complete Guide: Complete Developer Guide 2026
OpenAI Function/Tool Calling Complete Guide (2026): Define tools with JSON Schema → Model returns structured calls → You execute and feed back results. Full loop with real code, production patterns (validation/tool_choice/parallel calls/strict), differences from structured outputs, and how it powers agents.
OpenAI Whisper API: Complete Guide to Speech Recognition in Your App
Complete guide to integrating OpenAI Whisper for speech recognition: API setup, language detection, translation, real-time streaming, cost optimization, and handling audio quality issues.
pgvector Tutorial 2026: Vector Similarity Search in PostgreSQL
pgvector tutorial (2026): Perform vector search on your existing PostgreSQL—HNSW vs IVFFlat selection, operator alignment, complete Python pipeline, SQL filtering and hybrid search (paid features in dedicated vector DBs are just a query here), memory estimation, and graduation thresholds.
Prometheus + Grafana for AI Applications: Monitoring AI services Guide 2026
Prometheus + Grafana for AI Applications: monitoring AI services 2026 Introduction Set up comprehensive monitoring for LLM API costs, latency, and error rates. This guide shows you how to effectively use Prometheus + Grafana in your AI development
Tongyi Qianwen API Developer Guide 2026: The Most Cost-Effective Domestic LLM Integration Solution
Alibaba Cloud's Tongyi Qianwen (Qwen) series leads domestic models in cost-effectiveness and multilingual capabilities, with Qwen2.5 widely adopted by global developers. This article covers everything from obtaining an API key to building production-grade applications, detailing best practices for Qwen API development.
RAGAS Evaluation: Developer Guide and Quick Start 2026
RAGAS Evaluation: Developer Guide 2026 What is RAGAS Evaluation? **RAGAS Evaluation** enables evaluate RAG systems quantitatively. This guide covers everything you need to get started quickly. Why Use RAGAS Evaluation? - Solves the specific probl
Retool + OpenAI API: How to Add AI to Retool internal tools (2026)
Retool + OpenAI API Integration Guide 2026 Overview This guide shows you exactly how to add AI to Retool internal tools using Retool and OpenAI API. We cover setup, core integration, and production-ready patterns. Prerequisites - Retool environme
Runway Gen-4 vs Kling AI 2.0 vs Hailuo: Video Generation 2026
Runway Gen-4 vs Kling vs Hailuo Video Generation Comparison (2026): Choose Runway for cinematic feel and camera control, Kling for duration and production cost, Hailuo for speed and API. Includes prompt tips for each, professional combination workflow (draft first, then main shot), and commercial licensing reminders.
Runway Gen-3 Alpha for Video Production: From Script to Final Cut
Comprehensive guide to using Runway Gen-3 Alpha for professional video production — text-to-video, image-to-video animation, style transfer, and camera control for cinematic movements.
Semantic Search Implementation: Complete Developer Guide 2026
A complete guide to semantic search (2026): chunking → embedding → vector store → nearest neighbor search → re-ranking pipeline with real code, vector store selection (Chroma/Qdrant/pgvector/Pinecone), and quality levers like chunking, hybrid search, re-ranking, and metadata filtering. The retrieval backbone of RAG.
Serverless AI: Running ML Models on AWS Lambda, Cloudflare Workers & Edge in 2025
Serverless and edge computing transform AI deployment economics—pay only for actual inference, scale to zero, serve predictions globally from edge locations. This guide covers running ML models on AWS Lambda with container images, Cloudflare Workers AI, Vercel AI SDK, edge inference with ONNX Runtime Web and TensorFlow.js, and choosing between server, serverless, and edge deployment for your AI use case.
Snowflake vs Databricks for AI and Analytics: Which to Choose in 2025
Snowflake and Databricks dominate the modern data and AI platform market, but they have different strengths. This guide compares both platforms on data ingestion, SQL analytics, ML workloads, LLM integration, cost structure, and governance, helping you decide which platform (or combination) best fits your data engineering and AI needs in 2025.
Speaker Diarization: Implementation Guide
Speaker Diarization Implementation Guide (2026): Determine "who spoke when" with real code using pyannote.audio. Combine with ASR via timestamps to get "who said what". Accuracy depends on audio quality—use separate channels, avoid excessive noise reduction, and provide speaker count if possible.
Stability AI API: Developer Guide and Quick Start 2026
Stability AI API: Developer Guide 2026 What is Stability AI API? **Stability AI API** enables Stable Diffusion image generation. This guide covers everything you need to get started quickly. Why Use Stability AI API? - Solves the specific problem
Stable Diffusion 3.5 Local Deployment Complete Guide: Generate Unlimited Images for Free
SD 3.5 local deployment guide (2026): hardware table (Medium 8GB VRAM works), ComfyUI installation, model and text encoder placement (missing t5 is the #1 error), parameter tips (CFG 4-6), advanced roadmap for LoRA/ControlNet/batch API, and common error quick reference.
Streaming AI Responses with Server-Sent Events: Complete Developer Guide 2026
Implement AI streaming responses with SSE (2026): why SSE over WebSocket, real FastAPI server + browser EventSource client code, production tips like disabling proxy buffering, per-token flush, disconnect cancellation, and the simpler path with Vercel AI SDK for Next.js.
Stripe MCP Server: Complete Setup and Usage Guide 2026
The official Stripe MCP Server lets AI assistants call Stripe APIs to manage payments, customers, invoices, and more. Based on @stripe/mcp: remote https://mcp.stripe.com (OAuth) and local npx install, --tools selection, restricted keys and connected-account safety.
Supabase AI Stack 2026: pgvector + Edge Functions + Realtime Streaming
Complete Supabase AI tutorial. pgvector for semantic search, Edge Functions for AI inference, real-time streaming, Row Level Security for user-scoped RAG, and a Next.js chat component.
Supabase + pgvector: How to Add vector search to Supabase apps (2026)
Supabase + pgvector Integration Guide 2026 Overview This guide shows you exactly how to add vector search to Supabase apps using Supabase and pgvector. We cover setup, core integration, and production-ready patterns. Prerequisites - Supabase envi
Synchronous vs Async LLM Calls: Side-by-Side Comparison
Synchronous vs Asynchronous LLM Call Comparison (2026): Use sync for single calls, async for concurrent requests—100 requests from 400s to 40s. Includes common pitfalls like Semaphore throttling, event loop blocking, decision table, and relationship with Batch API/streaming.
Vector Databases Compared 2026: Pinecone vs Weaviate vs Qdrant vs Chroma
Comprehensive comparison of Pinecone, Weaviate, Qdrant, and Chroma vector databases for AI applications in 2026. Includes performance benchmarks, cost analysis, feature comparison, and recommendations for different use case categories.
Vellum AI Platform: Complete Setup Guide
Vellum Platform Guide (2026): The Four-Piece LLM App Development Platform for Hybrid Teams — Prompt Workbench (non-engineers can iterate) / Visual Workflow / Evaluation Suite / Versioned Deployment Endpoints. Honest Buy vs. Build Comparison: Small full-stack engineering teams can use git+registry, but complex Agents still belong to code frameworks.
TypeScript AI SDK Guide 2026: Vercel AI SDK for Next.js Applications
Complete guide to the Vercel AI SDK for building AI-powered Next.js applications in 2026. Covers streaming chat interfaces, structured data extraction with Zod, tool calling, multi-step agents, and production patterns for TypeScript developers.
vLLM High-Throughput Serving: Tutorial and Best Practices
vLLM High-Throughput Serving What is vLLM? vLLM is a framework for PagedAttention for GPU inference. It simplifies building AI applications by providing high-level abstractions over raw LLM APIs. **Best for**: serving Installation ```bash pip in
Voice Activity Detection: Implementation Guide
Voice Activity Detection (VAD) Implementation Guide (2026): Determine which segments are speech before transcription/voice agents to save costs and reduce latency, and detect end of speech. Silero vs webrtcvad, real code, VAD→segmentation→ASR pipeline and real-time end-of-turn parameter tuning.
Voice Activity Detection (VAD): Detecting Whether Someone Is Speaking with Python
Voice activity detection in Python with webrtcvad and Silero VAD: frame constraints, energy vs. neural VAD, Whisper integration, streaming, tuning tips.
Voice Cloning Integration: Implementation Guide
Voice Cloning Integration Implementation Guide (2026): Most applications should integrate managed TTS (ElevenLabs/OpenAI TTS/Cartesia) rather than self-training. Includes consent compliance points, synthesis code, provider selection, streaming low-latency and caching production practices.
Vue.js + OpenAI API: How to Integrate AI into Vue applications (2026)
Vue.js + OpenAI API Integration Guide 2026 Overview This guide shows you exactly how to integrate AI into Vue applications using Vue.js and OpenAI API. We cover setup, core integration, and production-ready patterns. Prerequisites - Vue.js enviro
Whisper API Tutorial 2026: Transcription, Translation, and Meeting Intelligence
Complete guide to using the OpenAI Whisper API for audio transcription in 2026. Covers real-time transcription, speaker identification, meeting summarization, automated action item extraction, and building a complete meeting intelligence system.
WhyLabs AI Observatory: Complete Setup Guide
WhyLabs and Profile-Based ML Observability (2026): Monitor statistical profiles of data instead of raw data—whylogs is open-source, KB-scale summaries, raw data never leaves the boundary, inherently compliant. Predict drift without labels, extend to the LLM era (text metrics + embedding space drift), and complement trace-level observability.
World Models: The Next Piece of the Puzzle from Theory to Embodied Intelligence
World models are emerging as the next technological focus after large models, aiming to enable AI to understand physical laws, predict action consequences, and plan autonomously. Starting from Yann LeCun's JEPA theory, this article explains the core definition of world models, hierarchical planning architecture, and energy model foundations. It then introduces Kairos's leading performance across four benchmarks, γ-World's multi-agent expansion capabilities, and industry practices from ForceMind, Accelerated Evolution, and Jiuwen Symbiosis. Finally, it discusses data flywheels, open-source ecosystems, and future challenges, providing developers with a panoramic view from theory to deployment.
Zapier + OpenAI: How to Automate workflows with AI in Zapier (2026)
Zapier + OpenAI Integration Guide 2026 Overview This guide shows you exactly how to automate workflows with AI in Zapier using Zapier and OpenAI. We cover setup, core integration, and production-ready patterns. Prerequisites - Zapier environment