免费版 
                        
                        
                            
                            
数量: 5张 有效期: 一个月 优先处理: 否 上传尺寸: 3000px/10M 老照片修复: 不支持 批量处理: 不支持  
                 
                
                    
                        
                            
50张 / ¥30 
                        
                        
                            
                            
有效期: 一年 优先处理: 是 上传尺寸: 不限制 老照片修复: 支持 批量处理: 支持  
                 
                
                    
                        最多人选择
                        
                            
132张 / ¥72 
                        
                        
                            
                            
有效期: 一年 优先处理: 是 上传尺寸: 不限制 老照片修复: 支持 批量处理: 支持  
                 
                
                    
                        
                            
270张 / ¥108 
                        
                        
                            
                            
有效期: 一年 优先处理: 是 上传尺寸: 不限制 老照片修复: 支持 批量处理: 支持  
                 
                
                    购买越多赠送越多,更多数量>> 
                
             
           
          
            
              
                
                  # 
                  名称 
                  张数 
                  剩余 
                  过期时间 
                  购买时间 
                 
               
              
                
                  {{$index+1}} 
                  {{b.subject}} 
                  {{b.api_num}} 
                  {{b.api_remain}} 
                  {{b.api_expire}}(已过期)  
                  {{b.create_time}} 
                 
               
            
           
          
            
                
                  
                    
                        
                     
                    
                        {{{'photo_pro': lng_dict.photo_pro, 'photo': lng_dict.photo+' / '+ '4X', 'photo_mid': lng_dict.photo+' / '+ '2X', 'photo_slim': lng_dict.photo+' / '+ '1X', 'art': lng_dict.art+' / '+ '4X', 'art_mid': lng_dict.art+' / '+ '2X', 'art_slim': lng_dict.art+' / '+ '1X'}[t.conf.style]}} / {{t.conf.color?(lng_dict.color+' / '):''}} {{t.conf.livephoto?(lng_dict.livephoto+' / '):''}} {{t.conf.scratch?(lng_dict.old+' / '):''}} {{t.create_time}}
                        
                     
                   
                 
            
            只显示最近 3 天处理记录
           
          
          
            
任务创建接口 {{tmp_demo_1?"Curl":"Python"}} Demo  curl -d '{"style": "photo_mid", "scratch": "", "color": "", "livephoto": "", "input": "YOUR_IMAGE_URL "}' \
     -H 'X-API-KEY:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ' \
     https://jpghd.com/api/task/ 
import requests
import json
data = {
    'style': 'photo_mid',
    'scratch': '',
    'color': '',
    'livephoto': '',
    'input': 'YOUR_IMAGE_URL '
}
r = requests.post(
    url='https://jpghd.com/api/task/',
    headers={'X-API-KEY': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx '},
    data=json.dumps(data)
)
print(r.json()) 
- data      参数是 JSON 格式
- style     参数有 photo (照片高清+无损放大4倍), photo_mid (照片高清+无损放大2倍), photo_slim (照片高清), art_mid (卡通/插画图片高清+无损放大2倍), art_slim (卡通/插画图片高清)
- scratch   参数可选 ,为空表示不修复划痕和破损
- color     参数可选 ,为空表示不需要上色
- livephoto 参数可选 ,为空表示不生成魔法动态照片
- 返回结果有  ok (成功), conf_param_error (参数错误), exceed_limit (处理次数不足) 
            
任务状态查询接口 {{tmp_demo_2?"Curl":"Python"}} Demo  curl https://jpghd.com/api/task/tid,tid,tid  import requests
r = requests.get(url='https://jpghd.com/api/task/tid,tid,tid ')
print(r.json()) 
- tid 为任务id,用英文逗号分割 
            
失败任务重试接口 {{tmp_demo_3?"Curl":"Python"}} Demo  curl -X POST https://jpghd.com/api/task/tid,tid,tid  import requests
r = requests.post(url='https://jpghd.com/api/task/tid,tid,tid ')
print(r.json()) 
- tid 为任务id,用英文逗号分割