null
Skip to main content

Build a Text-to-Image Generator (from Scratch): With transformers and diffusions [9781633435421]

Author: Mark Liu
Paperback
SKU: 9781633435421
Buy More - Save More. Below are the available bulk discount rates for each individual item when you purchase a certain amount
Quantity Price Savings
25 - 99 15%
100 - 249 16%
250 - 499 17%
500 - 999 18%
1000+ 20%

Format Lightweight and affordable. Perfect for student groups and classrooms, and a versatile option for corporate trainings, team reads, or large-scale events.

Price $59.99

Total for 25 copies:

Adding to cart… The item has been added
You can purchase this title directly online anytime! If you need a formal quote for budget approval, submit a request and we’ll get it to you quickly.
  • Free shipping over $95
  • Price Match Guarantee. Found a better price? Let us know! We’ll work to match it so you get the best value with BookPal.

Overview

Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.

This book takes you step-by-step through creating your own AI models that can generate images from text. You’ll explore two methods of image generation—vision transformers and diffusion models—and learn vital AI development techniques as you go.

Dive into the powerful models behind AI image generators. The best way to learn is to build something from scratch, and in this book you’ll build your very own diffusion model and vision transformer. As you work through each stage of development, you’ll develop an understanding of how these models can be customized, applied, and integrated for impressive multimodal AI.

Build a Text-to-Image Generator (from Scratch) teaches you how to:
  • Build and train models to generate high resolution images based on text descriptions
  • Edit an existing image based on text prompts
  • Build and train a model to add captions to images
  • Build and train a vision transformer to classify images
  • Fine-tune LLMs for downstream tasks such as classification, text or image generation
  • Better differentiate real images from deepfakes
About the technology

AI-generated images appear everywhere from high-end advertising to casual social media feeds. Text-to-image tools like Dall-e, Midjourney, and Flux make it easy to create AI art, but how do they work? In this book, you’ll find out by building your own text-to-image generator!

About the book

Build a Text-to-Image Generator (from Scratch) explores both transformer-based image generation and diffusion models. You’ll work hands-on to build a pair of simple generation models that can classify images, automatically add captions, reconstruct images, and enhance existing graphics. Author Mark Liu guides you every step of the way with clear explanations, informative diagrams, and eye-opening examples you can build on your own laptop.

What's inside
  • Build a vision transformer to classify images
  • Edit images using text prompts
  • Fine-tune image models
About the reader

Requires basic knowledge of generative AI models and intermediate Python skills.

About the author

Mark Liu is the founding director of the Master of Science in Finance program at the University of Kentucky. He is also the author of Learn Generative AI with PyTorch.

Table of Contents

Part 1
1 A tale of two models: Transformers and diffusions
2 Build a transformer
3 Classify images with a vision transformer
4 Add captions to images
Part 2
5 Generate images with diffusion models
6 Control what images to generate in diffusion models
7 Generate high-resolution images with diffusion models
Part 3
8 CLIP: A model to measure the similarity between image and text
9 Text-to-image generation with latent diffusion
10 A deep dive into Stable Diffusion
Part 4
11 VQGAN: Convert images into sequences of integers
12 A minimal implementation of DALL-E
Part 5
13 New developments and challenges in text-to-image generation
A Installing PyTorch and enabling GPU training locally and in Colab

The book, Build a Text-to-Image Generator (from Scratch): With transformers and diffusions [Bulk, Wholesale, Quantity] ISBN#9781633435421 in Paperback by Mark Liu may be ordered in bulk quantities. Minimum starts at 25 copies. Availability based on publisher status and quantity being ordered.

Details

Author:
Mark Liu
Format:
Paperback
Publication Date:
12/30/2025
ISBN-10:
1633435423
ISBN-13:
9781633435421
Pages:
360
Publisher:
Manning

Customer Reviews

This product hasn't received any reviews yet. Be the first to review this product!

Need Books? BookPal Makes it Easy

  • Free Shipping

    Enjoy free ground shipping on us! Most orders over $95 qualify for free standard ground shipping.It takes an estimated 7-10 business days to deliver and may require additional processing time

    Learn More
  • Dedicated Account Managers

    At BookPal, we go beyond the transaction by providing personal support and a dedicated account manager for every customer.

    Learn More
  • Flexible Delivery Options

    We offer flexible delivery options such Free Ground Shipping (on most orders over $100), Expedited Premium, Expedited Express, International Shipping etc.

    Learn More
  • Sales Tax Exemption

    BookPal is a tax-exempt supplier for all 50 states. We can provide you with a tax-exempt certificate to use on your orders.

    Learn More
  • Price Match Guarantee

    With over 3 million book titles available, it's impossible to always be the lowest priced. If you find a lower price on a new title elsewhere that is available to ship in the quantity you need, we are happy to discount your books and match the lower price.

    Learn More
  • Multiple Payment Options

    BookPal accepts all major credit cards, PayPal, and checks by mail, along with Purchase Orders upon approval. We also accept ACH payments and wire transfers.

    Learn More

We are here to help, reach out to our team anytime!

Connect With Us

Subscribe to our newsletter for $25 off your next order of $500+

Review Your Cart Close Close
Your cart is empty Your cart is empty Your cart is empty
Recently Viewed Recently Viewed
Back to top Back to top