Sharper lines and details · Cleaner images with less noise · Made for artwork and photos · Enlarge images up to 16×
Bigjpg reconstructs lines, colors, and fine details instead of simply stretching pixels.
Each plan has its own quota cycle. Times are shown in your local time zone.
| No. | Product | Payment time | Creation time | Receipt |
|---|---|---|---|---|
| [[ $index + 1 ]] | [[ vm.orderGoods(order.goods) ]] | [[ order.pay_time ]] | [[ order.create_time ]] | Receipt |
No purchase records
Only enlarging records from the last day are shown.
/api/img_upload
curl -X POST https://bigjpg.com/api/img_upload \
-H 'X-API-KEY: YOUR_API_KEY' \
-d 'filename=small.jpg' \
-d 'filetype=image/jpeg'
# Use url from the response to upload the file to R2.
curl -X PUT --upload-file small.jpg \
-H 'Content-Type: image/jpeg' \
'UPLOAD_URL'
import requests
filename = 'small.jpg'
filetype = 'image/jpeg'
r = requests.post(
url='https://bigjpg.com/api/img_upload',
headers={'X-API-KEY': 'YOUR_API_KEY'},
data={'filename': filename, 'filetype': filetype}
)
upload = r.json()
with open(filename, 'rb') as image:
requests.put(
url=upload['url'],
data=image,
headers={'Content-Type': filetype}
)
print(upload['fileurl']) # use as input in the enlarge API
/api/task/
curl -d '{"style": "art", "noise": "3", "x2": "1", "input": "YOUR_IMAGE_URL"}' \
-H 'X-API-KEY: YOUR_API_KEY' \
https://bigjpg.com/api/task/
import json
import requests
data = {
'style': 'art',
'noise': '3',
'x2': '1',
'file_name': 'small.jpg',
'input': 'YOUR_IMAGE_URL'
}
r = requests.post(
url='https://bigjpg.com/api/task/',
headers={'X-API-KEY': 'YOUR_API_KEY'},
data=json.dumps(data)
)
print(r.json())
/api/task/{task_ids}
curl https://bigjpg.com/api/task/tid1,tid2,tid3,tid100
import requests
r = requests.get(
url='https://bigjpg.com/api/task/tid1,tid2,tid3,tid100'
)
print(r.json())
/api/task/{task_ids}
curl -X POST https://bigjpg.com/api/task/tid1,tid2,tid3,tid100
import requests
r = requests.post(
url='https://bigjpg.com/api/task/tid1,tid2,tid3,tid100'
)
print(r.json())
After upgrading: