{"name":"AI Media API (x402)","description":"Cheap pay-per-call AI for agents: text-to-image (FLUX.1 schnell, $0.01), audio transcription with VTT subtitles (Whisper large v3 turbo, $0.01), translation into 37 languages ($0.001) and OpenAI-compatible chat (Llama 3.1 8B, $0.001). x402, USDC on Base, no API key, no signup. Invalid input and model errors are not charged.","network":"eip155:8453","pay_to":"0xcC4c47c0DaD2D45776184E10A2D24075b81aB23F","paid":{"GET /v1/image":{"price_usdc":"$0.01","summary":"Text-to-image: prompt in, 1024x1024 JPEG out (FLUX.1 schnell)","example":"https://ai-media.tariffdata.workers.dev/v1/image?prompt=a+cozy+coffee+shop+interior%2C+warm+light%2C+photo"},"GET /v1/transcribe":{"price_usdc":"$0.01","summary":"Audio/video URL to text + VTT subtitles (Whisper large v3 turbo), up to 6 MB","example":"https://ai-media.tariffdata.workers.dev/v1/transcribe?audio_url=https%3A%2F%2Fexample.com%2Fpodcast-clip.mp3"},"GET /v1/translate":{"price_usdc":"$0.001","summary":"Translate text between 37 world languages: Spanish, French, Arabic, Hindi, Portuguese, Japanese and more (M2M100)","example":"https://ai-media.tariffdata.workers.dev/v1/translate?text=Our+store+opens+at+9am.&target_lang=es"},"POST /v1/chat/completions":{"price_usdc":"$0.001","summary":"OpenAI-compatible chat completion, Llama 3.1 8B, up to 1024 output tokens","example":{"messages":[{"role":"user","content":"Summarize in one line: x402 lets agents pay per HTTP request in USDC."}],"max_tokens":200}},"GET /v1/chat":{"price_usdc":"$0.001","summary":"Single-prompt chat (Llama 3.1 8B)","example":"https://ai-media.tariffdata.workers.dev/v1/chat?prompt=Write+a+10-word+tagline+for+a+bakery."}},"free":["/health","/mcp","/.well-known/x402","/openapi.json","/llms.txt"]}