/imagemagick-gcf

Text to Image sample (ImageMagick) on Google Cloud Functions (GCF)

Primary LanguageJavaScript

Text to Image sample on Google Cloud Functions (GCF)

This is the Text to Image sample like Peing hosting on Google Cloud Functions.

Installation

Replace BUCKET_NAME in index.js to your Google Cloud Storage Bucket.

Deploy

$ gcloud beta functions deploy imagemagick --trigger-http --source .

Submitting the request

$ curl -X POST -H "Content-Type:application/json" -d '{"text":"Sample Text"}' YOUR_CLOUD_FUNCTIONS/imagemagick

Fonts / Special Thanks