Skip to main content
You need an API key. Keys are issued on request through the contact page.
1

Set your key

2

Generate an image and wait for it

?wait=30 holds the call open for up to 30 seconds, so the answer already contains the result.
3

Read the result

Download the file at result.images[0].url[0]. The link is temporary, so save the file rather than storing the link.
If status is still pending or processing when the wait ends, keep the task_id and call GET /v1/tasks/{id}?wait=60 until it finishes. See Tasks and waiting.

Next