Asset Generator For Social Media API

Asset Generator For Social Media API

With this API you will be able to resize any image you want and get them with all the propper sizes for the social media service you want.

API description

About the API:

This API has the ability to resize any image you want to be perfect for any social media service you want. This API works for Instagram, LinkedIn, Facebook, Pinterest, Youtube, Tumblr, and Twitter. 

 

What this API receives and what your API provides (input/output)?

This API will receive the image URL that you want to resize, and you can declare the orientation you want to give to it, so you can get the perfect image for different purposes. 

 

What are the most common uses cases of this API?

 
This API is ideal for those marketing agencies that want to programmatically generate images for different social media services. Just by declaring the orientation, you will be getting a new JPG file for download and you can post it right away. 
 
 

Are there any limitations with your plans?

Besides the number of API calls per month:

  • Basic: 50 calls daily. 
  • Pro: 1000 calls daily. 

API Documentation

Endpoints


Get resized images for Instagram purposes with an URL. 

Instagram

The default orientation value is set to : square

  • square: 1080x1080
  • landscape: 1080x566
  • portrait: 1080x1350
  • profile: 110x110
  • story: 1080x1920



                                                                            
GET https://zylalabs.com/api/149/asset+generator+for+social+media+api/186/get+instagram
                                                                            
                                                                        

Get Instagram - Endpoint Features
Object Description
url [Required] The image URL that you want to resize.
orientation [Optional] The desire dimension for the image. Default: square. Options: square, landscape, portrait, profile, story.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Example Response":"No response example available for now."}
                                                                                                                                                                                                                    
                                                                                                    

Get Instagram - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/149/asset+generator+for+social+media+api/186/get+instagram?url=https://media.4-paws.org/1/e/d/6/1ed6da75afe37d82757142dc7c6633a532f53a7d/VIER%20PFOTEN_2019-03-15_001-2886x1999-1920x1330.jpg' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get resized images for Facebook purposes. 

 

Facebook

The default orientation value is set to : profile

  • profile: 180x180
  • cover: 820x462
  • link: 1200x630
  • image: 1200x630
  • event: 1920x1080
  • ad: 1200x628
  • storyad: 1080x1920
  • groupcover: 1640x922
  • messengerad: 1200x628



                                                                            
GET https://zylalabs.com/api/149/asset+generator+for+social+media+api/187/get+facebook
                                                                            
                                                                        

Get Facebook - Endpoint Features
Object Description
url [Required] The image URL that you want to resize.
orientation [Optional] The desire dimension for the image. Default: profile. Options: profile, cover, link, image, event, ad, storyad, groupcover, messengerad.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Example Response":"No response example available for now."}
                                                                                                                                                                                                                    
                                                                                                    

Get Facebook - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/149/asset+generator+for+social+media+api/187/get+facebook?url=https://media.4-paws.org/1/e/d/6/1ed6da75afe37d82757142dc7c6633a532f53a7d/VIER%20PFOTEN_2019-03-15_001-2886x1999-1920x1330.jpg' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get resized images for LinkedIn purposes. 

The default orientation value is set to : profile

  • profile: 400x400
  • background: 1584x396
  • postdesktop: 1200x1200
  • postmobile: 1200x628
  • post: 1200x628
  • companylogo: 300x300
  • companycover: 1536x768
  • companysponsoredcontent: 1200x627
  • companyhero: 1128x376
  • companybanner: 646x220



                                                                            
GET https://zylalabs.com/api/149/asset+generator+for+social+media+api/188/get+linkedin
                                                                            
                                                                        

Get LinkedIn - Endpoint Features
Object Description
url [Required] The image URL that you want to resize.
orientation [Optional] The desired size of the image. Default: profile. Options: profile, background, postdesktop, postmobile, post, companylogo, companycover, companysponsoredcontent, companyhero, companybanner.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Example Response":"No response example available for now."}
                                                                                                                                                                                                                    
                                                                                                    

Get LinkedIn - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/149/asset+generator+for+social+media+api/188/get+linkedin?url=https://media.4-paws.org/1/e/d/6/1ed6da75afe37d82757142dc7c6633a532f53a7d/VIER%20PFOTEN_2019-03-15_001-2886x1999-1920x1330.jpg' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get resized images for Pinteret purposes. 

 

Default orientation value is profile

  • profile: 165x165
  • board: 222x150
  • pin: 1000x1500



                                                                            
GET https://zylalabs.com/api/149/asset+generator+for+social+media+api/189/get+pinterest
                                                                            
                                                                        

Get Pinterest - Endpoint Features
Object Description
url [Required] The URl of the image you want to resize.
orientation [Optional] The size of the image you want to get. Default: profile. Ex: profile, board, pin.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Example Response":"No response example available for now."}
                                                                                                                                                                                                                    
                                                                                                    

Get Pinterest - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/149/asset+generator+for+social+media+api/189/get+pinterest?url=https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg&orientation=profile' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get resized images for Tumblr purposes. 

The default orientation value is set to profile:

 
  • profile: 128x128
  • post: 500x750



                                                                            
GET https://zylalabs.com/api/149/asset+generator+for+social+media+api/190/get+tumblr
                                                                            
                                                                        

Get Tumblr - Endpoint Features
Object Description
url [Required] The URl of the image you want to resize.
orientation [Optional] The size of the image you want to get. Default: profile. Ex: profile, post.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Example Response":"No response example available for now."}
                                                                                                                                                                                                                    
                                                                                                    

Get Tumblr - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/149/asset+generator+for+social+media+api/190/get+tumblr?url=https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg&orientation=profile' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get resized images for Twitter purposes. 

The default orientation value is set to profile.

  • profile: 400x400
  • header: 1500x500
  • image: 1024x512
  • card: 1200x628
  • ad: 800x428



                                                                            
GET https://zylalabs.com/api/149/asset+generator+for+social+media+api/191/get+twitter
                                                                            
                                                                        

Get Twitter - Endpoint Features
Object Description
url [Required] The URl of the image you want to resize.
orientation [Optional] The size of the image you want to get. Default: profile. Ex: profile, header, image, card, ad.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Example Response":"No response example available for now."}
                                                                                                                                                                                                                    
                                                                                                    

Get Twitter - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/149/asset+generator+for+social+media+api/191/get+twitter?url=https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg&orientation=ad' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get resized images for Youtube purposes. 

The default orientation value is set to channelcoverdesktop:

  • channelcoverdesktop: 2560x1440
  • channelcoverphone: 1546x423
  • displayad: 300x250
  • overlayad: 480x60
  • companion: 300x250



                                                                            
GET https://zylalabs.com/api/149/asset+generator+for+social+media+api/192/get+youtube
                                                                            
                                                                        

Get Youtube - Endpoint Features
Object Description
url [Required] The URL of the image you want to resize.
orientation [Optional] The size of the image you want to get. Default: channelcoverdesktop. Ex:channelcoverdesktop, channelcoverphone, displayad, overlayad, companion.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Example Response":"No response example available for now."}
                                                                                                                                                                                                                    
                                                                                                    

Get Youtube - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/149/asset+generator+for+social+media+api/192/get+youtube?url=https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg' --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 Asset Generator For Social Media API REST 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 commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. 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 with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

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.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
2,173ms

Category:


Tags:


Related APIs