{"slug":"agent-data-tools-revmesh2074-workers-dev-voice-agent-654ad8","title":"Voice agent","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/voice/agent","category":"image","description":"Voice agent. One turn of a voice assistant: send the user's voice note (or text), your instructions and the earlier turns; get back what was heard, a short reply, the reply spoken in English, Spanish, French, Chinese, Japanese or Korean and the updated history to send next time. Speech up to 2 minut","price_listed":0.05,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"text":"What time do you open on Saturday?"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"history":{"description":"Earlier turns as a JSON array of {role, content}, as returned in history by the last call","examples":["[]"],"type":"string"},"instructions":{"description":"Who the assistant is and what it knows (up to 2,000 characters)","examples":["You answer for a bakery. Open Monday to Saturday 7 to 17, closed Sunday."],"type":"string"},"lang":{"description":"Reply language and voice: en, es (Aura-2 MP3), fr, zh, ja or ko (MeloTTS WAV); default en","enum":["en","es","fr","zh","ja","ko"],"examples":["en"],"type":"string"},"text":{"description":"The user's turn as text (or send audio with url or a POSTed file)","examples":["What time do you open on Saturday?"],"type":"string"},"url":{"description":"Absolute http(s) URL of the user's spoken turn (MP3/WAV up to 2 minutes, other formats up to 1 MB); or POST the file; or send text instead","examples":["https://upload.wikimedia.org/wikipedia/commons/7/77/Tofino_pronunciation.mp3"],"type":"string"},"voice":{"description":"Aura-2 voice for an en or es reply (default luna for en, aquila for es); fr, zh, ja and ko have one voice each","examples":["luna"],"type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"audioBase64":{"type":"string"},"audioBytes":{"type":"number"},"contentType":{"type":"string"},"heard":{"type":"string"},"history":{"items":{"properties":{"content":{"type":"string"},"role":{"type":"string"}},"type":"object"},"type":"array"},"lang":{"type":"string"},"model":{"type":"string"},"reply":{"type":"string"},"speechModel":{"type":"string"},"voice":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Voice agent. One turn of a voice assistant: send the user's voice note (or text), your instructions and the earlier turns; get back what was heard, a short reply, the reply spoken in English, Spanish, French, Chinese, Japanese or Korean and the updated history to send next time. Speech up to 2 minutes (MP3/WAV, or 1 MB of other formats); replies up to 600 characters. Use for voice bots in Telegram or WhatsApp, phone menus, kiosks and hands-free helpers.","last_updated":"2026-11-19T05:24:29.288Z","schemes":["exact"]}