M

madoromi · Interpret Full

by madoromi

POSTBase

$0.01

per call · USD Coin on Base

Japanese dream-interpretation agent API. Returns a Gemini-generated full interpretation from madoromi's curated dream-motif knowledge base (result schema agent-dream-insight.full.v1). Japanese output only. Dream text is never stored or logged. Async by default: the paid POST returns a job id in seconds; fetch the result with a plain free HTTP GET (no x402 client) at /api/agent/interpret/result/{job_id} (ready in ~15s). options.sync=true for one sync response (10-20s; client timeout 60s+).

Endpoint

POST https://madoromi.fun/api/agent/interpret/full

5

Calls / 30d

3

Unique payers / 30d

Sep 5

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://madoromi.fun/api/agent/interpret/full", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "dream": "海で泳いでいる夢を見ました。",
    "output_language": "ja"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://madoromi.fun/api/agent/interpret/full" \
  -H "Content-Type: application/json" \
  -d '{"dream":"海で泳いでいる夢を見ました。","output_language":"ja"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "job": {
    "expires_in_seconds": 3600,
    "id": "6f9d2c9e-6f60-4b6a-9e1f-3ad1c2b6a111",
    "poll_after_seconds": 5,
    "result_schema_version": "agent-dream-insight.full.v1",
    "result_url": "/api/agent/interpret/result/6f9d2c9e-6f60-4b6a-9e1f-3ad1c2b6a111",
    "status": "processing",
    "tier": "full"
  },
  "mode": "async",
  "note": "Generation continues server-side. Poll result_url with a plain HTTP GET until status is done — it is free: no payment, no x402 client, no PAYMENT-SIGNATURE header needed.",
  "ok": true,
  "schema_version": "agent-dream-insight.job.v1"
}

Payment details

Pay to0x60675cc0da2131dfd2e8b887ebf8356b2cbd701e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from madoromi & similar services