Logo
PricingAPI DocumentationDeveloper API
English
Login
Logo

Subscribe

Join Our Newsletter to stay up to date on the latest features

By subscribing, you agree to our Privacy Policy and consent to receive updates about the latest features.

Useful Links

Features

CSV UploadGender by NameAge by NameEthnicity by NameLanguage by NameDeep Voice Fake DetectionAge by VoiceGender by ImageAge by ImageSpeech Emotion RecognitionAudio Quality CheckerSpeaker Verification

Developers

API KeyDeveloper APIDeveloper documentationGender by Voice APIGender by Name APIAge by Name APIEthnicity by Name APILanguage by Name APIDeep Voice Fake APIAge by Voice APIGender by Image APIAge by Image APISpeech Emotion Recognition APIAudio Quality Checker APISpeaker Verification APIPricing

Company

BlogAboutVoice analysis guide for clearer recordings and better interpretationResponsible AI and DisclaimerDOCNUS — AI document platform

Support

ContactWrite for Us
Terms of ServicePrivacy PolicyCookiesAnalytics preferences

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.

View API DocsGet an API Key
✓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.

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();

Hire an Expert

Choose a specialist based on your product and API integration goals.

AR
Available

Ahmad Raza

Senior AI Integration Specialist

Leads AI workflow integration for SaaS products and enterprise automation.

View profile
UF
Available

Usman Farooq

Software Architecture & Design Lead

Designs scalable architectures for high-growth products and service platforms.

View profile
BA
Available

Bilal Ahmed

Senior Frontend Developer

Builds responsive, performant user interfaces with strong product polish.

View profile
HZ
Available

Hassan Zahid

Senior Backend Developer

Builds secure APIs and backend services for mission-critical applications.

View profile

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

Start with 300 free API requests.

View Pricing

Frequently Asked Questions

The API supports JPEG, PNG, WEBP, BMP, and GIF images up to 10MB in size.

The detections array includes one entry per detected face or person, each with its own gender and probability. The category field is either "face" (gender predicted from a visible, matched face) or "person" (no face could be matched — for example, someone facing away from the camera — so gender was predicted from the body instead). Each individual appears only once: if a face and body were both detected and matched together, only the "face" entry is returned.

Include your API key in the apiKey header and upload the image in a multipart/form-data request.

Each uploaded image consumes one request from your remaining quota, regardless of how many faces it contains.

The API returns a successful response with an empty detections array.

Gender by Image