'use client'; /** * Getting Started Page - Production Documentation * * Refactored to use DocPage component for consistent layout * Layout handles SubsectionNav and Left Sidebar * DocPage handles Breadcrumb, Article structure, Next Steps, and TOC * This page provides only the content (Hero + sections) */ import { TipBox } from '@/components/docs/shared/TipBox'; import { CodeBlock } from '@/components/docs/shared/CodeBlock'; import { DocPage } from '@/components/docs/layout/DocPage'; import { Hero, SectionHeader, ResponseBlock, } from '@/components/docs/blocks'; 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 GettingStartedPage() { return ( {/* Hero Section */} {/* 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 are building a content creation platform, e-commerce site, or creative tool, Banatie provides the infrastructure you need to generate high-quality images at scale.

{/* Compact Tip Box */} New to API integration? Start with our{' '} code examples {' '} to see common use cases in action.
{/* Quick Start */}
Quick Start
Installation

Banatie is a REST API, so you do not 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.

{/* Prominent Tip Box for Security Warning */}
Security Best Practice: Keep your API keys secure. Never commit them to public repositories or expose them in client-side code. Use environment variables and server-side implementations for production applications.
{/* 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:

); }