Text2Vid Open API

Public API service scaffold for exposing Text2Vid generation to external developers.

The service now centers on bearer-token access, asynchronous task resources, operator provisioning, and platform metadata routes. That gives us a deployable public API base before the broader platform experience fully lands.
Public APIAdmin ProvisioningNuxt 4Nuxt UIPostgreSQLevlog
Public metadata health

/api/meta/health

Last updated: 2026/4/12 07:01:19

{
  "success": true,
  "requestId": "ad310e23-95c0-4cc4-a5ce-567ebf959062",
  "data": {
    "service": "text2vid-open-api",
    "version": "0.1.0",
    "status": "ready",
    "database": {
      "configured": true,
      "connected": true
    },
    "api": {
      "publicBase": "/api/open/v1",
      "adminBase": "/api/admin"
    },
    "timestamp": "2026-04-12T07:01:19.152Z"
  }
}
Service version map

/api/meta/version

Last updated: Static service metadata loaded on demand

{
  "success": true,
  "requestId": "a65ca1d2-f3c8-4848-98e1-ef0efe279da6",
  "data": {
    "service": "text2vid-open-api",
    "version": "0.1.0",
    "runtime": "nuxt-nitro",
    "auth": {
      "scheme": "Bearer",
      "adminHeader": "x-admin-token"
    },
    "endpoints": {
      "models": "/api/open/v1/models",
      "createTask": "/api/open/v1/tasks",
      "getTask": "/api/open/v1/tasks/:taskId",
      "adminApps": "/api/admin/apps",
      "adminOverview": "/api/admin/overview",
      "metaHealth": "/api/meta/health",
      "llms": "/llms.txt"
    },
    "models": [
      {
        "id": "text2video-standard",
        "name": "Text2Video Standard",
        "category": "text-to-video",
        "status": "active",
        "description": "Balanced text-to-video generation for standard public API workloads.",
        "maxDurationSeconds": 10
      },
      {
        "id": "text2video-fast",
        "name": "Text2Video Fast",
        "category": "text-to-video",
        "status": "preview",
        "description": "Lower-latency text-to-video generation for quick iteration and debugging.",
        "maxDurationSeconds": 6
      },
      {
        "id": "image2video-standard",
        "name": "Image2Video Standard",
        "category": "image-to-video",
        "status": "preview",
        "description": "Animate an input image into short-form motion content through the same public task flow.",
        "maxDurationSeconds": 8
      }
    ]
  }
}
PostgreSQL probe

/api/database/ping

Last updated: 2026/4/12 07:01:19

{
  "ok": true,
  "provider": "postgresql",
  "driver": "pg",
  "database": "text2vid_open_api",
  "role": "root",
  "serverTime": "2026-04-12 07:01:19.1557+00",
  "version": "PostgreSQL 18.3",
  "sslMode": "disable",
  "timestamp": "2026-04-12T07:01:19.156Z"
}
API Service Surface

The repo is now shaped around public integration, not just starter probes.

This keeps the product in a modular-monolith posture: one deployable service for open APIs, admin provisioning, metadata endpoints, and the future platform UI.
Token-first public access
Third-party callers are provisioned as platform apps with scoped bearer tokens, masked previews, and one-time raw token delivery.
Async task API surface
The starter already exposes model discovery, task creation, and task lookup so outside teams can integrate before the broader platform UI ships.
Quota-aware operations
Task writes are guarded by daily quota and per-minute limits, with request logs split across public, admin, and metadata surfaces.