> ## Documentation Index
> Fetch the complete documentation index at: https://gigareels.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Breaking News

> Generate SpongeBob-style breaking news videos

# Breaking News Videos

Create viral SpongeBob-style fish reporter breaking news videos perfect for announcements, memes, and trending topics.

## Overview

Breaking News videos feature the iconic SpongeBob fish reporter format with:

* **Dramatic TV news presentation**
* **SpongeBob-style fish reporter character**
* **Breaking news graphics and sound effects**
* **Perfect for viral content and announcements**

## Basic Usage

```javascript theme={null}
import { GigaReels } from "@gigareels/sdk";

const client = new GigaReels("your-api-key");

const task = await client.templates.brainrot.newsFish({
	searchTerm: "AI robots take over fast food industry!",
	webhookUrl: "https://your-app.com/webhook",
});

console.log("Breaking news video started:", task.taskId);
```

## Parameters

**searchTerm** `string` *required*

The breaking news headline or topic to report on

**webhookUrl** `string`

URL to receive completion notification

## Content Ideas

### Tech & AI News

Perfect for covering technology trends and AI developments:

> [tab] AI News
>
> ```javascript theme={null}
> await client.templates.brainrot.newsFish({
>   searchTerm: "New AI can predict what you'll order for lunch!"
> });
>
> await client.templates.brainrot.newsFish({
>   searchTerm: "ChatGPT now writes better poems than Shakespeare!"
> });
>
> await client.templates.brainrot.newsFish({
>   searchTerm: "AI robots learn to make perfect pizza in 30 seconds!"
> });
> ```

> [tab] Social Media Trends
>
> ```javascript theme={null}
> await client.templates.brainrot.newsFish({
>   searchTerm: "TikTok dance moves now required curriculum in schools!"
> });
>
> await client.templates.brainrot.newsFish({
>   searchTerm: "Instagram adds 'Cringe Filter' to protect users' dignity!"
> });
>
> await client.templates.brainrot.newsFish({
>   searchTerm: "Scientists discover optimal TikTok video length is exactly 23.7 seconds!"
> });
> ```

> [tab] Absurd Headlines
>
> ```javascript theme={null}
> await client.templates.brainrot.newsFish({
>   searchTerm: "Local man discovers cats have been plotting world domination since 1987!"
> });
>
> await client.templates.brainrot.newsFish({
>   searchTerm: "Breaking: Millennials blamed for decline in traditional alarm clock industry!"
> });
>
> await client.templates.brainrot.newsFish({
>   searchTerm: "Area woman's houseplant finally speaks up, demands better WiFi!"
> });
> ```

## Best Practices

### Headline Writing

> [accordion] Make it Absurd but Believable
>
> The best breaking news videos have headlines that are funny because they're almost believable:
>
> ✅ **Good**: "Scientists discover plants prefer jazz music over classical"
> ❌ **Bad**: "Plants become sentient and start singing opera"
>
> ✅ **Good**: "New study shows cats judge their owners' Netflix choices"
> ❌ **Bad**: "Cats develop ability to speak fluent French"

&#x20;

> [accordion] Use Current Trends
>
> Reference trending topics, technologies, or cultural phenomena: - **Tech trends**: AI, crypto,
> social media platforms - **Cultural references**: Generational differences, modern life - **Timely
> events**: Holidays, seasons, current events (but keep it light)

> [accordion] Keep it Concise
>
> Headlines should be punchy and fit within the news format:
>
> ✅ **Good length**: "TikTok algorithm reveals secret to viral success: dancing cats"
> ❌ **Too long**: "In a groundbreaking study that will revolutionize our understanding of social media engagement, researchers have discovered that the TikTok algorithm secretly prefers videos featuring cats performing dance moves"

### Content Categories

> [card] 🤖 Technology News
>
> AI, social media, apps, tech trends **Examples**: - "New iPhone feature reads your mind" - "Zoom
> adds 'awkward silence' notification" - "GPS now judges your life choices"

