'use client'; /** * Getting Started Page - Variant C: Modern & Visual (Shopify-inspired) * * Design Philosophy: Colorful, card-based, playful visual design * * Key Characteristics: * - NO section numbers (more visual/playful) * - Large emoji icons throughout (text-3xl) * - Gradient borders on all callout boxes * - More colorful design (purple/cyan/amber accents) * - Generous spacing (mb-12, p-6) * - Larger padding and gaps throughout * - Card-based sections with shadows * - Floating visual effects */ import { DocsLayoutC } from '@/components/docs/variant-c/DocsLayoutC'; import { DocsSidebarC } from '@/components/docs/variant-c/DocsSidebarC'; import { DocsTOCC } from '@/components/docs/variant-c/DocsTOCC'; import { Breadcrumb } from '@/components/docs/shared/Breadcrumb'; import { CodeBlock } from '@/components/docs/shared/CodeBlock'; const tocItems = [ { id: 'introduction', text: 'Introduction', level: 2 }, { id: 'quick-start', text: 'Quick Start', level: 2 }, { id: 'installation', text: 'Installation', level: 3 }, { id: 'authentication', text: 'Authentication', level: 3 }, { id: 'first-request', text: 'Your First Request', level: 2 }, { id: 'next-steps', text: 'Next Steps', level: 2 }, ]; export default function GettingStartedPageC() { return ( } toc={} > {/* Hero Section - Large and Colorful */}
🚀 START HERE

Getting Started

Welcome to the Banatie API documentation. Learn how to integrate AI-powered image generation into your applications in minutes.

{/* Introduction */}
👋

Introduction

Banatie is a developer-first API for AI-powered image generation. Built on Google Gemini 2.5 Flash and Imagen 4.0, it transforms text prompts and reference images into production-ready visuals.

Whether you're building a content creation platform, e-commerce site, or creative tool, Banatie provides the infrastructure you need to generate high-quality images at scale.

{/* Quick Start */}

Quick Start

📦

Installation

Banatie is a REST API, so you don't need to install any libraries. However, we provide SDKs for popular languages to make integration easier.

🔑

Authentication

All API requests require an API key. You can create an API key from your dashboard or using the bootstrap endpoint for initial setup.

💡

Security Tip

Keep your API keys secure. Never commit them to public repositories or expose them in client-side code.

{/* First Request */}
🎨

Your First Request

Let's generate your first image! This example uses curl, but you can use any HTTP client or our SDKs.

Expected Response:

            {`{
  "success": true,
  "data": {
    "url": "https://cdn.banatie.com/org/project/generated/2025-01/mountain_sunset.png",
    "filepath": "org/project/generated/2025-01/mountain_sunset.png",
    "width": 1920,
    "height": 1080,
    "promptEnhancement": {
      "enhancedPrompt": "A breathtaking mountain landscape..."
    }
  }
}`}
          
{/* Next Steps */}
🎯

Next Steps

📚

API Reference

Explore all available endpoints, parameters, and response formats.

🔐

Authentication Guide

Learn about API keys, rate limits, and security best practices.

💡

Examples

Browse code examples and use cases for common scenarios.

⚠️

Error Handling

Understand error codes and how to handle failures gracefully.

{/* Fun CTA Card */}
🎉

Ready to Build Something Amazing?

Start creating stunning AI-generated images for your applications today!

Explore the API
); }