New REST APIs for Developers & Creators: Image Translation, Embeddings, Text, Watermark & Background Removal

We’ve shipped four highly requested computer-vision endpoints and wired them into the PixLab API, the prompt-based AI Photo Editor and the Vision Workspace (OCR). This post gives you a developer-first tour with direct docs links and working JavaScript examples you can paste into your app today.


Quick links (docs)

You’ll need an API key from the PixLab Console: https://console.pixlab.io

Also available for content creatros in the popular apps suite namely:


1) Image Text Translation API (imgtranslate)

Translate text inside the image, preserve layout, and output the same image with replaced text. Supports English ↔ 10 languages and English/Chinese ↔ other languages; auto-detect is available when you’re unsure of the source. Endpoint: https://api.pixlab.io/imgtranslate.

JS example (POST upload)

<input type="file" id="imgFile" />
<script>
const API_KEY = 'PIXLAB_API_KEY';
const API_URL = 'https://api.pixlab.io/imgtranslate';

async function translateImage(target = 'en', source = 'auto') {
  const file = document.getElementById('imgFile').files?.[0];
  if (!file) return alert('Select an image first');

  const form = new FormData();
  form.append('file', file);
  form.append('key', API_KEY);
  form.append('target', target);
  form.append('source', source);

  const res = await fetch(API_URL, { method: 'POST', body: form });
  const out = await res.json();

  if (out.status !== 200) {
    console.error(out.error);
    return;
  }

  const bytes = atob(out.imgData);
  const buf = new Uint8Array([...bytes].map(c => c.charCodeAt(0)));
  const blob = new Blob([buf], { type: out.mimeType });
  const a = Object.assign(document.createElement('a'), {
    href: URL.createObjectURL(blob),
    download: `translated.${out.extension}`
  });
  document.body.appendChild(a); a.click(); a.remove();
}
</script>

2) Image Embedding API (imgembed)

Generate high-dimensional vectors (CLIP, etc.) for similarity search, clustering, or retrieval. Simple GET with image, model, key or POST with file. Endpoint: https://api.pixlab.io/imgembed.

JS example (GET by URL)

const API_KEY = 'PIXLAB_API_KEY';
const imageUrl = 'https://i.imgur.com/0Qe9rWZ.jpg';
const model = 'clip';

const url = new URL('https://api.pixlab.io/imgembed');
url.searchParams.set('image', imageUrl);
url.searchParams.set('model', model);
url.searchParams.set('key', API_KEY);

const res = await fetch(url);
const out = await res.json();

if (out.status !== 200) {
  console.error(out.error);
} else {
  console.log('dim:', out.vector.length, 'sample:', out.vector.slice(0, 8));
}

3) Text & Watermark Removal API (txtremove)

Programmatically remove overlaid text/watermarks while preserving content. POST with file or GET with img. Endpoint: https://api.pixlab.io/txtremove.

Important use policy: do not use this endpoint to remove watermarks or branding from copyrighted material you don’t own or have rights to; doing so violates the Terms and may result in account suspension. You’re responsible for legal compliance.

JS example (POST upload)

<input type="file" id="wmFile" />
<button id="removeTextButton">Remove</button>
<script>
const API_KEY = 'PIXLAB_API_KEY';
const API_URL = 'https://api.pixlab.io/txtremove';

async function removeText() {
  const file = document.getElementById('wmFile').files?.[0];
  if (!file) return alert('Select an image first');

  const form = new FormData();
  form.append('file', file);
  form.append('key', API_KEY);

  const res = await fetch(API_URL, { method: 'POST', body: form });
  const out = await res.json();

  if (out.status !== 200) return console.error(out.error);

  const bytes = atob(out.imgData);
  const buf = new Uint8Array([...bytes].map(c => c.charCodeAt(0)));
  const blob = new Blob([buf], { type: out.mimeType });
  const a = Object.assign(document.createElement('a'), {
    href: URL.createObjectURL(blob),
    download: `clean.${out.extension}`
  });
  document.body.appendChild(a); a.click(); a.remove();
}
document.getElementById('removeTextButton')?.addEventListener('click', removeText);
</script>

4) Background Removal API (bgremove)

Isolate the subject and drop the background—great for product images, creative apps, and bulk pipelines. POST with file or GET with image. Endpoint: https://api.pixlab.io/bgremove.

JS example (GET by URL)

const API_KEY = 'PIXLAB_API_KEY';
const url = new URL('https://api.pixlab.io/bgremove');
url.searchParams.set('image', 'https://i.imgur.com/0Qe9rWZ.jpg');
url.searchParams.set('key', API_KEY);