> [card] 📱 Social Media
>
> Platform updates, influencer culture, online trends **Examples**: - "Instagram Stories now last
> 25 hours" - "LinkedIn adds relationship status feature" - "Twitter character limit reduced to 3"

> [card] 🏠 Modern Life
>
> Everyday situations, generational differences **Examples**: - "Millennials killing doorbell
> industry" - "Gen Z discovers physical books exist" - "Boomers master TikTok, teenagers flee
> platform"

> [card] 🎭 Absurd Discoveries
>
> Fake scientific discoveries, unusual studies **Examples**: - "Study: Houseplants judge your
> interior design" - "Scientists solve mystery of missing socks" - "Research confirms Monday is
> scientifically worse"

## Advanced Examples

### Batch News Generation

Generate multiple breaking news videos for different topics:

```javascript theme={null}
async function generateNewsReel() {
	const headlines = [
		"Local coffee shop WiFi password changed, productivity plummets citywide!",
		"Study reveals people check phone 247 times per day, researchers shocked it's so low!",
		"Breaking: Autocorrect finally learns the difference between 'duck' and... well, you know!",
		"Scientists discover perfect work-from-home outfit: pajama top, business bottom!",
		"Area man's Spotify Wrapped reveals embarrassing amount of 2000s boy band music!",
	];

	const tasks = await Promise.all(
		headlines.map(headline =>
			client.templates.brainrot.newsFish({
				searchTerm: headline,
				webhookUrl: "https://your-app.com/webhook",
			})
		)
	);

	console.log(`🚀 Generated ${tasks.length} breaking news videos`);
	return tasks;
}
```

### Seasonal Content

Create timely breaking news based on seasons or events:

```javascript theme={null}
async function generateSeasonalNews() {
	const currentMonth = new Date().getMonth();
	let headline;

	switch (currentMonth) {
		case 0: // January
			headline =
				"New Year's resolutions industry reports record profits from abandoned gym memberships!";
			break;
		case 1: // February
			headline = "Valentine's Day: Local florists accidentally corner global economy!";
			break;
		case 11: // December
			headline = "Christmas lights visible from space, aliens request volume reduction!";
			break;
		default:
			headline = "Breaking: Meteorologists baffled by weather that matches their predictions!";
	}

	return await client.templates.brainrot.newsFish({
		searchTerm: headline,
	});
}
```

### Trending Topic Integration

Create news based on current trends (use with caution and fact-checking):

```javascript theme={null}
async function generateTrendingNews(trendingTopic) {
	const absurdAngles = [
		`Scientists study ${trendingTopic}, conclude humans are even weirder than expected!`,
		`${trendingTopic} shortage causes panic, millennials switch to alternative trends!`,
		`Breaking: Local grandmother becomes expert on ${trendingTopic}, teenagers everywhere confused!`,
		`Study reveals ${trendingTopic} has been around since ancient times, Gen Z claims they invented it!`,
	];

	const randomAngle = absurdAngles[Math.floor(Math.random() * absurdAngles.length)];

	return await client.templates.brainrot.newsFish({
		searchTerm: randomAngle,
	});
}

// Usage
await generateTrendingNews("NFTs");
await generateTrendingNews("sustainable fashion");
```

## Platform Optimization

### TikTok & Instagram Reels

Breaking news videos are perfect for short-form content:

```javascript theme={null}
async function createViralNews() {
	const task = await client.templates.brainrot.newsFish({
		searchTerm: "Scientists discover the perfect TikTok length: exactly 15.7 seconds!",
	});

	// Auto-upload to social media
	if (task.outputUrl) {
		await client.socialMedia.uploadToMultiplePlatforms({
			videoUrl: task.outputUrl,
			title: "📺 BREAKING: The TikTok algorithm secret revealed! #news #tiktok #algorithm",
			username: "your_user_id",
			platforms: ["tiktok", "instagram"],
			tiktokOptions: {
				privacy_level: "PUBLIC_TO_EVERYONE",
			},
			instagramOptions: {
				media_type: "REELS",
				share_to_feed: true,
			},
		});
	}
}
```

