# Summarize YouTube Videos with AI for Raycast

URL: https://www.raycast.com/kom/summarize-youtube-video-with-ai

> Summarize YouTube videos with Raycast AI, OpenAI, Anthropic Claude or Ollama, and ask follow-up questions about the video, on Mac and Windows.

- Install: raycast://extensions/kom/summarize-youtube-video-with-ai
- Author: [Kim Schneider](https://www.raycast.com/kom)
- Installs: 17,775
- Platforms: Windows, macOS
- Categories: Productivity, Web, AI Extensions
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/c4e0f79975a011e16032382f2d1263f712f8b43c/extensions/summarize-youtube-video-with-ai/

## Commands

- **Summarize YouTube Video with Raycast**: Use Raycast to create a summary of any YouTube video.
- **Summarize YouTube Video with OpenAI**: Use OpenAI to create a summary of any YouTube video.
- **Summarize YouTube Video with Anthropic**: Use Anthropic to create a summary of any YouTube video.
- **Summarize YouTube Video with Ollama**: Use Ollama to create a summary of any YouTube video.
- **Summarize Video History**: View your summary history.

## AI tools

- **Answer YouTube Video Question**: Answer a user's question about a YouTube video by fetching its transcript. Use this when the user asks about the contents, claims, explanation, or context of a YouTube video. If no URL is provided, the tool can use a YouTube URL from the clipboard.

## README

### Summarize YouTube Video

Summarize any YouTube Video with AI and ask follow up questions to get all the details. Choose between Raycast, OpenAI ChatGPT or Anthropic Claude. You have to either be a [Raycast Pro](https://www.raycast.com/pro) Member, have access to an [OpenAI API Key](https://platform.openai.com/account/api-keys) or [Anthropic API Key](https://www.anthropic.com/api) to use this extension. Alternatively, you can use the extension with [Ollama](https://ollama.com/) to summarize YouTube videos using a local LLM.

#### AI Extension

You can mention this extension from Raycast AI with `@summarize-youtube-video-with-ai` and ask questions about a YouTube video. Include a YouTube URL in the prompt or copy one to the clipboard before asking. The AI tool fetches the transcript and answers from the video content.

#### Preferences

##### Commands

#### `summarizeVideoWithRaycast`

##### Preferences for Raycast

##### Creativity

Choose how creative the AI should be.

##### Language

The language you want the summary to be in. Your choice will be used in a prompt like this "Answer in english". (default: `english`).

#### `summarizeVideoWithOpenAI`sdfjkh

##### Preferences for OpenAI

##### Creativity

Choose how creative the AI should be.

##### OpenAI API Key

Your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys). Necessary if you choose "OpenAI ChatGPT" as your "Choose AI" option.

##### OpenAI Endpoint

Choose the OpenAI endpoint you want to use.

##### OpenAI Model

Choose the model you want to use. (default: `gpt-5-mini`).

##### Language

The language you want the summary to be in. Your choice will be used in a prompt like this "Answer in english". (default: `english`).

#### `summarizeVideoWithAnthropic`

##### Creativity

Choose how creative the AI should be.

##### Anthropic API Key

Your Anthropic API Key. You can get one [here](https://console.anthropic.com/dashboard). Necessary if you choose "Anthropic Claude" as your "Choose AI" option.

##### Anthropic Model

Choose the model you want to use. (default: `claude-haiku-4-5`).

##### Language

The language you want the summary to be in. Your choice will be used in a prompt like this "Answer in english". (default: `english`).

#### `summarizeVideoWithOllama`

##### Preferences for Ollama

##### Creativity

Choose how creative the AI should be.

##### Ollama Endpoint

Choose the Ollama endpoint you want to use. (default: `http://localhost:11434/v1`).

##### Ollama Model

Choose one of the models from Ollama's [model catalog](https://ollama.com/search). (default: `llama3.2:latest`).

##### Language

The language you want the summary to be in. Your choice will be used in a prompt like this "Answer in english". (default: `english`).

#### `summarizeVideoHistory`

Every summary is stored in the local database. You can retrieve and interact with the summaries by running the `summarizeVideoHistory` command.

#### Troubleshooting

##### YouTube Transcript Not Working

YouTube occasionally changes its internal API, which can break transcript fetching. To diagnose whether the issue is with YouTube's API or something else, run:

```bash
npm run check:youtube-api
```

This diagnostic script tests the transcript extraction against a known video. If it fails, the YouTube API internals have likely changed and the `getVideoTranscript.ts` utility needs to be updated.