const res = await fetch(url);
const out = await res.json();

if (out.status !== 200) {
  console.error(out.error);
} else {
  console.log('result:', out.link ?? out.imgData.slice(0, 64) + '...');
}

Works out-of-the-box in PixLab apps


Production tips

  • Pass key as query param or header.
  • Use multipart/form-data for uploads.
  • blob=true for binary output.
  • Integrate with S3 from Console for permanent storage.
  • Handle status & error fields in JSON responses.

Next steps

  1. Get your API key → https://console.pixlab.io
  2. Read the docs:
  3. Try no-code:

Happy Integration!

Explore the New PixLab Vision Platform VLM API Endpoints

PixLab’s Vision VLM Platform introduces a groundbreaking set of Vision Language Model (VLM) endpoints that combine natural language processing and computer vision in a simple, developer-friendly API suite.

PixLab Vision Platform

From querying images and parsing complex documents to generating PDFs and extracting ID data, the PixLab VLM API makes it easy to integrate intelligent image and document analysis into your own apps.


Vision Language Model Endpoints

These endpoints allow your application to understand images and video frames with natural language intelligence.

  • /query – Ask natural language questions about images and receive contextual answers
  • /describe – Get a natural language description of an image
  • /tagimg – Retrieve tags describing the image content
  • /detect – Detect and localize objects in the image
  • /vocr – OCR via vision models for printed text
  • /nsfw – Detect explicit content in media

Unstructured Document Parsing

Parse unstructured documents like invoices, receipts, and contracts using VLM-powered tools.

  • /llm-parse – Extract data from complex document layouts using a user-defined schema

Embedding APIs

Turn your content into machine-understandable vectors for search, indexing, and matching.

  • /txt-embed – Generate semantic embeddings from raw text
  • /img-embed – Generate vector embeddings from images

These endpoints are perfect for building your own AI-powered similarity search or recommendation systems.


Image Processing & Background Removal

PixLab also provides classic computer vision capabilities enhanced by AI.

  • /bg-remove – Remove background or unwanted objects from images
  • /docscan – Scan and extract JSON data from over 11,000 supported ID document types from 200+ countries
  • /nsfw – Pixelate or block NSFW content automatically

PDF Generation & Conversion

Create and manipulate PDF documents programmatically using these SDK-free endpoints:

  • /pdfgen – Generate media-rich PDFs from HTML or Markdown
  • /pdftoimg – Convert PDF files into image previews

LLM Tool Calling Infrastructure

PixLab provides built-in tools for enhancing your LLM pipeline:

  • /llm-tool – Get a list of tools callable from your LLM
  • /tool-call – Execute a tool call based on LLM output

These endpoints enable your LLM agent to execute functions dynamically and return results within the same context.


System Tools & Metadata

Helpful utility endpoints for checking server health and supported formats:

  • /status – View current system status
  • /about – Get PixLab version & license info
  • /extension – Retrieve supported file extensions

Explore the Full API Suite

PixLab offers over 150 RESTful endpoints for vision, media, and document automation tasks. Visit the following links to dive deeper:


Final Thoughts

Whether you're working on an AI productivity suite, eKYC onboarding, or document automation pipeline, PixLab’s VLM API delivers powerful, production-ready tools in minutes. All endpoints are accessible via secure HTTP requests and require no proprietary SDKs.

Get started by signing up for an API key at PixLab Console and explore what's possible with Vision Language Models.

Build smarter apps — faster.

New REST API Endpoints Available for FACEIO

The FACEIO development team is pleased to announce the general availability of new REST API Endpoints for developers implementing fio.js, our facial authentication library on their websites or web applications.

FACEIO Landing Page

With the new API Endpoints, you can now programmtically talk to your FACEIO application via your private backend regardless of the underlying programming language whether it is Python, Ruby, Java, PHP, etc. as long as it supports HTTP based requests.

These endpoints have been designed with developers in mind and are fully documented, making it easy for the developer to get started. The list of new released API endpoints includes but not limited to:

To get started with the new REST API endpoints, simply head over to faceio.net/rest-api and consult the documentation. The documentation is comprehensive and includes examples to help you get started quickly.

We are confident that the new released API endpoints will be a valuable addition to your FACEIO integration and will help developers automate tasks such as Facial ID Deletion, PIN Code Reset, Payload Update, etc.

Finally, If you have any questions or feedback, please do not hesitate to raise a support ticket via the FACEIO Console. Our team is always ready to help and support you in any way we can.