Run one of my recipes or workflows
run_my_recipeRun a saved recipe or workflow with new material, billed in USD to the PopNow balance. Call it without max_usd for a quote, then confirm with max_usd, quote_id and a unique idempotency_key. Reuse the same idempotency_key and arguments after a lost response. Prices and key limits are checked on every step.
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": {
"recipe_id": "<recipe_id>"
},
"name": "run_my_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many pieces a recipe makes, 1 to 4 (workflows run once) | |
| inputs | No | Input id to a popnow:// or https:// file link (or text for text inputs); inputs you leave out use the material saved with the recipe | |
| max_usd | No | API-key only: total run budget as a decimal USD string. Omit to quote; confirm with quote_id. | |
| currency | No | Optional. Always USD for this endpoint. | |
| quote_id | No | API-key quote_id returned by the latest quote; required with max_usd | |
| recipe_id | Yes | The recipe or workflow id from list_my_recipes | |
| idempotency_key | No | API-key execution only: unique identifier for this approved run (1-100 characters). Reuse it unchanged after a lost response; use a new value only for a separately approved run. |