Image Gender Prediction API

Detect faces and predict gender from an image with one API call.

Upload an image with multipart/form-data and receive gender predictions with confidence scores for every detected face, plus your remaining request count.

Multipart file upload
Multiple faces detected per image
Remaining requests included
Secure over HTTPS

Quickstart

POST multipart/form-data
/v1/image-gender/apiPOST

// Headers

apiKey:

YOUR_API_KEY

// Form Data

formData.append("file", yourImageFile);

// Sample Response

{
  "success": true,
  "detections": [
    {
      "category": "face",
      "gender": "female",
      "probability": 0.97
    }
  ],
  "remainingRequests": 119
}

Send the image using the file field. Supported formats include JPEG, PNG, WEBP, BMP, and GIF, up to 10MB.

Profile data enrichment

Add gender signal to user profile photos for CRM personalization and analytics.

Content moderation workflows

Screen uploaded photos before they reach moderation or manual review queues.

Clean JSON responses

Receive a detections array with category, gender, and probability for each face in a compact response.

Fast integration

A simple multipart upload flow keeps implementation straightforward in web, backend, and mobile services.

Usage visibility

Track remaining request quota directly in each successful response.

Multi-face support

Get a separate gender prediction and confidence score for every face detected in the photo.

How it works

Image gender prediction in three steps.

1

Upload the image

POST multipart/form-data to the /api endpoint with your apiKey header and a file field.

2

Receive JSON

Get a detections array with gender and probability for each face, plus remainingRequests.

3

Act on the signal

Use the predictions to enrich profiles, personalize content, or feed moderation workflows.

cURL

Multipart upload
curl -X POST 'https://api.genderrecognition.com/v1/image-gender/api' \
  -H 'apiKey: YOUR_API_KEY' \
  -F 'file=@/path/to/your/photo.jpg'

JavaScript

fetch example
const apiKey = "YOUR_API_KEY";
const formData = new FormData();
formData.append("file", yourImageFile);

const response = await fetch(
  "https://api.genderrecognition.com/v1/image-gender/api",
  {
    method: "POST",
    headers: {
      apiKey,
    },
    body: formData,
  }
);

const result = await response.json();

Profile photo enrichment

Infer gender from avatar or profile photos to improve personalization and reporting.

Content moderation pipelines

Add face and gender signals to photo moderation and review workflows.

Audience analytics

Aggregate gender predictions across image datasets for demographic insights.

Ready to Get Started?

We provide the best gender recognition services using advanced AI technology to ensure accuracy and privacy for all users.

Create an account in minutes to claim your API key and have unrestricted access.

Register Account

Daily Free Usage

Enjoy a generous free tier every day to test and explore our APIs.

Try API

Pricing

Simple, transparent pricing. First 1000 requests free, then pay as you go. Check out our pricing page for more details.

View Pricing

Frequently Asked Questions