story_quote
Price a paid step and ask the user to approve it in Wandura. Free; runs nothing. action: asset_images (asset_ids, or omit for every asset missing a picture), storyboard (scene_ids, or omit for every scene missing one or outdated), scene_video (scene_ids required; variants 1-4 default 1; optional model_id, duration_s 10-30, reference_roles). Returns quote_id, the total in credits and approve_url — give the user that link and wait; then poll story_get_quote and call story_run once it is approved. Call this before every paid story step. total_cost is in credits; balance_at_quote is the balance then, null if unread. If balance_at_quote is a number below total_cost, tell the user.
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": {
"project_id": "<project_id>",
"action": "<action>"
},
"name": "story_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| model_id | No | ||
| variants | No | ||
| asset_ids | No | ||
| scene_ids | No | ||
| duration_s | No | ||
| project_id | Yes | ||
| reference_roles | No | What an attached reference image plays in these takes, keyed by asset id (e.g. a second look of a character that is another asset). Up to 60 characters; empty drops it. |