Text-to-image generation
Describe the image you want in a text prompt. The model generates an image based on your description:Asynchronous image generation
Image generation is synchronous by default: the request waits until the image is ready.async parameter and set it to true:
succeed, you can retrieve the generated image URL.
For parameter details, see the Image API reference.