How I Built a Free AI Carousel Generator (With The WebJSON Prompting Technique) | AiTooly
New: Get the exact AI blueprints we use to scale income. Join Free
AI Automation

How I Built a Free AI Carousel Generator (With The WebJSON Prompting Technique)

By Admin 5 min read
How I Built a Free AI Carousel Generator (With The WebJSON Prompting Technique)
💡 Solution Summary: WebJSON is a specialized prompting technique that forces AI models to search the live web and format their responses into strict, ready-to-use JSON data. I used this to build a free tool that generates entire social media carousels (text + images) automatically.
Manual vs WebJSON
Manual vs WebJSON

If you've ever tried to grow an audience on LinkedIn or Instagram, you know that carousels are one of the highest-converting content formats available.

But I had a massive problem: I was spending hours designing them.

My brother creates content for social media, and watching him manually copy-paste text from ChatGPT into design software, search for background images, and adjust layouts slide-by-slide was agonizing.

I thought: What if I could automate this entire process using AI?

The challenge wasn't generating the text—any AI can do that today. The real bottleneck was getting the AI to output that text in a structured format that a software application could instantly read and render into a visual design.

That's when I discovered the WebJSON technique.

What Is WebJSON Prompting?

WebJSON is an advanced prompting technique that combines two incredibly powerful AI capabilities: live web search and structured JSON output.

Here’s the simple idea: You instruct an AI (like Claude or ChatGPT) to first search the web for accurate, real-time information. Then, you force it to output that information strictly in a specific JSON structure that you define.

Why does this matter for builders and marketers?

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

(I actually teach this technique in-depth alongside four others in my free YouTube series, which you can find in our AiTooly Blog Archive.)

How Does WebJSON Actually Work?

Working of WebJSON
Working of WebJSON

(The WebJSON technique creates a bridge between live web data and structured application endpoints.)

The technique relies on three core components:

  1. Force the Search: You explicitly tell the AI to search the web first. This ensures you get current, accurate information (like today's AI news) instead of hallucinated or outdated training data.
  1. Define a Strict Schema: You show the AI exactly what structure your software needs. You define the field names, the data types, and provide an example.
  2. Combine & Execute: The AI searches, synthesizes the information, and formats everything perfectly into your schema.
  3. Once I realized I could get Claude to output perfect JSON containing headers, text, and image prompts, I knew I could build software to read it.

I wanted a system where I could:

  1. Ask Claude for trending topics.
  2. Get a JSON file back.
  3. Drop it into an app.
  4. Have a beautiful carousel instantly generated.

Two days of intense coding later, I had a working system. By utilizing the JSON data, my custom-built AI tools could automatically map the text to HTML cards and use APIs to generate the background images.

💡 Pro Tip: If you want to build tools like this yourself, you need to understand how APIs communicate. JSON is the universal language of the web. Mastering prompts that output JSON is akin to mastering a new programming language.
I decided to make the tool completely free and open-source for the AiTooly community. Here is what it can do:
  • AI-Powered Image Generation: Connect your Google Gemini API key, and the tool reads the "visual" prompt from your JSON to automatically generate background images for every slide.
  • Platform-Ready Export: Generate vertical carousels optimized for Instagram (1080×1350) or square formats for LinkedIn and Twitter (1080×1080).
  • Full Customization: Control fonts, colors, branding elements, and gradient overlays. It includes 8 built-in premium themes.
  • Free Alternative (URL Mode): Don't want to pay for Gemini API requests? I built a version that prompts Claude to find existing* image URLs on the web and inject those into the JSON instead. Zero cost.

Step 1: Generate Your JSON with Claude

Open Claude (or ChatGPT) and use the WebJSON technique.

Example Prompt:

"Search the web for the latest AI news this week. Create a 7-slide carousel with headlines, body text, and visual image prompts for each slide. You MUST output this strictly as valid JSON matching this schema: [INSERT SCHEMA]."

Copy the generated JSON and save it as a file.

Step 2: Import into the App

Open the Carousel Generator application and click "Input JSON." Select your file. The tool will instantly populate all slides with your content.

Step 3: Generate the Magic

Click "Generate All". Watch as the tool loops through your JSON, hits the Gemini API for each slide's visual prompt, and creates your background images.

Step 4: Export and Post

Adjust your brand colors, preview the flow, and hit export. You'll get a ZIP file of high-res PNGs ready for LinkedIn or Instagram. WebJSON is a pattern you can apply to dozens of projects—from research tools to data dashboards. By combining web search with structured output, you can build applications that were previously impossible for solo founders.

If you are ready to stop wasting hours in Canva and start automating your content pipeline, you can download the full suite below.

    The download includes:
  • The Desktop Application (Windows, macOS, Linux)
  • The Full Source Code (modify it yourself!)
  • My exact WebJSON prompt templates.

Download the AI Carousel Generator Here (Link coming soon)


If you want to learn more about how to script and automate your own SEO and content workflows, be sure to check out our Keyword Density Checker and other free AI tools to streamline your marketing stack!