<!DOCTYPE html><html lang=en><head><script src=./jquery.js></script><script src=./tab.js></script><meta charset=UTF-8><meta name=viewport content="width=device-width,maximum-scale=1,initial-scale=1,user-scalable=0"><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=baidu_union_verify content=f57975b60ae3d119b81e52501e98916b><title>高光照片优化_修复旧照片_照片换底色_一键抠图·汗粮科技</title><meta name=keywords content=老照片,照片修复,高光照片上色,高光照片修复,高光照片优化,旧时光,着色,修复划痕,证件照,证件照换背景,遗像照,修复旧照片,照片模糊怎么变清晰,模糊图片秒转高清图,ps怎么把图片变清晰,一键抠图,图片模糊怎么变清晰,免费把模糊照片修高清的软件,怎么把模糊的照片变清晰,模糊的图片怎么变清晰,抠图,证件照换底色,照片换背景底色,ps证件照换底色,照片换底色,证件照换底色app免费,ps抠图,ps怎么抠图,ps如何抠图,在线抠图,抠图软件><meta name=description content=修复以前的老照片和证件照，证件照换红色、白色、蓝色背景,主要可以：老照片,照片修复,高光照片上色,高光照片修复,高光照片优化,旧时光,着色,修复划痕,证件照,证件照换背景,遗像照,修复旧照片,照片模糊怎么变清晰,模糊图片秒转高清图,ps怎么把图片变清晰,一键抠图,图片模糊怎么变清晰,免费把模糊照片修高清的软件,怎么把模糊的照片变清晰,模糊的图片怎么变清晰,抠图,证件照换底色,照片换背景底色,ps证件照换底色,照片换底色,证件照换底色app免费,ps抠图,ps怎么抠图,ps如何抠图,在线抠图,抠图软件。><meta name=baidu-site-verification content=code-1sDK1Xt9rj><meta name=baidu_union_verify content=f57975b60ae3d119b81e52501e98916b><meta name=baidu-site-verification content=code-1sDK1Xt9rj><script>var urlhash = window.location.hash;if (!urlhash.match("fromapp")&&(document.location.search.indexOf("rebate")==-1)){if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){window.location = 'http://zjbaihe.cn/wechat.html';}}</script><script src=http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js></script><link rel="shortcut icon" href=/favicon.ico><link href=/index.css rel=stylesheet></head><body><div class=header><div class=box><a class=header__logo href=/index.html><span class=header__icon></span><span class=header__logoTxt>高光照片优化</span></a><span class=header__href id=headerLogin>登录/注册</span><span class="header__href display--none" id=headerUser><span class=header__hrefTxt id=headerUserTxt>用户中心</span><span class=maskTransparent id=headerUserMaskTransparent></span><span class=languageSelection id=headerUserSelection><span class=languageSelection__href>剩余次数：<span id=headerVipNum>0</span></span><a class=languageSelection__href href=/upload.html>最近任务</a><a class=languageSelection__href href=/invite.html>邀请返利</a><span class=languageSelection__href id=headerLoginOut>退出登录</span></span></span><span class=header__href><span class=header__hrefTxt id=headerLanguage>Language</span><span class=maskTransparent id=headerMaskTransparent></span><span class=languageSelection id=headerLanguageSelection><a class=languageSelection__href href=/index.html>简体中文</a><a class=languageSelection__href href=/indexenglish.html>English</a><a class=languageSelection__href href=/indexjapanese.html>日本语</a><a class=languageSelection__href href=/indexspanish.html>Español</a><a class=languageSelection__href href=/indexfrench.html>Francés</a></span></span><span class=header__href id=headerApi>API</span><span class=header__href id=headerPrice>价格</span><span class=header__txt>高光照片优化是一个对照片进行修复和美化的工具，它利用AI技术自动化处理照片，包括但不限于黑白照片上色、修复老照片和调整优化失焦模糊照片。</span></div></div><script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "http://hm.baidu.com/hm.js?b47cfd9f3006665ce3c22aacf3d416b0";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm, s);})();</script><div class=home><div style="display: none;line-height: 44px;font-size: 30px;text-align: center;margin-top:-20px;padding-bottom: 30px;color:#f00;font-weight:bold;text-decoration:underline;cursor:pointer;" id=notice>公告：双十一，购买套餐，全场7折特惠！仅限11.11当天！</div><span class=home__btn id=homeBtn><span class=home__btn__click><span class=home__btn__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-upload></use></svg></span><span class=home__btn__txt>一键修复（可选多张）</span> </span><input class=home__btn__input id=uploadFile type=file multiple=multiple accept=image/*></span><div style="text-align: center;margin-top:-40px">上传照片将在24小时内自动删除，请及时下载修复结果</div><div class=home__pic id=homePic><div class=home__pic__top><div class=home__pic__head><span class=home__pic__all id=checkAll><svg class=icon aria-hidden=true><use xlink:href=#icon-true></use></svg></span><span class=home__pic__tip>全选</span> <span class=home__pic__cancel id=deleteCheckPic><span class=home__pic__cancel__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-cancel></use></svg></span><span class=home__pic__cancel__txt>删除全部</span> </span><span class=home__pic__add id=uploadFileAdd><span class=home__pic__add__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-add></use></svg></span><span class=home__pic__add__txt>继续修复（可选多张）</span></span></div></div><div id=uploadBox></div></div><div class=home__contrast><div class=home__contrast__info><div id=slider1 class="beer-slider home__contrast__pic" data-beer-label=修复后><img src=/contrast1-2.870908c3291f48bb80ba9d9d4dc58d77.jpg alt=""><div class=beer-reveal data-beer-label=修复前><img src=/contrast1-1.dfdf5513ef7d0461777e835debe27531.jpg alt=""></div></div><div class=home__contrast__txt><span class=home__contrast__list>彩色照片优化</span> <span class=home__contrast__list>清晰度修复</span> <span class=home__contrast__list>画质修复</span></div></div><div class=home__contrast__info><div id=slider2 class="beer-slider home__contrast__pic" data-beer-label=修复后><img src=/contrast3-2.6bc9395b5696789298bb3ac748ec524c.jpg alt=""><div class=beer-reveal data-beer-label=修复前><img src=/contrast3-1.2b61873dfc704afb076459384e452bd2.jpg alt=""></div></div><div class=home__contrast__txt><span class=home__contrast__list>证件照换底色</span> <span class=home__contrast__list>强化人像</span> <span class=home__contrast__list>尺寸放大</span></div></div><div class=home__contrast__info><div id=slider3 class="beer-slider home__contrast__pic" data-beer-label=修复后><img src=/contrast2-2.22220caffd0c1a8678217cd21f4483ef.jpg alt=""><div class=beer-reveal data-beer-label=修复前><img src=/contrast2-1.a49e903c0c462f5fe3b4420e7aea4875.jpg alt=""></div></div><div class=home__contrast__txt><span class=home__contrast__list>黑白照片上色</span> <span class=home__contrast__list>划痕修复</span> <span class=home__contrast__list>去雾化</span></div></div><div class=home__contrast__info><div id=slider4 class="beer-slider home__contrast__pic" data-beer-label=修复后><img src=/contrast4-2.649632ce9e5b833c6c3f312f01643929.jpg alt=""><div class=beer-reveal data-beer-label=修复前><img src=/contrast4-1.a8ff8a58fedd43c3204c179ff99b42e6.jpg alt=""></div></div><div class=home__contrast__txt><span class=home__contrast__list>图片无损放大</span></div></div></div><div class=home__title>案例展示</div><div class=home__roll><div class=swiper-container><div class=swiper-wrapper><div class=swiper-slide><div class=home__roll__item><img src=/roll1.ed3dfd75a81af454bb9f5a6fb831e209.jpg> <span class=home__roll__type>彩色照片优化</span></div></div><div class=swiper-slide><div class=home__roll__item><img src=/roll2.3e47eeb951c135be1ecc670b377ba706.jpg> <span class=home__roll__type>黑白照片上色</span></div></div><div class=swiper-slide><div class=home__roll__item><img src=/roll3.d21c5f0709e28f4ed22564924d4dc34a.jpg> <span class=home__roll__type>黑白照片上色</span></div></div><div class=swiper-slide><div class=home__roll__item><img src=/roll4.1308fd0682989e613ea55520f58cc2a0.jpg> <span class=home__roll__type>彩色照片优化</span></div></div></div><div class=swiper-button-prev></div><div class=swiper-button-next></div></div></div><div class="home__title margin__top--10">常见问题</div><div class="home__problem margin__top--50 home__problem--show"><span class=home__problem__title><span class=home__problem__name>修复前的准备</span> <span class=home__problem__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-arrow></use></svg></span></span><span class=home__problem__txt>1. 旋转照片到正确角度并且裁掉无用的边缘，这样能大大提高AI修复效果。<br><img src=/faq.7713d11dd17df54ae15dee326ab14d17.jpg><br>2. 已经是彩色的照片无需再次上色：由于AI修复是算法修复，与原始图像会有差异，再次上色后会与原图不一致，因此建议彩色照片无需上色。<br>3. 付费后，可下载高清无水印的图片，付费即认为您已认可对比图中的效果，同一张照片（同一格式、尺寸的照片）只需支付一次费用，如果照片显示后未进入您的相册，请手动长按图片保存入您的相册，如果还无法保存，请加我们的QQ群（623946846）寻求协助。</span> <span class=clear__both></span></div><div class=home__problem><span class=home__problem__title><span class=home__problem__name>什么是AI照片修复？</span> <span class=home__problem__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-arrow></use></svg></span></span><span class=home__problem__txt>AI修复照片是指使用人工智能技术来修复图片，使老旧图片焕发出新的活力。比如，80年代之前，很多录像和照片都是黑白的，可以用AI修复技术去修复画面泛黄模糊的老旧的黑白照片，就可以把年代久远的黑白老照片修复成彩色的数码照片。也可以把原本模糊的照片，通过AI技术补充细节，还原出高清晰度的照片。</span> <span class=clear__both></span></div><div class=home__problem><span class=home__problem__title><span class=home__problem__name>AI照片修复的原理是什么？</span> <span class=home__problem__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-arrow></use></svg></span></span><span class=home__problem__txt>AI会自动学习和记忆这些关键信息的颜色 ，比如树叶是绿色、人脸是肤色等。因此，它可以很快开始对黑白照片里的场景进行彩色化。AI通过算法和大量已有图片的训练完成的学习。先对照片进行图像分割，区分出标志性物体。 比如树木、天空、人脸、服装……尽管很难做到完美无缺，但还原过后的老照片还是能给人很多惊喜。 PS：由于AI修复是算法学习的“经验”，推演出来的结果，因此和真实照片、真实景物会存在差异。 </span><span class=clear__both></span></div><div class=home__problem><span class=home__problem__title><span class=home__problem__name>什么样的照片适合AI修复？</span> <span class=home__problem__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-arrow></use></svg></span></span><span class=home__problem__txt>黑白照片、模糊的人像照片、大头照、半身照等。</span> <span class=clear__both></span></div><div class=home__problem><span class=home__problem__title><span class=home__problem__name>什么照片不适用AI？</span> <span class=home__problem__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-arrow></use></svg></span></span><span class=home__problem__txt>1.由于模糊照片修复清晰度主要针对人物照片进行的训练，因此针对无人物的纯景物照片可以上色但无法修复清晰度。<br>2.原照片过于模糊，或原照片中人物头像过小的，或照片本身过小的，无法修复。<br>3. 纯文字类图片无法修复，由于未针对纯文字类的图片进行专项训练，也未设计针对性的算法，因此对纯文字类的图片无法修复。</span> <span class=clear__both></span></div><div class=home__problem><span class=home__problem__title><span class=home__problem__name>可以修复老视频么？</span> <span class=home__problem__icon><svg class=icon aria-hidden=true><use xlink:href=#icon-arrow></use></svg></span></span><span class=home__problem__txt>当然可以，这是我们的企业服务，您可以联系huogang@hiliad.com<br>效果展示：<br>Bilibili：<a href=http://www.bilibili.com/video/BV13g41157hL/ target=_blank>http://www.bilibili.com/video/BV13g41157hL</a><br>Youtube：<a href="http://www.youtube.com/watch?v=XtHbzENmb74" target=_blank>http://www.youtube.com/watch?v=XtHbzENmb74</a></span> <span class=clear__both></span></div></div><div id=homeMask class=home__mask></div><div id=homeBigImg class=home__bigImg><span id=homeBigImgDown style="display: none" class=home__bigImg__btn>下载</span> <span id=homeBigImgClose class=home__bigImg__close><svg class=icon aria-hidden=true><use xlink:href=#icon-delete></use></svg></span><div class=home__bigImg__box><div id=sliderBig class="beer-slider home__bigImg__pic" name=tips-after data-beer-label=修复后><img id=bigImgAfter src=/white.b8ab14c86205561f1f3be3bf63a432db.jpg alt=""><div class=beer-reveal name=tips-before data-beer-label=修复前><img id=bigImgFront src=/white.b8ab14c86205561f1f3be3bf63a432db.jpg alt=""></div></div></div></div><div id=homeChoiceType class="home__choiceType js-tab tab"><ul class="tab-nav home__choiceType__top"><li class=active><a href=# class=home__choiceType__title>彩照优化</a></li><li><a href=# class=home__choiceType__title>黑白优化</a></li><li><a href=# class=home__choiceType__title>证件照</a></li><li><a href=# class=home__choiceType__title>特种照</a></li><span class=home__choiceType__close id=hideChoiceTypeBtn><svg class=icon aria-hidden=true><use xlink:href=#icon-delete></use></svg></span></ul><div class="content-wrap home__choiceType__box"><div class="content-item current"><div class=home__choiceType__box><div class=home__choiceType__list><span class=home__choiceType__tit>照片类型</span> <input name=phototype type=radio checked=checked data-tab=0 class="home__choiceType__check home__choiceType__check--on" data-type=repair data-color="" data-typename=彩照优化-人物><span class=home__choiceType__tip>人物</span> <input name=phototype type=radio data-tab=0 class=home__choiceType__check data-type=sr data-color="" data-typename=彩照优化-动漫><span class=home__choiceType__tip>动漫插图</span> <input name=phototype type=radio data-tab=0 class=home__choiceType__check data-type=sr data-color="" data-typename=彩照优化-风景><span class=home__choiceType__tip>风景照</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>高级选项</span> <input type=checkbox name=defogging class=home__choiceType__check data-type=defogging data-color="" data-typename=去雾化><span class=home__choiceType__tip>去雾化</span> <input type=checkbox name=scratch class=home__choiceType__check data-type=scratch data-color="" data-typename=去划痕><span class=home__choiceType__tip>去划痕</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>输出选项</span> <input type=checkbox name=dpi class=home__choiceType__check data-type=300 data-color="" data-typename=300DPI(印刷级)><span class=home__choiceType__tip>300DPI(印刷级)</span></div></div></div><div class=content-item><div class=home__choiceType__box><div class=home__choiceType__list><span class=home__choiceType__tit>照片类型</span> <input name=phototype type=radio data-tab=1 class=home__choiceType__check data-type=repair data-color="" data-typename=黑白优化-人物><span class=home__choiceType__tip>人物</span> <input name=phototype type=radio data-tab=1 class=home__choiceType__check data-type=sr data-color="" data-typename=黑白优化-动漫><span class=home__choiceType__tip>动漫插图</span> <input name=phototype type=radio data-tab=1 class=home__choiceType__check data-type=sr data-color="" data-typename=黑白优化-风景><span class=home__choiceType__tip>风景照</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>高级选项</span> <input type=checkbox name=defogging class=home__choiceType__check data-type=3,2 data-color="" data-typename=去雾化><span class=home__choiceType__tip>去雾化</span> <input type=checkbox name=scratch class=home__choiceType__check data-type=3,2 data-color="" data-typename=去划痕><span class=home__choiceType__tip>去划痕</span> <input type=checkbox name=color class=home__choiceType__check data-type=3,2 data-color="" data-typename=AI上色><span class=home__choiceType__tip>上色</span> <input type=checkbox name=color class=home__choiceType__check data-type=3,2 data-color="" data-typename=AI上色(实验版)><span class=home__choiceType__tip>上色(实验版)</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>输出选项</span> <input type=checkbox name=dpi class=home__choiceType__check data-type=300 data-color="" data-typename=300DPI(印刷级)><span class=home__choiceType__tip>300DPI(印刷级)</span></div></div></div><div class=content-item><div class=home__choiceType__box><div class=home__choiceType__list><span class=home__choiceType__tit>背景色</span> <input name=phototype type=radio data-tab=2 people=0 class="home__choiceType__check home__choiceType__check--on" data-type=bg data-color=85,142,213 data-typename=证件换背景-蓝色><span class=home__choiceType__tip>蓝色</span> <input name=phototype type=radio data-tab=2 people=0 class="home__choiceType__check home__choiceType__check--on" data-type=bg data-color=255,255,255 data-typename=证件换背景-白色><span class=home__choiceType__tip>白色</span> <input name=phototype type=radio data-tab=2 people=0 class="home__choiceType__check home__choiceType__check--on" data-type=bg data-color=235,51,35 data-typename=证件换背景-红色><span class=home__choiceType__tip>红色</span> <input name=phototype type=radio data-tab=2 people=0 class="home__choiceType__check home__choiceType__check--on" data-type=bg data-color=-1 data-typename=证件换背景-透明(抠图)><span class=home__choiceType__tip>透明(抠图)</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>高级选项</span> <input type=checkbox name=people checked=checked class=home__choiceType__check data-type=repair data-color="" data-typename=人像优化><span class=home__choiceType__tip>人像优化</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>输出选项</span> <input type=checkbox name=dpi class=home__choiceType__check data-type=300 data-color="" data-typename=300DPI(印刷级)><span class=home__choiceType__tip>300DPI(印刷级)</span></div></div></div><div class=content-item><div class=home__choiceType__box><div class=home__choiceType__list><span class=home__choiceType__tit>类 型</span><!--                        <input name="phototype" type="radio" data-tab=3 people=1 class="home__choiceType__check home__choiceType__check&#45;&#45;on" data-type="bg" data-color="255,255,255" data-typeName="白底黑白照"></input>--><!--                        <span class="home__choiceType__tip">黑白照(白底)</span>--> <input name=phototype type=radio data-tab=3 people=1 class="home__choiceType__check home__choiceType__check--on" data-type=bg data-color=1 data-typename=渐变灰遗像照><span class=home__choiceType__tip>遗像照(渐变灰)</span> <input name=phototype type=radio data-tab=3 people=1 class="home__choiceType__check home__choiceType__check--on" data-type=bg data-color=2 data-typename=渐变蓝新农合><span class=home__choiceType__tip>新农合(渐变蓝)</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>高级选项</span> <input type=checkbox name=people checked=checked class=home__choiceType__check data-type=repair data-color="" data-typename=人像优化><span class=home__choiceType__tip>人像优化</span></div><div class=home__choiceType__list><span class=home__choiceType__tit>输出选项</span> <input type=checkbox name=dpi class=home__choiceType__check data-type=300 data-color="" data-typename=300DPI(印刷级)><span class=home__choiceType__tip>300DPI(印刷级)</span></div></div></div></div><div class=home__choiceType__bottom><span class="home__choiceType__bottom__btn background--0166FB" id=startTask>立即开始任务</span></div></div><div id=homeWeChat class=home__weChat><span class=home__weChat__pic id=weChatQR></span> <span class=home__weChat__txt id=homeWeChatTxt>微信扫码下载高清无水印图</span> <span class=home__weChat__txt></span> <span class=home__weChat__vip id=homeWeChatVip data-mdf="">【打包购买更划算】</span></div><div id=homeArtificial class=home__artificial><div class=home__choiceType__top><span class=home__choiceType__title>人工精修</span> <span class=home__choiceType__close id=hideArtificialBtn><svg class=icon aria-hidden=true><use xlink:href=#icon-delete></use></svg></span></div><div class=home__artificial__box><div class=home__artificial__tip>您好，感谢支持高光照片优化！请留下您的联系方式，我们将主动与您联系。</div><input type=text class=home__artificial__email placeholder=邮箱> <input type=text class=home__artificial__phone placeholder=电话> <textarea class=home__artificial__info placeholder=修改要求></textarea> <span class=home__artificial__check id=homeArtificialCheck><svg class=icon aria-hidden=true><use xlink:href=#icon-true></use></svg></span><span class=home__artificial__checkTxt>我已阅读并同意<a href=agreement.html target=_blank>服务声明</a></span> <span class=home__artificial__btn>提交</span> <span class=clear__both></span></div></div><div id=homeShare class=home__share><div class=home__choiceType__top><span class=home__choiceType__title style=margin-top:30px>用户分享协议</span> <span class=home__choiceType__close style="display: none" id=hideShareBtn><svg class=icon aria-hidden=true><use xlink:href=#icon-delete></use></svg></span></div><div class=home__share__box><div class=home__share__tip></div><div class=home__share__tip>请您在使用分享功能前阅读以下协议内容：<br>1）分享操作将会把您选择的照片（含修复前后的）发布到本平台的客户案例展示区，向所有访客公开；<br>2）分享付费后的照片，分享者将会得到10元修复代金券；<br>3）上传者拥有照片版权，授权本平台展示和居间销售照片（如果需要）；<br>4）您分享的照片会被内部用于分析和优化AI算法。<br>使用本功能即视为您已阅读、理解并同意上述协议。</div><input type=checkbox class=home__share__check id=homeShareCheck> <span class=home__share__checkTxt>我已阅读并同意</span> <span class=home__share__btn id=homeSharebtn>分享</span> <span class=clear__both></span></div></div><div class=footer><div class=box><div class=footer__info style="display: none"><a class=footer__logo href=/index.html><span class=footer__icon><span class="footer__block footer__block--1"></span><span class="footer__block footer__block--2"></span><span class="footer__block footer__block--3"></span><span class="footer__block footer__block--4"></span><span class="footer__block footer__block--5"></span><span class="footer__block footer__block--6"></span><span class="footer__block footer__block--7"></span></span><span class=footer__logoTxt>高光照片优化</span></a><span class=footer__phone>010-5335 5193</span><span class=footer__mail>wearebug&gmail.com</span><span class=footer__qq>QQ群：623946846</span></div><div class=footer__menu><a class=footer__href href=privacy.html>隐私政策</a><a class=footer__href href=agreement.html>用户协议</a><a class=footer__href href=http:\\blog.hiliphoto.com target=_blank>高光博客</a><span class="footer__href footer__href--right" id=footerLogin>登录/注册</span><span class="footer__href footer__href--right display--none" id=footerUser><span class=footer__hrefTxt id=footerUserTxt>用户中心</span><span class=maskTransparent id=footerUserMaskTransparent></span><span class=languageSelection id=footerUserSelection><span class=languageSelection__href>剩余次数：<span id=footerVipNum>0</span></span><a class=languageSelection__href href=/upload.html>最近任务</a><span class=languageSelection__href id=footerLoginOut>退出登录</span></span></span><span class="footer__href footer__href--right"><span class=footer__hrefTxt id=footerLanguage>Language</span><span class=maskTransparent id=footerMaskTransparent></span><span class=languageSelection id=footerLanguageSelection><a class=languageSelection__href href=/index.html>简体中文</a><a class=languageSelection__href href=/indexenglish.html>English</a><a class=languageSelection__href href=/indexjapanese.html>日本语</a><a class=languageSelection__href href=/indexspanish.html>Español</a><a class=languageSelection__href href=/indexfrench.html>Francés</a></span></span><span class="footer__href footer__href--right" id=footerApi>API</span><span class="footer__href footer__href--right" id=footerPrice>价格</span><a class="footer__href footer__href--right" href=/about.html>关于我们</a></div><div class=footer__bottom><span class=footer__copyright>北京汗粮科技有限公司 版权所有 <a style="color: rgba(255,255,255,0.8)" href=http://beian.miit.gov.cn/ target=_blank>京ICP备19043080号-5</a></span></div></div></div><span class=mask id=mask></span><span class=maskLogin id=maskLogin></span><span class=maskWeChat id=maskWeChat></span><div class=login id=loginBox><div class=login__top><span class=login__title>登录/注册</span><span class=login__close id=loginClose><svg class=icon aria-hidden=true><use xlink:href=#icon-delete></use></svg></span></div><div class=login__box><div><span class=login__tit>感谢支持高光照片优化！</span><span class=login__list><span class=login__dot></span><span class=login__txt>登录用户可享折扣</span></span><span class=login__list><span class=login__dot></span><span class=login__txt>登录后浏览器关闭，任务不会丢失</span></span><span class=login__list><span class=login__dot></span><span class=login__txt>可随时查看处理记录</span></span><span class=login__list><span class=login__dot></span><span class=login__txt>使用最新高清AI模型</span></span></div><div><div class=login__info><div class=login__text><input type=text id=account class=login__input placeholder=邮箱></div><div class=login__text><input type=password id=password class=login__input placeholder=密码></div><div class=login__tip style=display:none;><span class=login__checkBox id=loginTypeCheck><svg class=icon aria-hidden=true><use xlink:href=#icon-true></use></svg></span><span class=login__checkTxt>创建一个新的账户</span><span class=login__forget style="display: none">忘记密码</span></div><span class=login__btn id=login>登录</span><span class="login__btn register" id=register>注册</span><div class=login__third><span class=login__thirdTxt>第三方登录</span><span class=login__thirdBox><span class="login__thirdIcon weChart" id=weChatLogin><svg class=icon aria-hidden=true><use xlink:href=#icon-wechart></use></svg></span><span class="login__thirdIcon facebook" style="display: none"><svg class=icon aria-hidden=true><use xlink:href=#icon-facebook></use></svg></span><span class="login__thirdIcon google" style="display: none"><svg class=icon aria-hidden=true><use xlink:href=#icon-google></use></svg></span></span></div></div></div></div></div><div class=weChatLoginBox id=weChatLoginBox></div><div class=function id=functionBox><div class=function__top><span class=function__title><span class=function__bar data-id=1>价格<span class=function__barLine></span></span><span class=function__bar data-id=2>API<span class=function__barLine></span></span></span><span class=function__close id=functionClose><svg class=icon aria-hidden=true><use xlink:href=#icon-delete></use></svg></span></div><div class="function__box function__price" data-id=1><div class=function__priceBox><div class=function__priceInfo><span class=function__priceTit>3张 = ￥49.8</span><span class=function__priceList>有效期: 一年</span><span class=function__priceList>优先处理: 是</span><span class=function__priceList>上传尺寸: 6000px</span><span class=function__priceList>老照片修复: 支持</span><span class=function__priceList>批量处理: 无</span><span class=function__priceType id=vipBuyWeChat3><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-wechat></use></svg></span><span class=function__priceTxt>微信支付</span></span><span class="function__priceType background--08A9EE" style="display: none" id=vipBuyAliPay3><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-alipay></use></svg></span><span class=function__priceTxt>支付宝支付</span></span><span class="function__priceType background--277FE3" id=vipBuyRebate3><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-rebate></use></svg></span><span class=function__priceTxt>返利支付</span></span></div><div class=function__priceInfo><span class=function__priceTit>10张 = ￥150</span><span class=function__priceList>有效期: 一年</span><span class=function__priceList>优先处理: 是</span><span class=function__priceList>上传尺寸: 6000px</span><span class=function__priceList>老照片修复: 支持</span><span class=function__priceList>批量处理: 支持</span><span class=function__priceType id=vipBuyWeChat10><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-wechat></use></svg></span><span class=function__priceTxt>微信支付</span></span><span class="function__priceType background--08A9EE" style="display: none" id=vipBuyAliPay10><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-alipay></use></svg></span><span class=function__priceTxt>支付宝支付</span></span><span class="function__priceType background--277FE3" id=vipBuyRebate10><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-rebate></use></svg></span><span class=function__priceTxt>返利支付</span></span></div><div class=function__priceInfo><span class=function__priceTit>50张 = ￥400</span><span class=function__priceList>有效期: 一年</span><span class=function__priceList>优先处理: 是</span><span class=function__priceList>上传尺寸: 6000px</span><span class=function__priceList>老照片修复: 支持</span><span class=function__priceList>批量处理: 支持</span><span class=function__priceType id=vipBuyWeChat50><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-wechat></use></svg></span><span class=function__priceTxt>微信支付</span></span><span class="function__priceType background--08A9EE" style="display: none" id=vipBuyAliPay50><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-alipay></use></svg></span><span class=function__priceTxt>支付宝支付</span></span><span class="function__priceType background--277FE3" id=vipBuyRebate50><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-rebate></use></svg></span><span class=function__priceTxt>返利支付</span></span></div><div class=function__priceInfo><span class=function__priceTit>200张 = ￥1000</span><span class=function__priceList>有效期: 一年</span><span class=function__priceList>优先处理: 是</span><span class=function__priceList>上传尺寸: 6000px</span><span class=function__priceList>老照片修复: 支持</span><span class=function__priceList>批量处理: 支持</span><span class=function__priceType id=vipBuyWeChat200><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-wechat></use></svg></span><span class=function__priceTxt>微信支付</span></span><span class="function__priceType background--08A9EE" style="display: none" id=vipBuyAliPay200><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-alipay></use></svg></span><span class=function__priceTxt>支付宝支付</span></span><span class="function__priceType background--277FE3" id=vipBuyRebate200><span class=function__priceIcon><svg class=icon aria-hidden=true><use xlink:href=#icon-pay-rebate></use></svg></span><span class=function__priceTxt>返利支付</span></span></div></div><div class=function__priceTip>单张￥19.8，购买越多赠送越多，更低折扣请加入QQ群（623946846）咨询。</div></div><div class=function__box data-id=2><div class=function__apiBox><span class=function__apiTitle>准备</span><div class=function__apiInfo><pre>1、线下付款，获取可上传图片次数
2、申请请求接口所需的third_code和secret_key
3、根据接口文档，接入服务</pre></div></div><div class=function__apiBox><span class=function__apiTitle>说明</span><div class=function__apiInfo><pre>1、按照图片上传次数扣费，上传失败不扣费
2、获取到的secret_key请妥善保管，不可外传
3、所有修复成功的图片本站将保留1小时后自动删除，如需持久化存储请下载至自有系统</pre></div></div><div class=function__apiBox><span class=function__apiTitle>接口说明</span><div class=function__apiInfo><pre>1、请求地址: http://sdkphoto.fangtangtv.com
2、code=200固定为成功，code=9000固定为失败
3、code=9000时，如需进一步业务判断，可根据errno参数</pre></div></div><div class=function__apiBox><span class=function__apiTitle>1、图片上传接口</span><div class=function__apiInfo><pre>URL /api/third/uploads
Method POST
Header token: 加密生成的token，加密规则见附1
Params
field	type	required	commit
third_code	string	Y	线下申请的第三方标识third_code
seq	string	Y	任务参数, 多值以英文逗号连接, 可选参数: repair, colour, sr, bg, scratch, defogging
type	string	N	图像类型, 默认 people, 可选参数: people, cortoon, landscape, portrait, text
file	file	Y	图像文件, 可传多次
rate	int	N	超分倍数, 默认 0, 可选参数: 2, 4, 8
rgb	string	N	底色值, bg in seq 时必传, 可选参数: -1, 1, 235,51,35(红), 85,142,213(蓝), 255,255,255(白)
dpi	int	N	分辨率, 300DPI则传300
platform	string	Y	平台, 可选参数: pc, h5, mp, ios, baidu, zijie, douyin, alipay
clientip	string	N	客户端IP
mdf	string	N	再次处理, 必传, 可传多次</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Curl</span><div class=function__apiInfo><pre>curl --location --request POST 'http://sdkphoto.fangtangtv.com/api/third/uploads' --header 'token: xxx' --form 'third_code="test"' --form 'seq="bg"' --form 'file=@"/VSCode/image/3c6b4b786c1159441a94e3508c36508b.png"' --form 'rgb="1"' --form 'platform="pc"'
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Response</span><div class=function__apiInfo><pre>field	commit
img_url	上传图片的url
mdf	图片的唯一标识
{
    "code": 200,
    "data": {
        "mdf": [
		"40b37f58db153e5149f008421797714e"
	]
}
}
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>失败时(errno说明)</span><div class=function__apiInfo><pre>errno	commit
9999	请求参数token不合法
9101	剩余下载次数为0
9001	传入参数错误
9005	文件上传类型不支持
9006	上传失败
9009	图片异常，处理失败
{
    "code": 9000,
    "errno": 9005,
    "msg": "文件上传类型不支持"
}</pre></div></div><div class=function__apiBox><span class=function__apiTitle>2、图片修复状态查询</span><div class=function__apiInfo><pre>URL /api/third/status
Method POST
Header token: 加密生成的token，加密规则见附1
Params
field	type	required	commit
third_code	string	Y	线下申请的第三方标识third_code
mdf	string	Y	文件唯一标识
platform	string	Y	平台, 可选参数: pc, h5, mp, ios, baidu, zijie, douyin, alipay</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Curl</span><div class=function__apiInfo><pre>curl --location --request POST 'http://sdkphoto.fangtangtv.com/api/third/status' --header 'token: xxx' --form 'third_code="test"' --form 'mdf="9804b4cb5b4740fb26afde5f2831c0f5"' --form 'platform="pc"'
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Response(正常时)</span><div class=function__apiInfo><pre>{
"code": 200,
"data": {
	"msg": "获取任务状态成功",
	"status": 200
	"mdfs": [
	{
		"mdf":"9804b4cb5b4740fb26afde5f2831c0f5",
		"state": "任务处理完成",
		"src_url": "",
		"wmk_url":"",
		"icon_url": "",
		"res_size": "1080x1366px 146KB"
	}
	]
	}
}
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Response(失败时)errno说明</span><div class=function__apiInfo><pre>errno	commit
9002	图片不存在
500	其他错误
{
    "code": 9000,
    "errno": 9002,
    "msg": "图片不存在，请确认图片是否上传成功"
}
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>3、图片下载</span><div class=function__apiInfo><pre>URL /api/third/download
Method POST
Header token: 加密生成的token，加密规则见附1
Params
field	type	required	commit
third_code	string	Y	线下申请的第三方标识third_code
mdf	string	Y	文件唯一标识
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Curl</span><div class=function__apiInfo><pre>curl --location --request POST 'http://sdkphoto.fangtangtv.com/api/third/download' --header 'token: xxx' --form 'third_code="test"' --form 'mdf="9804b4cb5b4740fb26afde5f2831c0f5"'
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Response(正常时)</span><div class=function__apiInfo><pre>field	commit
url	图片下载地址
{
	"code": 200,
	"data": {
	"url": "http://sdkphoto.fangtangtv.com/api/third/download/40b37f58db153e5149f008421797714e01100.jpg"
	}
}
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Response(失败时)errno说明</span><div class=function__apiInfo><pre>errno	commit
9002	图片不存在
500	其他错误
{
    "code": 9000,
    "errno": 9002,
    "msg": "数据已失效，请重新上传"
}
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>4、剩余上传次数查询</span><div class=function__apiInfo><pre>URL /api/third/company/nums
Method POST
Header token: 加密生成的token，加密规则见附1
Params
field	type	required	commit
third_code	string	Y	线下申请的第三方标识third_code</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Curl</span><div class=function__apiInfo><pre>curl --location --request POST 'XXXXX/api/third/company/nums' \
--header 'token: XXXXX' \
--form 'third_code="XXXXX"'
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Response(正常时)</span><div class=function__apiInfo><pre>field	commit
code	第三方标识third_code
nums	剩余上传次数
{
    "code": 200,
    "data": {
        "code": "hiliad",
        "nums": 98
    }
}
</pre></div></div><div class=function__apiBox><span class=function__apiTitle>Response(失败时)errno说明</span><div class=function__apiInfo><pre>errno	commit
9002	数据未找到
500	其他错误
{
    "code": 9000,
    "errno": 9002,
    "msg": "数据未找到"
}</pre></div></div><div class=function__apiBox><span class=function__apiTitle>附1、token生成规则</span><div class=function__apiInfo><pre>1、拿到服务方提供的secret_key，再生成一个当前时间戳time
    secret_key = 'hiliad'
    time = '1629962357'
2、secret_key + time,两字符串拼接，再md5，得到参数mds
    mds = hashlib.md5((secret_key + time).encode("utf8")).hexdigest()
    mds = '5484490c8e797dabe52af90ab8bd1e50'
3、最终的token等于 mds + ',' + time
    token = '5484490c8e797dabe52af90ab8bd1e50,1629962357'

注：生成的时间戳会在2分钟后失效，请每次请求接口都重新生成时间戳</pre></div></div></div></div><div id=weChat class=weChat><span class=weChat__pic id=weChatVipQR></span><span class=weChat__txt>微信扫码下载高清无水印图</span><span class=weChat__txt>打包购买更划算</span></div><a class=qqGroup target=_blank href="http://qm.qq.com/cgi-bin/qm/qr?k=pSwml8icnCBsknAXChOsfRbFIHqcKovL&jump_from=webapi"><svg class=icon aria-hidden=true><use xlink:href=#icon-qq></use></svg></a><div id=costa class=costa><span id=costaTxt class=costa__txt></span></div><script>_hmt.push(['_trackEvent','new','step','indexall']);</script><script>$(".js-tab").etab({
                triggerType: "click",
                effect: "fade",
                invoke: "1",
                auto: false
            });</script><script type=text/javascript src=/iconFont.js></script><script type=text/javascript src=/jquery.js></script><script type=text/javascript src=/index.js></script></body></html>
