preview_cost
Preview the credit cost for a generation before running it. Use this to check if the user has enough credits.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Generation type: 'text' for captions/scripts (5-20 credits), 'image' for AI-generated visuals (50 credits), 'video' for AI video clips (500 credits) |