{"openapi":"3.1.0","info":{"title":"api-x402-space","description":"Agent-ready x402 APIs for AI video production, audio localization, web research, document extraction, data analysis, and structured JSON transformation.","contact":{"email":"support@x402cloud.space"},"version":"2.0.0","x-guidance":"Paid POST operations accept an Envelope JSON body with input and options. Send no payment first to receive the x402 v2 challenge, then retry with PAYMENT-SIGNATURE."},"paths":{"/api/v1/video-editing-professional":{"post":{"summary":"Edit and enhance a source video with an AI cinematic pipeline, returning a trackable job for professional video production","operationId":"video_editing_api_v1_video_editing_professional_post","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"402":{"description":"Payment Required"}},"description":"Edit and enhance a source video with an AI cinematic pipeline, returning a trackable job for professional video production.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"x-payment-info":{"price":{"mode":"fixed","amount":"0.30","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/video-editing-professional","description":"Edit and enhance a source video with an AI cinematic pipeline, returning a trackable job for professional video production.","mimeType":"application/json"}}}},"/api/v1/text-to-speech-hooks":{"post":{"summary":"Convert scene scripts into voiceover audio segments with timing and transcript data for short-form videos, ads, and podcasts","operationId":"tts_hooks_api_v1_text_to_speech_hooks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment Required"}},"description":"Convert scene scripts into voiceover audio segments with timing and transcript data for short-form videos, ads, and podcasts.","x-payment-info":{"price":{"mode":"fixed","amount":"0.02","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/text-to-speech-hooks","description":"Convert scene scripts into voiceover audio segments with timing and transcript data for short-form videos, ads, and podcasts.","mimeType":"application/json"}}}},"/api/v1/video-broll-generator":{"post":{"summary":"Generate short AI video b-roll from a text prompt for reels, social posts, ads, and visual storytelling","operationId":"broll_api_v1_video_broll_generator_post","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"402":{"description":"Payment Required"}},"description":"Generate short AI video b-roll from a text prompt for reels, social posts, ads, and visual storytelling.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"x-payment-info":{"price":{"mode":"fixed","amount":"0.30","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/video-broll-generator","description":"Generate short AI video b-roll from a text prompt for reels, social posts, ads, and visual storytelling.","mimeType":"application/json"}}}},"/api/v1/video-dubbing":{"post":{"summary":"Dub a video into a target language, creating localized audio for multilingual content and international audiences","operationId":"dubbing_api_v1_video_dubbing_post","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"402":{"description":"Payment Required"}},"description":"Dub a video into a target language, creating localized audio for multilingual content and international audiences.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"x-payment-info":{"price":{"mode":"fixed","amount":"0.30","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/video-dubbing","description":"Dub a video into a target language, creating localized audio for multilingual content and international audiences.","mimeType":"application/json"}}}},"/api/v1/video-loop-maker":{"post":{"summary":"Create a seamless looping video from one or more clips for social media, backgrounds, product demos, and short-form content","operationId":"loop_maker_api_v1_video_loop_maker_post","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"402":{"description":"Payment Required"}},"description":"Create a seamless looping video from one or more clips for social media, backgrounds, product demos, and short-form content.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"x-payment-info":{"price":{"mode":"fixed","amount":"0.30","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/video-loop-maker","description":"Create a seamless looping video from one or more clips for social media, backgrounds, product demos, and short-form content.","mimeType":"application/json"}}}},"/api/v1/web-metadata-extractor":{"post":{"summary":"Extract webpage title, description, canonical URL, Open Graph tags, JSON-LD, and response headers from a public URL","operationId":"metadata_api_v1_web_metadata_extractor_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment Required"}},"description":"Extract webpage title, description, canonical URL, Open Graph tags, JSON-LD, and response headers from a public URL.","x-payment-info":{"price":{"mode":"fixed","amount":"0.01","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/web-metadata-extractor","description":"Extract webpage title, description, canonical URL, Open Graph tags, JSON-LD, and response headers from a public URL.","mimeType":"application/json"}}}},"/api/v1/pdf-analyzer":{"post":{"summary":"Extract text, structured fields, tables, page count, and confidence data from a PDF document for automated document processing","operationId":"pdf_api_v1_pdf_analyzer_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment Required"}},"description":"Extract text, structured fields, tables, page count, and confidence data from a PDF document for automated document processing.","x-payment-info":{"price":{"mode":"fixed","amount":"0.02","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/pdf-analyzer","description":"Extract text, structured fields, tables, page count, and confidence data from a PDF document for automated document processing.","mimeType":"application/json"}}}},"/api/v1/data-analyzer":{"post":{"summary":"Analyze a dataset and return a summary, key metrics, insights, anomalies, and correlations for automated data exploration","operationId":"data_analyzer_api_v1_data_analyzer_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment Required"}},"description":"Analyze a dataset and return a summary, key metrics, insights, anomalies, and correlations for automated data exploration.","x-payment-info":{"price":{"mode":"fixed","amount":"0.02","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/data-analyzer","description":"Analyze a dataset and return a summary, key metrics, insights, anomalies, and correlations for automated data exploration.","mimeType":"application/json"}}}},"/api/v1/json-structurer":{"post":{"summary":"Transform unstructured text into validated JSON that matches a supplied schema for reliable workflow and agent automation","operationId":"structurer_api_v1_json_structurer_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment Required"}},"description":"Transform unstructured text into validated JSON that matches a supplied schema for reliable workflow and agent automation.","x-payment-info":{"price":{"mode":"fixed","amount":"0.01","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/json-structurer","description":"Transform unstructured text into validated JSON that matches a supplied schema for reliable workflow and agent automation.","mimeType":"application/json"}}}},"/api/v1/web-researcher":{"post":{"summary":"Research a question on the web and return a concise synthesis, key facts, cited sources, and a confidence score","operationId":"researcher_api_v1_web_researcher_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment Required"}},"description":"Research a question on the web and return a concise synthesis, key facts, cited sources, and a confidence score.","x-payment-info":{"price":{"mode":"fixed","amount":"0.02","currency":"USD"},"protocols":[{"x402":{}}],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":{"url":"/api/v1/web-researcher","description":"Research a question on the web and return a concise synthesis, key facts, cited sources, and a confidence score.","mimeType":"application/json"}}}}},"components":{"schemas":{"Envelope":{"properties":{"input":{"additionalProperties":true,"type":"object","title":"Input"},"options":{"additionalProperties":true,"type":"object","title":"Options"}},"type":"object","required":["input"],"title":"Envelope"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"PaidResponse":{"type":"object","required":["status","request_id","result"],"properties":{"status":{"type":"string"},"request_id":{"type":"string"},"result":{"type":"object","additionalProperties":true},"model_used":{"type":"string"},"payment":{"type":"object","additionalProperties":true},"usage":{"type":"object"},"warnings":{"type":"array","items":{"type":"string"}}}}}}}