VideoAIGenerator Docs

VideoAIGenerator API Reference

The VideoAIGenerator API is organized around REST standards. All requests accept and return JSON payloads, emit standard HTTP response codes, and authenticate using enterprise Bearer tokens.

Current Base URL: https://videoaigenerator.de/api/v1
All traffic routes through our primary low-latency EU-Central gateway in Germany (DE-1).

Authentication

Authenticate requests by including your secret API key in the Authorization header:

Authorization: Bearer vag_live_948f2c0192e4a8b71d

API keys must be kept confidential and never committed to public repositories. All inference operations dispatched under your key consume allocated GPU compute credits.

Client SDKs

We provide official open client libraries for Python, Node.js, and Go:

pip install videoai-client
npm install @videoai/sdk

Live Inference Stream

POST https://videoaigenerator.de/api/v1/engine/inference/stream

Primary multiplexed HTTP/2 streaming endpoint used by the web studio and CLI tools for low-latency frame batches, audio synthesis, and reasoning token streams. Requires an active Bearer token.

curl -X POST https://videoaigenerator.de/api/v1/engine/inference/stream \
  -H "Authorization: Bearer vag_live_948f2c0192e4a8b71d" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/veo-3.1",
    "prompt": "Neon rain drone pass, 4K 24fps",
    "stream": true
  }'

Create Video Generation

POST https://videoaigenerator.de/api/v1/video/generations

Dispatches an asynchronous multi-pass video generation job to European H100 clusters.

Request Body Parameters

Field Type Description
model string (required) Target foundation model: google/veo-3.1, runway/gen-4.5, or kling/3.0.
prompt string (required) High-level descriptive prompt detailing visual elements, lighting, camera vectors, and style.
resolution string Output resolution: 1080p (default) or 4k (Scale and Enterprise tiers).
audio boolean Whether to synthesize synchronized spatial audio & Foley sound effects (default true).
webhook_url string HTTPS webhook destination called upon generation completion with signed payload.

Example Request

curl -X POST https://videoaigenerator.de/api/v1/video/generations \
  -H "Authorization: Bearer vag_live_948f2c0192e" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/veo-3.1",
    "prompt": "Cinematic tracking shot over neon Tokyo at night, rain reflections, 8K",
    "resolution": "4k",
    "fps": 24,
    "audio": true
  }'

Example Response (HTTP 202 Accepted)

{
  "id": "gen_88f20b4119ec",
  "object": "video.generation",
  "status": "queued",
  "model": "google/veo-3.1",
  "cluster": "eu-de-sxm5",
  "estimated_seconds": 2.8,
  "created_at": 1794500000
}

Retrieve Generation Status

GET https://videoaigenerator.de/api/v1/video/generations/{id}

Poll generation state or retrieve the signed high-speed CDN delivery URL upon completion.

{
  "id": "gen_88f20b4119ec",
  "status": "completed",
  "render_duration_ms": 2840,
  "output": {
    "url": "https://videoaigenerator.de/streams/88f20b4119ec/master_4k.mp4?sig=e92f1...",
    "resolution": "3840x2160",
    "fps": 24,
    "has_audio": true,
    "size_bytes": 48209140
  }
}

Chat & Reasoning Completion

POST https://videoaigenerator.de/api/v1/chat/completions

Execute structured reasoning and screenplay analysis with frontier models (openai/gpt-6-astra, anthropic/claude-opus-5.5, google/gemini-4-carbon).

Image & Style Generation

POST https://videoaigenerator.de/api/v1/images/generations

Generate high-resolution storyboard keyframes with google/nano-banana-pro or bfl/flux-2-pro.

Webhooks & Signatures

Completed jobs emit an automated HTTPS POST to your registered webhook_url. Verify authenticity using the X-Signature-Ed25519 header.

Rate Limits & Concurrency

Rate limits are enforced at the ingress proxy layer based on your preview allocation (Research Tier: 10 concurrent jobs, Partner Studio: 50 concurrent jobs, Dedicated Partition: custom reservation).

HTTP Status & Error Codes

Status Error Code Reason
401 unauthorized Supplied Bearer token is missing, invalid, or expired.
403 invite_invalid_or_expired Invalid or expired invite key; closed preview verification required.
405 method_not_allowed Unsupported HTTP verb for the target endpoint (inspect Allow header).
429 rate_limit_exceeded Too many requests submitted concurrently. Please respect exponential backoff.
503 cluster_rebalancing Transient cluster partition rebalancing. Retries safe with idempotency key.