Skip to content
Fourohtwo

AI video generation API

blockrun.ai/api/v1/videos/generations

AI video generation API - pay per second with USDC on Base

BaseAnswering
POSThttps://blockrun.ai/api/v1/videos/generations

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://blockrun.ai/api/v1/videos/generations", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"duration_seconds":{"description":"Duration billed for (default: model default)","type":"integer"},"image_url":{"description":"Optional seed image URL for image-to-video","type":"string"},"model":{"description":"Video model ID (e.g., xai/grok-imagine-video, bytedance/seedance-2.0-fast)","type":"string"},"prompt":{"description":"Text description of the video to generate","type":"string"},"real_fac),
});
console.log(await res.json());

Example input

{"duration_seconds":{"description":"Duration billed for (default: model default)","type":"integer"},"image_url":{"description":"Optional seed image URL for image-to-video","type":"string"},"model":{"description":"Video model ID (e.g., xai/grok-imagine-video, bytedance/seedance-2.0-fast)","type":"string"},"prompt":{"description":"Text description of the video to generate","type":"string"},"real_fac

More from BlockRun.AIProvider status