Skip to main content

Create visual request

POST 

/v1/visual

Create a new visual content generation request. The request will be processed asynchronously.

Request​

Responses​

Visual request created successfully

Response Headers
    X-RateLimit-Limit

    Requests allowed in the window named by X-RateLimit-Window. Sent by POST /v1/visual, the only rate-limited endpoint, once a call has reached its limiter: a refusal that answers earlier, such as 403, 405, 413 or a 429 for repeated bad credentials, carries none of these four headers. Your own numbers depend on your plan, so read them here rather than assuming a figure. A value of 0 with window fallback means the limiter could not be reached and the call was let through; treat it as no reading, not as a limit of zero.

    Example: 10
    X-RateLimit-Remaining

    Requests left in that window. Pace on this rather than on a fixed delay.

    Example: 7
    X-RateLimit-Reset

    Unix timestamp when that window resets

    Example: 1704067260
    X-RateLimit-Window

    The window the two counts above describe. It is the window with the fewest requests left in absolute terms, not the one nearest its own limit proportionally, so a successful call usually reports second: the per-second allowance is the smallest number on every tier. Read the pair as how many you may send right now rather than as naming the quota that will stop you next. The value fallback means the limiter could not be reached.

    Example: minute