FlamingText.com logo Developers

usain-bolt-logo Properties

See How to use the Api for help.

Preview scaled

Explore Form Data

ChangedParams

ApiCall

JSON returned

Notes

* Do not use in production until you get a key. We'll be adding a watermark for non-keyed images.

How to use the API

On this page you can see the API call to make to our webservice to get your logo. As you make changes, they are added to the changed list. to the parameters, they are added to the changed list, and then this updates the API call that you need to make.

Say you want to make a logo with "water-logo" style, and you want the text to be ABC, and the font to be "Aegis" your parameters are script=water-logo text=ABC fontname=Aegis so the value for params would be script=water-logo&text=ABC&fontname=Aegis and of course you need to URI-encode those so

params=script%3Dwater-logo%26text%3DABC%26fontname%3DAegis And the call to the API is: https://api.flamingtext.com/ftws/logo/GenerateLogo?params=script%3Dwater-logo%26text%3DABC%26fontname%3DAegis You would get back a JSON object that looks like: {"url":"https://au3-engine.flamingtext.com/netfu/tmp28000/flamingtext_com-11274737.png"} If there was an error, a JSON object this would be returned: {"error":"Reason for error goes here"} You need to load the given URL to give it to the user. We don't currently support embedding the image directly for your users on your website. (Please note, it's really not supported, if it works for you, it won't in the future).

Color

Colors are specified in the API as #RRGGBB, where RR,GG,BB are hex codes. Since # is special in url's, you'll need to call encodeURIComponenet (or similar) to set up the color correctly. For example to make a plain-logo with text=ABC, and textColor as red, then the changed params are script=plain-logo, text=ABC, textColor=encodeURIComponent("#FF0000")=%23FF0000. ↑ Back to top