Buy a credit pack (hosted checkout)
buy_creditsStart a purchase of an AI Separations credit pack for the user and return a Stripe Checkout link. Packs: credits_sample ($29, 10 separations), credits_shop ($99, 50). Credits never expire; 1 credit = 1 full separation via separate_image. Requires the user's email: the API key is emailed there after payment. Nothing is charged by this tool — the user pays on the returned link.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>"
},
"name": "buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | Which credit pack (default credits_sample) | |
| Yes | The buyer's email — receipt and API key go here |