{"uid":"cap_evG-tmxtVlFAfrOyx6MlW","slug":"stabledetect-text-ai-detection-7a99e3d1","name":"StableDetect Text AI Detection","description":"Pay-per-call AI content detection. Classify text as AI-generated, AI-assisted, or human-written, and detect AI-generated or deepfake images and video.","url":"https://stabledetect.dev/api/detect/text","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["text","publicDashboardLink"],"properties":{"text":{"type":"string","maxLength":3500000,"minLength":1,"description":"Text passage to classify. Minimum 50 words, maximum 200,000 words. Price is $0.05 per started 1,000 words. Documents over 10,000 words are analyzed as parallel chunks and merged."},"publicDashboardLink":{"type":"boolean","default":false,"description":"Include a shareable pangram.com dashboard link for this analysis in the response."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O2qGDdrF_yfqIL4Fpg5BS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies a text sample as AI-generated, AI-assisted, or human-written using pay-per-call detection inference.","exampleAgentPrompt":"Can you run this blog post through StableDetect and tell me whether it's AI-generated, AI-assisted, or human-written? Here's the text: 'The future of renewable energy hinges on breakthrough storage technologies that can make solar and wind viable at grid scale...'","exampleUseCases":null,"resultDescription":"A classification of the submitted text as AI-generated, AI-assisted, or human-written, typically accompanied by a confidence score or probability breakdown for each category.","failureModes":["Text too short for reliable classification — minimum length requirements not met","Insufficient funds or USDC payment failure — endpoint returns payment error","Empty or null text body — returns validation error","Rate limiting or quota exceeded — returns 429 or payment-related error","Text in unsupported language — may return low-confidence or error response"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-subscription AI content authenticity check on text — especially useful for one-off verification tasks, academic integrity checks, content moderation pipelines, or when you need to distinguish between fully AI-generated vs. AI-assisted vs. fully human-written content rather than just a binary flag.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T21:28:15.253Z","isFirstParty":false}