APIMODELSAPIMODELS

How to add video, voice cloning and dubbing APIs to an OpenRouter stack

Updated 2026-12-06

TL;DR If your application already runs LLMs through OpenRouter and now needs commercial video generation, voice cloning, 30-language video dubbing, or document OCR/SVG endpoints, apimodels.app fits in two ways: keep OpenRouter for provider-pinned or ZDR LLM calls and add APIMODELS as a dedicated media sidecar (57 video, 28 audio, and 46 image models on one prepaid USD balance), or point your OpenAI/Anthropic SDK at https://api.apimodels.app/v1 to run all 196 models with zero card top-up fees, automatic multi-channel failover, public 30-day success rates (/reliability), and $0 failed-call billing.

Model pages: Seedance 2.5 API · Veo 3.1 API · Kling 4.0 API · Seed Audio 1.5 API — pricing, specs and the playground

Engineering teams rarely start with a full multimodal rewrite. Most AI products begin as an LLM workflow on OpenRouter — using https://openrouter.ai/api/v1 for prompt routing, structured JSON extraction, and tool calling — and then hit a wall two months later when product requirements expand to generating 1080p marketing clips with synced sound, transferring character motion from a reference video, dubbing English product demos into Spanish and Japanese while keeping background music intact, or parsing 500-page scanned PDFs without burning frontier vision tokens.

At that point, teams usually face fragmentation: opening separate enterprise or prepaid accounts across Google Vertex AI (for Veo 3.1), ByteDance Volcengine (for Seedance 2.5 and Seed Audio 1.5), Kuaishou Kling (for Kling 4.0, Avatar, and Motion Control), ElevenLabs or Suno (for voice and music), and a GPU cloud for OCR. Each vendor enforces its own authentication scheme, regional KYB check, webhook retry quirk, file retention window, and minimum credit commitment.

APIMODELS (apimodels.app) eliminates that media sprawl without forcing you to rip out working OpenRouter code unless you want to. Verified on 2026-12-06, one API key on https://api.apimodels.app/v1 exposes 57 video models, 28 audio models, 46 image models, 63 commercial LLMs, and hosted OAuth MCP (https://api.apimodels.app/mcp). Below is the architectural blueprint, verified unit pricing, code patterns, and honest boundaries for combining or consolidating OpenRouter and APIMODELS.

What multimodal gaps OpenRouter teams hit in production

OpenRouter excels at routing chat completions across 80+ LLM inference providers and offers a 29-model async video endpoint at provider list prices. When teams build end-to-end media or agent pipelines, five specific gaps typically require a dedicated multimodal gateway:

1. Long-form and multi-reference video editing: Production ad and short-drama workflows need 4–30 second single-pass generation, up to 50 multimodal reference assets (character sheets, camera reference clips, and voice clips), video extension, and motion transfer — capabilities served here by Seedance 2.5, Seedance 2.5 Flash, Kling 4.0 (@Element mentions), Kling Multi-Elements, and Kling 3.0 Motion Control.

2. Video dubbing, foley, and stem separation: Text-to-speech alone cannot localize an existing video clip. Seed Audio 1.5 handles four audio tasks behind POST /v1/audio/generations: prompt-to-speech with up to six reference voice clips ($0.004/s), silent-video-to-audio foley and dialogue ($0.025/s), 30-language video dubbing that preserves background music ($0.0167/s), and multi-track stem separation ($0.0015/s per track), alongside ElevenLabs, SparkVoice 1.0, Fish Audio S2.1 Pro, and Suno music.

3. High-volume media unit economics and top-up fees: OpenRouter passes provider list prices through (for example $3.20 for an 8-second 1080p Veo 3.1 clip with audio, or $0.14/s for 720p Grok Imagine Video 1.5) and adds a 5.5% fee on credit card top-ups. APIMODELS credits 100% of every top-up (plus 2–5% bonus from $50) and prices Veo 3.1 at $1.00 ($0.088 on Veo 3.1 Fast 1080p) and Grok Imagine Video 1.5 720p at $0.04/s.

4. Dedicated document OCR and editable vector SVG endpoints: Passing dense PDFs or logos into frontier multimodal LLMs costs cents per page and produces approximate coordinates. Here, Unlimited-OCR-2 ($0.001/page) and Unlimited-SVG ($0.01/image) run through standard OpenAI-compatible chat completions.

5. Hosted OAuth MCP for coding agents: Instead of running local Python wrappers, teams connect Claude Code, Cursor, Codex, or Windsurf directly to https://api.apimodels.app/mcp via browser OAuth so agents can generate UI assets, demo videos, voiceovers, and SVGs inside the IDE.

Two integration patterns: Sidecar vs Single-Key Consolidation

You do not have to choose all-or-nothing on day one. Most engineering teams pick one of the two architectures below based on compliance and routing requirements.

