Estimate the credit cost of a CraftStory 2.0 video
preview_costEstimate credit cost for a craftstory-2 job from audio clips and settings without creating content. Calculates total credits based on duration, resolution, and lipsync mode.
Instructions
Credits a craftstory-2 job would cost for the given audio clips and settings, without creating anything. Rate per second of audio: 480p 2.2 (2 with lipsync_mode=empty), 720p 3.3 (3 with empty); rounded up per job. MiniMax H3 is a flat 3.3 credits per billed second.
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": {
"audio_clip_ids": "<audio_clip_ids>",
"resolution": "<resolution>"
},
"name": "preview_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resolution | Yes | ||
| lipsync_mode | No | ||
| audio_clip_ids | Yes |