Step 1 — Get your Bearer token
The GoStudio API authenticates via a Supabase JWT issued when you log in. Read it from your Supabase Auth client, which holds the session for the signed-in user:Grabbing a token by hand for a one-off test
Grabbing a token by hand for a one-off test
- Open gostudio.ai and log in to your account.
- Press F12 to open DevTools → go to the Application tab.
- Expand Cookies → click
https://www.gostudio.ai. - Find the cookie named
sb-<project-ref>-auth-token. Large sessions are split into numbered chunks (sb-<project-ref>-auth-token.0,sb-<project-ref>-auth-token.1, …) — concatenate their values in order. - URL-decode the concatenated value to get the session JSON, then copy the
access_tokenstring. It starts witheyJ....
Step 2 — Verify your token and check model pricing
Before running any generation, confirm your token works and see which models you can use.GET /apps/watermark-remover/info does both — it is the cheapest call to prove your credentials, and it returns the current model IDs and their prices:
pricing.credits rather than hard-coding a cost — it is what your account will be charged. If you see a 401, your token is invalid or expired; repeat Step 1.
Step 3 — Remove a watermark
Send aPOST to /api/v2/apps/watermark-remover with an image URL and a model tier:
output_urls array contains the processed image(s), ready to use immediately. Treat the URLs as opaque — the hostname and path shape are not part of the contract, so do not hardcode or CSP-pin the host.
Next steps
Authentication
Learn about caller types and token expiry.
Watermark Remover Guide
Webhooks, model tiers, error handling, and more.

