Images

Create image variation

Generates image variations from a multipart image upload.

post/v1/images/variations

Request

  • Base URL: https://api.tokenlab.sh
  • URL: https://api.tokenlab.sh/v1/images/variations
  • Auth: HTTP bearer

Headers

X-TokenLab-Delivery-Policy'auto' | 'verified' | 'official'

Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Verified first and may switch once to Official only before output, request acceptance, or persistent resource creation.

Response

Variation response

createdinteger required

Unix timestamp

task_idstring

Task ID when the request runs as a task.

statusstring

Task status when the request runs as a task.

poll_urlstring

URL to poll for the task result.

Example response

{
  "media_retention": {
    "days": 30
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.