Short answer: You can piapi flux generate image in PiAPI by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the PiAPI PiAPI Flux Generate Image action to a workflow, map its 4 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Prompt prompt | string | Required | Prompt (required) |
Model model | options | Optional | Model. Options: Flux Dev, Flux Schnell, Flux Pro 1.1 Ultra |
Width width | string | Optional | Width |
Height height | string | Optional | Height |
{"prompt": "{{trigger.prompt}}","model": "{{trigger.model}}","width": "{{trigger.width}}","height": "{{trigger.height}}"}
{"code": 200,"data": {"status": "pending","task_id": "task_abc"}}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.