FastAPI for Generative AI: Build and Deploy Scalable AI Applications with Python
商品資訊
ISBN13:9798287277765
出版社:Independently published
作者:Drake Duncan
出版日:2025/06/08
裝訂:平裝
規格:25.4cm*17.8cm*1.2cm (高/寬/厚)
重量:381克
商品簡介
Unlock the power of FastAPI, Python, and Generative AI to build real-world, scalable applications that deliver blazing-fast performance and intelligent results. Whether you're integrating LLMs, diffusion models, or deploying AI APIs to production, this comprehensive guide walks you through every step with clear code, best practices, and hands-on projects.
This is the definitive guide for developers, machine learning engineers, and backend architects building AI-powered web services using FastAPI.
What You'll LearnBuild RESTful and WebSocket-based APIs optimized for AI models
Serve text-generation and image-generation models using FastAPI and Python
Handle asynchronous processing, background tasks, and streaming outputs
Secure endpoints with OAuth2, JWT tokens, and role-based access control (RBAC)
Use Docker, GitHub Actions, and Render/Fly.io for full CI/CD deployments
Integrate with Hugging Face Transformers, Diffusers, and modern AI libraries
Develop a complete multi-model chat and image web app with frontend integration
1. Build Scalable AI APIs with FastAPI and Python
Learn how to structure high-performance endpoints for machine learning workloads using FastAPI's async architecture.
2. Serve Generative Models Like GPT and Stable DiffusionDeploy language and image models using Hugging Face libraries, optimized for real-world inference.
3. Stream Responses with WebSockets and Server-Sent EventsDeliver token-by-token LLM responses and real-time image generation feedback using FastAPI's async capabilities.
4. Secure Production-Grade AI EndpointsImplement authentication, rate limiting, and logging for mission-critical AI applications.
5. Deploy Your AI App with Docker, CI/CD, and Cloud PlatformsUse containerization and GitHub Actions to launch to Render, Fly.io, or AWS.
6. Integrate Frontend Interfaces Using Streamlit or ReactConnect user-friendly frontends to your AI backend for real-time interaction and demo-ready delivery.
7. Real-World Project: Generative AI Chat + Image AppFollow a complete walkthrough of building a multi-modal generative AI app, from architecture to deployment.
Who This Book Is For
Backend developers building intelligent APIs
AI engineers deploying LLMs or diffusion models in production
Python developers exploring modern web frameworks
MLOps professionals scaling generative AI systems
Teams building AI SaaS platforms, agentic tools, or custom inference endpoints
Unlike generic AI or FastAPI books, FastAPI for Generative AI focuses specifically on real-time generative workloads, delivering both depth and practicality. You'll not only learn how to serve models-you'll learn how to build robust, deployable products around them.
主題書展
更多書展購物須知
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

