80trust / 100

Audio Queue

by AiSpace Venice in AI models & inference

x402 APIPassing, checked 2 h ago

Async music/audio-track generation on Venice (Stable Audio, ElevenLabs Music, MiniMax, Lyria, ACE-Step), paid per request in USDC on Base via x402, no API key. Short-clip model ids via GET /api/v1/models?type=music; 60s-floor ids (ACE-Step) only with ?floor=all. Lifecycle: quote,

POST https://x402.aispace.bot/api/v1/audio/queue

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
210 ms typical, 210 ms 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://x402.aispace.bot/api/v1/audio/queue" \
  -H "content-type: application/json" \
  -d '{"duration_seconds":5,"lyrics_prompt":"Optional lyrics for vocal tracks.","model":"stable-audio-25","prompt":"Upbeat lo-fi hip hop with a warm vinyl texture, 90 BPM"}'
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%2Fx402.aispace.bot%2Fapi%2Fv1%2Faudio%2Fqueue
const res = await pay("https://x402.aispace.bot/api/v1/audio/queue", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"duration_seconds":5,"lyrics_prompt":"Optional lyrics for vocal tracks.","model":"stable-audio-25","prompt":"Upbeat lo-fi hip hop with a warm vinyl texture, 90 BPM"}),
});
console.log(await res.json());

Example input

{
  "duration_seconds": 5,
  "lyrics_prompt": "Optional lyrics for vocal tracks.",
  "model": "stable-audio-25",
  "prompt": "Upbeat lo-fi hip hop with a warm vinyl texture, 90 BPM"
}

Example output

{
  "model": "ace-step-15",
  "queue_id": "01a057b2-d111-7262-961e-71337197093b",
  "status": "QUEUED"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402451 ms$0.095
7 h agoPassed402210 ms$0.095