Zebracat Api Docs
    • Quick Start
    • API Key Management
      • List API Keys
        GET
      • Create API Key
        POST
      • Get API Key
        GET
      • Delete API Key
        DELETE
    • Billing
      • Get Balance & Purchase History
        GET
      • Purchase Credits
        POST
      • Get Usage
        GET
      • Get Usage Detail
        GET
    • Avatars
      • List Avatars
        GET
    • Brands
      • List Brands
        GET
      • Create Brand
        POST
      • Update Brand
        PUT
      • Partial Update Brand
        PATCH
      • Delete Brand
        DELETE
    • AI Characters
      • List Characters
        GET
      • Create Character
        POST
      • Suggest Character
        POST
      • Get Character
        GET
      • Update Character
        PUT
      • Partial Update Character
        PATCH
      • Delete Character
        DELETE
    • Image Generation
      • Generate AI Image
        POST
    • Videos
      • List Latest Videos
    • Music
      • List Music
      • Search Music
    • Projects
      • Rename Project
      • Delete Project
    • Scheduling
      • Connect Platform
      • Connected Platforms
      • Disconnect Platform
      • Create Post
      • List Posts
      • Get Post
      • Delete Post
    • Script Generation
      • Generate Voice-Over Script
    • Templates
      • List Templates
    • Agents
      • Agentic Video Generation
    • Video Generation
      • Audio to Video
      • Blog/URL to Video
      • Idea to Video
      • List Prompt Styles
      • Script to Video
      • Get Video Task Status
    • Video Translation
      • List Languages
      • Translate Video
    • Visual Styles
      • List Visual Styles
      • Create Visual Style
      • Activate Visual Style
      • Delete Visual Style
    • Voices
      • List Cloned Voices
      • Clone a Voice
      • List Voices
    • Webhooks
      • List Webhooks
      • Create Webhook
      • Get Webhook
      • Delete Webhook
    • Schemas
      • RequestBodies
        • activate_visual_styleData
      • APIKey
      • APIKeyCreate
      • Avatar
      • Brand
      • Character
      • ConnectPlatform
      • ConnectedPlatformsResponse
      • DisconnectPlatform
      • PostContent
      • PostResult
      • BulkPostResponse
      • SchedulingList
      • Template
      • Webhook
      • WebhookCreate

    Quick Start

    Get up and running with the Zebracat API in minutes. By the end of this guide, you'll have generated your first AI video from a text idea.

    Step 1 — Create an API Key#

    Before making any requests, you need an API key.
    POST https://api.zebracat.ai/api_keys
    You'll get back a response like this:
    {
      "id": 1,
      "api_key": "zc_live_xxxxxxxxxxxx",
      "name": "My First Key",
      "is_active": true
    }
    ⚠️ Save your api_key now. The full key is only shown once at creation.
    From here on, pass it in every request as a header:
    X-API-KEY: zc_live_xxxxxxxxxxxx

    Step 2 — Generate a Video from an Idea#

    Turn any text idea into a video in one call.
    POST https://api.zebracat.ai/v1/video/idea
    You'll receive a task_id immediately:
    {
      "task_id": "task_abc123",
      "status": "pending"
    }
    💡 Video generation runs asynchronously. Use the task_id in the next step to track progress.

    Step 3 — Poll for Video Status#

    GET https://api.zebracat.ai/v1/video/status?task_id=task_abc123
    Poll every 10–30 seconds until status is completed:
    {
      "task_id": "task_abc123",
      "status": "completed",
      "video_url": "https://cdn.zebracat.ai/videos/your-video.mp4"
    }
    Possible status values:
    StatusMeaning
    pendingTask is queued
    processingGenerating script & visuals
    renderingRendering final video
    completed✅ Video is ready
    failed❌ Something went wrong

    What's Next?#

    🎙 Script to Video — Use your own script instead of an idea
    🌐 Blog/URL to Video — Turn any webpage into a video
    🔔 Webhooks — Get notified automatically when your video is ready instead of polling
    🎨 Visual Styles — Customize the look of your video
    Next
    List API Keys
    Built with