El Yazısı Kaldırma
API
1 API çağrısıyla herhangi bir görüntünün El Yazısını Kaldırın
API Tanıtımı
El yazısı kaldırma konusunda uzmanlaşmış Yapay Zeka teknolojisi, MosaicRemoval.com API kullanılarak her zamankinden daha kolay hale getirildi. Sadece birkaç satır kodla bu teknolojiyi uygulamanıza getirebilirsiniz.
Paket Satın Alın
API'ye adanmış bir paket satın alın
Kod Örneklerini Kullanın
Hızlı bir başlangıç yapmak için aşağıdaki kod örneklerini kullanın
Parametreleri Ayarlayın
İsteği ayarlamak için parametreler referansına geri dönün
Kimlik Doğrulama
Kullanıcıların kimliğini özel API Anahtarı (veya App Code) kullanarak doğrularız. Buradan kolayca edinilebilir. API Anahtarı benzersizdir ve diğerlerinden çok farklıdır. Güvenlik nedenleriyle, lütfen App Code'unuzu yayınlamayın.
API Uç Noktası
Başlıklar
Kod Örnekleri
Kod örneklerimizle hızlı bir başlangıç yapın
public static void main(String[] args) {
    String host = "https://api.mosaicremoval.com";
    String path = "/sjccup";
    String method = "POST";
    String appcode = "YourAppCode";
    Map<String, String> headers = new HashMap<String, String>();
    // The final format in the header (with a space in between) is Authorization:APPCODE 83359fd73fe94948385f570e3c139105
    headers.put("Authorization", "APPCODE " + appcode);
    // Define the corresponding Content-Type according to API requirements
    headers.put("Content-Type", "application/json; charset=UTF-8");
    Map<String, String> querys = new HashMap<String, String>();
    String bodys = "{\"media_id\":\"Base64 encoded image value, with the longest side not exceeding 4000px; remove the prefix data:image/png;base64\",\"keep_distortion\":boolean type, false - auto-corrects distortion, true - disables correction\",\"keep_ori\":boolean type, false - the image will be rotated to the correct orientation, true - retains the orientation when uploaded}";
    try {
        HttpResponse response = HttpUtils.doPost(host, path, method, headers, querys, bodys);
        System.out.println(response.toString());
        // Get the body of the response
        // System.out.println(EntityUtils.toString(response.getEntity()));
    } catch (Exception e) {
        e.printStackTrace();
    }
}İstek Parametreleri
API isteklerinizi bu parametrelerle yapılandırın
| Parametre | Tür | Açıklama | 
|---|---|---|
| media_id | string | Görüntünün Base64 kodlanmış değeri, en uzun kenarı 4000 pikseli geçmemeli; data:image/png;base64 önekini kaldırın | 
| keep_distortion | boolean | false – bozulmayı otomatik düzeltir, true – düzeltmeyi devre dışı bırakır | 
| keep_ori | boolean | false – görüntü doğru yöne döndürülür, true – yüklendiğindeki yönünü korur | 
Hata Kodları
API yanıt kodları için referans
| Hata Kodu | Hata Mesajı | Açıklama | 
|---|---|---|
| 0 | success | Success | 
| 1000 | body error | Request body error | 
| 1001 | param error | Request parameter error | 
| 1002 | content type error | Content-Type error | 
| 1003 | image not exists | Image file not found | 
| 1004 | image size error | Image size error | 
| 1005 | image format error | Image format error | 
| 1006 | invalid signature | Invalid signature | 
| 1007 | body size error | Body size error | 
| 1008 | no authorization | Authorization failed | 
| 2000 | server unknown error | Server unknown error | 
| 2001 | server timeout | Server timeout | 
| 2003 | no content recognition | No content recognized | 
| 2004 | validate data error | Validation data error | 
| 3000 | remote server error | Remote server error | 
| 4000 | base server error | Base server error | 
API Fiyatlandırma Planları
Aşağıdaki planlar API'ye özeldir
Temel
Popüler
Özel
%100 Para İade Garantisi!
İçiniz rahat bir şekilde satın alın. Bu aracın ihtiyaçlarınızı karşılamadığını fark ederseniz, 7 günlük sorgusuz sualsiz para iade garantisi sunuyoruz. Ödemeyi güvenle yapabilirsiniz. Ödemenizin güvenliğini sağlamak için bir iade politikamız var.