68trust / 100
Media Studio Generations Create
by HivemindOS in AI models & inference
x402 APIPassing, checked 2 h ago
Media Studio image or video: generates an image (FLUX, Imagen 4, GPT Image, Nano Banana Pro) or a video (Seedance, Kling, Veo 3.1) from a prompt. $0.04 this call, in USDC on Base; you pay only if it succeeds. HivemindOS SuperAgent API.
POST https://api.hivemindos.app/v1/x402/media-studio/generations.create
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 93.3%
- Response time
- 3.8 s typical, 4.7 s slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.hivemindos.app/v1/x402/media-studio/generations.create" \
-H "content-type: application/json" \
-d '{"input":{"prompt":"A honeybee on a lavender flower, macro photo"},"kind":"image","model":"flux-dev"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.hivemindos.app%2Fv1%2Fx402%2Fmedia-studio%2Fgenerations.create
const res = await pay("https://api.hivemindos.app/v1/x402/media-studio/generations.create", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"input":{"prompt":"A honeybee on a lavender flower, macro photo"},"kind":"image","model":"flux-dev"}),
});
console.log(await res.json());Example input
{
"input": {
"prompt": "A honeybee on a lavender flower, macro photo"
},
"kind": "image",
"model": "flux-dev"
}Example output
{
"chargedCredits": 0,
"followUp": {
"apiKey": "hmos_live_…",
"remainingCredits": 0,
"use": "Poll the job with this key."
},
"ok": true,
"operationId": "…",
"result": {},
"serviceId": "…",
"status": 200,
"x402": {
"charged": true,
"priceUsd": 0.99,
"receiptId": "x402call_…"
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 3.8 s | $0.04 |
| 6 h ago | Passed | 402 | 3.9 s | $0.04 |
| 9 h ago | Passed | 402 | 4.6 s | $0.04 |
| 13 h ago | Passed | 402 | 2.9 s | $0.04 |
| 17 h ago | Passed | 402 | 3.7 s | $0.04 |
| 20 h ago | Passed | 402 | 4.3 s | $0.04 |
| 24 h ago | Passed | 402 | 4.5 s | $0.04 |
| 27 h ago | Passed | 402 | 3.5 s | $0.04 |
| 31 h ago | Passed | 402 | 5.3 s | $0.04 |
| 35 h ago | Timed out | - | - | - |
| 38 h ago | Passed | 402 | 4.3 s | $0.04 |
| 42 h ago | Passed | 402 | 3.6 s | $0.04 |
| 45 h ago | Passed | 402 | 3.2 s | $0.04 |
| 2 days ago | Passed | 402 | 4.7 s | $0.04 |
| 2 days ago | Passed | 402 | 3.5 s | $0.04 |