29trust / 100

Video Gen

by Otto AI in AI models & inference

x402 APIFailing, checked 2 days ago

AI video generation via fal.ai — default model: ByteDance Seedance 2.0. Alternative: fal-ai/veo3.1. Dynamic pricing per request: at-cost fal.ai rate + 15% margin (floor $0.05); the advertised price is the Seedance 5s reference quote — the actual quote is returned per request. Supports text-to-video and image-to-video.

POST
https://x402.ottoai.services/video-gen
Price
$1.75
per call in USDC
Uptime
38.5%
last 30 days
Response time
363 ms
612 ms slowest 5%
Last check
Failed
2 days ago, next in 20 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 2 days ago: Expected HTTP 402, got 410

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://x402.ottoai.services/video-gen

Each call costs $1.745 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://x402.ottoai.services/video-gen
content-type: application/json

{
  "aspect_ratio": "16:9",
  "duration": 5,
  "model": "seedance-2.0",
  "prompt": "A serene mountain landscape at sunset with slow drone flyover"
}

Parameters

ParameterTypeRequiredDescription
aspect_ratiostringNoOutput aspect ratio (default 16:9). 1:1 on seedance-2.0 only One of: 16:9, 9:16, 1:1.
durationintegerYesWhole seconds. seedance-2.0: 4-10; veo-3.1: 4, 6 or 8
image_urlstringNoOptional: public HTTPS image URL (JPEG, PNG or WebP) for image-to-video (seedance-2.0 only)
modelstringNoVideo model (default: seedance-2.0) One of: seedance-2.0, veo-3.1.
promptstringYesVideo prompt (20-1000 chars). Describe motion, camera, scene.

Example response

The provider's example. We can't check it without paying.

{
  "duration": 5,
  "model": "seedance-2.0",
  "price": 1.75,
  "resolution": "720p",
  "status": "success",
  "videoUrl": "https://images.useotto.xyz/xyz.mp4"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $1.745.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402.ottoai.services/video-gen' \
  -H 'content-type: application/json' \
  --data-raw '{"aspect_ratio":"16:9","duration":5,"model":"seedance-2.0","prompt":"A serene mountain landscape at sunset with slow drone flyover"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://x402.ottoai.services/video-gen' \
  -H 'content-type: application/json' \
  --data-raw '{"aspect_ratio":"16:9","duration":5,"model":"seedance-2.0","prompt":"A serene mountain landscape at sunset with slow drone flyover"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $1.745 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$1.745" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $1.745 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Fvideo-gen&method=POST
const res = await pay("https://x402.ottoai.services/video-gen", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "aspect_ratio": "16:9",
    "duration": 5,
    "model": "seedance-2.0",
    "prompt": "A serene mountain landscape at sunset with slow drone flyover"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $1.745 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$1.745"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://x402.ottoai.services/video-gen",
        json={
            "aspect_ratio": "16:9",
            "duration": 5,
            "model": "seedance-2.0",
            "prompt": "A serene mountain landscape at sunset with slow drone flyover",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 days agoExpected HTTP 402, got 410410417 ms-
7 days agoExpected HTTP 402, got 41041037 ms-
11 days agoExpected HTTP 402, got 410410220 ms-
14 days agoExpected HTTP 402, got 410410327 ms-
17 days agoExpected HTTP 402, got 410410333 ms-
Show 10 older checks
20 days agoExpected HTTP 402, got 41041038 ms-
23 days agoExpected HTTP 402, got 410410401 ms-
24 days agoExpected HTTP 402, got 410410474 ms-
26 days agoExpected HTTP 402, got 410410367 ms-
27 days agoExpected HTTP 402, got 410410310 ms-
27 days agoExpected HTTP 402, got 410410295 ms-
28 days agoExpected HTTP 402, got 410410253 ms-
28 days agoExpected HTTP 402, got 410410454 ms-
28 days agoExpected HTTP 402, got 410410570 ms-
29 days agoExpected HTTP 402, got 410410253 ms-

History

11 Oct 2026Price changed from $1.75 to $1.75