{"service":"watermark-parse-api","api_version":"2.0.1","docs_openapi":"/docs","docs_redoc":"/redoc","openapi_json":"/openapi.json","health":{"method":"GET","path":"/health"},"parse":{"method":"POST","paths":["/parse","/v1/parse"],"headers":{"Content-Type":"application/json","X-API-Key":"<与服务器 .env 中 API_KEY 一致>","Authorization":"可选：Bearer <API_KEY>（与 X-API-Key 二选一）"},"body":{"url":"https://… 抖音或小红书分享/短链"}},"extract":{"method":"POST","path":"/v1/extract","note":"与插件引擎一致的 JSON 契约（platform/author/cover/is_watermark_removed）","headers":{"Content-Type":"application/json","X-API-Key":"同上"},"body":{"url":"https://…"}},"meta":{"method":"GET","path":"/v1/meta"},"success_example_fields":{"ok":true,"err_code":0,"platform":"douyin | xiaohongshu","type":"video | images","video_url":"string | null","image_urls":"string[] | null","title":"string | null","duration":"number | null","thumbnail":"string | null","original_url":"string","resolved_url":"string","source":"ytdlp | html_fallback | ytdlp+html","api_version":"2.0.1"},"error_example":{"ok":false,"err_code":"非 0 表示业务失败；video_url 等字段为 null 便于客户端判空","error":{"code":"UNAUTHORIZED | PARSE_FAILED | …","message":"…","detail":"…"}},"optional_env":{"YTDLP_COOKIEFILE":"抖音 cookies 文件路径（可选）","CORS_ORIGINS":"* 或逗号分隔域名","DEBUG":"true 时 INTERNAL_ERROR 的 detail 会带异常文本"}}