Get credit balance and costs
get_creditsThe signed-in user's credit balance and the live per-action costs (image, clip, clip_10s, scene_staged, motion_per_second, motion_wan_per_second, scene_replace_per_second, video). Call it before any tool that spends credits and tell the user the price. Costs no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| costs | Yes | Credits each action costs. | |
| balance | Yes | Credits the user holds now. | |
| account_url | Yes | The user's ClipUGC account. |