Skip to main content
POST
Start an image upload

Authorizations

Authorization
string
header
required

A Summer sign-in: an OAuth 2.1 access token, valid one hour. Sign in once with npx -y summer-engine login, then print a token with summer token. Each app you sign in spends your paid credits up to the limit you set in Connected apps.

Headers

Idempotency-Key
string

A new key for each new request; the same key returns the first answer.

Required string length: 1 - 128

Response

Done.

uploadUrl
string
required
method
string
required
Allowed value: "POST"
fields
object
required

Send each as a multipart form field, then the file as "file".

expiresAt
string
required
example
string
required

The same upload as one curl command (replace the file path).