Skip to main content
POST

Authorizations

Authorization
string
header
required

Supabase user JWT (or an internal service token). Send as Authorization: Bearer <token>.

Body

application/json
image_url
string<uri>
required

Publicly accessible http/https URL of the watermarked image. The API fetches it server-side, so it must not sit behind authentication or a firewall.

Example:

"https://example.com/watermarked.jpg"

model_id
string
default:dewatermark/watermark-remover-pro

Model to run. Accepts either a full model ID or one of the friendly tier aliases lite, pro, advance. Defaults to dewatermark/watermark-remover-pro (the lite tier). Cost per run: lite 4 credits, pro 4 credits, advance 10 credits. Call /info for the authoritative figures rather than hard-coding these — both the model list and the pricing can change.

Example:

"pro"

prompt
string

Optional guidance. Ignored by models whose requires_prompt is false in the info response.

webhook_url
string<uri>

HTTPS URL to receive the result when the generation finishes. Must be HTTPS; an http:// URL is rejected with 400 invalid_webhook_url. Delivery is best-effort and fire-and-forget: the POST is sent once and never retried, the response status is ignored, and there is no signature header. If a delivery is missed, reconcile with GET /api/v2/apps/watermark-remover/{jobId}.

Example:

"https://your-app.com/webhooks/gostudio"

Response

Generation completed synchronously.

status
integer
Example:

200

data
object