YIR_API_KEY.
Generate one idempotency key for this logical request:
KIE-compatible flow
Submit one GPT Image 2 text-to-image task:data.taskId, then query it:
success and fail. While the task is active, the state is waiting or generating.
APIMart-compatible flow
Generate a new idempotency key because this is a new logical task:data[0].task_id, then query it:
completed and failed. While the task is active, the status is pending or processing.