Agent API (x402)Sync routes

Sync routes

One HTTP round-trip after payment. Paths mirror Venice under /api/v1/*.

PathNotes
POST /api/v1/chat/completionsmodel, messages; optional stream
POST /api/v1/responsesResponses API (alpha)
POST /api/v1/embeddingsmodel, input
POST /api/v1/image/generateVenice native image gen
POST /api/v1/images/generationsOpenAI-compatible image gen
POST /api/v1/image/editSingle-image edit
POST /api/v1/image/multi-editMulti-image edit
POST /api/v1/image/upscaleUpscale
POST /api/v1/image/background-removeBackground remove
POST /api/v1/audio/speechShort TTS (sync)
POST /api/v1/audio/transcriptionsASR
POST /api/v1/audio/voicesVoice clone — multipart: exact catalog model + sample file
POST /api/v1/video/transcriptionsYouTube URL transcription (sync)
POST /api/v1/augment/searchWeb search
POST /api/v1/augment/scrapeScrape URL
POST /api/v1/augment/text-parserParse PDF/DOCX/etc.
POST /api/v1/crypto/rpc/{network}JSON-RPC; pick network from free networks list

Request bodies follow Venice / OpenAPI schemas. model must be an exact id from GET /api/v1/models (or resolved via /models/traits). Prefer the cheapest suitable model unless the user asks otherwise.

For long music/video generation, use the async lifecycle instead of sync TTS.