{"service":"XDC Media","description":"Media generation sold per call through the XDC AI Gateway. Image and video are live; music and text-to-speech are next. One paid call renders one artifact; the job is polled and the artifact collected from free routes.","operator":"x402.press","scope":{"live":["images","video"],"planned":["music","text-to-speech"]},"prices_usdc":{"image":"1.00","video":"2.00"},"settlement":"XDC AI Gateway, USDC on XDC (chainId 50), gasless for the buyer","paid":[{"method":"POST","path":"/images/generate","price_usdc":"1.00","body":{"prompt":"string (required)","model":"qwen-image-3.0","aspect":"one of 1:1, 16:9, 9:16, 4:3, 3:4","size":"WIDTH*HEIGHT (optional, wins over aspect)"},"returns":"job_id, status, poll_url"},{"method":"POST","path":"/video/generate","price_usdc":"2.00","body":{"prompt":"string (required)","model":"happyhorse-1.1-t2v","resolution":"one of 480P, 720P, 1080P","ratio":"one of 16:9, 9:16, 1:1, 4:3, 3:4, 4:5, 5:4, 9:21, 21:9 (default 16:9)","duration":"int seconds, 3-15 (default 5)","seed":"int (optional)"},"returns":"job_id, status, poll_url","notes":"Rendering takes minutes (vendor: 1-5); poll /job/{job_id} every ~15s."}],"free":[{"method":"POST","path":"/images/validate","description":"Pre-flight an image request before paying"},{"method":"POST","path":"/video/validate","description":"Pre-flight a video request before paying"},{"method":"GET","path":"/models","description":"The media catalogue: live and planned modalities"},{"method":"GET","path":"/job/{job_id}","description":"Job state and asset URL"},{"method":"GET","path":"/asset/{job_id}","description":"The rendered artifact"},{"method":"GET","path":"/health","description":"Liveness"}],"retention_hours":24.0,"backends":{"image":"Alibaba DashScope qwen-image, international endpoint","video":"Alibaba DashScope happyhorse-1.1-t2v (free tier), same account"},"backend_plan":{"music":"Pixazo, inside its monthly audio allowance","text-to-speech":"DashScope qwen-audio-3.0-tts-plus"}}