12Topic 12 of 16

AI media

Generate and edit images, video and audio locally — FLUX, Midjourney, inpainting, background removal, upscaling, text to speech, transcription, OCR.

14 plates · 46 min to read them all


  1. 12.01 Remove an Image Background With AI (Free) rembg cuts a subject to a transparent PNG from the command line — one file or a whole folder, offline, full resolution, no watermark and no upload. 3 min
  2. 12.02 Midjourney Prompts That Actually Work Midjourney prompt structure: subject, style, details, then parameters last. --raw has replaced --style raw, and --ar still sets the aspect ratio. 3 min
  3. 12.03 How to Inpaint: Edit One Part of an Image Inpainting masks a region and regenerates only that: Midjourney Vary (Region), Firefly Generative Fill, ChatGPT, or Stable Diffusion locally. 3 min
  4. 12.04 How to Install ComfyUI and Run Your First Workflow Install ComfyUI the reliable way, put a checkpoint in the right folder, load the default text-to-image graph, and generate an image. 4 min
  5. 12.05 How to Generate Images Locally with FLUX (Python) Run FLUX.1-schnell locally on your GPU with a short Python diffusers script — accept the Hugging Face license and offload for low VRAM. 4 min
  6. 12.06 How to Generate a Short AI Video Locally (Wan 2.2) The honest local text-to-video path: Wan 2.2 TI2V-5B in ComfyUI — three model files, real VRAM numbers, and a five-second clip. 4 min
  7. 12.07 How to Generate Speech Locally with Piper TTS Turn a text file into a WAV on your own machine — install Piper, download a voice, and choose between quality tiers and languages. 3 min
  8. 12.08 How to Translate an SRT Subtitle File with AI Translate subtitles without breaking timestamps — a copy-paste Python script, the prompt that keeps line counts, and the checks that catch drift. 4 min
  9. 12.09 How to Upscale Images Locally with Real-ESRGAN Enlarge photos and anime art 4x on your own machine with the standalone Real-ESRGAN binary — one command, no Python, and batch folders. 3 min
  10. 12.10 How to Transcribe Audio Locally with Whisper Install OpenAI Whisper and ffmpeg, run whisper file.mp3 --model turbo, and get SRT and TXT subtitle files with timestamps out on your own machine. 3 min
  11. 12.11 Clone a Voice Locally with Chatterbox TTS Use ResembleAI Chatterbox (MIT) to clone a voice from a short reference clip in a few lines of Python, with the consent caveat up front. 3 min
  12. 12.12 Describe and Query Images with a Local VLM Load Qwen3-VL-8B-Instruct with transformers, pass an image plus a question, and get captions, chart reads and answers on your own GPU. 3 min
  13. 12.13 Generate Video Locally with LTX (diffusers) Run Lightricks LTX-Video on your own GPU with a short diffusers script: LTXPipeline, text-to-video, frames and steps, plus the ComfyUI route. 3 min
  14. 12.14 Extract Text from PDFs and Images with Local OCR Install indra-ocr, run a CPU-only OCR model on an image, pull Markdown from a multi-page PDF, batch files, and find where the weights cache. 3 min

Keep going

Other topics

All 152 plates →
  1. 01 Install & set up 7
  2. 02 First steps 4
  3. 03 Claude Code commands 14
  4. 04 Workflows 7
  5. 05 MCP 9
  6. 06 Claude 2
  7. 07 ChatGPT 6
  8. 08 Cursor 4
  9. 09 Local LLMs 19
  10. 10 Prompting 9
  11. 11 Choosing tools 7
  12. 13 Everyday tasks 4
  13. 14 Other coding agents 11
  14. 15 Building with the API 23
  15. 16 Hugging Face 12

↑↓ move↵ openalt+↵ copy first command

Keyboard

⌘/ctrl+K or /
Search all guides
alt+↵
In search: copy the guide's first command
j / k
Move through a list of guides
c
On a guide: copy its first command
t
Toggle light / dark
?
This list