{"openapi":"3.1.0","info":{"title":"Studio X x402 Uncensored NSFW Image and Video API","version":"1.0.0","description":"Create NSFW images and videos with uncensored Flux, Wan Spicy, and Seedance models. Pay exact USDC per request through x402; no account, API key, subscription, or prepaid balance.","contact":{"name":"Studio X","email":"hello@studio-x.cc","url":"https://www.studio-x.cc"},"x-guidance":"Use POST /api/generate/image for text-to-image. Use POST /api/generate/video-fast, /api/generate/video-pro, or /api/generate/video-ultra for image-to-video or video editing. Read GET /api/models first to choose a supported model and exact price. The first generation request returns HTTP 402; pay the quoted USDC amount on Base through x402 and retry the same request. Poll the returned predictionUrl until the generation completes."},"servers":[{"url":"https://www.studio-x.cc"}],"tags":[{"name":"Image generation","description":"Create uncensored NSFW images with Flux and Wan models."},{"name":"Video generation","description":"Create uncensored NSFW videos with Wan Spicy and Seedance models."},{"name":"Discovery","description":"Public model, pricing, and service status endpoints."}],"x-service-info":{"categories":["AI","NSFW","adult AI","image generation","video generation","uncensored","Flux","Wan Spicy","Seedance","x402"],"docs":{"homepage":"https://www.studio-x.cc","apiReference":"https://www.studio-x.cc/agents","llms":"https://www.studio-x.cc/llms.txt"}},"x-x402":{"x402Version":2,"endpoints":[{"resource":"https://www.studio-x.cc/api/generate/image","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x19194D831B59070562Ee8f75aa1cCE01AaBF679c","amount":"3300","maxAmountRequired":"3300"}]},{"resource":"https://www.studio-x.cc/api/generate/video-fast","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x19194D831B59070562Ee8f75aa1cCE01AaBF679c","amount":"110000","maxAmountRequired":"110000"}]},{"resource":"https://www.studio-x.cc/api/generate/video-pro","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x19194D831B59070562Ee8f75aa1cCE01AaBF679c","amount":"269500","maxAmountRequired":"269500"}]},{"resource":"https://www.studio-x.cc/api/generate/video-ultra","method":"POST","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x19194D831B59070562Ee8f75aa1cCE01AaBF679c","amount":"550000","maxAmountRequired":"550000"}]}]},"x-studio-x":{"access":"uncensored","nsfw":true,"modelCount":11,"pricingPolicy":"Model cost plus 10% markup","markupPercent":10,"modelsUrl":"https://www.studio-x.cc/api/models","agentInstructionsUrl":"https://www.studio-x.cc/agent.md"},"paths":{"/api/generate/image":{"post":{"operationId":"generate-image","summary":"Create an uncensored NSFW AI image with x402, from $0.0033 USDC","description":"Create an NSFW image with an uncensored Flux, Wan Spicy, or Seedance model. Available models and default prices: black-forest-labs/flux-schnell ($0.0033), black-forest-labs/flux-dev ($0.0132), alibaba/wan-2.6/text-to-image ($0.0231), alibaba/wan-2.7/text-to-image ($0.033). The first request returns HTTP 402. Pay the exact runtime quote in USDC on Base and retry the same request. A successful response returns a predictionUrl to poll until completion.","tags":["Image generation"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.0033","min":"0.0033","max":"0.033","minimumAmount":"0.0033","maximumAmount":"0.033"},"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Exact runtime price depends on the selected model and video duration; starts at $0.0033."},"x-model-prices":[{"id":"black-forest-labs/flux-schnell","label":"Flux Schnell","mode":"text-to-image","defaultPriceUsd":0.0033,"billingUnit":"request","defaults":{}},{"id":"black-forest-labs/flux-dev","label":"Flux Dev","mode":"text-to-image","defaultPriceUsd":0.0132,"billingUnit":"request","defaults":{}},{"id":"alibaba/wan-2.6/text-to-image","label":"Wan 2.6 Image","mode":"text-to-image","defaultPriceUsd":0.0231,"billingUnit":"request","defaults":{}},{"id":"alibaba/wan-2.7/text-to-image","label":"Wan 2.7 Image","mode":"text-to-image","defaultPriceUsd":0.033,"billingUnit":"request","defaults":{}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["black-forest-labs/flux-schnell","black-forest-labs/flux-dev","alibaba/wan-2.6/text-to-image","alibaba/wan-2.7/text-to-image"],"description":"Model ID from the Studio X model catalog."},"prompt":{"type":"string","minLength":3,"maxLength":4000,"description":"Prompt describing the image to generate."},"inputUrl":{"type":"string","format":"uri","description":"Source image or video URL for transformation models."},"inputDataUrl":{"type":"string","description":"Optional source image as a data URL."},"params":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Model-specific parameters. Video duration is params.duration."}},"required":["model","prompt"],"additionalProperties":false},"examples":{"black-forest-labs/flux-schnell":{"summary":"Flux Schnell at $0.0033 by default","value":{"model":"black-forest-labs/flux-schnell","prompt":"Editorial studio photograph with precise lighting","params":{}}},"black-forest-labs/flux-dev":{"summary":"Flux Dev at $0.0132 by default","value":{"model":"black-forest-labs/flux-dev","prompt":"Editorial studio photograph with precise lighting","params":{}}},"alibaba/wan-2.6/text-to-image":{"summary":"Wan 2.6 Image at $0.0231 by default","value":{"model":"alibaba/wan-2.6/text-to-image","prompt":"Editorial studio photograph with precise lighting","params":{}}},"alibaba/wan-2.7/text-to-image":{"summary":"Wan 2.7 Image at $0.033 by default","value":{"model":"alibaba/wan-2.7/text-to-image","prompt":"Editorial studio photograph with precise lighting","params":{}}}}}}},"responses":{"200":{"description":"Generation submitted after x402 settlement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationSubmitted"}}}},"400":{"description":"Invalid model, prompt, input, or parameters."},"402":{"description":"x402 payment required. The response header contains the exact USDC quote."},"502":{"description":"The generation service could not submit the request."},"503":{"description":"Payment or generation backend is unavailable."}}}},"/api/generate/video-fast":{"post":{"operationId":"generate-video-fast","summary":"Create an uncensored NSFW AI video with x402, from $0.11 USDC","description":"Create an NSFW video with an uncensored Flux, Wan Spicy, or Seedance model. Available models and default prices: atlascloud/wan-2.2-turbo-spicy/image-to-video ($0.11), atlascloud/wan-2.2-turbo-spicy/infinite-image-to-video ($0.11), alibaba/wan-2.2-spicy/image-to-video ($0.165). The first request returns HTTP 402. Pay the exact runtime quote in USDC on Base and retry the same request. A successful response returns a predictionUrl to poll until completion.","tags":["Video generation"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.11","min":"0.11","max":"0.165","minimumAmount":"0.11","maximumAmount":"0.165"},"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Exact runtime price depends on the selected model and video duration; starts at $0.11."},"x-model-prices":[{"id":"atlascloud/wan-2.2-turbo-spicy/image-to-video","label":"Wan 2.2 Turbo Spicy I2V","mode":"image-to-video","defaultPriceUsd":0.11,"billingUnit":"second","defaults":{"duration":5,"resolution":"480p","seed":-1}},{"id":"atlascloud/wan-2.2-turbo-spicy/infinite-image-to-video","label":"Wan 2.2 Turbo Spicy Infinite I2V","mode":"image-to-video","defaultPriceUsd":0.11,"billingUnit":"second","defaults":{"duration":5,"resolution":"480p","seed":-1}},{"id":"alibaba/wan-2.2-spicy/image-to-video","label":"Wan 2.2 Spicy I2V","mode":"image-to-video","defaultPriceUsd":0.165,"billingUnit":"second","defaults":{"duration":5,"resolution":"720p","seed":-1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["atlascloud/wan-2.2-turbo-spicy/image-to-video","atlascloud/wan-2.2-turbo-spicy/infinite-image-to-video","alibaba/wan-2.2-spicy/image-to-video"],"description":"Model ID from the Studio X model catalog."},"prompt":{"type":"string","minLength":3,"maxLength":4000,"description":"Prompt describing the video to generate."},"inputUrl":{"type":"string","format":"uri","description":"Source image or video URL for transformation models."},"inputDataUrl":{"type":"string","description":"Optional source image as a data URL."},"params":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Model-specific parameters. Video duration is params.duration."}},"required":["model","prompt"],"additionalProperties":false},"examples":{"atlascloud/wan-2.2-turbo-spicy/image-to-video":{"summary":"Wan 2.2 Turbo Spicy I2V at $0.11 by default","value":{"model":"atlascloud/wan-2.2-turbo-spicy/image-to-video","prompt":"Smooth cinematic motion with consistent details","inputUrl":"https://example.com/source-image.jpg","params":{"duration":5,"resolution":"480p","seed":-1}}},"atlascloud/wan-2.2-turbo-spicy/infinite-image-to-video":{"summary":"Wan 2.2 Turbo Spicy Infinite I2V at $0.11 by default","value":{"model":"atlascloud/wan-2.2-turbo-spicy/infinite-image-to-video","prompt":"Smooth cinematic motion with consistent details","inputUrl":"https://example.com/source-image.jpg","params":{"duration":5,"resolution":"480p","seed":-1}}},"alibaba/wan-2.2-spicy/image-to-video":{"summary":"Wan 2.2 Spicy I2V at $0.165 by default","value":{"model":"alibaba/wan-2.2-spicy/image-to-video","prompt":"Smooth cinematic motion with consistent details","inputUrl":"https://example.com/source-image.jpg","params":{"duration":5,"resolution":"720p","seed":-1}}}}}}},"responses":{"200":{"description":"Generation submitted after x402 settlement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationSubmitted"}}}},"400":{"description":"Invalid model, prompt, input, or parameters."},"402":{"description":"x402 payment required. The response header contains the exact USDC quote."},"502":{"description":"The generation service could not submit the request."},"503":{"description":"Payment or generation backend is unavailable."}}}},"/api/generate/video-pro":{"post":{"operationId":"generate-video-pro","summary":"Create an uncensored NSFW AI video with x402, from $0.2695 USDC","description":"Create an NSFW video with an uncensored Flux, Wan Spicy, or Seedance model. Available models and default prices: bytedance/seedance-v1.5-pro/image-to-video-spicy ($0.2695), atlascloud/wan-2.6-spicy/image-to-video ($0.55). The first request returns HTTP 402. Pay the exact runtime quote in USDC on Base and retry the same request. A successful response returns a predictionUrl to poll until completion.","tags":["Video generation"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.2695","min":"0.2695","max":"0.55","minimumAmount":"0.2695","maximumAmount":"0.55"},"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Exact runtime price depends on the selected model and video duration; starts at $0.2695."},"x-model-prices":[{"id":"bytedance/seedance-v1.5-pro/image-to-video-spicy","label":"Seedance v1.5 Pro Spicy I2V","mode":"image-to-video","defaultPriceUsd":0.2695,"billingUnit":"second","defaults":{"duration":5,"resolution":"720p","seed":-1}},{"id":"atlascloud/wan-2.6-spicy/image-to-video","label":"Wan 2.6 Spicy I2V","mode":"image-to-video","defaultPriceUsd":0.55,"billingUnit":"second","defaults":{"duration":5,"resolution":"720p","negative_prompt":"blurry, low quality, distorted hands, extra limbs","enable_prompt_expansion":false,"shot_type":"single","generate_audio":true,"seed":-1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["bytedance/seedance-v1.5-pro/image-to-video-spicy","atlascloud/wan-2.6-spicy/image-to-video"],"description":"Model ID from the Studio X model catalog."},"prompt":{"type":"string","minLength":3,"maxLength":4000,"description":"Prompt describing the video to generate."},"inputUrl":{"type":"string","format":"uri","description":"Source image or video URL for transformation models."},"inputDataUrl":{"type":"string","description":"Optional source image as a data URL."},"params":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Model-specific parameters. Video duration is params.duration."}},"required":["model","prompt"],"additionalProperties":false},"examples":{"bytedance/seedance-v1.5-pro/image-to-video-spicy":{"summary":"Seedance v1.5 Pro Spicy I2V at $0.2695 by default","value":{"model":"bytedance/seedance-v1.5-pro/image-to-video-spicy","prompt":"Smooth cinematic motion with consistent details","inputUrl":"https://example.com/source-image.jpg","params":{"duration":5,"resolution":"720p","seed":-1}}},"atlascloud/wan-2.6-spicy/image-to-video":{"summary":"Wan 2.6 Spicy I2V at $0.55 by default","value":{"model":"atlascloud/wan-2.6-spicy/image-to-video","prompt":"Smooth cinematic motion with consistent details","inputUrl":"https://example.com/source-image.jpg","params":{"duration":5,"resolution":"720p","negative_prompt":"blurry, low quality, distorted hands, extra limbs","enable_prompt_expansion":false,"shot_type":"single","generate_audio":true,"seed":-1}}}}}}},"responses":{"200":{"description":"Generation submitted after x402 settlement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationSubmitted"}}}},"400":{"description":"Invalid model, prompt, input, or parameters."},"402":{"description":"x402 payment required. The response header contains the exact USDC quote."},"502":{"description":"The generation service could not submit the request."},"503":{"description":"Payment or generation backend is unavailable."}}}},"/api/generate/video-ultra":{"post":{"operationId":"generate-video-ultra","summary":"Create an uncensored NSFW AI video with x402, from $0.55 USDC","description":"Create an NSFW video with an uncensored Flux, Wan Spicy, or Seedance model. Available models and default prices: atlascloud/wan-2.7-spicy/image-to-video ($0.55), alibaba/wan-2.7/video-edit ($0.55). The first request returns HTTP 402. Pay the exact runtime quote in USDC on Base and retry the same request. A successful response returns a predictionUrl to poll until completion.","tags":["Video generation"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.55","min":"0.55","max":"0.55","minimumAmount":"0.55","maximumAmount":"0.55"},"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Exact runtime price depends on the selected model and video duration; starts at $0.55."},"x-model-prices":[{"id":"atlascloud/wan-2.7-spicy/image-to-video","label":"Wan 2.7 Spicy I2V","mode":"image-to-video","defaultPriceUsd":0.55,"billingUnit":"second","defaults":{"duration":5,"resolution":"720p","seed":-1}},{"id":"alibaba/wan-2.7/video-edit","label":"Wan 2.7 Video Edit","mode":"video-to-video","defaultPriceUsd":0.55,"billingUnit":"second","defaults":{"resolution":"720P","ratio":"16:9","seed":-1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["atlascloud/wan-2.7-spicy/image-to-video","alibaba/wan-2.7/video-edit"],"description":"Model ID from the Studio X model catalog."},"prompt":{"type":"string","minLength":3,"maxLength":4000,"description":"Prompt describing the video to generate."},"inputUrl":{"type":"string","format":"uri","description":"Source image or video URL for transformation models."},"inputDataUrl":{"type":"string","description":"Optional source image as a data URL."},"params":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"description":"Model-specific parameters. Video duration is params.duration."}},"required":["model","prompt"],"additionalProperties":false},"examples":{"atlascloud/wan-2.7-spicy/image-to-video":{"summary":"Wan 2.7 Spicy I2V at $0.55 by default","value":{"model":"atlascloud/wan-2.7-spicy/image-to-video","prompt":"Smooth cinematic motion with consistent details","inputUrl":"https://example.com/source-image.jpg","params":{"duration":5,"resolution":"720p","seed":-1}}},"alibaba/wan-2.7/video-edit":{"summary":"Wan 2.7 Video Edit at $0.55 by default","value":{"model":"alibaba/wan-2.7/video-edit","prompt":"Smooth cinematic motion with consistent details","inputUrl":"https://example.com/source-video.mp4","params":{"resolution":"720P","ratio":"16:9","seed":-1}}}}}}},"responses":{"200":{"description":"Generation submitted after x402 settlement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationSubmitted"}}}},"400":{"description":"Invalid model, prompt, input, or parameters."},"402":{"description":"x402 payment required. The response header contains the exact USDC quote."},"502":{"description":"The generation service could not submit the request."},"503":{"description":"Payment or generation backend is unavailable."}}}},"/api/models":{"get":{"operationId":"list-models","summary":"List every Studio X model, route, parameter default, and exact default price","tags":["Discovery"],"security":[],"responses":{"200":{"description":"Model catalog and pricing."}}}},"/api/status":{"get":{"operationId":"service-status","summary":"Check the live Studio X gateway, x402 facilitator, generation engine, and model catalog","tags":["Discovery"],"security":[],"responses":{"200":{"description":"Current service status."}}}},"/api/predictions/{id}":{"get":{"operationId":"get-prediction","summary":"Poll a generation job until it completes or fails","tags":["Discovery"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Prediction status and output URLs."},"404":{"description":"Prediction not found."}}}}},"components":{"schemas":{"GenerationSubmitted":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","const":"submitted"},"model":{"type":"string"},"tier":{"type":"string"},"customerPrice":{"type":"string"},"predictionUrl":{"type":"string"}},"required":["id","status","model","tier","customerPrice","predictionUrl"]}}}}