77trust / 100

Vfx Review

by Rengi Forge in Company & people data

x402 APIPassing, checked 7 h ago

VFX review: Review one VFX clip (video or GIF) like a lead artist: frame strip, greyscale strip, energy curve, timing, white burn-out, contrast, flicker, loop seam, and scores with frame-tied fixes on rng-vfx's six qualities; optional reference to compare. Full schema: https://rengi.dev/v1/vfx/schema

POST
https://rengi.dev/v1/vfx/review
Price
$0.2
per call in USDC
Uptime
98.0%
last 30 days
Response time
111 ms
229 ms slowest 5%
Last check
Passed
7 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

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

How to call it

POST https://rengi.dev/v1/vfx/review

Each call costs $0.2 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://rengi.dev/v1/vfx/review
content-type: application/json

{
  "brief": "heavy sword slash on an enemy",
  "clipUrl": "https://rengi.dev/samples/slash-weak.mp4",
  "style": "stylized"
}

Parameters

ParameterTypeRequiredDescription
briefstringNoWhat the effect is meant to be, e.g. "heavy sword hit on an armoured enemy".
clipstringNoOne effect as a video or GIF, base64 (mp4, webm, mov, gif), up to 20 s.
clipUrlstring (uri)No
loopbooleanNotrue for looping effects (auras, fire, idle glow): checks the seam instead of the dissipation. Default: false.
referencestringNoOptional reference clip (base64) to compare against side by side.
referenceUrlstring (uri)No
stylestringNoThe rng-vfx style it should match: realism, stylized (MOBA), anime, toon, dark-fantasy, pixel. One of: auto, realism, stylized, anime, toon, dark-fantasy, pixel. Default: "auto".

Example response

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

Example response, 97 lines
{
  "comparison": [],
  "curve": "https://rengi.dev/files/<id>/curve.png",
  "findings": [
    {
      "code": "even_fade",
      "frames": "14-31",
      "message": "The fade is a straight line, like an alpha ramp. Make it uneven: a fast drop after the hold, then a long tail, with parts leaving at different times.",
      "quality": 4,
      "severity": "warning"
    },
    {
      "code": "white_body",
      "frames": "14",
      "message": "48% of the effect is pure white at its peak. Keep white to a small hot core; the body should stay saturated (lower intensity, or colour that does not burn out under bloom).",
      "quality": 5,
      "severity": "warning"
    }
  ],
  "greyStrip": "https://rengi.dev/files/<id>/strip-grey.png",
  "metrics": {
    "peakArea": 6.4,
    "peakBrightness": 255,
    "peakGreyContrast": 61,
    "peakSaturation": 22,
    "peakWhiteShare": 48
  },
  "reference": null,
  "review": {
    "notes": [
      {
        "fix": "Bring it in over 2-3 frames with an anticipation smear on frame 3.",
        "frames": "4-14",
        "issue": "The slash takes 10 frames to appear."
      }
    ],
    "scores": [
      {
        "name": "Reads from the gameplay camera",
        "note": "The arc reads in one frame.",
        "quality": 1,
        "score": 3
      },
      {
        "name": "Weight in proportion to the event",
        "note": "Too thin for a heavy hit.",
        "quality": 2,
        "score": 2
      },
      {
        "name": "The world reacts",
        "note": "Nothing happens on the target or the ground.",
        "quality": 3,
        "score": 1
      },
      {
        "name": "Timing has contrast",
        "note": "Swells over 10 frames, then an even fade.",
        "quality": 4,
        "score": 2
      },
      {
        "name": "Each material behaves like itself",
        "note": "The arc burns to white; no colour ramp.",
        "quality": 5,
        "score": 2
      },
      {
        "name": "The motion is polished",
        "note": "Smooth, slight shimmer on the tail.",
        "quality": 6,
        "score": 3
      }
    ],
    "verdict": "Would not ship next to MOBA slashes yet: the hit has no weight and the target does not react.",
    "weakest": 3
  },
  "strip": "https://rengi.dev/files/<id>/strip.png",
  "timing": {
    "attackFrames": 10,
    "attackMs": 167,
    "decayFrames": 17,
    "decayMs": 283,
    "endFrame": 31,
    "endsAt": 0.02,
    "fadeLinearity": 0.98,
    "flickers": [],
    "fps": 60,
    "frames": 90,
    "holdFrames": 1,
    "holdMs": 17,
    "peakFrame": 14,
    "startFrame": 4,
    "vanishFrame": null
  },
  "warnings": []
}

Call it from code

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

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://rengi.dev/v1/vfx/review' \
  -H 'content-type: application/json' \
  --data-raw '{"brief":"heavy sword slash on an enemy","clipUrl":"https://rengi.dev/samples/slash-weak.mp4","style":"stylized"}'

# 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://rengi.dev/v1/vfx/review' \
  -H 'content-type: application/json' \
  --data-raw '{"brief":"heavy sword slash on an enemy","clipUrl":"https://rengi.dev/samples/slash-weak.mp4","style":"stylized"}' \
  | 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 $0.2 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.2" });
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 $0.2 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frengi.dev%2Fv1%2Fvfx%2Freview&method=POST
const res = await pay("https://rengi.dev/v1/vfx/review", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "brief": "heavy sword slash on an enemy",
    "clipUrl": "https://rengi.dev/samples/slash-weak.mp4",
    "style": "stylized"
  }),
});
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 $0.2 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.2"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://rengi.dev/v1/vfx/review",
        json={
            "brief": "heavy sword slash on an enemy",
            "clipUrl": "https://rengi.dev/samples/slash-weak.mp4",
            "style": "stylized",
        },
    )
    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
7 h agoPassed402263 ms$0.2
41 h agoTimed out---
4 days agoTimed out---
4 days agoPassed402100 ms$0.2
4 days agoPassed402101 ms$0.2
Show 10 older checks
5 days agoPassed40235 ms$0.2
5 days agoPassed40248 ms$0.2
6 days agoPassed402163 ms$0.2
6 days agoPassed402149 ms$0.2
6 days agoPassed402160 ms$0.2
7 days agoPassed402152 ms$0.2
7 days agoPassed40291 ms$0.2
7 days agoPassed40232 ms$0.2
7 days agoPassed402115 ms$0.2
8 days agoPassed40298 ms$0.2