Skip to content
프로젝트

fujc683/ai-video-api-gateway

GitHub에서 보기

소개

Seedance, Kling, Wan, PixVerse, Veo를 위한 OpenAI 호환 단일 엔드포인트입니다.

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+233
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

video API

AI Video API Gateway — one endpoint for every video model

Route Seedance, Kling, Wan, PixVerse and Veo through one OpenAI-compatible endpoint.

Awesome License: CC BY 4.0

👉 Get a video API key

https://gola.apimart.ai/k-rQYkFg

💰 Pricing · 🔑 API key · 📘 Docs


One endpoint, every video model

Instead of integrating Seedance, Kling, Wan, PixVerse and Veo separately, point everything at one gateway and switch with a model string.

Model Strength Price / s
Seedance 2.5 Flash long clips (30 s), fast $0.1836
Seedance 2.0 motion realism $0.20
Kling 4.0 Flash stylized motion $0.19
Wan 3.0 cheap drafts $0.09
PixVerse 6 creative transitions $0.12
Veo 3 1080p + native audio $0.35

Routing pattern

MODELS = {
    "draft":   ("seedance-2-5-flash", "480p"),
    "final":   ("seedance-2-5-flash", "720p"),
    "audio":   ("veo-3",              "1080p"),
    "cheap":   ("wan-3-0",            "480p"),
}

def make(prompt, tier="draft", seconds=4):
    model, res = MODELS[tier]
    return submit(model=model, prompt=prompt, duration=seconds, resolution=res)

Fallback on failure

try:
    return submit("seedance-2-5-flash", ...)
except UpstreamError:
    return submit("kling-4-0-flash", ...)   # same payload shape

What the gateway handles for you

  • Unified auth — one key, per-model quota
  • Unified billing — one balance, one invoice, per-second metering
  • Unified retry — transient upstream errors are retried before you see them
  • Unified schema — duration / ratio / resolution mean the same thing

Migration cost

Existing OpenAI-style clients:

client = OpenAI(base_url="https://api.apimart.ai/v1", api_key=KEY)

That is the entire migration.


Related

License

CC BY 4.0

관련 프로젝트 살펴보기

불러오는 중…