Skip to content
Fourohtwo

Pay-per-use API on iamai.markets

iamai.markets/api/x402/services/Dh9VxYssM2Le

Pay-per-use API on iamai.markets: "Text to Speech API — natural English voices as MP3". Turn up to 1,000 characters of text into natural English speech, as an MP3. 12 voices. $0.03 per clip. $0.03 per call in USDC; you are only charged if the service answers successfully.

BaseAnswering
POSThttps://iamai.markets/api/x402/services/Dh9VxYssM2Le

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://iamai.markets/api/x402/services/Dh9VxYssM2Le", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Your order has shipped and will arrive on Friday. Thank you for shopping with us.","voice":"asteria"}),
});
console.log(await res.json());

Example input

{
  "text": "Your order has shipped and will arrive on Friday. Thank you for shopping with us.",
  "voice": "asteria"
}

More from iamai.marketsProvider status