API Parameters

To use ArtenoMark API, you need to make a POST request to one of the two supported endpoints: /watermark/image or /watermark/text.

  • Use POST /watermark/image: to apply Image-on-Image watermarks. Example: Adding your company logo image to an image.
  • Use POST /watermark/text: to apply Text-on-Image watermarks. Example: adding “© YourSite” at the bottom of your image.

Parameters

To use ArtenoMark, just make a request to one of the endpoints with the needed parameters.

How to get the correct font_family from Google Fonts?

To use any Google Font inside the ArtenoMark API, you need the exact font slug Google uses in its URL.

Here's how to grab it correctly:

  1. Open Google Fonts and click the font you want.
  2. Look at the URL in your browser. Anything that comes after /specimen/ is the official font slug.
    Example:
    If the page is https://fonts.google.com/specimen/Playwrite+MX then the slug is Playwrite+MX.
  3. Use that slug as the value for the font_family parameter in the API.
  4. ArtenoMark will automatically load that font for your watermark.

Notes

  • If the font_family is invalid or can't be loaded, the API automatically falls back to Roboto.
  • The font slug is case-sensitive.
  • You can use spaces or plus signs — both work.
    (Open Sans → Open+Sans, and vice-versa)
  • Valid examples:
    • Roboto
    • Playwrite+MX
    • Nunito
    • Open+Sans
    • Lato

Still can't figure out how to implement?

Then, check out the examples to get an idea about how to implement.

Confused about the parameters?

Check out the demo wizard, from where you can play with all the parameters, and see ArtenoMark live in action.

Still have any doubts?

If you still have any doubts, feel free to contact us.