"Unokongeza ii-URL ezininzi ezahlulwe ziikoma."

* I-Instag ikuvumela ukuba ukhuphele iigalari zemifanekiso, iividiyo, kunye nokuqokelela kuyo nayiphi na indawo yokusingatha imifanekiso

Yongeza nje instag.com/ phambi kwefoto okanye umfanekiso we-URL kwaye ucinezele u-enter:

instag.com/https://www.example.com/path/to/media

Yenza nge Instag API, ngokulula

Ufuna ukongeza iigophe kwimveliso yakho? I-API yethu iyenza ukuhambisa okunzima - yenza isicelo kwaye sithumele kwakhona ifayili. Ngokukhawuleza. Ngokuthembekileyo.

Uqinisekiso olulula
Uyilo olulungeleyo lwe-REST
Ukongeza ngokuzenzekelayo kwi-Language
Ixesha elithembekileyo elisebenza kakuhle
Python
import requests

response = requests.post(
    "https://api.instag.com/api/download",
    headers={"Authorization": "API_KEY"},
    json={"url": "URL"},
)

for item in response.json()["items"]:
    print(item["type"], item["url"])

Imibuzo ebuzwa qho

Iifayili ze-GIF eziboniswayo ngokuchanekileyo njengoko i-platform yombhalo isebenza kuzo — i-looping, akukho sandi, iqulethe ngokwayo ngokupheleleyo.

Xa umbhalo ovela kwi-URL sele ukwi-GIF (i-Tenor, i-Giphy, i-Tumblr), i-Instag iyayikhuphela njenge-is. Ukuguqulwa kwevidiyo kwi-GIF kumsebenzi okhethekileyo ohlukileyo kwezinye ii-URL.

I-GIFs ngokuchaseneyo ayikwazi ukuquka isandi - yifomati yemifanekiso ehlala ikhona enesampulu yobomi. Ukuba unesandi, khuphela ezantsi umthombo njenge-MP4 endaweni yoko.

Nokuba ngaba i-platform yombhalo ibonakalisiwe. I-GIFs ezininzi zinikezelwa kwi-480×270 okanye 640×360; i-Instag igcina ubungakanani obuqhelekileyo.

Nayiphi na inkqubo ye-intanethi ene-URLs ezibonelela nge-GIF — Tenor, Giphy, Tumblr, Reddit, kunye neminye imiyalezo yomphakathi efaka i-GIF ngqo.

Ewe. Ukuziphatha kokuphindaphinda kukhowudiwe kwifayili ye-GIF ngokwayo, hayi kufakwe ngumdlali we-platform. Xa ugcino, kuyaphindaphinda kwimboniso nganye.

Ewe. Akukho ubhaliso, akukho квота. I-Pro isusa ii-ad kwaye idibanisa ukukhuphela okuninzi.

Ncamathisela i-URL nganye ye-GIF kumgca wayo. I-Instag ibuyisela i-ZIP yeefayili ze-GIF.

Kuphela xa i-GIF ibonakala kumazwe. I-posts yabucala itshixwa kwi-API yombhalo we-platform.

Ezinye iinkqubo (Tenor, Giphy) zibeka ngaphezulu ilogo encinci yonikezelo kwi-GIFs ezixhulumeneyo. I-Instag ifumana umthombo ongenaphawu lwamanzi apho inkqubo ibonisa khona.

Hayi. I-GIF URLs ayilogwanga kwaye iifayile azigcinwanga emva kokuba impendulo inikezelwe.

Qinisekisa ukuba i-GIF URL isebenza kwi-browser yakho. Ukuba i-platform ibeke i-rate-limit kwifayili okanye isuse ifayili, i-Instag ibuyisela impazamo endaweni yokucinga.

Qaphela, asigcini nto, yonke into ifakwe kuwe, kunye nemifanekiso ifakwe njenge-base64 kwisikhangeli sakho. Simhle njalo.

-
Loading...
[Error: All translation engines failed for batch: MADLAD batch translation failed: CUDA out of memory. Tried to allocate 2.00 MiB. GPU 0 has a total capacity of 23.87 GiB of which 3.62 MiB is free. Process 3280094 has 228.00 MiB memory in use. Process 2050901 has 246.00 MiB memory in use. Process 3358747 has 336.00 MiB memory in use. Process 3364221 has 336.00 MiB memory in use. Process 3373233 has 2.10 GiB memory in use. Process 3380506 has 2.10 GiB memory in use. Process 3437459 has 1.31 GiB memory in use. Process 3437461 has 1.17 GiB memory in use. Process 3437456 has 1.23 GiB memory in use. Process 3437458 has 1.29 GiB memory in use. Process 3437454 has 1.30 GiB memory in use. Including non-PyTorch memory, this process has 9.86 GiB memory in use. Process 3437463 has 1.19 GiB memory in use. Process 3437467 has 1.19 GiB memory in use. Of the allocated memory 9.58 GiB is allocated by PyTorch, and 106.99 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)]

API Umthetho wabucala Imimmisele yenkonzo Qhagamshelana nathi BlueSky Silandele kwiBlueSky

2026 Instag LLC | Yenziwe ngu nadermx