Generate Image
AI-generatedSummary
Sends a prompt to the Artify (Midjourney) API to generate an image, optionally waiting for completion.
Inputs
- prompt (required) — The text prompt describing the desired image.
- waitForCompletion — If true, waits up to Max Wait Time (seconds) for the generation job to complete. Default is true.
- maxWaitTime — Maximum time in seconds to wait for the job to complete. Only visible when WaitFor Completion is true. Default is 300.
Output shape
A list of items, each containing the job response data (e.g., jobId, status, or the final image data).
If waitForCompletion is false, the node returns the initial job creation response. If the job fails, an error is raised.
Examples
Example 1: Quick generation without waiting
Set Prompt to 'a cat in space' and uncheck WaitFor Completion.
Example 2: Standard generation with timeout
Set Prompt to 'cyberpunk city' and keep WaitFor Completion and Max Wait Time (300s) at defaults.