> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove embedded image metadata

> Upload one static JPEG, PNG or WebP image (up to 30 MiB and 8192 pixels per side). Returns a newly encoded lossless PNG without copying source EXIF, GPS, XMP, IPTC or text metadata. EXIF orientation is applied and colors are normalized to sRGB. Output can be larger; byte-for-byte and all-color-space pixel identity are not promised. Animated, unsupported and damaged files are rejected. The existing image-metadata and batch-image-metadata endpoints remain read-only. API key authentication and shared Free API limits apply.



## OpenAPI

````yaml /openapi.json post /api/free/remove-image-metadata
openapi: 3.1.0
info:
  title: APIAny.AI Public API
  version: 1.0.0
  description: >-
    Public API for APIAny.AI model aggregation, async media tasks, chat
    completions, billing visibility, and task lookup.
servers:
  - url: https://apiany.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Models
    description: Public model catalog.
  - name: Chat
    description: Text generation and chat-compatible endpoints.
  - name: Images
    description: Image generation and editing endpoints.
  - name: Videos
    description: Video generation endpoints.
  - name: Moderation
    description: Image safety and moderation endpoints.
  - name: Tasks
    description: Async task lookup.
  - name: Account
    description: Account and credit visibility.
  - name: Free APIs
    description: Free utility APIs protected by API key rate limits.
paths:
  /api/free/remove-image-metadata:
    post:
      tags:
        - Free APIs
      summary: Remove embedded image metadata
      description: >-
        Upload one static JPEG, PNG or WebP image (up to 30 MiB and 8192 pixels
        per side). Returns a newly encoded lossless PNG without copying source
        EXIF, GPS, XMP, IPTC or text metadata. EXIF orientation is applied and
        colors are normalized to sRGB. Output can be larger; byte-for-byte and
        all-color-space pixel identity are not promised. Animated, unsupported
        and damaged files are rejected. The existing image-metadata and
        batch-image-metadata endpoints remain read-only. API key authentication
        and shared Free API limits apply.
      operationId: removeImageMetadata
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - image
              properties:
                image:
                  type: string
                  format: binary
                  description: >-
                    One static JPEG, PNG or WebP image, maximum 30 MiB and 8192
                    pixels per side.
      responses:
        '200':
          description: >-
            Cleaned PNG attachment, maximum 64 MiB. Essential PNG image
            structure remains; this does not remove visible watermarks or
            promise any AI detector result.
          headers:
            Content-Disposition:
              schema:
                type: string
              description: 'Attachment filename: cleaned-photo.png.'
            X-Input-Metadata:
              schema:
                type: string
              description: >-
                JSON-encoded safe source properties: format, width, height,
                space, channels, hasAlpha, orientation and pages. Private
                EXIF/GPS values are not exposed.
          content:
            image/png:
              schema:
                type: string
                format: binary
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          description: Shared Free API request limit exceeded.
components:
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request
                - auth_error
                - rate_limit
                - insufficient_quota
                - content_policy
                - timeout
                - network_error
                - service_error
                - billable_error
                - unknown
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            code:
              type:
                - string
                - 'null'
          required:
            - type
            - message
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.