{"openapi":"3.1.0","info":{"title":"ClipFlint","description":"Download videos, transcribe any recording with timestamps, extract slides, and turn transcripts into ready-to-post content.","version":"1.1.0"},"servers":[{"url":"https://clipflint.online"}],"paths":{"/api/download":{"post":{"summary":"Download","operationId":"download_api_download_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_download_api_download_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/slides":{"post":{"summary":"Slides","operationId":"slides_api_slides_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_slides_api_slides_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transcript-pdf":{"post":{"summary":"Transcript Pdf","operationId":"transcript_pdf_api_transcript_pdf_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transcribe":{"post":{"summary":"Transcribe","operationId":"transcribe_api_transcribe_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_transcribe_api_transcribe_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transcribe/start":{"post":{"summary":"Transcribe Start","operationId":"transcribe_start_api_transcribe_start_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_transcribe_start_api_transcribe_start_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transcribe/status/{job_id}":{"get":{"summary":"Transcribe Status","operationId":"transcribe_status_api_transcribe_status__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transcribe/result/{job_id}":{"get":{"summary":"Transcribe Result","operationId":"transcribe_result_api_transcribe_result__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/spark":{"post":{"summary":"Spark","operationId":"spark_api_spark_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unsubscribe":{"get":{"summary":"Unsubscribe","operationId":"unsubscribe_unsubscribe_get","parameters":[{"name":"e","in":"query","required":true,"schema":{"type":"string","title":"E"}},{"name":"t","in":"query","required":true,"schema":{"type":"string","title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/referral":{"get":{"summary":"Referral Status","operationId":"referral_status_api_referral_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lead":{"post":{"summary":"Lead","operationId":"lead_api_lead_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/survey":{"post":{"summary":"Survey","operationId":"survey_api_survey_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/stats":{"get":{"summary":"Launch Stats","description":"Daily launch numbers for Sam's 07:00 report. Counts only, never emails or content.","operationId":"launch_stats_api_stats_get","parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/survey/summary":{"get":{"summary":"Survey Summary","operationId":"survey_summary_api_survey_summary_get","parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/code/{code}":{"get":{"summary":"Code Status","operationId":"code_status_api_code__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"media_key","in":"query","required":false,"schema":{"type":"string","title":"Media Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/checkout":{"post":{"summary":"Checkout","operationId":"checkout_api_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/stripe/webhook":{"post":{"summary":"Stripe Webhook","description":"Safety net for buyers who never land back on /paid (closed the tab, bank\napp redirect failed): Stripe calls us server-to-server and the Sparks plus the\nemail still go out. Without a signing secret we only trust the session id and\nre-fetch everything from Stripe, so a forged payload can't mint credits.","operationId":"stripe_webhook_api_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/paid":{"get":{"summary":"Paid","operationId":"paid_paid_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp":{"post":{"summary":"Mcp Endpoint","operationId":"mcp_endpoint_mcp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/contact":{"post":{"summary":"Contact","operationId":"contact_api_contact_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/contact/list":{"get":{"summary":"Contact List","operationId":"contact_list_api_contact_list_get","parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contact":{"get":{"summary":"Contact Page","operationId":"contact_page_contact_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/robots.txt":{"get":{"summary":"Robots","operationId":"robots_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/mcp-registry-auth":{"get":{"summary":"Mcp Registry Auth","operationId":"mcp_registry_auth__well_known_mcp_registry_auth_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/favicon.ico":{"get":{"summary":"Favicon","operationId":"favicon_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap","operationId":"sitemap_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/privacy":{"get":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/spend":{"get":{"summary":"Spend Status","operationId":"spend_status_api_spend_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/studio/upload":{"post":{"summary":"Studio Upload","operationId":"studio_upload_api_studio_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_studio_upload_api_studio_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/status/{project_id}":{"get":{"summary":"Studio Status","operationId":"studio_status_api_studio_status__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/project/{project_id}":{"get":{"summary":"Studio Project","operationId":"studio_project_api_studio_project__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"password","in":"query","required":false,"schema":{"type":"string","title":"Password"}},{"name":"code","in":"query","required":false,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/media/{project_id}":{"get":{"summary":"Studio Media","operationId":"studio_media_api_studio_media__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/detect":{"post":{"summary":"Studio Detect","description":"Local, free detection passes. No AI, instant, no spend.","operationId":"studio_detect_api_studio_detect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/studio/agent":{"post":{"summary":"Studio Agent","operationId":"studio_agent_api_studio_agent_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/studio/export":{"post":{"summary":"Studio Export","operationId":"studio_export_api_studio_export_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/studio/export/status/{export_id}":{"get":{"summary":"Export Status","operationId":"export_status_api_studio_export_status__export_id__get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/export/download/{export_id}":{"get":{"summary":"Export Download","operationId":"export_download_api_studio_export_download__export_id__get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio":{"get":{"summary":"Studio Page","operationId":"studio_page_studio_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/studio/config":{"get":{"summary":"Studio Config","operationId":"studio_config_api_studio_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/studio/balance":{"get":{"summary":"Studio Balance","description":"What a code has left, so the studio can show it before any work starts.","operationId":"studio_balance_api_studio_balance_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/instagram-reel-to-text":{"get":{"summary":"Handler","operationId":"handler_instagram_reel_to_text_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tiktok-to-text":{"get":{"summary":"Handler","operationId":"handler_tiktok_to_text_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/video-to-slides":{"get":{"summary":"Handler","operationId":"handler_video_to_slides_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/instagram-video-downloader":{"get":{"summary":"Handler","operationId":"handler_instagram_video_downloader_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/instagram-reel-to-mp3":{"get":{"summary":"Handler","operationId":"handler_instagram_reel_to_mp3_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tiktok-video-downloader":{"get":{"summary":"Handler","operationId":"handler_tiktok_video_downloader_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tiktok-to-mp3":{"get":{"summary":"Handler","operationId":"handler_tiktok_to_mp3_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/facebook-video-downloader":{"get":{"summary":"Handler","operationId":"handler_facebook_video_downloader_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/facebook-video-to-mp3":{"get":{"summary":"Handler","operationId":"handler_facebook_video_to_mp3_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/video-to-mp3":{"get":{"summary":"Handler","operationId":"handler_video_to_mp3_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/video-to-text":{"get":{"summary":"Handler","operationId":"handler_video_to_text_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/how-to-download-instagram-reels":{"get":{"summary":"Handler","operationId":"handler_how_to_download_instagram_reels_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/how-to-save-tiktok-without-watermark":{"get":{"summary":"Handler","operationId":"handler_how_to_save_tiktok_without_watermark_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/how-to-get-mp3-from-a-video":{"get":{"summary":"Handler","operationId":"handler_how_to_get_mp3_from_a_video_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/how-to-transcribe-a-video":{"get":{"summary":"Handler","operationId":"handler_how_to_transcribe_a_video_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/how-to-save-facebook-video-to-phone":{"get":{"summary":"Handler","operationId":"handler_how_to_save_facebook_video_to_phone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/how-to-download-reels-on-iphone":{"get":{"summary":"Handler","operationId":"handler_how_to_download_reels_on_iphone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/vitals/step":{"post":{"summary":"Vitals Step","description":"A one-line beacon from the browser. No content, only which step happened.","operationId":"vitals_step_api_vitals_step_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/vitals/probe":{"post":{"summary":"Vitals Probe","operationId":"vitals_probe_api_vitals_probe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/vitals/data":{"get":{"summary":"Vitals Data","operationId":"vitals_data_api_vitals_data_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":14,"title":"Days"}},{"name":"password","in":"query","required":false,"schema":{"type":"string","title":"Password"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vitals/analyse":{"post":{"summary":"Vitals Analyse","operationId":"vitals_analyse_api_vitals_analyse_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/vitals/reports":{"get":{"summary":"Vitals Reports","operationId":"vitals_reports_api_vitals_reports_get","parameters":[{"name":"password","in":"query","required":false,"schema":{"type":"string","title":"Password"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vitals":{"get":{"summary":"Vitals Page","operationId":"vitals_page_vitals_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"Body_download_api_download_post":{"properties":{"url":{"type":"string","title":"Url"},"format":{"type":"string","title":"Format","default":"video"},"upload":{"type":"string","format":"binary","title":"Upload"},"code":{"type":"string","title":"Code"}},"type":"object","title":"Body_download_api_download_post"},"Body_slides_api_slides_post":{"properties":{"url":{"type":"string","title":"Url"},"upload":{"type":"string","format":"binary","title":"Upload"},"code":{"type":"string","title":"Code"},"media_key":{"type":"string","title":"Media Key"}},"type":"object","title":"Body_slides_api_slides_post"},"Body_studio_upload_api_studio_upload_post":{"properties":{"upload":{"type":"string","format":"binary","title":"Upload"},"password":{"type":"string","title":"Password"},"code":{"type":"string","title":"Code"}},"type":"object","required":["upload"],"title":"Body_studio_upload_api_studio_upload_post"},"Body_transcribe_api_transcribe_post":{"properties":{"url":{"type":"string","title":"Url"},"upload":{"type":"string","format":"binary","title":"Upload"},"code":{"type":"string","title":"Code"}},"type":"object","title":"Body_transcribe_api_transcribe_post"},"Body_transcribe_start_api_transcribe_start_post":{"properties":{"url":{"type":"string","title":"Url"},"upload":{"type":"string","format":"binary","title":"Upload"},"code":{"type":"string","title":"Code"}},"type":"object","title":"Body_transcribe_start_api_transcribe_start_post"},"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"}}}}