Skip to content

Getting Started

Welcome to the Image Watermarking API! This API allows you to watermark images with ease. Follow the steps below to get started quickly.

Obtain an API Key

To use the Image Watermarking API, you need an API key. Follow these steps to obtain your key:

  1. Sign Up/Login to RapidAPI:

  2. Visit the Image Watermarking API Page:

  3. Subscribe to the API:

    • Click on the "Subscribe" button to subscribe to the API.
    • Select the plan that suits your needs.
    • There's a free plan for you to test, Don't worry
  4. Get Your API Key:

    • Once subscribed, go to the "Settings" tab.
    • Find your API key under the "API Key" section.

Use the API Key in Your Application

Now that you have your API key, you can start using the Image Watermarking API in your application. Follow the example documentation provided to integrate the API into your project.

Example Usage

Here's a simple example of using the API with cURL:

bash
curl -X POST https://api.rapidapi.com/path/to/image/watermark \
  -H "X-RapidAPI-Key: YOUR-RAPIDAPI-KEY" \
  -H "Content-Type: multipart/form-data" \
  -F "watermarkImage=@path/to/watermark.png" \
  -F "image=@path/to/image.jpg" \
  -F "watermarkType=image" \
  -F "gravity=southeast" \
  -F "resize={\"width\": 100, \"height\": 100}" \
  -F "tile=true" \
  -F "watermarkOpacity=0.8" \
  -F "opacity=0.9" \
  -F "blend=over" \
  -F "offset={\"top\": 10, \"left\": 20}" \
  -F "filename=watermarked_image.jpg"

Remember to replace YOUR-RAPIDAPI-KEY with the API key you obtained.

Additional Notes

  • Ensure you follow the API documentation for the specific endpoint, request parameters, and response details.
  • If you encounter any issues or have questions, refer to the API documentation on RapidAPI or contact the API provider.

Now you're ready to use the Image Watermarking API in your projects. Happy coding!

Released under the MIT License.