Serve a generated file

GET /v1/images/proxy

Serves a generated file through the temporary link returned by the generation endpoints. The response is the file itself. Do not build this URL yourself; use the url value you received. Example: https://api.devupai.com/v1/images/proxy?d=<token>&s=<signature>

Authentication

No API key required.

Parameters

d (query) — Required

Opaque value from the returned link.

string

s (query) — Required

Opaque value from the returned link.

string

Responses

HTTP 200

The generated file.

image/png

string

format: "binary"

image/jpeg

string

format: "binary"

image/webp

string

format: "binary"

image/gif

string

format: "binary"

video/mp4

string

format: "binary"

audio/mpeg

string

format: "binary"

audio/opus

string

format: "binary"

audio/aac

string

format: "binary"

audio/flac

string

format: "binary"

audio/wav

string

format: "binary"

audio/pcm

string

format: "binary"

HTTP 400

Missing or invalid URL parameter.

text/plain

string
"Missing URL"

HTTP 403

Domain not in the allowlist.

text/plain

string
"Forbidden: Domain not allowed"

HTTP 502

The image is not available.

text/plain

string
"Image not available"