Documentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
Midjourney API Async Workflow
The Midjourney API on TTAPI is centered around asynchronous task handling. This guide helps you decide when to submit, when to poll, and when to continue a finished job.Core Async Pattern
The most common pattern is:- Submit a job through Imagine, Blend, or Inpaint
- Receive a
jobId - Poll the Midjourney Fetch API
- Trigger a follow-up operation through the Midjourney Action API if needed
Which Endpoint Starts The Job
When To Poll Fetch
Use Midjourney Fetch when:- You need final image URLs
- You want to know whether the task succeeded or failed
- Your app needs the finished components before calling an action
When To Use Action
Use Midjourney Action after a successful generation when you want:- Upscale
- Variation
- Reroll
- Zoom
- Pan