Model Context Protocol

Relight product photos from Claude, ChatGPT or Cursor

With the relightai.net MCP server, Claude, ChatGPT, Codex, Cursor and similar assistants can relight product photos for you: hand over a link, name a setup like white sweep or rim light, and the relit file comes back to the chat. You pay the same credits as on the website.

Server URL (Streamable HTTP)

https://relightai.net/mcp

What the assistant can call

list_setups
The eight studio setups, with what each is for and its default key light.
list_models
The two models and what each output size costs in credits.
relight_product
Relight one product photo (https link) with a studio setup, key light, shadow and background. Needs your confirmation that you may edit the photo. From 48 credits.
get_task
Status and download link for one relight.
list_tasks
Recent relights on your account, with an optional status filter.
get_credits
Your credit balance, current plan and largest allowed output size.

A relight's credits are reserved when it starts and handed back by itself if it fails, at the same prices as the pricing page.See credit prices

Connect your assistant

Choose your assistant below, copy its config, and approve the sign-in window that pops up.

Claude web or desktop: Settings → Connectors → Add custom connector. Call it relightai.net, paste the server URL, press Connect and approve.

https://relightai.net/mcp

A relightai.net tab opens where you log in (new accounts work too) and press Allow access. The assistant never sees your password or any API key.

What happens when you sign in

  1. Your assistant contacts the server first and is answered with a 401 that names our OAuth metadata URL.
  2. It then registers (through a Client ID Metadata Document or dynamic client registration) and starts a PKCE login.
  3. In relightai.net you log in and grant access to that single app.
  4. The assistant receives a token that only works on https://relightai.net/mcp; it refreshes itself and you can revoke it whenever you like.

Review connected apps

Relighting from a script

For scripts or agents without a browser, send a key from Settings → API keys as a bearer header in place of OAuth. Every plan and the credit pack include API keys.

{
  "mcpServers": {
    "relightai-net": {
      "url": "https://relightai.net/mcp",
      "headers": {
        "Authorization": "Bearer sk_your_key"
      }
    }
  }
}
Manage API keys

Relighting from chat: questions

Is relighting through an assistant priced differently?

No. Connecting is free on every plan; you only spend the credits each relight costs, as on the website. Sign-up credits work here too.

Which relight engines does the assistant get?

Nano Banana Pro and GPT Image 2, as in the studio. GPT Image 2 runs product-only photos. Have the assistant run list_models to see current credit prices.

What if a relight fails mid-chat or I run out of credits?

The credits are reserved at the start and refunded on their own if the relight fails. When your balance cannot cover a relight, the assistant is told so and nothing is spent.

How do I send a photo from the chat?

Give the assistant an https link. relightai.net saves a private copy to your account before relighting it, so a short-lived link is fine.

Why does my assistant keep asking me to log in?

Delete the server in your assistant and add it again to trigger a clean login. A 403 with an API key means your plan has no API access, so use OAuth instead or move to a plan that includes it.

How long does a chat relight take, and where is the file?

Usually between 20 and 90 seconds. The relit photo lands in My relights next to the ones you made in the studio, and the assistant receives a download link. The colour restore and exports run in the studio.

Updated