DocsOlusturucular

Olusturma Aracları API

QR kodları, faviconlar, ekran goruntuleri ve URL'den PDF olusturma icin uc noktalar. Bazı uc noktalar multipart/form-data yerine JSON kabul eder -- her uc nokta icin icerik turunu kontrol edin.

QR Kod Olusturma

POST/api/qr-generate

Metin veya URL'den QR kod goruntusü olusturun. JSON govdesi gonderin (Content-Type: application/json). Renkleri, boyutu ve hata duzeltme seviyesini ozellestirin.

Parameters

NameTypeRequiredDescription
textstringRequiredQR kodda kodlanacak icerik (metin, URL, WiFi yapılandırması, vb.)
sizenumberOptionalPiksel cinsinden QR kod boyutu. Varsayılan: 300
errorCorrectionstringOptionalHata duzeltme seviyesi: "L" (%7), "M" (%15), "Q" (%25), "H" (%30). Varsayılan: "M"
fgColorstringOptionalHex olarak on plan rengi (ornegin "#000000"). Varsayılan: "#000000"
bgColorstringOptionalHex olarak arka plan rengi (ornegin "#ffffff"). Varsayılan: "#ffffff"
Response:PNG goruntu
bash
curl -X POST https://freefiletools.io/api/qr-generate \
  -H "x-api-key: fft_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "https://freefiletools.io",
    "size": 400,
    "errorCorrection": "H",
    "fgColor": "#f97316",
    "bgColor": "#ffffff"
  }' \
  -o qrcode.png

Favicon Olusturma

POST/api/favicon-generate

Bir kaynak goruntudan tam bir favicon paketi olusturun. Birden fazla favicon boyutu (16x16, 32x32, 48x48, vb.) ve bir ICO dosyası iceren bir ZIP dosyası dondurur.

Parameters

NameTypeRequiredDescription
fileFileRequiredKaynak goruntu dosyası (PNG, JPG veya SVG onerilir)
Response:Favicon dosyalarını iceren ZIP dosyası
bash
curl -X POST https://freefiletools.io/api/favicon-generate \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o favicons.zip

HTML'den Goruntuye

POST/api/html-to-image

Bir web sayfasının ekran goruntusunu alın. JSON govdesi gonderin (Content-Type: application/json). Goruntulem boyutunu ve cıkıs formatını ozellestirin.

Parameters

NameTypeRequiredDescription
urlstringRequiredYakalanacak URL (https:// icermeli)
formatstringOptionalCıkıs formatı: "png" veya "jpg". Varsayılan: "png"
widthnumberOptionalPiksel cinsinden goruntulem genisligi. Varsayılan: 1280
heightnumberOptionalPiksel cinsinden goruntulem yuksekligi. Varsayılan: 800
Response:PNG veya JPG goruntu
bash
curl -X POST https://freefiletools.io/api/html-to-image \
  -H "x-api-key: fft_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "format": "png",
    "width": 1440,
    "height": 900
  }' \
  -o screenshot.png

URL'den PDF'e

POST/api/url-to-pdf

Bir web sayfasını PDF belgesine donusturun. JSON govdesi gonderin (Content-Type: application/json). Sayfa donusumden once tam olarak olusturulur.

Parameters

NameTypeRequiredDescription
urlstringRequiredDonusturulecek URL (https:// icermeli)
Response:PDF dosyası
bash
curl -X POST https://freefiletools.io/api/url-to-pdf \
  -H "x-api-key: fft_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}' \
  -o page.pdf