{"uid":"cap_vQg1iERln2hTVkIb3VKPV","slug":"stablekey-corridorkey-neural-green-screen-keyer-1c1ceaee","name":"StableKey – CorridorKey Neural Green-Screen Keyer","description":"VFX-grade green-screen unmixing via Corridor Digital&#x27;s CorridorKey neural keyer. Submit a green-screen plate, get back alpha + straight foreground + premultiplied RGBA mp4s. Operated at cost via x402.","url":"https://stablekey.dev/api/process","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"type":{"type":"string","const":"stablekey-video"},"rgbUrl":{"type":"string","format":"uri","description":"StableUpload public URL of the source RGB plate (mp4)."},"hintUrl":{"type":"string","format":"uri","description":"OPTIONAL StableUpload public URL of a coarse alpha hint mp4. When omitted, stablekey generates a chroma-key hint inline (works on clean studio plates). Bring your own SAM-derived mask via stablesam.dev for gnarly shots: subject wearing green, busy non-green BG props, multiple subjects, translucent FG."},"options":{"type":"object","required":["despillStrength","autoDespeckle","despeckleSize","refinerScale"],"properties":{"refinerScale":{"type":"number","default":1,"maximum":2,"minimum":0},"autoDespeckle":{"type":"boolean","default":true},"despeckleSize":{"type":"integer","default":400,"maximum":9007199254740991,"minimum":0},"despillStrength":{"type":"number","default":1,"maximum":1,"minimum":0}},"additionalProperties":false},"outputs":{"type":"object","required":["alpha","fg","processed"],"properties":{"fg":{"type":"object","required":["publicUrl"],"properties":{"postUrl":{"type":"string","format":"uri"},"publicUrl":{"type":"string","format":"uri","description":"Resulting public URL where the output will land after Modal uploads it."},"uploadUrl":{"type":"string","format":"uri"},"postFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"description":"Storage slot for the recovered straight foreground mp4 (sRGB).","additionalProperties":false},"alpha":{"type":"object","required":["publicUrl"],"properties":{"postUrl":{"type":"string","format":"uri"},"publicUrl":{"type":"string","format":"uri","description":"Resulting public URL where the output will land after Modal uploads it."},"uploadUrl":{"type":"string","format":"uri"},"postFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"description":"Storage slot for the predicted alpha matte mp4.","additionalProperties":false},"processed":{"type":"object","required":["publicUrl"],"properties":{"postUrl":{"type":"string","format":"uri"},"publicUrl":{"type":"string","format":"uri","description":"Resulting public URL where the output will land after Modal uploads it."},"uploadUrl":{"type":"string","format":"uri"},"postFields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"description":"Storage slot for the production premultiplied RGBA mp4 (linear math).","additionalProperties":false}},"additionalProperties":false},"declared":{"type":"object","required":["frameCount","resolutionWidth","resolutionHeight","colorSpace"],"properties":{"colorSpace":{"enum":["srgb","linear"],"type":"string","default":"srgb"},"frameCount":{"type":"integer","maximum":960,"minimum":1},"resolutionWidth":{"type":"integer","maximum":4096,"minimum":1},"resolutionHeight":{"type":"integer","maximum":2160,"minimum":1}},"additionalProperties":false},"clientRequestId":{"type":"string","maxLength":128,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","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":"$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_p1H0RwCQvPg4Az0a5zJc1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Processes a green-screen video plate using Corridor Digital's CorridorKey neural keyer to produce VFX-grade alpha matte, straight foreground, and premultiplied RGBA output videos","exampleAgentPrompt":"Can you run CorridorKey neural keying on this green-screen plate and give me back the alpha matte, straight foreground, and premultiplied RGBA videos so I can composite it in my VFX pipeline?","exampleUseCases":null,"resultDescription":"Returns JSON containing URLs or data for three output MP4 files: an alpha matte channel video, a straight (unmultiplied) foreground video, and a premultiplied RGBA composite-ready video — all produced by the CorridorKey neural keyer at VFX grade quality.","failureModes":["Invalid or inaccessible video file URL returns error","Non-green-screen footage may yield poor keying results","Payment failure (insufficient USDC balance) blocks processing","Unsupported video format or codec may cause rejection","Server timeout on very large or long video files"],"whenToPreferThis":"Choose this endpoint when you need VFX-grade green-screen removal with neural accuracy rather than simple color-range chroma keying. Particularly suited for professional post-production pipelines that require separate alpha, straight foreground, and premultiplied RGBA outputs. Ideal when standard chroma key tools produce fringe artifacts or struggle with fine hair/edge detail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T03:45:42.092Z","isFirstParty":false}