DimensionPattern A: Sidecar (OpenRouter + APIMODELS)Pattern B: Single-Key Consolidation (APIMODELS only)
How LLM calls routeKeep OpenRouter (https://openrouter.ai/api/v1) for ZDR, provider pinning, BYOK, or free open-weight modelsPoint OpenAI SDK to https://api.apimodels.app/v1 and Anthropic SDK to https://api.apimodels.app
How Video / Audio / Image routeSend /v1/video/generations, /v1/audio/generations, /v1/images/generations, and OCR/SVG to APIMODELSSame APIMODELS key and prepaid USD balance covers LLMs, image, video, audio, OCR/SVG, and /mcp
Code changes requiredZero changes to existing LLM code; add one REST/OpenAI client for media tasksChange base_url, swap API key, and drop vendor prefixes (anthropic/claude-sonnet-5.5 -> claude-sonnet-5-5)
Commercial LLM token costProvider list price on OpenRouter + 5.5% card top-up feeBelow official list on major commercial LLMs (e.g. Claude Sonnet 5.5 $1.20/$6.00 vs $2/$10) + 0% top-up fee
Cost auditing & hard capsTwo prepaid balances (isolates media spend from LLM budget)One prepaid USD balance; HTTP 402 hard stop + GET /v1/records/{id} exact charge per request
Best fit forTeams bound by OpenRouter ZDR / EU-in-region rules or heavy open-weight model routingStartups, studios, and AI agent builders optimizing unit economics and single-balance simplicity

Verified 2026 multimodal endpoints & unit prices on APIMODELS

All prices below match the live billing registry on apimodels.app/pricing as of 2026-12-06. Async jobs (image, video, audio) return a taskId immediately, support webhook delivery via callback_url (retried for up to 30 minutes), keep output files downloadable for 30 days, and charge $0 if a task fails.

Category & Model IDEndpointKey CapabilityAPIMODELS Price
Veo 3.1 Fast (veo-3.1-fast-fhd)POST /v1/video/generations8 s, 1080p video with native synced audio$0.088 per 8 s clip
Veo 3.1 Standard (veo-3.1)POST /v1/video/generations8 s, 1080p cinema-grade clip with audio & frames$1.00 per 8 s clip
Grok Imagine Video 1.5 (grok-imagine-video-1.5)POST /v1/video/generations480p / 720p / 1080p text & image-to-video with audio$0.03 / $0.04 / $0.08 per s
Seedance 2.5 (seedance-2.5)POST /v1/video/generations4–30 s single pass, up to 50 ref assets, video edit & extendFrom $0.120 per s
Seedance 2.5 Flash (seedance-2.5-flash)POST /v1/video/generationsFaster 4–30 s tier with up to 10 images, 5 videos, 5 audios$0.091/s (480p) · $0.195/s (720p)
Kling 4.0 / Flash (kling-4.0 / kling-4.0-flash)POST /v1/video/generations3–30 s with native audio, keyframes & @Element subject refsFrom $0.157/s · Flash $0.094/s
Seed Audio 1.5 (seed-audio-1.5)POST /v1/audio/generationsVoice cloning (6 refs), video foley, 30-lang dubbing, stems$0.004/s TTS · $0.0167/s dubbing
SparkVoice 1.0 / ElevenLabs / Suno V5POST /v1/audio/generationsMultilingual TTS, sound effects, dialogue & full-song musicFixed per 1K chars or per run
Nano Banana Pro (gemini-3-pro-image)POST /v1/images/generations1K / 2K / 4K multi-reference character & text rendering$0.03 (1K) · $0.035 (2K) · $0.06 (4K)
GPT Image 2 (gpt-image-2)POST /v1/images/generations1K / 2K / 4K instruction-following image generation & edits$0.025 / $0.03 / $0.05 (medium)
Unlimited-OCR-2 / Unlimited-SVGPOST /v1/chat/completionsDocument/PDF Markdown OCR & editable vector SVG generation$0.001 / page · $0.01 / SVG

Agent cost guardrails, 30-day reliability JSON, and Hosted MCP

Autonomous agents that can spawn video or dubbing tasks need strict financial and reliability guardrails. Unlike post-paid cloud accounts where a runaway loop can rack up thousands of dollars overnight, APIMODELS runs strictly on a prepaid USD balance: once an API key’s account hits $0.00, new calls halt immediately with HTTP 402. Every synchronous and asynchronous call exposes its exact USD deduction via GET /v1/records/{id} (using the x-apimodels-request-id header or taskId), and GET /v1/balance lets orchestrators check remaining budget before dispatching a batch.

Before wiring any model into production, your router can even inspect live 30-day success rates programmatically: GET https://apimodels.app/api/v1/reliability returns a public, no-auth JSON snapshot covering 77 models (28 at 99.9% 30-day completion) alongside first-failure automatic failover recovery percentages (90.6% across image channels and 39.3% across video channels).

When to keep OpenRouter in your stack

Keep OpenRouter for LLM calls whenever your workload depends on per-request provider selection (order, only, ignore, :nitro, :floor), enforced Zero Data Retention (ZDR) routing, EU/US in-region compliance, Bring-Your-Own-Key (BYOK) fallback, contractual enterprise SLAs, or OpenRouter’s 25+ free open-weight models. APIMODELS does not expose upstream provider controls, offers no free-forever LLM tier, and cannot host custom fine-tuned weights (use fal.ai or Replicate for custom containers and LoRAs). Using OpenRouter for ZDR/open-weight text routing while sending video, audio, image, and OCR jobs to APIMODELS gives you both capabilities cleanly.

Início rápido

cURL

# 1) Video generation (Veo 3.1 Fast 1080p 8s with audio = $0.088, or seedance-2.5 / kling-4.0)
curl -X POST https://api.apimodels.app/v1/video/generations \
  -H "Authorization: Bearer $APIMODELS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3.1-fast-fhd",
    "prompt": "Close-up tracking shot of espresso pouring into a glass cup, morning café ambience",
    "aspect_ratio": "16:9",
    "callback_url": "https://your-app.example.com/webhooks/apimodels"
  }'

