OGForge Link Preview API

API ID 13119

Generate Open Graph and social-share preview images in PNG format from URL query parameters, including title, subtitle, eyebrow, label, theme, and size.

API Documentation

Endpoints

Request

Returns an image/png Open Graph card rendered from the query parameters.

Endpoint ID: 26604
GET https://docs.zylalabs.com/api/13119/ogforge+link+preview+api/26604/generate+og+image
INPUT PARAMETERS

Generate OG Image — Endpoint Features

Object Description
subtitle Optional Secondary line under the title
eyebrow Optional Small uppercase label above the title
brand Optional Footer label text

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

subtitle
eyebrow
brand
API EXAMPLE RESPONSE
JSON
iVBORw0KGgoAAAANSUhEUgAABLAAAAJ2CAYAAABPQHtcAAEa+UlEQVR4nOz9W7x1V1XmC691LdQ+XUis7+oTyP59h1IE3ZYIJFCiEhIQ3OaIcsgRECEnUCAnQA4hCSqSIxAlRwSEnFRKIQnB/VWVQllXRcDLMvjdSl3X7m2ud+Udc605xmitt9PT+xh/fvN9x2K13p/2tDnXetd8MsZY+//Tj/+//sdeD+yXx7NsfbDF+GdWXGANnFUkwn7HzlANSLXYFJxODHAx47JpOKkuQsVDxeAQuRcVewHRBA7McTDLjMlRhSDJuk5Wt7oJOrG4X/7XDR1ZGafOZN0qI1LFs4k1L1ITFdvSR4C1NcCtD7YY/8yKC6yBs4pE2O/YGaoBqRabgtOJAS5mXDYNJ9VFqHioGBwi96JiLyCawIE5DmaZMTmqECRZ18nqVjdBJxbX8Ko16kzWrTIiVTybWPMiNVGxPe0HWFsD3Ppgi/HPrLjAGjirSIT9jp2hGpBqsSk4nRjgYsZl03BSXYSKh4rBIXIvKvYCogkcmONglhmTowpBknWdrG51E3RicQ2vWqPOZN0qI1LFs4k1L1ITFfvQdoC1NcCtD7YY/8yKC6yBs4pE2O/YGaoBqRabgtOJAS5mXDYNJ9VFqHioGBwi96JiLyCawIE5DmaZMTmqECRZ18nqVjdBJxbX8Ko16kzWrTIiVTybWPMiNVGxH+0GWFsD3Ppgi/HPrLjAGjirSIT9jp2hGpBqsSk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ZEcLa4AlZccQj8MqEmG/Y2eoBqRabApOJwa4mHHZNJxUF6HioWJwiNyLir2AaAIH5jiYZcbkqEKQZF0nq1vdBJ1YXMOr1qgzWbfKiFTxbGLNi9RExUsAYCAjLawBloSRIW7DKhJhv2NnqAakWmwKTicGuJhx2TScVBeh4qFicIjci4q9gGgCB+Y4mGXG5KhCkGRdJ6tb3QSdWFzDq9aoM1m3yohU8WxizYvURMVLAGAgEy2sARaXiSGehFUkwn7HzlANSLXYFJxODHAx47JpOKkuQsVDxeAQuRcVewHRBA7McTDLjMlRhSDJuk5Wt7oJOrG4hletUWeybpURqeLZxJoXqYmKlwDAQGZaWAMsDjNDPIBVJMJ+x85QDUi12BScTgxwMeOyaTipLkLFQ8XgELkXFXsB0QQOzHEwy4zJUYUgybpOVre6CTqxuIZXrVFnsm6VEani2cSaF6mJipcAwEAYLawB1hyMITKLRNjv2BmqAakWm4LTiQEuZlw2DSfVRah4qBgcIveiYi8gmsCBOQ5mmTE5qhAkWdfJ6lY3QScW1/CqNepM1q0yIlU8m1jzIjVR8RIAGAizhTXAmoI1RFaR
Generate OG Image — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13119/ogforge+link+preview+api/26604/generate+og+image' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the OGForge Link Preview API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan
Custom Volume

  • Custom Rate Limit
  • Team & Access Management
  • SLA-backed Uptime
  • Specialized Customer Support
  • Real-Time API Monitoring
  • Enterprise Security & Compliance
Minimum annual contract: USD 10,000

Trusted by leading companies

Overview

This API generates Open Graph images in PNG format from URL query parameters. Open Graph images are the preview cards that link-sharing systems display for a page.

Endpoint: GET /og

Parameters:
- title: main text (required).
- subtitle: secondary text (optional).
- eyebrow: small label shown above the title (optional).
- theme: one of midnight, sunset, forest, grape, mono (optional, default midnight).
- size: og (1200x630), twitter (1200x600), square (1080x1080), or a custom WIDTHxHEIGHT value (optional, default og).

Response: image/png

Example: GET /og?title=Quarterly report&eyebrow=FINANCE&theme=midnight&size=og

Images are rendered server-side without a headless browser and returned in the response body.

OGForge Link Preview API FAQs

The OGForge Link Preview API returns an image in PNG format that represents an Open Graph card generated from the provided query parameters. This image serves as a visual preview for link-sharing systems.

The endpoint accepts the following parameters: title (required), subtitle (optional), eyebrow (optional), theme (optional, default is midnight), and size (optional, with defaults). Users can customize these parameters to tailor the generated image.

Users can customize requests by specifying values for the title, subtitle, eyebrow, theme, and size parameters in the query string. For example, to create a themed image, users can set the theme parameter to "sunset" or "forest."

The theme parameter accepts values such as midnight, sunset, forest, grape, and mono. The size parameter can be set to predefined values like og (1200x630), twitter (1200x600), square (1080x1080), or a custom WIDTHxHEIGHT format.

The response consists of a single PNG image generated based on the input parameters. There are no additional fields in the response; the image is directly returned in the response body.

Typical use cases include generating social media preview images for articles, blog posts, or products. Developers can use this API to create visually appealing link previews that enhance user engagement on platforms like Facebook and Twitter.

Users can directly display the returned PNG image in their applications or websites as a link preview. This enhances the visual appeal of shared links, making them more attractive to users.

The API generates images server-side without a headless browser, ensuring consistent quality and performance. The rendering process is optimized to produce high-quality images based on the specified parameters.

The OGForge Link Preview API exclusively returns images in PNG format. This format is widely supported across web platforms, making it suitable for use in social media previews and other applications.

Users can specify custom dimensions by using the size parameter in the format WIDTHxHEIGHT. For example, to create an image that is 800x400 pixels, the request would include size=800x400 in the query string.

If the required title parameter is missing from the request, the API will not generate an image and will likely return an error response indicating that the title is mandatory.

The API does not provide a built-in preview feature. Users must make a request with their parameters to generate the image and then view the response to see the result.

While the API documentation does not specify exact character limits for the title and subtitle, it is advisable to keep them concise to ensure optimal rendering and readability in the generated image.

The theme parameter alters the visual style of the generated image, including background colors and font styles. For instance, selecting "sunset" will produce a different aesthetic compared to "forest."

Users should check their query parameters for correctness and ensure that all required fields are included. If issues persist, they may need to consult the API documentation or support for troubleshooting.

The visually appealing images generated by the API can attract more clicks and shares on social media platforms, making links more enticing to users and improving overall engagement with shared content.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs