Skip to main content
To use your own image as a reference, upload it in three steps, then pass the returned id (or url) as a references entry on a generation. (You can also pass a public https image URL directly as a reference and skip uploading - we ingest and re-host it.)

1. Presign

Allowed contentType: image/png, image/jpeg, image/gif, image/webp.

2. PUT your bytes

Upload the file directly to the returned uploadUrl (this goes to storage, not the API):

3. Complete

The server validates the real bytes (not the declared type) on completion.

Use it as a reference

Up to 4 references per request. Each may be an upload id, a prior job id, or a public image URL.