/v1/images/generations for production image generation.
Sync variant
/v1/images/generations/sync creates a task and waits up to the configured maximum wait time.
Use it for compatibility and demos. Use the async endpoint for production workloads.
Image edits
/v1/images/edits supports OpenAI-style image editing workflows where the selected model supports reference images.