{"openapi":"3.1.0","info":{"title":"Videxu API","description":"Make short explainer videos from a website. Authenticate with 'Authorization: Bearer <API key or OAuth access token>' (see https://videxu.com/auth.md). Prices and checkout links need no key.","version":"1.0.0"},"servers":[{"url":"https://api.videxu.com"}],"paths":{"/v1/pricing":{"get":{"tags":["public"],"summary":"Prices and products (no key needed)","operationId":"v1_pricing_v1_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/checkout":{"post":{"tags":["public"],"summary":"Get a Shopify checkout link for a product; a person pays on that page","operationId":"v1_checkout_v1_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/account":{"get":{"tags":["account"],"summary":"Videos left, plan and the defaults for the next videos","operationId":"v1_account_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/videos":{"get":{"tags":["videos"],"summary":"This account's videos, newest first","operationId":"v1_videos_v1_videos_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["videos"],"summary":"Make a video now, using one of the account's videos left","operationId":"v1_make_v1_videos_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/videos/{vid}":{"get":{"tags":["videos"],"summary":"One video: status and download links","operationId":"v1_video_v1_videos__vid__get","parameters":[{"name":"vid","in":"path","required":true,"schema":{"type":"string","title":"Vid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"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"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"},"oauth":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://app.videxu.com/oauth/authorize","tokenUrl":"https://api.videxu.com/oauth/token","scopes":{"read":"See videos and videos left","write":"Make videos with videos left"}}}}}}}