{"uid":"cap_5GwZPKa5qJh6iFaHYfgl8","slug":"animica-python-cloud-function-runner-2aacc144","name":"Animica Python Cloud Function Runner","description":"Animica Python Cloud: deploy a Python function to animica.dev, get a public endpoint, and earn ANM every time someone runs it. Free AI (OpenAI-compatible, no key), free scheduled Workers, and an 80/20 developer split.","url":"https://animica.dev/x402/run","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"slug":{"type":"string","description":"app slug of a published function, from GET /x402/run/catalog"},"payload":{"type":"object","description":"JSON passed to the function as its input"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0036","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.0036/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DDDMlgwS-ryfv5I-SdyQY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a published Python function on Animica's cloud by slug, passing a JSON payload and returning the function's output","exampleAgentPrompt":"Run the Animica cloud function with slug 'image-resizer' and pass it this payload: {\"url\": \"https://example.com/photo.jpg\", \"width\": 800, \"height\": 600}.","exampleUseCases":[{"title":"Run custom data transformation function","prompt":"Call the Animica function 'csv-to-json' with this payload: {\"csv_data\": \"name,age\\nAlice,30\\nBob,25\"} and give me back the result."},{"title":"Invoke a marketplace AI pipeline","prompt":"Execute the published Animica function with slug 'sentiment-scorer' and send it the payload {\"text\": \"This product exceeded all my expectations — absolutely worth it!\"}."},{"title":"Trigger a scheduled computation on demand","prompt":"Run the Animica cloud function 'portfolio-rebalancer' right now with payload {\"portfolio_id\": \"acct_9821\", \"target_allocation\": {\"BTC\": 0.5, \"ETH\": 0.3, \"USDC\": 0.2}} and tell me what it returns."}],"resultDescription":"Returns a JSON object containing the output produced by the executed Python function. The shape of the response depends entirely on what the specific published function returns — it could be a computed value, a transformed dataset, a model prediction, or any other JSON-serializable result.","failureModes":["Invalid or unknown slug — function not found in catalog","Payload missing required fields expected by the function","Function runtime error — the deployed Python code throws an exception","Payment failure — x402 micropayment not settled, call rejected","Malformed payload — non-JSON or schema mismatch","Rate limiting or quota exceeded for the caller","Function timeout — long-running computation exceeds allowed execution time"],"whenToPreferThis":"Choose this endpoint when you need to execute a specific, already-published Python function on the Animica marketplace by its catalog slug. It is ideal when a developer has deployed a specialized computation, transformation, or AI pipeline to animica.dev and you want to invoke it on demand with a custom payload, paying per call via x402 micropayment. Prefer this over general serverless platforms when you want access to the Animica function catalog and its pay-per-use monetization model, or when integrating with other Animica services like scheduled workers or free AI.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:51:36.481Z","isFirstParty":false}