# 2) 30-language video dubbing with background music preserved (Seed Audio 1.5 = $0.0167/s)
curl -X POST https://api.apimodels.app/v1/audio/generations \
  -H "Authorization: Bearer $APIMODELS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seed-audio-1.5",
    "mode": "video_dubbing",
    "video_url": "https://your-cdn.example.com/demo-en.mp4",
    "target_language": "ja"
  }'

Python

import time, requests
from openai import OpenAI

# Keep your existing OpenRouter client if needed, or point OpenAI SDK directly at APIMODELS:
llm = OpenAI(base_url="https://api.apimodels.app/v1", api_key="YOUR_APIMODELS_KEY")
API_BASE = "https://api.apimodels.app/v1"
HEADERS = {"Authorization": "Bearer YOUR_APIMODELS_KEY"}

# Step 1: Write a storyboard prompt with Claude Sonnet 5.5 ($1.20 / $6.00 per 1M tokens)
plan = llm.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Write one vivid 6-second product video prompt for a titanium travel mug in rain."}],
)
video_prompt = plan.choices[0].message.content

# Step 2: Generate synced-audio video on Seedance 2.5 using the exact same API key
job = requests.post(
    f"{API_BASE}/video/generations",
    headers=HEADERS,
    json={"model": "seedance-2.5", "prompt": video_prompt, "resolution": "720p", "duration": 6},
).json()["data"]

while True:
    status = requests.get(f"{API_BASE}/video/generations", headers=HEADERS, params={"task_id": job["taskId"]}).json()["data"]
    if status["state"] in ("completed", "failed"):
        print("Video result:", status.get("resultUrls"), status.get("failMsg"))
        break
    time.sleep(5)

Perguntas frequentes

Can I keep OpenRouter for LLMs and only use APIMODELS for video and audio?

Yes. Many teams keep OpenRouter for ZDR or provider-pinned chat completions and call https://api.apimodels.app/v1/video/generations, /v1/audio/generations, and /v1/images/generations as a media sidecar. APIMODELS has no monthly subscription — you top up from $10 and pay only per completed clip, image, or audio second.

Does the OpenAI Python or TypeScript SDK work directly with APIMODELS?

Yes for all LLM, vision, OCR (unlimited-ocr-2), SVG (unlimited-svg), embeddings, and synchronous OpenAI-format image or speech endpoints — just set base_url to https://api.apimodels.app/v1 and drop vendor prefixes from model IDs. Long-running video and multi-mode audio tasks use lightweight REST create-and-poll or callback_url webhooks.

What happens if an async video or dubbing task fails or times out?

Failed tasks are never billed ($0.00), including upstream timeouts, provider errors, and content-moderation rejections. On major models, APIMODELS automatically retries across backup upstream channels before returning a failure, and any reserved balance is released back to your account immediately.

How long are generated video, audio and image URLs stored?

Result URLs in resultUrls remain downloadable for 30 days on APIMODELS (compared with 1 hour by default on Replicate), giving webhook consumers and batch jobs ample time to archive assets to your own S3 or R2 bucket.

How do AI coding agents call these video and audio models via MCP?

Add https://api.apimodels.app/mcp as a remote HTTP MCP server in Claude Code, Cursor, Codex, or VS Code and sign in once through browser OAuth (or install the npm package apimodels-mcp with an API key). Your agent gains native tools for image, video, speech, music, OCR, SVG, and media extraction.

Which payment methods and tax invoices are supported?

Top-ups start at $10 with zero platform processing fee via Stripe cards, PayPal, Alipay, or USDT (TRC-20 / BEP-20), with a 2–5% bonus on $50–$1,000 packages. Stripe card payments generate downloadable tax invoices automatically with your company name and VAT/EIN.

Relacionado

Presente em
APIMODELS on Product HuntAPIMODELS featured on ToolifyAPIMODELS featured on There's An AI For That