API version 1

Freeimage.host's API v1 allows to upload pictures.

API Key


API call

Request method

API v1 calls can be done using the POST or GET request methods but since GET request are limited by the maximum allowed length of an URL you should prefer the POST request method.

Request URL


Parameters

  • key (required) The API key.
  • action What you want to do [values: upload].
  • source Either a image URL or a base64 encoded image string. You can also use FILES["source"] in your request.
  • format Sets the return format [values: json (default), redirect, txt].

Example call

Note: Always use POST when uploading local files. Url encoding may alter the base64 source due to encoded characters or just by URL request length limit due to GET request.

API response

API v1 responses display all the image uploaded information in JSON format.

JSON the response will have headers status codes to allow you to easily notice if the request was OK or not. It will also output the status properties.

Example response (JSON)

이미지 미리보기를 클릭하면
이미지를 편집하거나 사이즈를 조절할 수 있습니다.
이미지 미리보기를 탭하면
이미지를 편집하거나 사이즈를 조절할 수 있습니다.
컴퓨터이미지 URL 추가를 통해 이미지를 더 추가할 수 있습니다.
기기사진 찍기 또는 이미지 URL 추가를 통해 이미지를 더 추가할 수 있습니다.
업로드 중 0 이미지 (0% 완료)
대기열을 업로드하고 있습니다. 완료하는데 몇 초밖에 걸리지 않습니다.
업로드가 완료되었습니다
업로드한 게시물이 앨범에 추가되었습니다. 업로드된 게시물은 새 앨범 만들기를 할 수 있습니다.
업로드한 게시물이 앨범에 추가되었습니다.
업로드된 게시물은 새 앨범 만들기를 할 수 있습니다. 계정에 이 게시물을 저장하려면 계정 만들기 또는 로그인 해야 합니다.
이미지이(가) 업로드되지 않았습니다
업로드 중 일부 이미지에 오류가 발생하여 시스템이 처리하지 못했습니다.
    참고: 일부 이미지를 업로드하지 못했습니다. 더 알아보기
    자세한 내용은 오류 보고서를 참고해주세요.
    JPG PNG BMP GIF WEBP 64 MB