D

DeepAI · Video API Text2video

by DeepAI

POSTBasezeroclick:card

$1

per call · USD Coin on Base

Submits a text to video job. Returns {id, status: "processing"} immediately; poll GET /video-api/status/{id} every few seconds until status is completed (output_url) or failed (error). The status record expires one hour after completion. Prompts over 3000 characters and flagged content are rejected with a 400. Billed per second at the chosen mode.

Endpoint

POST https://deepai.pay.zeroclick.io/video-api/text2video

1

Calls / 30d

1

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://deepai.pay.zeroclick.io/video-api/text2video", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "duration": 5,
    "mode": "hd",
    "prompt": "a golden retriever surfing a wave at sunset",
    "shape": "landscape"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://deepai.pay.zeroclick.io/video-api/text2video" \
  -H "Content-Type: application/json" \
  -d '{"duration":5,"mode":"hd","prompt":"a golden retriever surfing a wave at sunset","shape":"landscape"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x2a90d68071b16ba7ab236709d4e37a54f56fea3b
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, zeroclick:card
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from DeepAI & similar services