{"uid":"cap_oxermkbWejqM7LWLpvM9b","slug":"stableflare-replicate-text-prediction-api-79239057","name":"Stableflare Replicate Text Prediction API","description":"Pay-per-request access to Replicate AI and Cloudflare Browser Rendering. No API keys, no subscriptions.","url":"https://stableflare.dev/api/replicate/predictions/create-text","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","description":"Model input parameters","propertyNames":{"type":"string"},"additionalProperties":{}},"model":{"type":"string","description":"Model identifier as owner/name (e.g. 'black-forest-labs/flux-schnell'). Must be an official Replicate model."},"webhook":{"type":"string","format":"uri","description":"Webhook URL for completion"},"webhook_events_filter":{"type":"array","items":{"enum":["start","output","logs","completed"],"type":"string"},"description":"Which webhook events to send"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FriU7vx0apOKvNTFBtaAM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a text prediction (AI inference) via Replicate AI, accessible pay-per-request without API keys using x402 micropayments.","exampleAgentPrompt":"Use the Stableflare Replicate proxy to run the 'meta/llama-3-8b-instruct' model with the prompt 'Write a haiku about the ocean' — pay per request with USDC, no API key needed.","exampleUseCases":null,"resultDescription":"Returns a Replicate prediction object containing a prediction ID, status (starting/processing/succeeded/failed), and the generated text output from the specified model, along with metadata like creation timestamps and model version.","failureModes":["Payment failure or insufficient USDC balance — returns payment required error","Invalid or unsupported Replicate model identifier — returns model not found error","Malformed input parameters for the model — returns validation error","Replicate upstream service timeout or unavailability — returns 502/503 error","Rate limiting by the upstream Replicate API — returns quota exceeded error"],"whenToPreferThis":"Choose this endpoint when you need to run Replicate AI text models without managing API keys or subscriptions, and you want to pay only for what you use via USDC micropayments using the x402 protocol. Ideal for agents or automated workflows that need on-demand Replicate inference with minimal setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:34:19.396Z","isFirstParty":false}