Follow the existing task
A submission receipt identifies the operation. Save the task identifier and any content identifier returned with it.
Model creation has a separate task and readiness check. Use the model’s status
flow for training and the generation’s result flow for media creation.
Interpret the outcome
A terminal outcome means the task has stopped running. It does not necessarily
mean that it succeeded. Do not infer success from an identifier, elapsed time,
or an intermediate progress value.