"use client"; import { Navbar } from "@/components/landing/Navbar"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Check, Copy, Terminal, Play, BarChart3, Coins } from "lucide-react"; export default function ApiDocs() { return (

VidSimplify API

Integrate precision animation generation directly into your product. Simple, RESTful, and scalable.

{/* Main Documentation Area */}
Quick Start Generate your first video in 3 steps Python cURL Node.js
# 1. Create a video job
import requests
                                                {`response = requests.post(
  "https://api.vidsimplify.com/v1/videos",
  headers={"Authorization": "Bearer YOUR_API_KEY"},
  json={
    "prompt": "Explain database sharding",
    "category": "tech_system",
    "duration_minutes": 5
  }
)

job_id = response.json()["job_id"]
print(f"Job started: {job_id}")`}
                                            
                                                {`curl -X POST https://api.vidsimplify.com/v1/videos \\
  -H "Authorization: Bearer YOUR_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{
    "prompt": "Explain database sharding",
    "category": "tech_system"
  }'`}
                                            
Endpoints {[ { method: "POST", path: "/v1/videos", desc: "Create a new video generation job" }, { method: "GET", path: "/v1/jobs/{job_id}", desc: "Check generation status and progress" }, { method: "GET", path: "/v1/videos/{video_id}/download", desc: "Get secure download URL" }, { method: "GET", path: "/v1/usage", desc: "Get current billing period usage" } ].map((ep, i) => (
{ep.method} {ep.path}
{ep.desc}
))}
{/* Sidebar / Dashboard Simulation */}
Usage & Cost
API Calls 8,432 / 10,000
Video Minutes 450 / 500
Current Bill $45.00

Enterprise Plan

Need higher limits or dedicated rendering clusters?

); }