### YouTube Shorts

For longer-form content with context:

```javascript theme={null}
async function createYouTubeNews() {
	const task = await client.templates.brainrot.newsFish({
		searchTerm: "YouTube's algorithm admits it doesn't understand its own recommendations!",
	});

	// Add context for YouTube audience
	const contextualTitle =
		"🚨 BREAKING NEWS: YouTube Algorithm Finally Admits Confusion! #shorts #youtube #algorithm #news";

	return { task, title: contextualTitle };
}
```

## Error Handling & Validation

```javascript theme={null}
import { GigaReels, ValidationError } from "@gigareels/sdk";

async function safeNewsGeneration(headline) {
	try {
		// Validate headline length
		if (headline.length < 10) {
			throw new Error("Headline too short - needs to be at least 10 characters");
		}

		if (headline.length > 200) {
			throw new Error("Headline too long - should be under 200 characters");
		}

		const task = await client.templates.brainrot.newsFish({
			searchTerm: headline,
		});

		console.log("✅ Breaking news video started:", task.taskId);
		return task;
	} catch (error) {
		if (error instanceof ValidationError) {
			console.error("❌ Validation failed:", error.message);
		} else {
			console.error("❌ Generation failed:", error.message);
		}
		throw error;
	}
}
```

## Content Moderation Guidelines

> [!WARNING]
>
> **Content Guidelines**: While breaking news videos are meant to be humorous and absurd, avoid
> content that could be harmful, misleading about real events, or offensive. Keep it light, fun, and
> obviously satirical.

### Recommended Content

✅ **Good Topics**:

* Technology humor and trends
* Social media platform jokes
* Generational differences
* Everyday life observations
* Obviously fake "scientific discoveries"

❌ **Avoid**:

* Real breaking news or disasters
* Political content (unless very obviously satirical)
* Misleading health information
* Content that could cause panic or confusion

## Use Cases

> [tab] Content Creators
>
> ```javascript theme={null}
> // Daily news series
> const dailyNews = await client.templates.brainrot.newsFish({
>   searchTerm: "Area person successfully avoids small talk in elevator, receives Nobel Prize!"
> });
>
> // Trend commentary
> const trendNews = await client.templates.brainrot.newsFish({
>   searchTerm: "Scientists confirm it's physically impossible to fold fitted sheets correctly!"
> });
> ```

> [tab] Brand Marketing
>
> ```javascript theme={null}
> // Product announcements (keep it fun)
> const productNews = await client.templates.brainrot.newsFish({
>   searchTerm: "Local coffee shop's WiFi password so secure, even customers can't remember it!"
> });
>
> // Industry humor
> const industryNews = await client.templates.brainrot.newsFish({
>   searchTerm: "Marketing team discovers customers actually read terms and conditions, panics!"
> });
> ```

> [tab] Educational Content
>
> ```javascript theme={null}
> // Fun facts format
> const funFact = await client.templates.brainrot.newsFish({
>   searchTerm: "Study reveals humans spend 3 years of life looking for misplaced items!"
> });
>
> // Science communication
> const scienceNews = await client.templates.brainrot.newsFish({
>   searchTerm: "Researchers confirm coffee is essential for human survival, water is secondary!"
> });
> ```

## Next Steps

**1. Brainstorm Headlines**

Create a list of funny, absurd but believable headlines

**2. Test Different Topics**

Try various content categories to see what resonates with your audience

**3. Optimize for Platforms**

Tailor your headlines and upload settings for each social media platform

**4. Monitor Performance**

Track which types of headlines perform best and create more similar content

> [card] Ready to Create Viral News?
>
> Start generating breaking news videos and explore other [render types](https://gigareels.mintlify.site/render-types/overview.md) for
> more content options.

&#x20;


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.