{"uid":"cap_zhQYnAEjXpji8hTK3LCUb","slug":"fal-ai-result-retrieval-via-locus-x402-f5776c14","name":"fal.ai Result Retrieval via Locus x402","description":"Locus public pay-per-use API","url":"https://fal.x402.paywithlocus.com/fal/result","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"request_id":{"type":"string"},"result_url":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EviiVNoP8v_MfOV5-nXz-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the result of an async generative AI job from fal.ai, identified by a request ID or result URL, with micropayment via x402.","exampleAgentPrompt":"Retrieve the result for my fal.ai generation job — the model is 'fal-ai/flux/dev' and the request ID is '3f2a1b00-0000-4000-8000-000000000001'.","exampleUseCases":[{"title":"Retrieve queued image generation result","prompt":"I submitted an image generation to fal.ai a moment ago using the fal-ai/stable-diffusion-xl model and got back request ID 'abc12300-0000-4000-8000-000000000042' — can you fetch the result now?"},{"title":"Collect video generation output by URL","prompt":"Grab the output from this fal.ai queue URL for me: https://queue.fal.run/fal-ai/video-crafter/requests/99887766-0000-4000-8000-000000000099"},{"title":"Retrieve audio generation for pipeline","prompt":"My workflow just triggered a fal.ai audio generation with model 'fal-ai/stable-audio' and request ID 'de000001-0000-4000-8000-000000000007' — fetch the completed output so we can move to the next step."}],"resultDescription":"Returns a JSON object with a 'data' field containing the generated output (image URLs, video, audio, or other model-specific payload), a 'success' boolean, payment settlement details (scheme, settledUsdc, authorizedMaxUsdc), and a request object with id and statusUrl for reference.","failureModes":["Missing or invalid request_id and model combination returns an error","result_url pointing to an expired or non-existent job returns not found","Job still in progress may return a pending/incomplete status rather than final output","Payment failure or insufficient USDC authorization blocks the call","Malformed queue.fal.run URL in result_url causes lookup failure"],"whenToPreferThis":"Use this endpoint when you have already submitted a generation job to fal.ai (via the sibling generate endpoint) and need to retrieve the completed output using the returned request ID, model ID, or queue result URL. This is the retrieval leg of an async generate-then-fetch pattern. Prefer this over polling a status endpoint when you want the final output in a single paid call routed through the Locus x402 micropayment layer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:32:54.504Z","isFirstParty":false}