{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh-CN/develop/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"文件保留期限","description":"YouCam API documentation by Perfect Corp. Learn how to use Skin analysis API, Virtual try-on API, Image editing API, and Video generative AI APIs.","siteUrl":"https://docs.perfectcorp.com","keywords":"AI Skin Analysis, AI Clothes, AI Hairstyle, AI Outfits","image":"/assets/favicon.cd6fa4d833b2a573b3c6dae68386b293da205b203402cb0c97b80bd2acc07ea2.8351e24f.png"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"文件保留期限","__idx":0},"children":["文件保留期限"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["上传的文件及其对应的 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file_id"]}," 会保存 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["30 天"]},"。AI 任务创建之后，对应的 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["task_id"]}," 有效期同样是 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["30 天"]},"。任务处理完成后，可以用 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["task_id"]}," 换取一个下载链接，该链接有效 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["2 小时"]},"。所有上传与生成的图片、视频，",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["30 天"]},"后会被自动清除。"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["警告："]}," 处理成功后，如果没在 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["2 小时"]},"内通过响应里给出的链接把文件下载下来，文件就无法再访问了。遇到这种情况，用 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["task_id"]}," 重新获取一个新的下载链接即可。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]}]},"headings":[{"value":"文件保留期限","id":"文件保留期限","depth":1}],"frontmatter":{"seo":{"title":"文件保留期限"}},"lastModified":"2026-10-30T07:26:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh-cn/develop/file_retention_period","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}