WebJSON Prompting: Build an AI Carousel Generator with Claude

WebJSON Prompting: Build an AI Carousel Generator with Claude

WebJSON is a prompting technique that forces AI models like Claude to search the web for real-time data, then output structured JSON you can use in applications. I used this technique to build a free, open-source carousel generator that creates professional social media carousels in seconds. In this post, I’ll teach you the WebJSON technique and show you how to download and use the tool yourself.

WebJSON is a prompting technique that combines two powerful capabilities: web search and structured JSON output.

Here’s the simple idea. You instruct Claude (or another AI) to first search the web for accurate, up-to-date information. Then you force it to output that information in a specific JSON structure you define.

Because once you have structured JSON, you can feed it directly into applications. No manual data entry. No copy-pasting. Just automated workflows powered by real-time web data.

I discovered this technique while building my Prompting 2.0 course , and it’s one of five advanced techniques I teach there. But WebJSON alone has helped me build multiple useful tools, including the carousel generator I’m sharing today.

The technique has three core components.

First, you tell the AI to search the web. This ensures you get current, accurate information instead of outdated training data.

Second, you define a strict JSON schema. You show the AI exactly what structure you need — field names, data types, examples.

Third, you combine both in one prompt. The AI searches, gathers information, and formats everything into your schema automatically.

Here’s a simplified example of what a WebJSON output looks like:

The “ visual ” field in my schema is particularly clever. It contains an image prompt that I can pass to any AI image generator. So Claude searches the web, writes the content, AND creates the image prompts — all in one step.

My brother creates content for social media. He was spending hours designing carousels manually.

I thought: what if I could automate this entire process?

The challenge wasn’t generating text. Any AI can do that. The challenge was getting structured output I could actually use in a design tool.

That’s when WebJSON clicked.

I could have Claude search for trending topics, generate carousel content, create image prompts, and output everything in a format my application could render instantly.

Two days of prompt engineering later, I had a working system.

The tool is completely free and open-source. Here’s what you get:

AI-Powered Image Generation Connect your Google Gemini API key and the tool generates background images automatically.

Platform-Ready Export Export vertical carousels for Instagram (1080×1350) or square formats for LinkedIn and Twitter (1080×1080). Save as individual PNGs or batch export as ZIP.

Full Customization Control fonts, colors, text effects, gradient overlays, branding elements, and more. The tool includes 8 built-in themes to get you started.

Multiple Layouts Choose from intro slides, content slides, and outro slides. Four layout options let you position text and images exactly where you want them.

Open Claude and use the WebJSON technique. Ask it to search the web for your topic and output content in the required JSON format.

Example prompt: “Search the web for the latest AI news this week. Create a 7-slide carousel with headlines, body text, and visual prompts for each slide. Output as JSON.”

Download the JSON file Claude generates.

Open the application and click “Input JSON.” Select your downloaded file.

The tool instantly populates all slides with your content — headlines, body text, and image prompts ready to go.

Click “Generate All” and watch the tool create background images for every slide. This uses Google Gemini’s image generation (you’ll need an API key).

Want it completely free? Use my alternative project that searches for real image URLs instead of generating them. Claude finds relevant images from the web and includes the URLs directly in the JSON.

Adjust fonts, colors, and layouts to match your brand. Preview changes in real-time.

Export for your platform and post.

Generating images with Gemini costs money (though it’s cheap).

I built a second version that’s completely free.

Instead of generating image prompts, this version instructs Claude to search for actual image URLs. The carousel generator then downloads these images directly into your slides.

Same workflow. Same quality. Zero cost.

Both versions are included in the download.

Here’s what I want you to take away from this post.

The carousel generator is cool. But the real value is the technique behind it.

WebJSON is a pattern you can apply to dozens of projects:

Research tools that gather and structure information automatically

Content generators that create blog outlines, social posts, or email sequences

Data dashboards that pull real-time information into visualizations

Automation workflows that connect AI insights to your existing tools

Once you understand how to combine web search with structured output, you can build applications that were previously impossible without complex APIs and data pipelines.

I teach this technique (along with four others) in my Advanced Prompting course on YouTube. It’s free and covers everything you need to start building AI-powered tools.

No command line. No coding. Just download and run.

The download includes:

Desktop application (Windows, macOS, Linux)

WebJSON prompt templates

I encourage you to open the source code and experiment. Add new features. Try different image models. Build new layouts.

This is how you learn — by taking working projects and making them your own.

If you want structured guidance on building projects like this, check out Solo Builder V1 Course where I teach you to go from zero to shipping your dream project in 12 days.

WebJSON is a technique that instructs AI models to search the web for current information and output results in a structured JSON format. This lets you feed AI-generated content directly into applications without manual formatting.

Yes. Use the URL-based version that searches for existing images instead of generating them. This version is completely free with no API required.

The tool exports Instagram vertical (1080×1350), LinkedIn square (1080×1080), and Twitter square (1080×1080) formats. You can export individual PNGs or batch download as ZIP.

Yes. The technique works with any AI that supports web search and can follow JSON schema instructions. Claude, ChatGPT with browsing, and Perplexity all support this pattern.

The generator includes controls for fonts, colors, text effects, gradient overlays, layouts, and branding. Eight built-in themes provide starting points you can modify.

Now you have both WebJSON and The Carousal Generator

Download the tool, study the prompts, and start experimenting. The best way to learn AI development is by building real projects that solve real problems.

And if you want to go deeper into advanced prompting techniques, watch my full Prompting 2.0 course on YouTube. WebJSON is just one of five techniques I cover.

TL;DRYou can create professional motion graphics, animations, and videos using AI completely free. The trick is combining a specially crafted prompt with Remotion, an open-source video renderer. I bui...

TL;DR Google’s AI Overviews now answer searches directly at the top of results. If your site isn’t mentioned there, you’re invisible to a growing number of users. I built a free Google AIO Toolkit th...

When you’re building apps or websites, getting them to run the same way everywhere is a constant headache. Maybe it works fine on your laptop, but it crashes on your server. One project needs Python ...

Recommended articles