Short answer: You can piapi midjourney imagine in PiAPI by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the PiAPI PiAPI Midjourney Imagine action to a workflow, map its 3 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) |
Aspect Ratio aspect_ratio | options | Optional | Aspect Ratio. Options: 1:1, 16:9, 9:16 … |
Process Mode process_mode | options | Optional | Process Mode. Options: Relax, Fast, Turbo |
{"prompt": "{{trigger.prompt}}","aspect_ratio": "{{trigger.aspect_ratio}}","process_mode": "{{trigger.process_mode}}"}
{"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.