Create an Image

Image generation via API occurs in 2 stages (asynchronously):
  1. 1.
    You send a POST request with data (modifications) to generate an image. After that, a generation task is created with pending status and in response you receive the UID of this task. Images are usually rendered within a few seconds. When completed, the status changes to completed.
  2. 2.
    You need poll the GET endpoint for status updates. The self property of the response provides this endpoint. When completed the image url is found in the result_url property.
Limit. For each account there is a limit of no more than 1000 api requests per minute and no more than 50 active banner generations.
post
https://api.creativemachine.co
/v1/creatives/
Create an Image
You need poll the GET endpoint for status updates. The self property of the response provides this endpoint. When completed the image url is found in the result_url property.
get
https://api.creativemachine.co
/v1/creatives/<uid>
Check status
When completed the image url is found in the result_url property.
Link lifetime (result_url) 24 hours. Available without authorization. Do not use as a hotlink.